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 9a9bb41
Show file tree
Hide file tree
Showing 1,270 changed files with 250,166 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"
)

// 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

0 comments on commit 9a9bb41

Please sign in to comment.