Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARO-9390 Bump OCM API model version to 0.0.384 #978

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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"
)

// 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"),
)
}
Loading
Loading