Skip to content

Commit

Permalink
Bump OCM API model 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 54b0785
Show file tree
Hide file tree
Showing 1,281 changed files with 250,178 additions and 15 deletions.
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
2 changes: 1 addition & 1 deletion accesstransparency/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"path"

v1 "github.com/openshift-online/ocm-sdk-go/accesstransparency/v1"
"github.com/openshift-online/ocm-sdk-go/accesstransparency/v1"
)

// Client is the client for service 'access_transparency'.
Expand Down
2 changes: 1 addition & 1 deletion accountsmgmt/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"path"

v1 "github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1"
"github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1"
)

// Client is the client for service 'accounts_mgmt'.
Expand Down
2 changes: 1 addition & 1 deletion addonsmgmt/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"path"

v1 "github.com/openshift-online/ocm-sdk-go/addonsmgmt/v1"
"github.com/openshift-online/ocm-sdk-go/addonsmgmt/v1"
)

// Client is the client for service 'addons_mgmt'.
Expand Down
2 changes: 1 addition & 1 deletion authorizations/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"path"

v1 "github.com/openshift-online/ocm-sdk-go/authorizations/v1"
"github.com/openshift-online/ocm-sdk-go/authorizations/v1"
)

// Client is the client for service 'authorizations'.
Expand Down
11 changes: 10 additions & 1 deletion clustersmgmt/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import (
"net/http"
"path"

v1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/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 54b0785

Please sign in to comment.