diff --git a/Makefile b/Makefile index 6dcd0c31..d81d7644 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ export PATH := $(LOCAL_BIN_PATH):$(PATH) export CGO_ENABLED=0 # Details of the model to use: -model_version:=v0.0.383 +model_version:=v0.0.384 model_url:=https://github.com/openshift-online/ocm-api-model.git # Details of the metamodel to use: diff --git a/clustersmgmt/client.go b/clustersmgmt/client.go index 40553cce..a46dcc77 100644 --- a/clustersmgmt/client.go +++ b/clustersmgmt/client.go @@ -24,6 +24,7 @@ import ( "path" v1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1" + "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v2alpha1" ) // Client is the client for service 'clusters_mgmt'. @@ -48,3 +49,11 @@ func (c *Client) V1() *v1.Client { path.Join(c.path, "v1"), ) } + +// V2alpha1 returns a reference to a client for version 'v2alpha1'. +func (c *Client) V2alpha1() *v2alpha1.Client { + return v2alpha1.NewClient( + c.transport, + path.Join(c.path, "v2alpha1"), + ) +} diff --git a/metrics/path_tree_data.go b/metrics/path_tree_data.go index 1a7e79f0..76779724 100644 --- a/metrics/path_tree_data.go +++ b/metrics/path_tree_data.go @@ -377,6 +377,218 @@ var pathTreeData = `{ "-": null }, "wif_templates": null + }, + "v2alpha1": { + "addons": { + "-": { + "versions": { + "-": null + } + } + }, + "aws_infrastructure_access_roles": { + "-": null + }, + "aws_inquiries": { + "machine_types": null, + "regions": null, + "sts_account_roles": null, + "sts_credential_requests": null, + "sts_policies": null, + "validate_credentials": null, + "vpcs": null + }, + "cloud_providers": { + "-": { + "available_regions": null, + "regions": { + "-": null + } + } + }, + "clusters": { + "-": { + "addon_inquiries": { + "-": null + }, + "addon_upgrade_policies": { + "-": { + "state": null + } + }, + "addons": { + "-": null + }, + "autoscaler": null, + "aws": { + "private_link_configuration": { + "principals": { + "-": null + } + }, + "role_policy_bindings": null + }, + "aws_infrastructure_access_role_grants": { + "-": null + }, + "break_glass_credentials": { + "-": null + }, + "clusterdeployment": null, + "control_plane": { + "upgrade_policies": { + "-": null + } + }, + "credentials": null, + "delete_protection": null, + "external_auth_config": { + "external_auths": { + "-": null + } + }, + "external_configuration": { + "labels": { + "-": null + }, + "manifests": { + "-": null + }, + "syncsets": { + "-": null + } + }, + "gate_agreements": { + "-": null + }, + "groups": { + "-": { + "users": { + "-": null + } + } + }, + "hibernate": null, + "hypershift": null, + "identity_providers": { + "-": { + "htpasswd_users": { + "-": null, + "import": null + } + } + }, + "inflight_checks": { + "-": null + }, + "ingresses": { + "-": null + }, + "kubelet_config": null, + "kubelet_configs": { + "-": null + }, + "limited_support_reasons": { + "-": null + }, + "logs": { + "install": null, + "uninstall": null + }, + "machine_pools": { + "-": null + }, + "metric_queries": { + "alerts": null, + "cluster_operators": null, + "cpu_total_by_node_roles_os": null, + "nodes": null, + "socket_total_by_node_roles_os": null + }, + "node_pools": { + "-": { + "upgrade_policies": { + "-": null + } + } + }, + "provision_shard": null, + "resources": { + "live": null + }, + "resume": null, + "status": null, + "sts_operator_roles": { + "-": null + }, + "sts_support_jump_role": null, + "tuning_configs": { + "-": null + }, + "upgrade_policies": { + "-": { + "state": null + } + }, + "vpc": null + } + }, + "dns_domains": { + "-": null + }, + "environment": null, + "events": null, + "flavours": { + "-": null + }, + "gcp_inquiries": { + "encryption_keys": null, + "key_rings": null, + "machine_types": null, + "regions": null, + "vpcs": null + }, + "limited_support_reason_templates": { + "-": null + }, + "load_balancer_quota_values": null, + "machine_types": { + "-": null + }, + "network_verifications": { + "-": null + }, + "oidc_configs": { + "-": null + }, + "pending_delete_clusters": { + "-": null + }, + "products": { + "-": { + "minimal_versions": { + "-": null + }, + "technology_previews": { + "-": null + } + } + }, + "provision_shards": { + "-": null + }, + "storage_quota_values": null, + "trusted_ip_addresses": null, + "version_gates": { + "-": null + }, + "versions": { + "-": null + }, + "wif_configs": { + "-": null + }, + "wif_templates": null } }, "job_queue": {