Skip to content

Commit

Permalink
Bump OCM API model version to 0.0.384
Browse files Browse the repository at this point in the history
  • Loading branch information
etabak committed Jul 29, 2024
1 parent e263623 commit e75cdc0
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions clustersmgmt/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Check failure on line 27 in clustersmgmt/client.go

View workflow job for this annotation

GitHub Actions / Test (1.21, ubuntu-latest)

no required module provides package github.com/openshift-online/ocm-sdk-go/clustersmgmt/v2alpha1; to add it:
)

// Client is the client for service 'clusters_mgmt'.
Expand All @@ -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"),
)
}
212 changes: 212 additions & 0 deletions metrics/path_tree_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit e75cdc0

Please sign in to comment.