Skip to content

Commit

Permalink
chore: bump to ocm-api-model 0.0.385
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobGray committed Jul 29, 2024
1 parent 63caef4 commit c32dd88
Show file tree
Hide file tree
Showing 27 changed files with 34,611 additions and 37,516 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.384
model_version:=v0.0.385
model_url:=https://github.com/openshift-online/ocm-api-model.git

# Details of the metamodel to use:
Expand Down
53 changes: 53 additions & 0 deletions clustersmgmt/v1/gcp_client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
Copyright (c) 2020 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// IMPORTANT: This file has been generated automatically, refrain from modifying it manually as all
// your changes will be lost when the file is generated again.

package v1 // github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1

import (
"net/http"
"path"
)

// GCPClient is the client of the 'GCP' resource.
//
// Manages the collection of gcp endpoints.
type GCPClient struct {
transport http.RoundTripper
path string
}

// NewGCPClient creates a new client for the 'GCP'
// resource using the given transport to send the requests and receive the
// responses.
func NewGCPClient(transport http.RoundTripper, path string) *GCPClient {
return &GCPClient{
transport: transport,
path: path,
}
}

// WifConfigs returns the target 'wif_configs' resource.
//
// Reference to the resource that manages wif_configs
func (c *GCPClient) WifConfigs() *WifConfigsClient {
return NewWifConfigsClient(
c.transport,
path.Join(c.path, "wif_configs"),
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,3 @@ limitations under the License.
// your changes will be lost when the file is generated again.

package v1 // github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1

import "io"

func writeWifTemplateGetRequest(request *WifTemplateGetRequest, writer io.Writer) error {
return nil
}
func readWifTemplateGetResponse(response *WifTemplateGetResponse, reader io.Reader) error {
var err error
response.body, err = UnmarshalWifTemplate(reader)
return err
}
34,167 changes: 17,033 additions & 17,134 deletions clustersmgmt/v1/openapi.go

Large diffs are not rendered by default.

30 changes: 10 additions & 20 deletions clustersmgmt/v1/root_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ func (c *Client) DNSDomains() *DNSDomainsClient {
)
}

// GCP returns the target 'GCP' resource.
//
// Reference to the resource that manages the collection of gcp endpoints.
func (c *Client) GCP() *GCPClient {
return NewGCPClient(
c.transport,
path.Join(c.path, "gcp"),
)
}

// GCPInquiries returns the target 'GCP_inquiries' resource.
//
// Reference to the resource that manages the collection of gcp inquiries.
Expand Down Expand Up @@ -270,23 +280,3 @@ func (c *Client) Versions() *VersionsClient {
path.Join(c.path, "versions"),
)
}

// WifConfigs returns the target 'wif_configs' resource.
//
// Reference to the resource that manages wif_configs
func (c *Client) WifConfigs() *WifConfigsClient {
return NewWifConfigsClient(
c.transport,
path.Join(c.path, "wif_configs"),
)
}

// WifTemplates returns the target 'wif_template' resource.
//
// Reference to the resource that manages wif_templates
func (c *Client) WifTemplates() *WifTemplateClient {
return NewWifTemplateClient(
c.transport,
path.Join(c.path, "wif_templates"),
)
}
105 changes: 0 additions & 105 deletions clustersmgmt/v1/wif_template_builder.go

This file was deleted.

Loading

0 comments on commit c32dd88

Please sign in to comment.