Skip to content

Commit

Permalink
Merge pull request #978 from tzvatot/bump-ocm-api
Browse files Browse the repository at this point in the history
ARO-9390 Bump OCM API model version to 0.0.384
  • Loading branch information
tzvatot authored Jul 29, 2024
2 parents e263623 + 9a9bb41 commit 63caef4
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 63caef4

Please sign in to comment.