diff --git a/pkg/server/generated/client.go b/pkg/server/generated/client.go index 4bd8785c..e47a9d4b 100644 --- a/pkg/server/generated/client.go +++ b/pkg/server/generated/client.go @@ -92,40 +92,40 @@ type ClientInterface interface { // GetApiV1Applications request GetApiV1Applications(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetApiV1OrganizationsOrganizationNameClustermanagers request - GetApiV1OrganizationsOrganizationNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetApiV1OrganizationsOrganizationClustermanagers request + GetApiV1OrganizationsOrganizationClustermanagers(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetApiV1OrganizationsOrganizationNameClusters request - GetApiV1OrganizationsOrganizationNameClusters(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetApiV1OrganizationsOrganizationClusters request + GetApiV1OrganizationsOrganizationClusters(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers request with any body - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers request with any body + PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request - DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request + DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request with any body - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request with any body + PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters request with any body - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostApiV1OrganizationsOrganizationProjectsProjectClusters request with any body + PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PostApiV1OrganizationsOrganizationProjectsProjectClusters(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request - DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster request + DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request with any body - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster request with any body + PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig request - GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig request + GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1Regions request GetApiV1Regions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -149,8 +149,8 @@ func (c *Client) GetApiV1Applications(ctx context.Context, reqEditors ...Request return c.Client.Do(req) } -func (c *Client) GetApiV1OrganizationsOrganizationNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest(c.Server, organizationName) +func (c *Client) GetApiV1OrganizationsOrganizationClustermanagers(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetApiV1OrganizationsOrganizationClustermanagersRequest(c.Server, organization) if err != nil { return nil, err } @@ -161,8 +161,8 @@ func (c *Client) GetApiV1OrganizationsOrganizationNameClustermanagers(ctx contex return c.Client.Do(req) } -func (c *Client) GetApiV1OrganizationsOrganizationNameClusters(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetApiV1OrganizationsOrganizationNameClustersRequest(c.Server, organizationName) +func (c *Client) GetApiV1OrganizationsOrganizationClusters(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetApiV1OrganizationsOrganizationClustersRequest(c.Server, organization) if err != nil { return nil, err } @@ -173,8 +173,8 @@ func (c *Client) GetApiV1OrganizationsOrganizationNameClusters(ctx context.Conte return c.Client.Do(req) } -func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody(c.Server, organizationName, projectName, contentType, body) +func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody(c.Server, organization, project, contentType, body) if err != nil { return nil, err } @@ -185,8 +185,8 @@ func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameCluste return c.Client.Do(req) } -func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest(c.Server, organizationName, projectName, body) +func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest(c.Server, organization, project, body) if err != nil { return nil, err } @@ -197,8 +197,8 @@ func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameCluste return c.Client.Do(req) } -func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(c.Server, organizationName, projectName, clusterManagerName) +func (c *Client) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(c.Server, organization, project, clusterManager) if err != nil { return nil, err } @@ -209,8 +209,8 @@ func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClus return c.Client.Do(req) } -func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody(c.Server, organizationName, projectName, clusterManagerName, contentType, body) +func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody(c.Server, organization, project, clusterManager, contentType, body) if err != nil { return nil, err } @@ -221,8 +221,8 @@ func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluster return c.Client.Do(req) } -func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(c.Server, organizationName, projectName, clusterManagerName, body) +func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(c.Server, organization, project, clusterManager, body) if err != nil { return nil, err } @@ -233,8 +233,8 @@ func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluster return c.Client.Do(req) } -func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody(c.Server, organizationName, projectName, contentType, body) +func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody(c.Server, organization, project, contentType, body) if err != nil { return nil, err } @@ -245,8 +245,8 @@ func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameCluste return c.Client.Do(req) } -func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest(c.Server, organizationName, projectName, body) +func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClusters(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest(c.Server, organization, project, body) if err != nil { return nil, err } @@ -257,8 +257,8 @@ func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameCluste return c.Client.Do(req) } -func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(c.Server, organizationName, projectName, clusterName) +func (c *Client) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(c.Server, organization, project, cluster) if err != nil { return nil, err } @@ -269,8 +269,8 @@ func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClus return c.Client.Do(req) } -func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody(c.Server, organizationName, projectName, clusterName, contentType, body) +func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody(c.Server, organization, project, cluster, contentType, body) if err != nil { return nil, err } @@ -281,8 +281,8 @@ func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluster return c.Client.Do(req) } -func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(c.Server, organizationName, projectName, clusterName, body) +func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(c.Server, organization, project, cluster, body) if err != nil { return nil, err } @@ -293,8 +293,8 @@ func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluster return c.Client.Do(req) } -func (c *Client) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest(c.Server, organizationName, projectName, clusterName) +func (c *Client) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest(c.Server, organization, project, cluster) if err != nil { return nil, err } @@ -368,13 +368,13 @@ func NewGetApiV1ApplicationsRequest(server string) (*http.Request, error) { return req, nil } -// NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest generates requests for GetApiV1OrganizationsOrganizationNameClustermanagers -func NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error) { +// NewGetApiV1OrganizationsOrganizationClustermanagersRequest generates requests for GetApiV1OrganizationsOrganizationClustermanagers +func NewGetApiV1OrganizationsOrganizationClustermanagersRequest(server string, organization OrganizationParameter) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } @@ -402,13 +402,13 @@ func NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest(server strin return req, nil } -// NewGetApiV1OrganizationsOrganizationNameClustersRequest generates requests for GetApiV1OrganizationsOrganizationNameClusters -func NewGetApiV1OrganizationsOrganizationNameClustersRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error) { +// NewGetApiV1OrganizationsOrganizationClustersRequest generates requests for GetApiV1OrganizationsOrganizationClusters +func NewGetApiV1OrganizationsOrganizationClustersRequest(server string, organization OrganizationParameter) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } @@ -436,31 +436,31 @@ func NewGetApiV1OrganizationsOrganizationNameClustersRequest(server string, orga return req, nil } -// NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest calls the generic PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers builder with application/json body -func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody) (*http.Request, error) { +// NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest calls the generic PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers builder with application/json body +func NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest(server string, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody(server, organizationName, projectName, "application/json", bodyReader) + return NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody(server, organization, project, "application/json", bodyReader) } -// NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers with any type of body -func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader) (*http.Request, error) { +// NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers with any type of body +func NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } @@ -490,27 +490,27 @@ func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers return req, nil } -// NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest generates requests for DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName -func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter) (*http.Request, error) { +// NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest generates requests for DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager +func NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(server string, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } var pathParam2 string - pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterManagerName", runtime.ParamLocationPath, clusterManagerName) + pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterManager", runtime.ParamLocationPath, clusterManager) if err != nil { return nil, err } @@ -538,38 +538,38 @@ func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanage return req, nil } -// NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest calls the generic PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName builder with application/json body -func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody) (*http.Request, error) { +// NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest calls the generic PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager builder with application/json body +func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(server string, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody(server, organizationName, projectName, clusterManagerName, "application/json", bodyReader) + return NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody(server, organization, project, clusterManager, "application/json", bodyReader) } -// NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody generates requests for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName with any type of body -func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader) (*http.Request, error) { +// NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody generates requests for PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager with any type of body +func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } var pathParam2 string - pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterManagerName", runtime.ParamLocationPath, clusterManagerName) + pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterManager", runtime.ParamLocationPath, clusterManager) if err != nil { return nil, err } @@ -599,31 +599,31 @@ func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersC return req, nil } -// NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest calls the generic PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters builder with application/json body -func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody) (*http.Request, error) { +// NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest calls the generic PostApiV1OrganizationsOrganizationProjectsProjectClusters builder with application/json body +func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest(server string, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody(server, organizationName, projectName, "application/json", bodyReader) + return NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody(server, organization, project, "application/json", bodyReader) } -// NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters with any type of body -func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader) (*http.Request, error) { +// NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationProjectsProjectClusters with any type of body +func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } @@ -653,27 +653,27 @@ func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest return req, nil } -// NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest generates requests for DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName -func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) (*http.Request, error) { +// NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest generates requests for DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster +func NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } var pathParam2 string - pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterName", runtime.ParamLocationPath, clusterName) + pathParam2, err = runtime.StyleParamWithLocation("simple", false, "cluster", runtime.ParamLocationPath, cluster) if err != nil { return nil, err } @@ -701,38 +701,38 @@ func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClust return req, nil } -// NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest calls the generic PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName builder with application/json body -func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody) (*http.Request, error) { +// NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest calls the generic PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster builder with application/json body +func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody(server, organizationName, projectName, clusterName, "application/json", bodyReader) + return NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody(server, organization, project, cluster, "application/json", bodyReader) } -// NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody generates requests for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName with any type of body -func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader) (*http.Request, error) { +// NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody generates requests for PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster with any type of body +func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } var pathParam2 string - pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterName", runtime.ParamLocationPath, clusterName) + pathParam2, err = runtime.StyleParamWithLocation("simple", false, "cluster", runtime.ParamLocationPath, cluster) if err != nil { return nil, err } @@ -762,27 +762,27 @@ func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterN return req, nil } -// NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest generates requests for GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig -func NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) (*http.Request, error) { +// NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest generates requests for GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig +func NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, organizationName) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "organization", runtime.ParamLocationPath, organization) if err != nil { return nil, err } var pathParam1 string - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "projectName", runtime.ParamLocationPath, projectName) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "project", runtime.ParamLocationPath, project) if err != nil { return nil, err } var pathParam2 string - pathParam2, err = runtime.StyleParamWithLocation("simple", false, "clusterName", runtime.ParamLocationPath, clusterName) + pathParam2, err = runtime.StyleParamWithLocation("simple", false, "cluster", runtime.ParamLocationPath, cluster) if err != nil { return nil, err } @@ -951,40 +951,40 @@ type ClientWithResponsesInterface interface { // GetApiV1Applications request GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error) - // GetApiV1OrganizationsOrganizationNameClustermanagers request - GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error) + // GetApiV1OrganizationsOrganizationClustermanagers request + GetApiV1OrganizationsOrganizationClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error) - // GetApiV1OrganizationsOrganizationNameClusters request - GetApiV1OrganizationsOrganizationNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error) + // GetApiV1OrganizationsOrganizationClusters request + GetApiV1OrganizationsOrganizationClustersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustersResponse, error) - // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers request with any body - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) + // PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers request with any body + PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) + PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) - // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request - DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) + // DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request + DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) - // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request with any body - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) + // PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request with any body + PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) + PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) - // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters request with any body - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) + // PostApiV1OrganizationsOrganizationProjectsProjectClusters request with any body + PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) + PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) - // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request - DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) + // DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster request + DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) - // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request with any body - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) + // PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster request with any body + PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) + PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) - // GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig request - GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse, error) + // GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig request + GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse, error) // GetApiV1Regions request GetApiV1RegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1RegionsResponse, error) @@ -1021,7 +1021,7 @@ func (r GetApiV1ApplicationsResponse) StatusCode() int { return 0 } -type GetApiV1OrganizationsOrganizationNameClustermanagersResponse struct { +type GetApiV1OrganizationsOrganizationClustermanagersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ClusterManagers @@ -1033,7 +1033,7 @@ type GetApiV1OrganizationsOrganizationNameClustermanagersResponse struct { } // Status returns HTTPResponse.Status -func (r GetApiV1OrganizationsOrganizationNameClustermanagersResponse) Status() string { +func (r GetApiV1OrganizationsOrganizationClustermanagersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1041,14 +1041,14 @@ func (r GetApiV1OrganizationsOrganizationNameClustermanagersResponse) Status() s } // StatusCode returns HTTPResponse.StatusCode -func (r GetApiV1OrganizationsOrganizationNameClustermanagersResponse) StatusCode() int { +func (r GetApiV1OrganizationsOrganizationClustermanagersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetApiV1OrganizationsOrganizationNameClustersResponse struct { +type GetApiV1OrganizationsOrganizationClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *KubernetesClusters @@ -1060,7 +1060,7 @@ type GetApiV1OrganizationsOrganizationNameClustersResponse struct { } // Status returns HTTPResponse.Status -func (r GetApiV1OrganizationsOrganizationNameClustersResponse) Status() string { +func (r GetApiV1OrganizationsOrganizationClustersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1068,14 +1068,14 @@ func (r GetApiV1OrganizationsOrganizationNameClustersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetApiV1OrganizationsOrganizationNameClustersResponse) StatusCode() int { +func (r GetApiV1OrganizationsOrganizationClustersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse struct { +type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1086,7 +1086,7 @@ type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRes } // Status returns HTTPResponse.Status -func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse) Status() string { +func (r PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1094,14 +1094,14 @@ func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers } // StatusCode returns HTTPResponse.StatusCode -func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse) StatusCode() int { +func (r PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse struct { +type DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1112,7 +1112,7 @@ type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersC } // Status returns HTTPResponse.Status -func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) Status() string { +func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1120,14 +1120,14 @@ func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanage } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) StatusCode() int { +func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse struct { +type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1138,7 +1138,7 @@ type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClus } // Status returns HTTPResponse.Status -func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) Status() string { +func (r PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1146,14 +1146,14 @@ func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersC } // StatusCode returns HTTPResponse.StatusCode -func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) StatusCode() int { +func (r PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse struct { +type PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1164,7 +1164,7 @@ type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse s } // Status returns HTTPResponse.Status -func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse) Status() string { +func (r PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1172,14 +1172,14 @@ func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRespons } // StatusCode returns HTTPResponse.StatusCode -func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse) StatusCode() int { +func (r PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse struct { +type DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1190,7 +1190,7 @@ type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterN } // Status returns HTTPResponse.Status -func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) Status() string { +func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1198,14 +1198,14 @@ func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClust } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) StatusCode() int { +func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse struct { +type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1216,7 +1216,7 @@ type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName } // Status returns HTTPResponse.Status -func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) Status() string { +func (r PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1224,14 +1224,14 @@ func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterN } // StatusCode returns HTTPResponse.StatusCode -func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) StatusCode() int { +func (r PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse struct { +type GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error @@ -1242,7 +1242,7 @@ type GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName } // Status returns HTTPResponse.Status -func (r GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse) Status() string { +func (r GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -1250,7 +1250,7 @@ func (r GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterN } // StatusCode returns HTTPResponse.StatusCode -func (r GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse) StatusCode() int { +func (r GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -1340,117 +1340,117 @@ func (c *ClientWithResponses) GetApiV1ApplicationsWithResponse(ctx context.Conte return ParseGetApiV1ApplicationsResponse(rsp) } -// GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse request returning *GetApiV1OrganizationsOrganizationNameClustermanagersResponse -func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error) { - rsp, err := c.GetApiV1OrganizationsOrganizationNameClustermanagers(ctx, organizationName, reqEditors...) +// GetApiV1OrganizationsOrganizationClustermanagersWithResponse request returning *GetApiV1OrganizationsOrganizationClustermanagersResponse +func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error) { + rsp, err := c.GetApiV1OrganizationsOrganizationClustermanagers(ctx, organization, reqEditors...) if err != nil { return nil, err } - return ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse(rsp) + return ParseGetApiV1OrganizationsOrganizationClustermanagersResponse(rsp) } -// GetApiV1OrganizationsOrganizationNameClustersWithResponse request returning *GetApiV1OrganizationsOrganizationNameClustersResponse -func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error) { - rsp, err := c.GetApiV1OrganizationsOrganizationNameClusters(ctx, organizationName, reqEditors...) +// GetApiV1OrganizationsOrganizationClustersWithResponse request returning *GetApiV1OrganizationsOrganizationClustersResponse +func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationClustersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustersResponse, error) { + rsp, err := c.GetApiV1OrganizationsOrganizationClusters(ctx, organization, reqEditors...) if err != nil { return nil, err } - return ParseGetApiV1OrganizationsOrganizationNameClustersResponse(rsp) + return ParseGetApiV1OrganizationsOrganizationClustersResponse(rsp) } -// PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse -func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) { - rsp, err := c.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody(ctx, organizationName, projectName, contentType, body, reqEditors...) +// PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse +func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) { + rsp, err := c.PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody(ctx, organization, project, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse(rsp) + return ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse(rsp) } -func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) { - rsp, err := c.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(ctx, organizationName, projectName, body, reqEditors...) +func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) { + rsp, err := c.PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(ctx, organization, project, body, reqEditors...) if err != nil { return nil, err } - return ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse(rsp) + return ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse(rsp) } -// DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse request returning *DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse -func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) { - rsp, err := c.DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx, organizationName, projectName, clusterManagerName, reqEditors...) +// DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse request returning *DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse +func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) { + rsp, err := c.DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx, organization, project, clusterManager, reqEditors...) if err != nil { return nil, err } - return ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp) + return ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp) } -// PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse -func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) { - rsp, err := c.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody(ctx, organizationName, projectName, clusterManagerName, contentType, body, reqEditors...) +// PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse +func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) { + rsp, err := c.PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody(ctx, organization, project, clusterManager, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp) + return ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp) } -func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) { - rsp, err := c.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx, organizationName, projectName, clusterManagerName, body, reqEditors...) +func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) { + rsp, err := c.PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx, organization, project, clusterManager, body, reqEditors...) if err != nil { return nil, err } - return ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp) + return ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp) } -// PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse -func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) { - rsp, err := c.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody(ctx, organizationName, projectName, contentType, body, reqEditors...) +// PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse +func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) { + rsp, err := c.PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody(ctx, organization, project, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse(rsp) + return ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse(rsp) } -func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) { - rsp, err := c.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(ctx, organizationName, projectName, body, reqEditors...) +func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) { + rsp, err := c.PostApiV1OrganizationsOrganizationProjectsProjectClusters(ctx, organization, project, body, reqEditors...) if err != nil { return nil, err } - return ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse(rsp) + return ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse(rsp) } -// DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse request returning *DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse -func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) { - rsp, err := c.DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx, organizationName, projectName, clusterName, reqEditors...) +// DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse request returning *DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse +func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) { + rsp, err := c.DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx, organization, project, cluster, reqEditors...) if err != nil { return nil, err } - return ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp) + return ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp) } -// PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse -func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) { - rsp, err := c.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody(ctx, organizationName, projectName, clusterName, contentType, body, reqEditors...) +// PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse +func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) { + rsp, err := c.PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody(ctx, organization, project, cluster, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp) + return ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp) } -func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) { - rsp, err := c.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx, organizationName, projectName, clusterName, body, reqEditors...) +func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) { + rsp, err := c.PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx, organization, project, cluster, body, reqEditors...) if err != nil { return nil, err } - return ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp) + return ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp) } -// GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse request returning *GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse -func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse, error) { - rsp, err := c.GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(ctx, organizationName, projectName, clusterName, reqEditors...) +// GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse request returning *GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse +func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse, error) { + rsp, err := c.GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(ctx, organization, project, cluster, reqEditors...) if err != nil { return nil, err } - return ParseGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse(rsp) + return ParseGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse(rsp) } // GetApiV1RegionsWithResponse request returning *GetApiV1RegionsResponse @@ -1527,15 +1527,15 @@ func ParseGetApiV1ApplicationsResponse(rsp *http.Response) (*GetApiV1Application return response, nil } -// ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse call -func ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error) { +// ParseGetApiV1OrganizationsOrganizationClustermanagersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationClustermanagersWithResponse call +func ParseGetApiV1OrganizationsOrganizationClustermanagersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetApiV1OrganizationsOrganizationNameClustermanagersResponse{ + response := &GetApiV1OrganizationsOrganizationClustermanagersResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1588,15 +1588,15 @@ func ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse(rsp *http return response, nil } -// ParseGetApiV1OrganizationsOrganizationNameClustersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameClustersWithResponse call -func ParseGetApiV1OrganizationsOrganizationNameClustersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error) { +// ParseGetApiV1OrganizationsOrganizationClustersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationClustersWithResponse call +func ParseGetApiV1OrganizationsOrganizationClustersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationClustersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetApiV1OrganizationsOrganizationNameClustersResponse{ + response := &GetApiV1OrganizationsOrganizationClustersResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1649,15 +1649,15 @@ func ParseGetApiV1OrganizationsOrganizationNameClustersResponse(rsp *http.Respon return response, nil } -// ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse call -func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) { +// ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse call +func ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse{ + response := &PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1703,15 +1703,15 @@ func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanage return response, nil } -// ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse call -func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) { +// ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse call +func ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse{ + response := &DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1757,15 +1757,15 @@ func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermana return response, nil } -// ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse call -func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) { +// ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse call +func ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse{ + response := &PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1811,15 +1811,15 @@ func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanager return response, nil } -// ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse call -func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) { +// ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse call +func ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse{ + response := &PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1865,15 +1865,15 @@ func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRespo return response, nil } -// ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse call -func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) { +// ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse call +func ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse{ + response := &DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1919,15 +1919,15 @@ func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClu return response, nil } -// ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse call -func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) { +// ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse call +func ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse{ + response := &PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -1973,15 +1973,15 @@ func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersCluste return response, nil } -// ParseGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse call -func ParseGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse, error) { +// ParseGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse call +func ParseGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse{ + response := &GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse{ Body: bodyBytes, HTTPResponse: rsp, } diff --git a/pkg/server/generated/router.go b/pkg/server/generated/router.go index d1f48e59..0ac55609 100644 --- a/pkg/server/generated/router.go +++ b/pkg/server/generated/router.go @@ -18,32 +18,32 @@ type ServerInterface interface { // (GET /api/v1/applications) GetApiV1Applications(w http.ResponseWriter, r *http.Request) - // (GET /api/v1/organizations/{organizationName}/clustermanagers) - GetApiV1OrganizationsOrganizationNameClustermanagers(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter) + // (GET /api/v1/organizations/{organization}/clustermanagers) + GetApiV1OrganizationsOrganizationClustermanagers(w http.ResponseWriter, r *http.Request, organization OrganizationParameter) - // (GET /api/v1/organizations/{organizationName}/clusters) - GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter) + // (GET /api/v1/organizations/{organization}/clusters) + GetApiV1OrganizationsOrganizationClusters(w http.ResponseWriter, r *http.Request, organization OrganizationParameter) - // (POST /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers) - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter) + // (POST /api/v1/organizations/{organization}/projects/{project}/clustermanagers) + PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter) - // (DELETE /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}) - DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter) + // (DELETE /api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}) + DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter) - // (PUT /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}) - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter) + // (PUT /api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}) + PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter) - // (POST /api/v1/organizations/{organizationName}/projects/{projectName}/clusters) - PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter) + // (POST /api/v1/organizations/{organization}/projects/{project}/clusters) + PostApiV1OrganizationsOrganizationProjectsProjectClusters(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter) - // (DELETE /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}) - DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) + // (DELETE /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}) + DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) - // (PUT /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}) - PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) + // (PUT /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}) + PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) - // (GET /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}/kubeconfig) - GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) + // (GET /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}/kubeconfig) + GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) // (GET /api/v1/regions) GetApiV1Regions(w http.ResponseWriter, r *http.Request) @@ -81,25 +81,25 @@ func (siw *ServerInterfaceWrapper) GetApiV1Applications(w http.ResponseWriter, r handler.ServeHTTP(w, r.WithContext(ctx)) } -// GetApiV1OrganizationsOrganizationNameClustermanagers operation middleware -func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClustermanagers(w http.ResponseWriter, r *http.Request) { +// GetApiV1OrganizationsOrganizationClustermanagers operation middleware +func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClustermanagers(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.GetApiV1OrganizationsOrganizationNameClustermanagers(w, r, organizationName) + siw.Handler.GetApiV1OrganizationsOrganizationClustermanagers(w, r, organization) }) for _, middleware := range siw.HandlerMiddlewares { @@ -109,25 +109,25 @@ func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClusterm handler.ServeHTTP(w, r.WithContext(ctx)) } -// GetApiV1OrganizationsOrganizationNameClusters operation middleware -func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseWriter, r *http.Request) { +// GetApiV1OrganizationsOrganizationClusters operation middleware +func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClusters(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.GetApiV1OrganizationsOrganizationNameClusters(w, r, organizationName) + siw.Handler.GetApiV1OrganizationsOrganizationClusters(w, r, organization) }) for _, middleware := range siw.HandlerMiddlewares { @@ -137,34 +137,34 @@ func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClusters handler.ServeHTTP(w, r.WithContext(ctx)) } -// PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers operation middleware -func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w http.ResponseWriter, r *http.Request) { +// PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers operation middleware +func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w, r, organizationName, projectName) + siw.Handler.PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w, r, organization, project) }) for _, middleware := range siw.HandlerMiddlewares { @@ -174,43 +174,43 @@ func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProject handler.ServeHTTP(w, r.WithContext(ctx)) } -// DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName operation middleware -func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request) { +// DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager operation middleware +func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } - // ------------- Path parameter "clusterManagerName" ------------- - var clusterManagerName ClusterManagerNameParameter + // ------------- Path parameter "clusterManager" ------------- + var clusterManager ClusterManagerParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "clusterManagerName", runtime.ParamLocationPath, chi.URLParam(r, "clusterManagerName"), &clusterManagerName) + err = runtime.BindStyledParameterWithLocation("simple", false, "clusterManager", runtime.ParamLocationPath, chi.URLParam(r, "clusterManager"), &clusterManager) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterManagerName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterManager", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w, r, organizationName, projectName, clusterManagerName) + siw.Handler.DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w, r, organization, project, clusterManager) }) for _, middleware := range siw.HandlerMiddlewares { @@ -220,43 +220,43 @@ func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProje handler.ServeHTTP(w, r.WithContext(ctx)) } -// PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName operation middleware -func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request) { +// PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager operation middleware +func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } - // ------------- Path parameter "clusterManagerName" ------------- - var clusterManagerName ClusterManagerNameParameter + // ------------- Path parameter "clusterManager" ------------- + var clusterManager ClusterManagerParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "clusterManagerName", runtime.ParamLocationPath, chi.URLParam(r, "clusterManagerName"), &clusterManagerName) + err = runtime.BindStyledParameterWithLocation("simple", false, "clusterManager", runtime.ParamLocationPath, chi.URLParam(r, "clusterManager"), &clusterManager) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterManagerName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterManager", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w, r, organizationName, projectName, clusterManagerName) + siw.Handler.PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w, r, organization, project, clusterManager) }) for _, middleware := range siw.HandlerMiddlewares { @@ -266,34 +266,34 @@ func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjects handler.ServeHTTP(w, r.WithContext(ctx)) } -// PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters operation middleware -func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w http.ResponseWriter, r *http.Request) { +// PostApiV1OrganizationsOrganizationProjectsProjectClusters operation middleware +func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationProjectsProjectClusters(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w, r, organizationName, projectName) + siw.Handler.PostApiV1OrganizationsOrganizationProjectsProjectClusters(w, r, organization, project) }) for _, middleware := range siw.HandlerMiddlewares { @@ -303,43 +303,43 @@ func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProject handler.ServeHTTP(w, r.WithContext(ctx)) } -// DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName operation middleware -func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request) { +// DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster operation middleware +func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } - // ------------- Path parameter "clusterName" ------------- - var clusterName ClusterNameParameter + // ------------- Path parameter "cluster" ------------- + var cluster ClusterParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "clusterName", runtime.ParamLocationPath, chi.URLParam(r, "clusterName"), &clusterName) + err = runtime.BindStyledParameterWithLocation("simple", false, "cluster", runtime.ParamLocationPath, chi.URLParam(r, "cluster"), &cluster) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "cluster", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w, r, organizationName, projectName, clusterName) + siw.Handler.DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w, r, organization, project, cluster) }) for _, middleware := range siw.HandlerMiddlewares { @@ -349,43 +349,43 @@ func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProje handler.ServeHTTP(w, r.WithContext(ctx)) } -// PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName operation middleware -func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request) { +// PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster operation middleware +func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } - // ------------- Path parameter "clusterName" ------------- - var clusterName ClusterNameParameter + // ------------- Path parameter "cluster" ------------- + var cluster ClusterParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "clusterName", runtime.ParamLocationPath, chi.URLParam(r, "clusterName"), &clusterName) + err = runtime.BindStyledParameterWithLocation("simple", false, "cluster", runtime.ParamLocationPath, chi.URLParam(r, "cluster"), &cluster) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "cluster", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w, r, organizationName, projectName, clusterName) + siw.Handler.PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w, r, organization, project, cluster) }) for _, middleware := range siw.HandlerMiddlewares { @@ -395,43 +395,43 @@ func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjects handler.ServeHTTP(w, r.WithContext(ctx)) } -// GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig operation middleware -func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request) { +// GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig operation middleware +func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(w http.ResponseWriter, r *http.Request) { ctx := r.Context() var err error - // ------------- Path parameter "organizationName" ------------- - var organizationName OrganizationNameParameter + // ------------- Path parameter "organization" ------------- + var organization OrganizationParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "organizationName", runtime.ParamLocationPath, chi.URLParam(r, "organizationName"), &organizationName) + err = runtime.BindStyledParameterWithLocation("simple", false, "organization", runtime.ParamLocationPath, chi.URLParam(r, "organization"), &organization) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organizationName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "organization", Err: err}) return } - // ------------- Path parameter "projectName" ------------- - var projectName ProjectNameParameter + // ------------- Path parameter "project" ------------- + var project ProjectParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "projectName", runtime.ParamLocationPath, chi.URLParam(r, "projectName"), &projectName) + err = runtime.BindStyledParameterWithLocation("simple", false, "project", runtime.ParamLocationPath, chi.URLParam(r, "project"), &project) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "projectName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "project", Err: err}) return } - // ------------- Path parameter "clusterName" ------------- - var clusterName ClusterNameParameter + // ------------- Path parameter "cluster" ------------- + var cluster ClusterParameter - err = runtime.BindStyledParameterWithLocation("simple", false, "clusterName", runtime.ParamLocationPath, chi.URLParam(r, "clusterName"), &clusterName) + err = runtime.BindStyledParameterWithLocation("simple", false, "cluster", runtime.ParamLocationPath, chi.URLParam(r, "cluster"), &cluster) if err != nil { - siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clusterName", Err: err}) + siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "cluster", Err: err}) return } ctx = context.WithValue(ctx, Oauth2AuthenticationScopes, []string{""}) var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - siw.Handler.GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w, r, organizationName, projectName, clusterName) + siw.Handler.GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(w, r, organization, project, cluster) }) for _, middleware := range siw.HandlerMiddlewares { @@ -631,31 +631,31 @@ func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handl r.Get(options.BaseURL+"/api/v1/applications", wrapper.GetApiV1Applications) }) r.Group(func(r chi.Router) { - r.Get(options.BaseURL+"/api/v1/organizations/{organizationName}/clustermanagers", wrapper.GetApiV1OrganizationsOrganizationNameClustermanagers) + r.Get(options.BaseURL+"/api/v1/organizations/{organization}/clustermanagers", wrapper.GetApiV1OrganizationsOrganizationClustermanagers) }) r.Group(func(r chi.Router) { - r.Get(options.BaseURL+"/api/v1/organizations/{organizationName}/clusters", wrapper.GetApiV1OrganizationsOrganizationNameClusters) + r.Get(options.BaseURL+"/api/v1/organizations/{organization}/clusters", wrapper.GetApiV1OrganizationsOrganizationClusters) }) r.Group(func(r chi.Router) { - r.Post(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers", wrapper.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers) + r.Post(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clustermanagers", wrapper.PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers) }) r.Group(func(r chi.Router) { - r.Delete(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}", wrapper.DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName) + r.Delete(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}", wrapper.DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager) }) r.Group(func(r chi.Router) { - r.Put(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}", wrapper.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName) + r.Put(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}", wrapper.PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager) }) r.Group(func(r chi.Router) { - r.Post(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clusters", wrapper.PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters) + r.Post(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clusters", wrapper.PostApiV1OrganizationsOrganizationProjectsProjectClusters) }) r.Group(func(r chi.Router) { - r.Delete(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}", wrapper.DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName) + r.Delete(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}", wrapper.DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster) }) r.Group(func(r chi.Router) { - r.Put(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}", wrapper.PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName) + r.Put(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}", wrapper.PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster) }) r.Group(func(r chi.Router) { - r.Get(options.BaseURL+"/api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}/kubeconfig", wrapper.GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig) + r.Get(options.BaseURL+"/api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}/kubeconfig", wrapper.GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig) }) r.Group(func(r chi.Router) { r.Get(options.BaseURL+"/api/v1/regions", wrapper.GetApiV1Regions) diff --git a/pkg/server/generated/schema.go b/pkg/server/generated/schema.go index 29eaf07e..bf83b97c 100644 --- a/pkg/server/generated/schema.go +++ b/pkg/server/generated/schema.go @@ -18,116 +18,116 @@ import ( // Base64 encoded, gzipped, json marshaled Swagger object var swaggerSpec = []string{ - "H4sIAAAAAAAC/+w9a3PiOLZ/ReV7q/beWkJ49nSnaj8wId2TXWySDune9DDVJWxhBLbklWTAdOW/39LD", - "xjaGQNIzu30n38CWjo6Ojs5b8jfLpWFECSKCWxffrAgyGCKBmPrnBjEXiNmQQB8xB4boJn0vX3uIuwxH", - "AlNiXVijGQKmAwh1D0BgiGoAT4GoeOlRxAGhAqA15qIm2xCABQhhAiZoTHAYBdjFIkiAyxAUyKuBKWUA", - "rWEYBQjADCLmaQsAfYgJF7mXZrgxETMoSoPWgR1zASYS2BIG2AN95w64lAiICSY+oCRIQEBXiAEXcgTc", - "GWTQlfSpjQmJwwliHFAGZkk0Q4TXABeQCQCJBxDxwAqLmUQl7SWb6l411UYOLEBIuRiTN+0cdIAJCBDx", - "xaxu1Sws6RtBMbNqliSpdVGxNFbNYuhfMWbIsy4Ei1HN4u4MhVAu1X8zNLUurP863y73uX7LzxfxBDGC", - "BOLFFX58rKXDnLD0Er8fnqy/Gz0p8yHBGygJdwRR8801ZavRLoP9XXCPGJ0jVxyBtml5COMcsN8FWYb8", - "40isGx5CdQvqd8D0UYNEXPxMPYy02FWy7JISwWhwE0CCPuom6iUlAhH1E0ZSQKpFP59zOaNvlhGO8qdB", - "30NTGAfCejwW2aJouYuQq/Es0s6gByKJHzBzAFv9Ud8hlhQnamb/yKhxqYd6yfQMtla65NaFFS/OEOTi", - "rGnVrCViXD9dNuutn+otq2atKFsEF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K/", + "fnjfvL9txfdfWsH17T/t+38HgYv7myv8a3f6ZRO72yaGHz813QFdDTtex0t6HTvprdzQXdmL/tq+eLf1", + "Qhdfffwaff23dzHt+O+uFn3fvuhvRuOb2F7cte3x0rfHd73hot8djS+Tq0X3rfchaE4/3P0dfnFW08V6", + "lf5//fHXuffB97+GAZ8Omvhq+zm0F1fNe4mrxH287AwXl8locMlHg37sLK7aoy+XG/uiu7YHS26P+7E9", + "6PeGgz63L9ab4fgyHo3vusPb7mY0trdOuBbObTcZDeyec9HcDBf9ljNYboeDm9gZ33Sd8ZLbCzcejf2t", + "Pf48H912e/biJhndrnvDxTJxBlc72Bfdjb1Ydkfy9+J+7QxuenBwF9vjq/b9eBmPxsuek6h+vdHYlX3W", + "w8ElHy4u2/a235W4Odtlx95+5c5tdz0a+xvntpk4SbdnD+6bdnPdG8nng/vNcOCvh4ubrb29a96ML9fD", + "RX89GiyT4SD/2+A1qKDRZ4qH2+5b98P7Jrz4NYRfNvz69mrhfLlP7MWn+RX+dXl9+0/HHrvb4eK+54zv", + "uX3pJ/ZFt+Us+h377lL+btuLy7Vzu87/Xptx18PB1Xoo13tw3/m8uNyOLrote+E3nS+5vnid/532Tcdp", + "O0nud9PfOFs7dhbLlhNmMLi9UHPa7I971xqO8zjsft+o5/eJvcPd9O3zwpzfR8JOuk1nfMedwWXsjP3N", + "cHwVO+O+pHXn3tDeHtynvLabx22zM1wst874rjkc+LG9vVs747kt+WG46Ded8U1rOHBbkufsL7aQcJyk", + "u3YG/Y5925Swuo7cMwN/Yw/u5fuNgyWPXXac9lo4uLt19By2zkW364z7rdGlosvaXty3NB36ibO4y3ht", + "NF5K+kkcN/bCj0fj+7a9+EyH45RPTZ+x38n6q9/Z/pH82xkN7hL9u98aDd7bjoJ103S2d9zZSljLjjOe", + "8+H4ZjNc3Kzt8X0yHPuxvbhv3xyl2Xozuu227YHbGt2uW5JnRoP3PKP5OE/zy23K7/p3yu8SL7frbC/V", + "WkkZY4/fc/u2K/GTcLV8WCy349zecCQfDa56zsLhztiPne1dz9neC1vtS3vjDG5yMJoZjJvH8ek4SXcj", + "18fB66Z9q+YEr/Dbv19refn3C/8f/7BqVoBdpHSi1Y+gO0f1dqMJhuZhZpSkEr/eavQarbzlpA2knRml", + "Gkjj5fdTrZec/uVVRksfBJgLQGfA6D/pv+f6KDU/hZ6xEp+j5b9biDHKrHMLE+V8fjO2i1XTb74VUUot", + "myn1EmC6nG5AUxiLeftSjVgx30954DOIpWmku2rHWM2hJv1XkTOysuCEcZknBGZGk7blwAyjwNPkKtrw", + "/JmWUYgE9KCAmVOCKRljxTDtZrtTb/5S77TGreZ5t3febX+1Mt/QOrdmlFo1S9ttqVklWQhpQkoDtsJH", + "OZ2rSjM8zlileI+hESWzALs/yFAplAOcBHc2rYpQyAXjMETK4QQwkGZZogNO/AU5zAyZIsdNeIRQMUes", + "BmIewyBIgJhjDkIECZeIJWAOV6iIoqKU9neey0VuJDmgW7M8zJfWebtZs3z1qFWzsGedW+/gW/dN55dm", + "vdt806t3vS6sv/Ngs/7Lm1/eerNu0/XeeVbNClFIWWKdd9qZ2Droe53OR2Zux/nHNNLEoGyKPQ+RH+Ob", + "DMwBxok5YsBlyENEYBhw4FG1/bMlyrZ9xPAKB8hH/MVF1Bpy4CGCkQemCZB9KMPcCCjNPCogC1wYc91I", + "olZoOCGCLhFJkcfEL6LPXRoh5dlBAvrXV5nkUxSQYo/8bTftCSHIRZxDluQmDihRXTKPLAqgmFEWqhXD", + "IfTRs7lXB48zkdeut9vjVvu82T1vdaTIUywM33Rn79pv3tU7b1Cz3u202vXpW69V77W9dx2v9+bd9Jep", + "ZGHq4RmugNbqnbfeft3p43gat9vNbn3VarR7jTd1P4rrvXav8bbXaPbqv7jI67Z63YKW/m7twgQm3NFr", + "vJEgV9jDcMDwCknGy8A8RdpqEh7fJLqNdoYhQ8pRhwJLdW5EH+alhSHKvw5uEVshprjxxzYVV4C+6X+r", + "95VRuIICzZZuAHH4YhunT0BM0CZCrkAeUO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KyGvKH5GQ14a/zd8qqyC9", + "zTM5LARyF36eHb7t82FPCrdP8BvKVzf+SWXvuxPMqfIFPn+07H05oXj2vWgbPmjuDpCoikip53y//EZn", + "VHOMboo/Un6fkLGp/IDAhdyFOiydhZayEglTZgB3hazIO+L0aoR+ZONc7F9Z/Vdl/D+H0fGqwV81+LM1", + "+ON9Dn1ZQCn/uEL336V19sf0fkkc7qv/WLywEHu1Bf46IvEn+08nxgz+LGZ5fluiQBciVhzFexn7/AcM", + "84OX1b9a5//l1vnP35GZ1X6CuZ7TTHkrHT5xBzzf1M5Kr141yZ/LuP6vkvInm24n22y5jfE8nfA8o62w", + "HV41w6ut9pM0g0qL6DNtP5D0+YByny37Gy/4xcULNp+c8zm+PXY3hL5MTqjixtFXRv9vTw79gYri1I15", + "sJTwk35hYjZq09DYSw+hmNNLPqI+g9Ecu1CVF0OSpPVbIIJM4PTME1ZFs2uYZGfmdP4Ah1h9FUiFhzDX", + "pVeC7gItuyOYPHbnAPIJKQwaUBcGqAYgMTlbnl6NxZCqivXANKBTFVuiYRQLBJBwJUrQnaflmHPI1deR", + "6JrsqshysR5VGYxF8dOIowiRWwHdZU3fMpwCMFVm+SvHOZXTJj4HLiSSbvnDhFm1Gg+wq4J1cELMl4cU", + "zbM43XoOBVpJHY7cuZxqqELQWYFVelOc7pVO5PEEeK5WtFrmGV54luQq3936pyqg2t8oZ993n7F7ODt4", + "lceF4TVzm8iphXMqT5DvacoT08vgDYLI05e6S77N7l19bPU+ZXi/N1g/ZznLnzD465TSPU0DVH03UYE5", + "yk+HLmhI2Ukf8nsGN+XvdTiFmRqnc5O+9uVZzFT6oMArLz2Jlw6Z37zia3zqrDllusja1Gzrs0D50mzV", + "IqtsVukl6Uyl3zhJL3dK7XXzuV/5KJcuyVJCuoZ6p+uWyNyhvzsaXayyB+CLclwnJDvLr4DD3OURexd2", + "gStz2pYSgTYiPU+8Xytdk3q1nNRQKdwcEQKYpN8hzArewzgQuC4QgUTaKDQwB4gg8arqvPdr4dMbOXZ5", + "u4p0XErZ9LC8ceIlLcquO8gfjZcTThdEjbZXu2lsNY8SlKW+ggRQls9y1cCcrpVxoQy0AApT/M2oNJTk", + "IykZZgHaqNtg9CVNVZXxOn+mvzNCgTun6owUDREwt+br86w8Paa9GxnniA7BTH+RUR8MlNhMiJJTaBMh", + "hiWDNdKvhiijNruc/8Lwudwj/y8AAP//D8wrHnh7AAA=", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/pkg/server/generated/types.go b/pkg/server/generated/types.go index a1275e00..f6593366 100644 --- a/pkg/server/generated/types.go +++ b/pkg/server/generated/types.go @@ -311,17 +311,17 @@ type Volume struct { Size int `json:"size"` } -// ClusterManagerNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. -type ClusterManagerNameParameter = KubernetesNameParameter +// ClusterManagerParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. +type ClusterManagerParameter = KubernetesNameParameter -// ClusterNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. -type ClusterNameParameter = KubernetesNameParameter +// ClusterParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. +type ClusterParameter = KubernetesNameParameter -// OrganizationNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. -type OrganizationNameParameter = KubernetesNameParameter +// OrganizationParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. +type OrganizationParameter = KubernetesNameParameter -// ProjectNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. -type ProjectNameParameter = KubernetesNameParameter +// ProjectParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. +type ProjectParameter = KubernetesNameParameter // RegionNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length. type RegionNameParameter = KubernetesNameParameter @@ -368,14 +368,14 @@ type CreateControlPlaneRequest = ClusterManagerSpec // CreateKubernetesClusterRequest Kubernetes cluster creation parameters. type CreateKubernetesClusterRequest = KubernetesClusterSpec -// PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers for application/json ContentType. -type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody = ClusterManagerSpec +// PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers for application/json ContentType. +type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody = ClusterManagerSpec -// PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody defines body for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName for application/json ContentType. -type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody = ClusterManagerSpec +// PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody defines body for PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager for application/json ContentType. +type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody = ClusterManagerSpec -// PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters for application/json ContentType. -type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody = KubernetesClusterSpec +// PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationProjectsProjectClusters for application/json ContentType. +type PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody = KubernetesClusterSpec -// PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody defines body for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName for application/json ContentType. -type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody = KubernetesClusterSpec +// PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody defines body for PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster for application/json ContentType. +type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody = KubernetesClusterSpec diff --git a/pkg/server/handler/handler.go b/pkg/server/handler/handler.go index 7f8d23c1..a4987fa2 100644 --- a/pkg/server/handler/handler.go +++ b/pkg/server/handler/handler.go @@ -87,13 +87,13 @@ func (h *Handler) checkRBAC(ctx context.Context, organization, scope string, per return nil } -func (h *Handler) GetApiV1OrganizationsOrganizationNameClustermanagers(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Read); err != nil { +func (h *Handler) GetApiV1OrganizationsOrganizationClustermanagers(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Read); err != nil { errors.HandleError(w, r, err) return } - result, err := clustermanager.NewClient(h.client).List(r.Context(), organizationName) + result, err := clustermanager.NewClient(h.client).List(r.Context(), organization) if err != nil { errors.HandleError(w, r, err) return @@ -103,8 +103,8 @@ func (h *Handler) GetApiV1OrganizationsOrganizationNameClustermanagers(w http.Re util.WriteJSONResponse(w, r, http.StatusOK, result) } -func (h *Handler) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Create); err != nil { +func (h *Handler) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Create); err != nil { errors.HandleError(w, r, err) return } @@ -116,7 +116,7 @@ func (h *Handler) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClust return } - if err := clustermanager.NewClient(h.client).Create(r.Context(), organizationName, projectName, request); err != nil { + if err := clustermanager.NewClient(h.client).Create(r.Context(), organization, project, request); err != nil { errors.HandleError(w, r, err) return } @@ -125,13 +125,13 @@ func (h *Handler) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClust w.WriteHeader(http.StatusAccepted) } -func (h *Handler) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter, clusterManagerName generated.ClusterManagerNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Delete); err != nil { +func (h *Handler) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter, clusterManager generated.ClusterManagerParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Delete); err != nil { errors.HandleError(w, r, err) return } - if err := clustermanager.NewClient(h.client).Delete(r.Context(), organizationName, projectName, clusterManagerName); err != nil { + if err := clustermanager.NewClient(h.client).Delete(r.Context(), organization, project, clusterManager); err != nil { errors.HandleError(w, r, err) return } @@ -140,8 +140,8 @@ func (h *Handler) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClu w.WriteHeader(http.StatusAccepted) } -func (h *Handler) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter, controlPlaneName generated.ClusterManagerNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Update); err != nil { +func (h *Handler) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter, controlPlaneName generated.ClusterManagerParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Update); err != nil { errors.HandleError(w, r, err) return } @@ -153,7 +153,7 @@ func (h *Handler) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluste return } - if err := clustermanager.NewClient(h.client).Update(r.Context(), organizationName, projectName, controlPlaneName, request); err != nil { + if err := clustermanager.NewClient(h.client).Update(r.Context(), organization, project, controlPlaneName, request); err != nil { errors.HandleError(w, r, err) return } @@ -162,13 +162,13 @@ func (h *Handler) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluste w.WriteHeader(http.StatusAccepted) } -func (h *Handler) GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Read); err != nil { +func (h *Handler) GetApiV1OrganizationsOrganizationClusters(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Read); err != nil { errors.HandleError(w, r, err) return } - result, err := cluster.NewClient(h.client, &h.options.Cluster).List(r.Context(), organizationName) + result, err := cluster.NewClient(h.client, &h.options.Cluster).List(r.Context(), organization) if err != nil { errors.HandleError(w, r, err) return @@ -178,8 +178,8 @@ func (h *Handler) GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseW util.WriteJSONResponse(w, r, http.StatusOK, result) } -func (h *Handler) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Create); err != nil { +func (h *Handler) PostApiV1OrganizationsOrganizationProjectsProjectClusters(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Create); err != nil { errors.HandleError(w, r, err) return } @@ -191,7 +191,7 @@ func (h *Handler) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClust return } - if err := cluster.NewClient(h.client, &h.options.Cluster).Create(r.Context(), organizationName, projectName, request); err != nil { + if err := cluster.NewClient(h.client, &h.options.Cluster).Create(r.Context(), organization, project, request); err != nil { errors.HandleError(w, r, err) return } @@ -200,13 +200,13 @@ func (h *Handler) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClust w.WriteHeader(http.StatusAccepted) } -func (h *Handler) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter, clusterName generated.ClusterNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Delete); err != nil { +func (h *Handler) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter, clusterName generated.ClusterParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Delete); err != nil { errors.HandleError(w, r, err) return } - if err := cluster.NewClient(h.client, &h.options.Cluster).Delete(r.Context(), organizationName, projectName, clusterName); err != nil { + if err := cluster.NewClient(h.client, &h.options.Cluster).Delete(r.Context(), organization, project, clusterName); err != nil { errors.HandleError(w, r, err) return } @@ -215,8 +215,8 @@ func (h *Handler) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClu w.WriteHeader(http.StatusAccepted) } -func (h *Handler) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter, clusterName generated.ClusterNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Update); err != nil { +func (h *Handler) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter, clusterName generated.ClusterParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Update); err != nil { errors.HandleError(w, r, err) return } @@ -228,7 +228,7 @@ func (h *Handler) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluste return } - if err := cluster.NewClient(h.client, &h.options.Cluster).Update(r.Context(), organizationName, projectName, clusterName, request); err != nil { + if err := cluster.NewClient(h.client, &h.options.Cluster).Update(r.Context(), organization, project, clusterName, request); err != nil { errors.HandleError(w, r, err) return } @@ -237,13 +237,13 @@ func (h *Handler) PutApiV1OrganizationsOrganizationNameProjectsProjectNameCluste w.WriteHeader(http.StatusAccepted) } -func (h *Handler) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request, organizationName generated.OrganizationNameParameter, projectName generated.ProjectNameParameter, clusterName generated.ClusterNameParameter) { - if err := h.checkRBAC(r.Context(), organizationName, "infrastructure", constants.Read); err != nil { +func (h *Handler) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(w http.ResponseWriter, r *http.Request, organization generated.OrganizationParameter, project generated.ProjectParameter, clusterName generated.ClusterParameter) { + if err := h.checkRBAC(r.Context(), organization, "infrastructure", constants.Read); err != nil { errors.HandleError(w, r, err) return } - result, err := cluster.NewClient(h.client, &h.options.Cluster).GetKubeconfig(r.Context(), organizationName, projectName, clusterName) + result, err := cluster.NewClient(h.client, &h.options.Cluster).GetKubeconfig(r.Context(), organization, project, clusterName) if err != nil { errors.HandleError(w, r, err) return diff --git a/pkg/server/openapi/server.spec.yaml b/pkg/server/openapi/server.spec.yaml index 42a0ef0e..02fd0326 100644 --- a/pkg/server/openapi/server.spec.yaml +++ b/pkg/server/openapi/server.spec.yaml @@ -25,7 +25,7 @@ x-documentation-groups: have to choose some default values for you, however it provides a faster and better user experience. paths: - /api/v1/organizations/{organizationName}/clustermanagers: + /api/v1/organizations/{organization}/clustermanagers: x-documentation-group: main description: |- Implements cluster manager management services. Control planes manage the @@ -35,7 +35,7 @@ paths: upgrade functionality. Referencing an explicit cluster manager name will implicitly create the associated project. parameters: - - $ref: '#/components/parameters/organizationNameParameter' + - $ref: '#/components/parameters/organizationParameter' get: description: |- Lists cluster managers within the organization. @@ -54,7 +54,7 @@ paths: $ref: '#/components/responses/notFoundResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' - /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers: + /api/v1/organizations/{organization}/projects/{project}/clustermanagers: description: |- Implements cluster manager management services. Control planes manage the life cycle of Kubernetes clusters, through provisioning, upgrading, to deletion. @@ -63,8 +63,8 @@ paths: upgrade functionality. Referencing an explicit cluster manager name will implicitly create the associated project. parameters: - - $ref: '#/components/parameters/organizationNameParameter' - - $ref: '#/components/parameters/projectNameParameter' + - $ref: '#/components/parameters/organizationParameter' + - $ref: '#/components/parameters/projectParameter' post: description: |- Creates a new cluster manager within the project. @@ -85,7 +85,7 @@ paths: $ref: '#/components/responses/conflictResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' - /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}: + /api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}: x-documentation-group: main description: |- Implements cluster manager management services. Control planes manage the @@ -95,9 +95,9 @@ paths: upgrade functionality. Referencing an explicit cluster manager name will implicitly create the associated project. parameters: - - $ref: '#/components/parameters/organizationNameParameter' - - $ref: '#/components/parameters/projectNameParameter' - - $ref: '#/components/parameters/clusterManagerNameParameter' + - $ref: '#/components/parameters/organizationParameter' + - $ref: '#/components/parameters/projectParameter' + - $ref: '#/components/parameters/clusterManagerParameter' put: description: |- Updates a cluster manager within the scoped project. @@ -137,11 +137,11 @@ paths: $ref: '#/components/responses/notFoundResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' - /api/v1/organizations/{organizationName}/clusters: + /api/v1/organizations/{organization}/clusters: x-documentation-group: main description: Cluster services. parameters: - - $ref: '#/components/parameters/organizationNameParameter' + - $ref: '#/components/parameters/organizationParameter' get: description: |- List all clusters within the organization. @@ -160,12 +160,12 @@ paths: $ref: '#/components/responses/notFoundResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' - /api/v1/organizations/{organizationName}/projects/{projectName}/clusters: + /api/v1/organizations/{organization}/projects/{project}/clusters: x-documentation-group: main description: Cluster services. parameters: - - $ref: '#/components/parameters/organizationNameParameter' - - $ref: '#/components/parameters/projectNameParameter' + - $ref: '#/components/parameters/organizationParameter' + - $ref: '#/components/parameters/projectParameter' post: description: |- Creates a new cluster within the selected cluster manager. @@ -186,13 +186,13 @@ paths: $ref: '#/components/responses/conflictResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' - /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}: + /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}: x-documentation-group: main description: Cluster services. parameters: - - $ref: '#/components/parameters/organizationNameParameter' - - $ref: '#/components/parameters/projectNameParameter' - - $ref: '#/components/parameters/clusterNameParameter' + - $ref: '#/components/parameters/organizationParameter' + - $ref: '#/components/parameters/projectParameter' + - $ref: '#/components/parameters/clusterParameter' put: description: |- Update a cluster within the selected cluster manager. @@ -231,13 +231,13 @@ paths: $ref: '#/components/responses/notFoundResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' - /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}/kubeconfig: + /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}/kubeconfig: x-documentation-group: main description: Cluster services. parameters: - - $ref: '#/components/parameters/organizationNameParameter' - - $ref: '#/components/parameters/projectNameParameter' - - $ref: '#/components/parameters/clusterNameParameter' + - $ref: '#/components/parameters/organizationParameter' + - $ref: '#/components/parameters/projectParameter' + - $ref: '#/components/parameters/clusterParameter' get: description: |- Get a cluster's Kubernetes configuration. @@ -331,24 +331,24 @@ paths: $ref: '#/components/responses/internalServerErrorResponse' components: parameters: - organizationNameParameter: - name: organizationName + organizationParameter: + name: organization in: path description: |- The organization name. required: true schema: $ref: '#/components/schemas/kubernetesNameParameter' - projectNameParameter: - name: projectName + projectParameter: + name: project in: path description: |- The project name. required: true schema: $ref: '#/components/schemas/kubernetesNameParameter' - clusterManagerNameParameter: - name: clusterManagerName + clusterManagerParameter: + name: clusterManager in: path description: |- The cluster manager name, if the cluster manager does not exist, then it may be @@ -359,8 +359,8 @@ components: required: true schema: $ref: '#/components/schemas/kubernetesNameParameter' - clusterNameParameter: - name: clusterName + clusterParameter: + name: cluster in: path description: |- The cluster name. Must be a valid DNS containing only lower case characters,