Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m *http.ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m *http.ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- func NewDeleteV2ClustersNameNodesNodeIdRequest(server string, name string, nodeId string, ...) (*http.Request, error)
- func NewDeleteV2ClustersNameRequest(server string, name string, params *DeleteV2ClustersNameParams) (*http.Request, error)
- func NewDeleteV2ProjectsProjectNameClustersNameNodesNodeIdRequest(server string, projectName ProjectNamePath, name string, nodeId string, ...) (*http.Request, error)
- func NewDeleteV2ProjectsProjectNameClustersNameRequest(server string, projectName ProjectNamePath, name string) (*http.Request, error)
- func NewDeleteV2ProjectsProjectNameTemplatesNameVersionRequest(server string, projectName ProjectNamePath, name string, version string, ...) (*http.Request, error)
- func NewDeleteV2TemplatesNameVersionRequest(server string, name string, version string, ...) (*http.Request, error)
- func NewGetV2ClustersNameKubeconfigsRequest(server string, name string, params *GetV2ClustersNameKubeconfigsParams) (*http.Request, error)
- func NewGetV2ClustersNameRequest(server string, name string, params *GetV2ClustersNameParams) (*http.Request, error)
- func NewGetV2ClustersNodeIdClusterdetailRequest(server string, nodeId string, params *GetV2ClustersNodeIdClusterdetailParams) (*http.Request, error)
- func NewGetV2ClustersRequest(server string, params *GetV2ClustersParams) (*http.Request, error)
- func NewGetV2ClustersSummaryRequest(server string, params *GetV2ClustersSummaryParams) (*http.Request, error)
- func NewGetV2HealthzRequest(server string) (*http.Request, error)
- func NewGetV2ProjectsProjectNameClustersNameKubeconfigsRequest(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewGetV2ProjectsProjectNameClustersNameRequest(server string, projectName ProjectNamePath, name string) (*http.Request, error)
- func NewGetV2ProjectsProjectNameClustersNodeIdClusterdetailRequest(server string, projectName ProjectNamePath, nodeId string) (*http.Request, error)
- func NewGetV2ProjectsProjectNameClustersRequest(server string, projectName ProjectNamePath, ...) (*http.Request, error)
- func NewGetV2ProjectsProjectNameClustersSummaryRequest(server string, projectName ProjectNamePath) (*http.Request, error)
- func NewGetV2ProjectsProjectNameTemplatesNameVersionRequest(server string, projectName ProjectNamePath, name string, version string, ...) (*http.Request, error)
- func NewGetV2ProjectsProjectNameTemplatesNameVersionsRequest(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewGetV2ProjectsProjectNameTemplatesRequest(server string, projectName ProjectNamePath, ...) (*http.Request, error)
- func NewGetV2TemplatesNameVersionRequest(server string, name string, version string, ...) (*http.Request, error)
- func NewGetV2TemplatesNameVersionsRequest(server string, name string, params *GetV2TemplatesNameVersionsParams) (*http.Request, error)
- func NewGetV2TemplatesRequest(server string, params *GetV2TemplatesParams) (*http.Request, error)
- func NewPostV2ClustersRequest(server string, params *PostV2ClustersParams, ...) (*http.Request, error)
- func NewPostV2ClustersRequestWithBody(server string, params *PostV2ClustersParams, contentType string, ...) (*http.Request, error)
- func NewPostV2ProjectsProjectNameClustersRequest(server string, projectName ProjectNamePath, ...) (*http.Request, error)
- func NewPostV2ProjectsProjectNameClustersRequestWithBody(server string, projectName ProjectNamePath, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV2ProjectsProjectNameTemplatesRequest(server string, projectName ProjectNamePath, ...) (*http.Request, error)
- func NewPostV2ProjectsProjectNameTemplatesRequestWithBody(server string, projectName ProjectNamePath, ...) (*http.Request, error)
- func NewPostV2TemplatesRequest(server string, params *PostV2TemplatesParams, ...) (*http.Request, error)
- func NewPostV2TemplatesRequestWithBody(server string, params *PostV2TemplatesParams, contentType string, ...) (*http.Request, error)
- func NewPutV2ClustersNameLabelsRequest(server string, name string, params *PutV2ClustersNameLabelsParams, ...) (*http.Request, error)
- func NewPutV2ClustersNameLabelsRequestWithBody(server string, name string, params *PutV2ClustersNameLabelsParams, ...) (*http.Request, error)
- func NewPutV2ClustersNameNodesRequest(server string, name string, params *PutV2ClustersNameNodesParams, ...) (*http.Request, error)
- func NewPutV2ClustersNameNodesRequestWithBody(server string, name string, params *PutV2ClustersNameNodesParams, ...) (*http.Request, error)
- func NewPutV2ClustersNameTemplateRequest(server string, name string, params *PutV2ClustersNameTemplateParams, ...) (*http.Request, error)
- func NewPutV2ClustersNameTemplateRequestWithBody(server string, name string, params *PutV2ClustersNameTemplateParams, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameClustersNameLabelsRequest(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameClustersNameLabelsRequestWithBody(server string, projectName ProjectNamePath, name string, contentType string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameClustersNameNodesRequest(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameClustersNameNodesRequestWithBody(server string, projectName ProjectNamePath, name string, contentType string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameClustersNameTemplateRequest(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameClustersNameTemplateRequestWithBody(server string, projectName ProjectNamePath, name string, contentType string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameTemplatesNameDefaultRequest(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewPutV2ProjectsProjectNameTemplatesNameDefaultRequestWithBody(server string, projectName ProjectNamePath, name string, ...) (*http.Request, error)
- func NewPutV2TemplatesNameDefaultRequest(server string, name string, params *PutV2TemplatesNameDefaultParams, ...) (*http.Request, error)
- func NewPutV2TemplatesNameDefaultRequestWithBody(server string, name string, params *PutV2TemplatesNameDefaultParams, ...) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ActiveProjectIdHeader
- type Client
- func (c *Client) DeleteV2ClustersName(ctx context.Context, name string, params *DeleteV2ClustersNameParams, ...) (*http.Response, error)
- func (c *Client) DeleteV2ClustersNameNodesNodeId(ctx context.Context, name string, nodeId string, ...) (*http.Response, error)
- func (c *Client) DeleteV2ProjectsProjectNameClustersName(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) DeleteV2ProjectsProjectNameClustersNameNodesNodeId(ctx context.Context, projectName ProjectNamePath, name string, nodeId string, ...) (*http.Response, error)
- func (c *Client) DeleteV2ProjectsProjectNameTemplatesNameVersion(ctx context.Context, projectName ProjectNamePath, name string, version string, ...) (*http.Response, error)
- func (c *Client) DeleteV2TemplatesNameVersion(ctx context.Context, name string, version string, ...) (*http.Response, error)
- func (c *Client) GetV2Clusters(ctx context.Context, params *GetV2ClustersParams, ...) (*http.Response, error)
- func (c *Client) GetV2ClustersName(ctx context.Context, name string, params *GetV2ClustersNameParams, ...) (*http.Response, error)
- func (c *Client) GetV2ClustersNameKubeconfigs(ctx context.Context, name string, params *GetV2ClustersNameKubeconfigsParams, ...) (*http.Response, error)
- func (c *Client) GetV2ClustersNodeIdClusterdetail(ctx context.Context, nodeId string, ...) (*http.Response, error)
- func (c *Client) GetV2ClustersSummary(ctx context.Context, params *GetV2ClustersSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetV2Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameClusters(ctx context.Context, projectName ProjectNamePath, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameClustersName(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameClustersNameKubeconfigs(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameClustersNodeIdClusterdetail(ctx context.Context, projectName ProjectNamePath, nodeId string, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameClustersSummary(ctx context.Context, projectName ProjectNamePath, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameTemplates(ctx context.Context, projectName ProjectNamePath, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameTemplatesNameVersion(ctx context.Context, projectName ProjectNamePath, name string, version string, ...) (*http.Response, error)
- func (c *Client) GetV2ProjectsProjectNameTemplatesNameVersions(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, ...) (*http.Response, error)
- func (c *Client) GetV2TemplatesNameVersion(ctx context.Context, name string, version string, ...) (*http.Response, error)
- func (c *Client) GetV2TemplatesNameVersions(ctx context.Context, name string, params *GetV2TemplatesNameVersionsParams, ...) (*http.Response, error)
- func (c *Client) PostV2Clusters(ctx context.Context, params *PostV2ClustersParams, ...) (*http.Response, error)
- func (c *Client) PostV2ClustersWithBody(ctx context.Context, params *PostV2ClustersParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PostV2ProjectsProjectNameClusters(ctx context.Context, projectName ProjectNamePath, ...) (*http.Response, error)
- func (c *Client) PostV2ProjectsProjectNameClustersWithBody(ctx context.Context, projectName ProjectNamePath, contentType string, ...) (*http.Response, error)
- func (c *Client) PostV2ProjectsProjectNameTemplates(ctx context.Context, projectName ProjectNamePath, ...) (*http.Response, error)
- func (c *Client) PostV2ProjectsProjectNameTemplatesWithBody(ctx context.Context, projectName ProjectNamePath, ...) (*http.Response, error)
- func (c *Client) PostV2Templates(ctx context.Context, params *PostV2TemplatesParams, ...) (*http.Response, error)
- func (c *Client) PostV2TemplatesWithBody(ctx context.Context, params *PostV2TemplatesParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PutV2ClustersNameLabels(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, ...) (*http.Response, error)
- func (c *Client) PutV2ClustersNameLabelsWithBody(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, ...) (*http.Response, error)
- func (c *Client) PutV2ClustersNameNodes(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, ...) (*http.Response, error)
- func (c *Client) PutV2ClustersNameNodesWithBody(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, ...) (*http.Response, error)
- func (c *Client) PutV2ClustersNameTemplate(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, ...) (*http.Response, error)
- func (c *Client) PutV2ClustersNameTemplateWithBody(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameClustersNameLabels(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameClustersNameLabelsWithBody(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameClustersNameNodes(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameClustersNameNodesWithBody(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameClustersNameTemplate(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameClustersNameTemplateWithBody(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameTemplatesNameDefault(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2ProjectsProjectNameTemplatesNameDefaultWithBody(ctx context.Context, projectName ProjectNamePath, name string, ...) (*http.Response, error)
- func (c *Client) PutV2TemplatesNameDefault(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, ...) (*http.Response, error)
- func (c *Client) PutV2TemplatesNameDefaultWithBody(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteV2ClustersNameNodesNodeIdWithResponse(ctx context.Context, name string, nodeId string, ...) (*DeleteV2ClustersNameNodesNodeIdResponse, error)
- func (c *ClientWithResponses) DeleteV2ClustersNameWithResponse(ctx context.Context, name string, params *DeleteV2ClustersNameParams, ...) (*DeleteV2ClustersNameResponse, error)
- func (c *ClientWithResponses) DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse(ctx context.Context, projectName ProjectNamePath, name string, nodeId string, ...) (*DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse, error)
- func (c *ClientWithResponses) DeleteV2ProjectsProjectNameClustersNameWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*DeleteV2ProjectsProjectNameClustersNameResponse, error)
- func (c *ClientWithResponses) DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse(ctx context.Context, projectName ProjectNamePath, name string, version string, ...) (*DeleteV2ProjectsProjectNameTemplatesNameVersionResponse, error)
- func (c *ClientWithResponses) DeleteV2TemplatesNameVersionWithResponse(ctx context.Context, name string, version string, ...) (*DeleteV2TemplatesNameVersionResponse, error)
- func (c *ClientWithResponses) GetV2ClustersNameKubeconfigsWithResponse(ctx context.Context, name string, params *GetV2ClustersNameKubeconfigsParams, ...) (*GetV2ClustersNameKubeconfigsResponse, error)
- func (c *ClientWithResponses) GetV2ClustersNameWithResponse(ctx context.Context, name string, params *GetV2ClustersNameParams, ...) (*GetV2ClustersNameResponse, error)
- func (c *ClientWithResponses) GetV2ClustersNodeIdClusterdetailWithResponse(ctx context.Context, nodeId string, ...) (*GetV2ClustersNodeIdClusterdetailResponse, error)
- func (c *ClientWithResponses) GetV2ClustersSummaryWithResponse(ctx context.Context, params *GetV2ClustersSummaryParams, ...) (*GetV2ClustersSummaryResponse, error)
- func (c *ClientWithResponses) GetV2ClustersWithResponse(ctx context.Context, params *GetV2ClustersParams, ...) (*GetV2ClustersResponse, error)
- func (c *ClientWithResponses) GetV2HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2HealthzResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*GetV2ProjectsProjectNameClustersNameKubeconfigsResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersNameWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*GetV2ProjectsProjectNameClustersNameResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse(ctx context.Context, projectName ProjectNamePath, nodeId string, ...) (*GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersSummaryWithResponse(ctx context.Context, projectName ProjectNamePath, ...) (*GetV2ProjectsProjectNameClustersSummaryResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersWithResponse(ctx context.Context, projectName ProjectNamePath, ...) (*GetV2ProjectsProjectNameClustersResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameTemplatesNameVersionWithResponse(ctx context.Context, projectName ProjectNamePath, name string, version string, ...) (*GetV2ProjectsProjectNameTemplatesNameVersionResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*GetV2ProjectsProjectNameTemplatesNameVersionsResponse, error)
- func (c *ClientWithResponses) GetV2ProjectsProjectNameTemplatesWithResponse(ctx context.Context, projectName ProjectNamePath, ...) (*GetV2ProjectsProjectNameTemplatesResponse, error)
- func (c *ClientWithResponses) GetV2TemplatesNameVersionWithResponse(ctx context.Context, name string, version string, ...) (*GetV2TemplatesNameVersionResponse, error)
- func (c *ClientWithResponses) GetV2TemplatesNameVersionsWithResponse(ctx context.Context, name string, params *GetV2TemplatesNameVersionsParams, ...) (*GetV2TemplatesNameVersionsResponse, error)
- func (c *ClientWithResponses) GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, ...) (*GetV2TemplatesResponse, error)
- func (c *ClientWithResponses) PostV2ClustersWithBodyWithResponse(ctx context.Context, params *PostV2ClustersParams, contentType string, ...) (*PostV2ClustersResponse, error)
- func (c *ClientWithResponses) PostV2ClustersWithResponse(ctx context.Context, params *PostV2ClustersParams, ...) (*PostV2ClustersResponse, error)
- func (c *ClientWithResponses) PostV2ProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, contentType string, ...) (*PostV2ProjectsProjectNameClustersResponse, error)
- func (c *ClientWithResponses) PostV2ProjectsProjectNameClustersWithResponse(ctx context.Context, projectName ProjectNamePath, ...) (*PostV2ProjectsProjectNameClustersResponse, error)
- func (c *ClientWithResponses) PostV2ProjectsProjectNameTemplatesWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, ...) (*PostV2ProjectsProjectNameTemplatesResponse, error)
- func (c *ClientWithResponses) PostV2ProjectsProjectNameTemplatesWithResponse(ctx context.Context, projectName ProjectNamePath, ...) (*PostV2ProjectsProjectNameTemplatesResponse, error)
- func (c *ClientWithResponses) PostV2TemplatesWithBodyWithResponse(ctx context.Context, params *PostV2TemplatesParams, contentType string, ...) (*PostV2TemplatesResponse, error)
- func (c *ClientWithResponses) PostV2TemplatesWithResponse(ctx context.Context, params *PostV2TemplatesParams, ...) (*PostV2TemplatesResponse, error)
- func (c *ClientWithResponses) PutV2ClustersNameLabelsWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, ...) (*PutV2ClustersNameLabelsResponse, error)
- func (c *ClientWithResponses) PutV2ClustersNameLabelsWithResponse(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, ...) (*PutV2ClustersNameLabelsResponse, error)
- func (c *ClientWithResponses) PutV2ClustersNameNodesWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, ...) (*PutV2ClustersNameNodesResponse, error)
- func (c *ClientWithResponses) PutV2ClustersNameNodesWithResponse(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, ...) (*PutV2ClustersNameNodesResponse, error)
- func (c *ClientWithResponses) PutV2ClustersNameTemplateWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, ...) (*PutV2ClustersNameTemplateResponse, error)
- func (c *ClientWithResponses) PutV2ClustersNameTemplateWithResponse(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, ...) (*PutV2ClustersNameTemplateResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameLabelsWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameLabelsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameNodesWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameNodesWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameTemplateWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameTemplateWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameTemplatesNameDefaultWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
- func (c *ClientWithResponses) PutV2ProjectsProjectNameTemplatesNameDefaultWithResponse(ctx context.Context, projectName ProjectNamePath, name string, ...) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
- func (c *ClientWithResponses) PutV2TemplatesNameDefaultWithBodyWithResponse(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, ...) (*PutV2TemplatesNameDefaultResponse, error)
- func (c *ClientWithResponses) PutV2TemplatesNameDefaultWithResponse(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, ...) (*PutV2TemplatesNameDefaultResponse, error)
- type ClientWithResponsesInterface
- type ClusterDetailInfo
- type ClusterInfo
- type ClusterLabels
- type ClusterNetwork
- type ClusterSpec
- type ClusterSummary
- type ClusterTemplateInfo
- type DefaultTemplateInfo
- type DeleteV2ClustersName204Response
- type DeleteV2ClustersName400JSONResponse
- type DeleteV2ClustersName404JSONResponse
- type DeleteV2ClustersName500JSONResponse
- type DeleteV2ClustersNameNodesNodeId200Response
- type DeleteV2ClustersNameNodesNodeId400JSONResponse
- type DeleteV2ClustersNameNodesNodeId404JSONResponse
- type DeleteV2ClustersNameNodesNodeId500JSONResponse
- type DeleteV2ClustersNameNodesNodeIdParams
- type DeleteV2ClustersNameNodesNodeIdRequestObject
- type DeleteV2ClustersNameNodesNodeIdResponse
- type DeleteV2ClustersNameNodesNodeIdResponseObject
- type DeleteV2ClustersNameParams
- type DeleteV2ClustersNameRequestObject
- type DeleteV2ClustersNameResponse
- type DeleteV2ClustersNameResponseObject
- type DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams
- type DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse
- type DeleteV2ProjectsProjectNameClustersNameResponse
- type DeleteV2ProjectsProjectNameTemplatesNameVersionParams
- type DeleteV2ProjectsProjectNameTemplatesNameVersionResponse
- type DeleteV2TemplatesNameVersion204Response
- type DeleteV2TemplatesNameVersion400JSONResponse
- type DeleteV2TemplatesNameVersion404JSONResponse
- type DeleteV2TemplatesNameVersion409JSONResponse
- type DeleteV2TemplatesNameVersion500JSONResponse
- type DeleteV2TemplatesNameVersionParams
- type DeleteV2TemplatesNameVersionRequestObject
- type DeleteV2TemplatesNameVersionResponse
- type DeleteV2TemplatesNameVersionResponseObject
- type GenericStatus
- type GetV2Clusters200JSONResponse
- type GetV2Clusters400JSONResponse
- type GetV2Clusters500JSONResponse
- type GetV2ClustersName200JSONResponse
- type GetV2ClustersName400JSONResponse
- type GetV2ClustersName404JSONResponse
- type GetV2ClustersName500JSONResponse
- type GetV2ClustersNameKubeconfigs200JSONResponse
- type GetV2ClustersNameKubeconfigs400JSONResponse
- type GetV2ClustersNameKubeconfigs401JSONResponse
- type GetV2ClustersNameKubeconfigs404JSONResponse
- type GetV2ClustersNameKubeconfigs500JSONResponse
- type GetV2ClustersNameKubeconfigsParams
- type GetV2ClustersNameKubeconfigsRequestObject
- type GetV2ClustersNameKubeconfigsResponse
- type GetV2ClustersNameKubeconfigsResponseObject
- type GetV2ClustersNameParams
- type GetV2ClustersNameRequestObject
- type GetV2ClustersNameResponse
- type GetV2ClustersNameResponseObject
- type GetV2ClustersNodeIdClusterdetail200JSONResponse
- type GetV2ClustersNodeIdClusterdetail400JSONResponse
- type GetV2ClustersNodeIdClusterdetail404JSONResponse
- type GetV2ClustersNodeIdClusterdetailParams
- type GetV2ClustersNodeIdClusterdetailRequestObject
- type GetV2ClustersNodeIdClusterdetailResponse
- type GetV2ClustersNodeIdClusterdetailResponseObject
- type GetV2ClustersParams
- type GetV2ClustersRequestObject
- type GetV2ClustersResponse
- type GetV2ClustersResponseObject
- type GetV2ClustersSummary200JSONResponse
- type GetV2ClustersSummary400JSONResponse
- type GetV2ClustersSummary500JSONResponse
- type GetV2ClustersSummaryParams
- type GetV2ClustersSummaryRequestObject
- type GetV2ClustersSummaryResponse
- type GetV2ClustersSummaryResponseObject
- type GetV2Healthz200JSONResponse
- type GetV2Healthz500JSONResponse
- type GetV2HealthzRequestObject
- type GetV2HealthzResponse
- type GetV2HealthzResponseObject
- type GetV2ProjectsProjectNameClustersNameKubeconfigsParams
- type GetV2ProjectsProjectNameClustersNameKubeconfigsResponse
- type GetV2ProjectsProjectNameClustersNameResponse
- type GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse
- type GetV2ProjectsProjectNameClustersParams
- type GetV2ProjectsProjectNameClustersResponse
- type GetV2ProjectsProjectNameClustersSummaryResponse
- type GetV2ProjectsProjectNameTemplatesNameVersionParams
- type GetV2ProjectsProjectNameTemplatesNameVersionResponse
- type GetV2ProjectsProjectNameTemplatesNameVersionsParams
- type GetV2ProjectsProjectNameTemplatesNameVersionsResponse
- type GetV2ProjectsProjectNameTemplatesParams
- type GetV2ProjectsProjectNameTemplatesResponse
- type GetV2Templates200JSONResponse
- type GetV2Templates400JSONResponse
- type GetV2Templates404JSONResponse
- type GetV2Templates500JSONResponse
- type GetV2TemplatesNameVersion200JSONResponse
- type GetV2TemplatesNameVersion400JSONResponse
- type GetV2TemplatesNameVersion404JSONResponse
- type GetV2TemplatesNameVersion500JSONResponse
- type GetV2TemplatesNameVersionParams
- type GetV2TemplatesNameVersionRequestObject
- type GetV2TemplatesNameVersionResponse
- type GetV2TemplatesNameVersionResponseObject
- type GetV2TemplatesNameVersions200JSONResponse
- type GetV2TemplatesNameVersions400JSONResponse
- type GetV2TemplatesNameVersions404JSONResponse
- type GetV2TemplatesNameVersions500JSONResponse
- type GetV2TemplatesNameVersionsParams
- type GetV2TemplatesNameVersionsRequestObject
- type GetV2TemplatesNameVersionsResponse
- type GetV2TemplatesNameVersionsResponseObject
- type GetV2TemplatesParams
- type GetV2TemplatesRequestObject
- type GetV2TemplatesResponse
- type GetV2TemplatesResponseObject
- type HttpRequestDoer
- type InvalidParamFormatError
- type KubeconfigInfo
- type MiddlewareFunc
- type N400BadRequest
- type N400BadRequestJSONResponse
- type N401Unauthorized
- type N401UnauthorizedJSONResponse
- type N404NotFound
- type N404NotFoundJSONResponse
- type N409Conflict
- type N409ConflictJSONResponse
- type N500InternalServerError
- type N500InternalServerErrorJSONResponse
- type N501NotImplemented
- type N501NotImplementedJSONResponse
- type NetworkRanges
- type NodeInfo
- type NodeSpec
- type NodeSpecRole
- type PostV2Clusters201JSONResponse
- type PostV2Clusters400JSONResponse
- type PostV2Clusters500JSONResponse
- type PostV2ClustersJSONRequestBody
- type PostV2ClustersParams
- type PostV2ClustersRequestObject
- type PostV2ClustersResponse
- type PostV2ClustersResponseObject
- type PostV2ProjectsProjectNameClustersJSONRequestBody
- type PostV2ProjectsProjectNameClustersResponse
- type PostV2ProjectsProjectNameTemplatesJSONRequestBody
- type PostV2ProjectsProjectNameTemplatesParams
- type PostV2ProjectsProjectNameTemplatesResponse
- type PostV2Templates201JSONResponse
- type PostV2Templates400JSONResponse
- type PostV2Templates409JSONResponse
- type PostV2Templates500JSONResponse
- type PostV2TemplatesJSONRequestBody
- type PostV2TemplatesParams
- type PostV2TemplatesRequestObject
- type PostV2TemplatesResponse
- type PostV2TemplatesResponseObject
- type ProblemDetails
- type ProjectNamePath
- type PutV2ClustersNameLabels200Response
- type PutV2ClustersNameLabels400JSONResponse
- type PutV2ClustersNameLabels404JSONResponse
- type PutV2ClustersNameLabels500JSONResponse
- type PutV2ClustersNameLabelsJSONRequestBody
- type PutV2ClustersNameLabelsParams
- type PutV2ClustersNameLabelsRequestObject
- type PutV2ClustersNameLabelsResponse
- type PutV2ClustersNameLabelsResponseObject
- type PutV2ClustersNameNodes200Response
- type PutV2ClustersNameNodes400JSONResponse
- type PutV2ClustersNameNodes404JSONResponse
- type PutV2ClustersNameNodes500JSONResponse
- type PutV2ClustersNameNodes501JSONResponse
- type PutV2ClustersNameNodesJSONBody
- type PutV2ClustersNameNodesJSONRequestBody
- type PutV2ClustersNameNodesParams
- type PutV2ClustersNameNodesRequestObject
- type PutV2ClustersNameNodesResponse
- type PutV2ClustersNameNodesResponseObject
- type PutV2ClustersNameTemplate202Response
- type PutV2ClustersNameTemplate400JSONResponse
- type PutV2ClustersNameTemplate404JSONResponse
- type PutV2ClustersNameTemplate500JSONResponse
- type PutV2ClustersNameTemplate501JSONResponse
- type PutV2ClustersNameTemplateJSONRequestBody
- type PutV2ClustersNameTemplateParams
- type PutV2ClustersNameTemplateRequestObject
- type PutV2ClustersNameTemplateResponse
- type PutV2ClustersNameTemplateResponseObject
- type PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody
- type PutV2ProjectsProjectNameClustersNameLabelsResponse
- type PutV2ProjectsProjectNameClustersNameNodesJSONBody
- type PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody
- type PutV2ProjectsProjectNameClustersNameNodesResponse
- type PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody
- type PutV2ProjectsProjectNameClustersNameTemplateResponse
- type PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody
- type PutV2ProjectsProjectNameTemplatesNameDefaultParams
- type PutV2ProjectsProjectNameTemplatesNameDefaultResponse
- type PutV2TemplatesNameDefault200Response
- type PutV2TemplatesNameDefault400JSONResponse
- type PutV2TemplatesNameDefault404JSONResponse
- type PutV2TemplatesNameDefault500JSONResponse
- type PutV2TemplatesNameDefaultJSONRequestBody
- type PutV2TemplatesNameDefaultParams
- type PutV2TemplatesNameDefaultRequestObject
- type PutV2TemplatesNameDefaultResponse
- type PutV2TemplatesNameDefaultResponseObject
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteV2ClustersName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteV2ClustersNameNodesNodeId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteV2TemplatesNameVersion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2Clusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2ClustersName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2ClustersNameKubeconfigs(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2ClustersNodeIdClusterdetail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2ClustersSummary(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2Healthz(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2Templates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2TemplatesNameVersion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetV2TemplatesNameVersions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostV2Clusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostV2Templates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutV2ClustersNameLabels(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutV2ClustersNameNodes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutV2ClustersNameTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutV2TemplatesNameDefault(w http.ResponseWriter, r *http.Request)
- type StatusIndicator
- type StatusInfo
- type StatusInfoCondition
- type StdHTTPServerOptions
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TemplateInfo
- type TemplateInfoControlplaneprovidertype
- type TemplateInfoInfraprovidertype
- type TemplateInfoList
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type VersionList
Constants ¶
const (
HTTPScopes = "HTTP.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m *http.ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewDeleteV2ClustersNameNodesNodeIdRequest ¶
func NewDeleteV2ClustersNameNodesNodeIdRequest(server string, name string, nodeId string, params *DeleteV2ClustersNameNodesNodeIdParams) (*http.Request, error)
NewDeleteV2ClustersNameNodesNodeIdRequest generates requests for DeleteV2ClustersNameNodesNodeId
func NewDeleteV2ClustersNameRequest ¶
func NewDeleteV2ClustersNameRequest(server string, name string, params *DeleteV2ClustersNameParams) (*http.Request, error)
NewDeleteV2ClustersNameRequest generates requests for DeleteV2ClustersName
func NewDeleteV2ProjectsProjectNameClustersNameNodesNodeIdRequest ¶ added in v2.2.11
func NewDeleteV2ProjectsProjectNameClustersNameNodesNodeIdRequest(server string, projectName ProjectNamePath, name string, nodeId string, params *DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams) (*http.Request, error)
NewDeleteV2ProjectsProjectNameClustersNameNodesNodeIdRequest generates requests for DeleteV2ProjectsProjectNameClustersNameNodesNodeId
func NewDeleteV2ProjectsProjectNameClustersNameRequest ¶ added in v2.2.11
func NewDeleteV2ProjectsProjectNameClustersNameRequest(server string, projectName ProjectNamePath, name string) (*http.Request, error)
NewDeleteV2ProjectsProjectNameClustersNameRequest generates requests for DeleteV2ProjectsProjectNameClustersName
func NewDeleteV2ProjectsProjectNameTemplatesNameVersionRequest ¶ added in v2.2.11
func NewDeleteV2ProjectsProjectNameTemplatesNameVersionRequest(server string, projectName ProjectNamePath, name string, version string, params *DeleteV2ProjectsProjectNameTemplatesNameVersionParams) (*http.Request, error)
NewDeleteV2ProjectsProjectNameTemplatesNameVersionRequest generates requests for DeleteV2ProjectsProjectNameTemplatesNameVersion
func NewDeleteV2TemplatesNameVersionRequest ¶
func NewDeleteV2TemplatesNameVersionRequest(server string, name string, version string, params *DeleteV2TemplatesNameVersionParams) (*http.Request, error)
NewDeleteV2TemplatesNameVersionRequest generates requests for DeleteV2TemplatesNameVersion
func NewGetV2ClustersNameKubeconfigsRequest ¶
func NewGetV2ClustersNameKubeconfigsRequest(server string, name string, params *GetV2ClustersNameKubeconfigsParams) (*http.Request, error)
NewGetV2ClustersNameKubeconfigsRequest generates requests for GetV2ClustersNameKubeconfigs
func NewGetV2ClustersNameRequest ¶
func NewGetV2ClustersNameRequest(server string, name string, params *GetV2ClustersNameParams) (*http.Request, error)
NewGetV2ClustersNameRequest generates requests for GetV2ClustersName
func NewGetV2ClustersNodeIdClusterdetailRequest ¶
func NewGetV2ClustersNodeIdClusterdetailRequest(server string, nodeId string, params *GetV2ClustersNodeIdClusterdetailParams) (*http.Request, error)
NewGetV2ClustersNodeIdClusterdetailRequest generates requests for GetV2ClustersNodeIdClusterdetail
func NewGetV2ClustersRequest ¶
func NewGetV2ClustersRequest(server string, params *GetV2ClustersParams) (*http.Request, error)
NewGetV2ClustersRequest generates requests for GetV2Clusters
func NewGetV2ClustersSummaryRequest ¶
func NewGetV2ClustersSummaryRequest(server string, params *GetV2ClustersSummaryParams) (*http.Request, error)
NewGetV2ClustersSummaryRequest generates requests for GetV2ClustersSummary
func NewGetV2HealthzRequest ¶
NewGetV2HealthzRequest generates requests for GetV2Healthz
func NewGetV2ProjectsProjectNameClustersNameKubeconfigsRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameClustersNameKubeconfigsRequest(server string, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameClustersNameKubeconfigsParams) (*http.Request, error)
NewGetV2ProjectsProjectNameClustersNameKubeconfigsRequest generates requests for GetV2ProjectsProjectNameClustersNameKubeconfigs
func NewGetV2ProjectsProjectNameClustersNameRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameClustersNameRequest(server string, projectName ProjectNamePath, name string) (*http.Request, error)
NewGetV2ProjectsProjectNameClustersNameRequest generates requests for GetV2ProjectsProjectNameClustersName
func NewGetV2ProjectsProjectNameClustersNodeIdClusterdetailRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameClustersNodeIdClusterdetailRequest(server string, projectName ProjectNamePath, nodeId string) (*http.Request, error)
NewGetV2ProjectsProjectNameClustersNodeIdClusterdetailRequest generates requests for GetV2ProjectsProjectNameClustersNodeIdClusterdetail
func NewGetV2ProjectsProjectNameClustersRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameClustersRequest(server string, projectName ProjectNamePath, params *GetV2ProjectsProjectNameClustersParams) (*http.Request, error)
NewGetV2ProjectsProjectNameClustersRequest generates requests for GetV2ProjectsProjectNameClusters
func NewGetV2ProjectsProjectNameClustersSummaryRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameClustersSummaryRequest(server string, projectName ProjectNamePath) (*http.Request, error)
NewGetV2ProjectsProjectNameClustersSummaryRequest generates requests for GetV2ProjectsProjectNameClustersSummary
func NewGetV2ProjectsProjectNameTemplatesNameVersionRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameTemplatesNameVersionRequest(server string, projectName ProjectNamePath, name string, version string, params *GetV2ProjectsProjectNameTemplatesNameVersionParams) (*http.Request, error)
NewGetV2ProjectsProjectNameTemplatesNameVersionRequest generates requests for GetV2ProjectsProjectNameTemplatesNameVersion
func NewGetV2ProjectsProjectNameTemplatesNameVersionsRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameTemplatesNameVersionsRequest(server string, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameTemplatesNameVersionsParams) (*http.Request, error)
NewGetV2ProjectsProjectNameTemplatesNameVersionsRequest generates requests for GetV2ProjectsProjectNameTemplatesNameVersions
func NewGetV2ProjectsProjectNameTemplatesRequest ¶ added in v2.2.11
func NewGetV2ProjectsProjectNameTemplatesRequest(server string, projectName ProjectNamePath, params *GetV2ProjectsProjectNameTemplatesParams) (*http.Request, error)
NewGetV2ProjectsProjectNameTemplatesRequest generates requests for GetV2ProjectsProjectNameTemplates
func NewGetV2TemplatesNameVersionRequest ¶
func NewGetV2TemplatesNameVersionRequest(server string, name string, version string, params *GetV2TemplatesNameVersionParams) (*http.Request, error)
NewGetV2TemplatesNameVersionRequest generates requests for GetV2TemplatesNameVersion
func NewGetV2TemplatesNameVersionsRequest ¶
func NewGetV2TemplatesNameVersionsRequest(server string, name string, params *GetV2TemplatesNameVersionsParams) (*http.Request, error)
NewGetV2TemplatesNameVersionsRequest generates requests for GetV2TemplatesNameVersions
func NewGetV2TemplatesRequest ¶
func NewGetV2TemplatesRequest(server string, params *GetV2TemplatesParams) (*http.Request, error)
NewGetV2TemplatesRequest generates requests for GetV2Templates
func NewPostV2ClustersRequest ¶
func NewPostV2ClustersRequest(server string, params *PostV2ClustersParams, body PostV2ClustersJSONRequestBody) (*http.Request, error)
NewPostV2ClustersRequest calls the generic PostV2Clusters builder with application/json body
func NewPostV2ClustersRequestWithBody ¶
func NewPostV2ClustersRequestWithBody(server string, params *PostV2ClustersParams, contentType string, body io.Reader) (*http.Request, error)
NewPostV2ClustersRequestWithBody generates requests for PostV2Clusters with any type of body
func NewPostV2ProjectsProjectNameClustersRequest ¶ added in v2.2.11
func NewPostV2ProjectsProjectNameClustersRequest(server string, projectName ProjectNamePath, body PostV2ProjectsProjectNameClustersJSONRequestBody) (*http.Request, error)
NewPostV2ProjectsProjectNameClustersRequest calls the generic PostV2ProjectsProjectNameClusters builder with application/json body
func NewPostV2ProjectsProjectNameClustersRequestWithBody ¶ added in v2.2.11
func NewPostV2ProjectsProjectNameClustersRequestWithBody(server string, projectName ProjectNamePath, contentType string, body io.Reader) (*http.Request, error)
NewPostV2ProjectsProjectNameClustersRequestWithBody generates requests for PostV2ProjectsProjectNameClusters with any type of body
func NewPostV2ProjectsProjectNameTemplatesRequest ¶ added in v2.2.11
func NewPostV2ProjectsProjectNameTemplatesRequest(server string, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, body PostV2ProjectsProjectNameTemplatesJSONRequestBody) (*http.Request, error)
NewPostV2ProjectsProjectNameTemplatesRequest calls the generic PostV2ProjectsProjectNameTemplates builder with application/json body
func NewPostV2ProjectsProjectNameTemplatesRequestWithBody ¶ added in v2.2.11
func NewPostV2ProjectsProjectNameTemplatesRequestWithBody(server string, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, contentType string, body io.Reader) (*http.Request, error)
NewPostV2ProjectsProjectNameTemplatesRequestWithBody generates requests for PostV2ProjectsProjectNameTemplates with any type of body
func NewPostV2TemplatesRequest ¶
func NewPostV2TemplatesRequest(server string, params *PostV2TemplatesParams, body PostV2TemplatesJSONRequestBody) (*http.Request, error)
NewPostV2TemplatesRequest calls the generic PostV2Templates builder with application/json body
func NewPostV2TemplatesRequestWithBody ¶
func NewPostV2TemplatesRequestWithBody(server string, params *PostV2TemplatesParams, contentType string, body io.Reader) (*http.Request, error)
NewPostV2TemplatesRequestWithBody generates requests for PostV2Templates with any type of body
func NewPutV2ClustersNameLabelsRequest ¶
func NewPutV2ClustersNameLabelsRequest(server string, name string, params *PutV2ClustersNameLabelsParams, body PutV2ClustersNameLabelsJSONRequestBody) (*http.Request, error)
NewPutV2ClustersNameLabelsRequest calls the generic PutV2ClustersNameLabels builder with application/json body
func NewPutV2ClustersNameLabelsRequestWithBody ¶
func NewPutV2ClustersNameLabelsRequestWithBody(server string, name string, params *PutV2ClustersNameLabelsParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ClustersNameLabelsRequestWithBody generates requests for PutV2ClustersNameLabels with any type of body
func NewPutV2ClustersNameNodesRequest ¶
func NewPutV2ClustersNameNodesRequest(server string, name string, params *PutV2ClustersNameNodesParams, body PutV2ClustersNameNodesJSONRequestBody) (*http.Request, error)
NewPutV2ClustersNameNodesRequest calls the generic PutV2ClustersNameNodes builder with application/json body
func NewPutV2ClustersNameNodesRequestWithBody ¶
func NewPutV2ClustersNameNodesRequestWithBody(server string, name string, params *PutV2ClustersNameNodesParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ClustersNameNodesRequestWithBody generates requests for PutV2ClustersNameNodes with any type of body
func NewPutV2ClustersNameTemplateRequest ¶
func NewPutV2ClustersNameTemplateRequest(server string, name string, params *PutV2ClustersNameTemplateParams, body PutV2ClustersNameTemplateJSONRequestBody) (*http.Request, error)
NewPutV2ClustersNameTemplateRequest calls the generic PutV2ClustersNameTemplate builder with application/json body
func NewPutV2ClustersNameTemplateRequestWithBody ¶
func NewPutV2ClustersNameTemplateRequestWithBody(server string, name string, params *PutV2ClustersNameTemplateParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ClustersNameTemplateRequestWithBody generates requests for PutV2ClustersNameTemplate with any type of body
func NewPutV2ProjectsProjectNameClustersNameLabelsRequest ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameClustersNameLabelsRequest(server string, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody) (*http.Request, error)
NewPutV2ProjectsProjectNameClustersNameLabelsRequest calls the generic PutV2ProjectsProjectNameClustersNameLabels builder with application/json body
func NewPutV2ProjectsProjectNameClustersNameLabelsRequestWithBody ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameClustersNameLabelsRequestWithBody(server string, projectName ProjectNamePath, name string, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ProjectsProjectNameClustersNameLabelsRequestWithBody generates requests for PutV2ProjectsProjectNameClustersNameLabels with any type of body
func NewPutV2ProjectsProjectNameClustersNameNodesRequest ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameClustersNameNodesRequest(server string, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody) (*http.Request, error)
NewPutV2ProjectsProjectNameClustersNameNodesRequest calls the generic PutV2ProjectsProjectNameClustersNameNodes builder with application/json body
func NewPutV2ProjectsProjectNameClustersNameNodesRequestWithBody ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameClustersNameNodesRequestWithBody(server string, projectName ProjectNamePath, name string, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ProjectsProjectNameClustersNameNodesRequestWithBody generates requests for PutV2ProjectsProjectNameClustersNameNodes with any type of body
func NewPutV2ProjectsProjectNameClustersNameTemplateRequest ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameClustersNameTemplateRequest(server string, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody) (*http.Request, error)
NewPutV2ProjectsProjectNameClustersNameTemplateRequest calls the generic PutV2ProjectsProjectNameClustersNameTemplate builder with application/json body
func NewPutV2ProjectsProjectNameClustersNameTemplateRequestWithBody ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameClustersNameTemplateRequestWithBody(server string, projectName ProjectNamePath, name string, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ProjectsProjectNameClustersNameTemplateRequestWithBody generates requests for PutV2ProjectsProjectNameClustersNameTemplate with any type of body
func NewPutV2ProjectsProjectNameTemplatesNameDefaultRequest ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameTemplatesNameDefaultRequest(server string, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, body PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody) (*http.Request, error)
NewPutV2ProjectsProjectNameTemplatesNameDefaultRequest calls the generic PutV2ProjectsProjectNameTemplatesNameDefault builder with application/json body
func NewPutV2ProjectsProjectNameTemplatesNameDefaultRequestWithBody ¶ added in v2.2.11
func NewPutV2ProjectsProjectNameTemplatesNameDefaultRequestWithBody(server string, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV2ProjectsProjectNameTemplatesNameDefaultRequestWithBody generates requests for PutV2ProjectsProjectNameTemplatesNameDefault with any type of body
func NewPutV2TemplatesNameDefaultRequest ¶
func NewPutV2TemplatesNameDefaultRequest(server string, name string, params *PutV2TemplatesNameDefaultParams, body PutV2TemplatesNameDefaultJSONRequestBody) (*http.Request, error)
NewPutV2TemplatesNameDefaultRequest calls the generic PutV2TemplatesNameDefault builder with application/json body
func NewPutV2TemplatesNameDefaultRequestWithBody ¶
func NewPutV2TemplatesNameDefaultRequestWithBody(server string, name string, params *PutV2TemplatesNameDefaultParams, contentType string, body io.Reader) (*http.Request, error)
NewPutV2TemplatesNameDefaultRequestWithBody generates requests for PutV2TemplatesNameDefault with any type of body
Types ¶
type ActiveProjectIdHeader ¶
type ActiveProjectIdHeader = openapi_types.UUID
ActiveProjectIdHeader defines model for ActiveProjectIdHeader.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteV2ClustersName ¶
func (c *Client) DeleteV2ClustersName(ctx context.Context, name string, params *DeleteV2ClustersNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV2ClustersNameNodesNodeId ¶
func (c *Client) DeleteV2ClustersNameNodesNodeId(ctx context.Context, name string, nodeId string, params *DeleteV2ClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV2ProjectsProjectNameClustersName ¶ added in v2.2.11
func (c *Client) DeleteV2ProjectsProjectNameClustersName(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV2ProjectsProjectNameClustersNameNodesNodeId ¶ added in v2.2.11
func (c *Client) DeleteV2ProjectsProjectNameClustersNameNodesNodeId(ctx context.Context, projectName ProjectNamePath, name string, nodeId string, params *DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV2ProjectsProjectNameTemplatesNameVersion ¶ added in v2.2.11
func (c *Client) DeleteV2ProjectsProjectNameTemplatesNameVersion(ctx context.Context, projectName ProjectNamePath, name string, version string, params *DeleteV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV2TemplatesNameVersion ¶
func (c *Client) DeleteV2TemplatesNameVersion(ctx context.Context, name string, version string, params *DeleteV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2Clusters ¶
func (c *Client) GetV2Clusters(ctx context.Context, params *GetV2ClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ClustersName ¶
func (c *Client) GetV2ClustersName(ctx context.Context, name string, params *GetV2ClustersNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ClustersNameKubeconfigs ¶
func (c *Client) GetV2ClustersNameKubeconfigs(ctx context.Context, name string, params *GetV2ClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ClustersNodeIdClusterdetail ¶
func (c *Client) GetV2ClustersNodeIdClusterdetail(ctx context.Context, nodeId string, params *GetV2ClustersNodeIdClusterdetailParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ClustersSummary ¶
func (c *Client) GetV2ClustersSummary(ctx context.Context, params *GetV2ClustersSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2Healthz ¶
func (*Client) GetV2ProjectsProjectNameClusters ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameClusters(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameClustersName ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameClustersName(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameClustersNameKubeconfigs ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameClustersNameKubeconfigs(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameClustersNodeIdClusterdetail ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameClustersNodeIdClusterdetail(ctx context.Context, projectName ProjectNamePath, nodeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameClustersSummary ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameClustersSummary(ctx context.Context, projectName ProjectNamePath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameTemplates ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameTemplates(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameTemplatesNameVersion ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameTemplatesNameVersion(ctx context.Context, projectName ProjectNamePath, name string, version string, params *GetV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2ProjectsProjectNameTemplatesNameVersions ¶ added in v2.2.11
func (c *Client) GetV2ProjectsProjectNameTemplatesNameVersions(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameTemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2Templates ¶
func (c *Client) GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2TemplatesNameVersion ¶
func (c *Client) GetV2TemplatesNameVersion(ctx context.Context, name string, version string, params *GetV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV2TemplatesNameVersions ¶
func (c *Client) GetV2TemplatesNameVersions(ctx context.Context, name string, params *GetV2TemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV2Clusters ¶
func (c *Client) PostV2Clusters(ctx context.Context, params *PostV2ClustersParams, body PostV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV2ClustersWithBody ¶
func (*Client) PostV2ProjectsProjectNameClusters ¶ added in v2.2.11
func (c *Client) PostV2ProjectsProjectNameClusters(ctx context.Context, projectName ProjectNamePath, body PostV2ProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV2ProjectsProjectNameClustersWithBody ¶ added in v2.2.11
func (*Client) PostV2ProjectsProjectNameTemplates ¶ added in v2.2.11
func (c *Client) PostV2ProjectsProjectNameTemplates(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, body PostV2ProjectsProjectNameTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV2ProjectsProjectNameTemplatesWithBody ¶ added in v2.2.11
func (c *Client) PostV2ProjectsProjectNameTemplatesWithBody(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV2Templates ¶
func (c *Client) PostV2Templates(ctx context.Context, params *PostV2TemplatesParams, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV2TemplatesWithBody ¶
func (*Client) PutV2ClustersNameLabels ¶
func (c *Client) PutV2ClustersNameLabels(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, body PutV2ClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ClustersNameLabelsWithBody ¶
func (*Client) PutV2ClustersNameNodes ¶
func (c *Client) PutV2ClustersNameNodes(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, body PutV2ClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ClustersNameNodesWithBody ¶
func (*Client) PutV2ClustersNameTemplate ¶
func (c *Client) PutV2ClustersNameTemplate(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, body PutV2ClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ClustersNameTemplateWithBody ¶
func (*Client) PutV2ProjectsProjectNameClustersNameLabels ¶ added in v2.2.11
func (c *Client) PutV2ProjectsProjectNameClustersNameLabels(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ProjectsProjectNameClustersNameLabelsWithBody ¶ added in v2.2.11
func (*Client) PutV2ProjectsProjectNameClustersNameNodes ¶ added in v2.2.11
func (c *Client) PutV2ProjectsProjectNameClustersNameNodes(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ProjectsProjectNameClustersNameNodesWithBody ¶ added in v2.2.11
func (*Client) PutV2ProjectsProjectNameClustersNameTemplate ¶ added in v2.2.11
func (c *Client) PutV2ProjectsProjectNameClustersNameTemplate(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ProjectsProjectNameClustersNameTemplateWithBody ¶ added in v2.2.11
func (*Client) PutV2ProjectsProjectNameTemplatesNameDefault ¶ added in v2.2.11
func (c *Client) PutV2ProjectsProjectNameTemplatesNameDefault(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, body PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2ProjectsProjectNameTemplatesNameDefaultWithBody ¶ added in v2.2.11
func (c *Client) PutV2ProjectsProjectNameTemplatesNameDefaultWithBody(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2TemplatesNameDefault ¶
func (c *Client) PutV2TemplatesNameDefault(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, body PutV2TemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV2TemplatesNameDefaultWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// GetV2Clusters request
GetV2Clusters(ctx context.Context, params *GetV2ClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2ClustersWithBody request with any body
PostV2ClustersWithBody(ctx context.Context, params *PostV2ClustersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2Clusters(ctx context.Context, params *PostV2ClustersParams, body PostV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ClustersSummary request
GetV2ClustersSummary(ctx context.Context, params *GetV2ClustersSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV2ClustersName request
DeleteV2ClustersName(ctx context.Context, name string, params *DeleteV2ClustersNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ClustersName request
GetV2ClustersName(ctx context.Context, name string, params *GetV2ClustersNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ClustersNameKubeconfigs request
GetV2ClustersNameKubeconfigs(ctx context.Context, name string, params *GetV2ClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ClustersNameLabelsWithBody request with any body
PutV2ClustersNameLabelsWithBody(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ClustersNameLabels(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, body PutV2ClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ClustersNameNodesWithBody request with any body
PutV2ClustersNameNodesWithBody(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ClustersNameNodes(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, body PutV2ClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV2ClustersNameNodesNodeId request
DeleteV2ClustersNameNodesNodeId(ctx context.Context, name string, nodeId string, params *DeleteV2ClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ClustersNameTemplateWithBody request with any body
PutV2ClustersNameTemplateWithBody(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ClustersNameTemplate(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, body PutV2ClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ClustersNodeIdClusterdetail request
GetV2ClustersNodeIdClusterdetail(ctx context.Context, nodeId string, params *GetV2ClustersNodeIdClusterdetailParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Healthz request
GetV2Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameClusters request
GetV2ProjectsProjectNameClusters(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2ProjectsProjectNameClustersWithBody request with any body
PostV2ProjectsProjectNameClustersWithBody(ctx context.Context, projectName ProjectNamePath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2ProjectsProjectNameClusters(ctx context.Context, projectName ProjectNamePath, body PostV2ProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameClustersSummary request
GetV2ProjectsProjectNameClustersSummary(ctx context.Context, projectName ProjectNamePath, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV2ProjectsProjectNameClustersName request
DeleteV2ProjectsProjectNameClustersName(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameClustersName request
GetV2ProjectsProjectNameClustersName(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameClustersNameKubeconfigs request
GetV2ProjectsProjectNameClustersNameKubeconfigs(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ProjectsProjectNameClustersNameLabelsWithBody request with any body
PutV2ProjectsProjectNameClustersNameLabelsWithBody(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ProjectsProjectNameClustersNameLabels(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ProjectsProjectNameClustersNameNodesWithBody request with any body
PutV2ProjectsProjectNameClustersNameNodesWithBody(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ProjectsProjectNameClustersNameNodes(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV2ProjectsProjectNameClustersNameNodesNodeId request
DeleteV2ProjectsProjectNameClustersNameNodesNodeId(ctx context.Context, projectName ProjectNamePath, name string, nodeId string, params *DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ProjectsProjectNameClustersNameTemplateWithBody request with any body
PutV2ProjectsProjectNameClustersNameTemplateWithBody(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ProjectsProjectNameClustersNameTemplate(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameClustersNodeIdClusterdetail request
GetV2ProjectsProjectNameClustersNodeIdClusterdetail(ctx context.Context, projectName ProjectNamePath, nodeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameTemplates request
GetV2ProjectsProjectNameTemplates(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2ProjectsProjectNameTemplatesWithBody request with any body
PostV2ProjectsProjectNameTemplatesWithBody(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2ProjectsProjectNameTemplates(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, body PostV2ProjectsProjectNameTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2ProjectsProjectNameTemplatesNameDefaultWithBody request with any body
PutV2ProjectsProjectNameTemplatesNameDefaultWithBody(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2ProjectsProjectNameTemplatesNameDefault(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, body PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameTemplatesNameVersions request
GetV2ProjectsProjectNameTemplatesNameVersions(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameTemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV2ProjectsProjectNameTemplatesNameVersion request
DeleteV2ProjectsProjectNameTemplatesNameVersion(ctx context.Context, projectName ProjectNamePath, name string, version string, params *DeleteV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2ProjectsProjectNameTemplatesNameVersion request
GetV2ProjectsProjectNameTemplatesNameVersion(ctx context.Context, projectName ProjectNamePath, name string, version string, params *GetV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Templates request
GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV2TemplatesWithBody request with any body
PostV2TemplatesWithBody(ctx context.Context, params *PostV2TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV2Templates(ctx context.Context, params *PostV2TemplatesParams, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV2TemplatesNameDefaultWithBody request with any body
PutV2TemplatesNameDefaultWithBody(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV2TemplatesNameDefault(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, body PutV2TemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2TemplatesNameVersions request
GetV2TemplatesNameVersions(ctx context.Context, name string, params *GetV2TemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV2TemplatesNameVersion request
DeleteV2TemplatesNameVersion(ctx context.Context, name string, version string, params *DeleteV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2TemplatesNameVersion request
GetV2TemplatesNameVersion(ctx context.Context, name string, version string, params *GetV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteV2ClustersNameNodesNodeIdWithResponse ¶
func (c *ClientWithResponses) DeleteV2ClustersNameNodesNodeIdWithResponse(ctx context.Context, name string, nodeId string, params *DeleteV2ClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*DeleteV2ClustersNameNodesNodeIdResponse, error)
DeleteV2ClustersNameNodesNodeIdWithResponse request returning *DeleteV2ClustersNameNodesNodeIdResponse
func (*ClientWithResponses) DeleteV2ClustersNameWithResponse ¶
func (c *ClientWithResponses) DeleteV2ClustersNameWithResponse(ctx context.Context, name string, params *DeleteV2ClustersNameParams, reqEditors ...RequestEditorFn) (*DeleteV2ClustersNameResponse, error)
DeleteV2ClustersNameWithResponse request returning *DeleteV2ClustersNameResponse
func (*ClientWithResponses) DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse(ctx context.Context, projectName ProjectNamePath, name string, nodeId string, params *DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse, error)
DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse request returning *DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse
func (*ClientWithResponses) DeleteV2ProjectsProjectNameClustersNameWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) DeleteV2ProjectsProjectNameClustersNameWithResponse(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*DeleteV2ProjectsProjectNameClustersNameResponse, error)
DeleteV2ProjectsProjectNameClustersNameWithResponse request returning *DeleteV2ProjectsProjectNameClustersNameResponse
func (*ClientWithResponses) DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse(ctx context.Context, projectName ProjectNamePath, name string, version string, params *DeleteV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*DeleteV2ProjectsProjectNameTemplatesNameVersionResponse, error)
DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse request returning *DeleteV2ProjectsProjectNameTemplatesNameVersionResponse
func (*ClientWithResponses) DeleteV2TemplatesNameVersionWithResponse ¶
func (c *ClientWithResponses) DeleteV2TemplatesNameVersionWithResponse(ctx context.Context, name string, version string, params *DeleteV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*DeleteV2TemplatesNameVersionResponse, error)
DeleteV2TemplatesNameVersionWithResponse request returning *DeleteV2TemplatesNameVersionResponse
func (*ClientWithResponses) GetV2ClustersNameKubeconfigsWithResponse ¶
func (c *ClientWithResponses) GetV2ClustersNameKubeconfigsWithResponse(ctx context.Context, name string, params *GetV2ClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*GetV2ClustersNameKubeconfigsResponse, error)
GetV2ClustersNameKubeconfigsWithResponse request returning *GetV2ClustersNameKubeconfigsResponse
func (*ClientWithResponses) GetV2ClustersNameWithResponse ¶
func (c *ClientWithResponses) GetV2ClustersNameWithResponse(ctx context.Context, name string, params *GetV2ClustersNameParams, reqEditors ...RequestEditorFn) (*GetV2ClustersNameResponse, error)
GetV2ClustersNameWithResponse request returning *GetV2ClustersNameResponse
func (*ClientWithResponses) GetV2ClustersNodeIdClusterdetailWithResponse ¶
func (c *ClientWithResponses) GetV2ClustersNodeIdClusterdetailWithResponse(ctx context.Context, nodeId string, params *GetV2ClustersNodeIdClusterdetailParams, reqEditors ...RequestEditorFn) (*GetV2ClustersNodeIdClusterdetailResponse, error)
GetV2ClustersNodeIdClusterdetailWithResponse request returning *GetV2ClustersNodeIdClusterdetailResponse
func (*ClientWithResponses) GetV2ClustersSummaryWithResponse ¶
func (c *ClientWithResponses) GetV2ClustersSummaryWithResponse(ctx context.Context, params *GetV2ClustersSummaryParams, reqEditors ...RequestEditorFn) (*GetV2ClustersSummaryResponse, error)
GetV2ClustersSummaryWithResponse request returning *GetV2ClustersSummaryResponse
func (*ClientWithResponses) GetV2ClustersWithResponse ¶
func (c *ClientWithResponses) GetV2ClustersWithResponse(ctx context.Context, params *GetV2ClustersParams, reqEditors ...RequestEditorFn) (*GetV2ClustersResponse, error)
GetV2ClustersWithResponse request returning *GetV2ClustersResponse
func (*ClientWithResponses) GetV2HealthzWithResponse ¶
func (c *ClientWithResponses) GetV2HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2HealthzResponse, error)
GetV2HealthzWithResponse request returning *GetV2HealthzResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersNameKubeconfigsResponse, error)
GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse request returning *GetV2ProjectsProjectNameClustersNameKubeconfigsResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameClustersNameWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersNameWithResponse(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersNameResponse, error)
GetV2ProjectsProjectNameClustersNameWithResponse request returning *GetV2ProjectsProjectNameClustersNameResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse(ctx context.Context, projectName ProjectNamePath, nodeId string, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse, error)
GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse request returning *GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameClustersSummaryWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersSummaryWithResponse(ctx context.Context, projectName ProjectNamePath, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersSummaryResponse, error)
GetV2ProjectsProjectNameClustersSummaryWithResponse request returning *GetV2ProjectsProjectNameClustersSummaryResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameClustersWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameClustersWithResponse(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameClustersParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersResponse, error)
GetV2ProjectsProjectNameClustersWithResponse request returning *GetV2ProjectsProjectNameClustersResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameTemplatesNameVersionWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameTemplatesNameVersionWithResponse(ctx context.Context, projectName ProjectNamePath, name string, version string, params *GetV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameTemplatesNameVersionResponse, error)
GetV2ProjectsProjectNameTemplatesNameVersionWithResponse request returning *GetV2ProjectsProjectNameTemplatesNameVersionResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameTemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameTemplatesNameVersionsResponse, error)
GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse request returning *GetV2ProjectsProjectNameTemplatesNameVersionsResponse
func (*ClientWithResponses) GetV2ProjectsProjectNameTemplatesWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) GetV2ProjectsProjectNameTemplatesWithResponse(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameTemplatesParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameTemplatesResponse, error)
GetV2ProjectsProjectNameTemplatesWithResponse request returning *GetV2ProjectsProjectNameTemplatesResponse
func (*ClientWithResponses) GetV2TemplatesNameVersionWithResponse ¶
func (c *ClientWithResponses) GetV2TemplatesNameVersionWithResponse(ctx context.Context, name string, version string, params *GetV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesNameVersionResponse, error)
GetV2TemplatesNameVersionWithResponse request returning *GetV2TemplatesNameVersionResponse
func (*ClientWithResponses) GetV2TemplatesNameVersionsWithResponse ¶
func (c *ClientWithResponses) GetV2TemplatesNameVersionsWithResponse(ctx context.Context, name string, params *GetV2TemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesNameVersionsResponse, error)
GetV2TemplatesNameVersionsWithResponse request returning *GetV2TemplatesNameVersionsResponse
func (*ClientWithResponses) GetV2TemplatesWithResponse ¶
func (c *ClientWithResponses) GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)
GetV2TemplatesWithResponse request returning *GetV2TemplatesResponse
func (*ClientWithResponses) PostV2ClustersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV2ClustersWithBodyWithResponse(ctx context.Context, params *PostV2ClustersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2ClustersResponse, error)
PostV2ClustersWithBodyWithResponse request with arbitrary body returning *PostV2ClustersResponse
func (*ClientWithResponses) PostV2ClustersWithResponse ¶
func (c *ClientWithResponses) PostV2ClustersWithResponse(ctx context.Context, params *PostV2ClustersParams, body PostV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2ClustersResponse, error)
func (*ClientWithResponses) PostV2ProjectsProjectNameClustersWithBodyWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PostV2ProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameClustersResponse, error)
PostV2ProjectsProjectNameClustersWithBodyWithResponse request with arbitrary body returning *PostV2ProjectsProjectNameClustersResponse
func (*ClientWithResponses) PostV2ProjectsProjectNameClustersWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PostV2ProjectsProjectNameClustersWithResponse(ctx context.Context, projectName ProjectNamePath, body PostV2ProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameClustersResponse, error)
func (*ClientWithResponses) PostV2ProjectsProjectNameTemplatesWithBodyWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PostV2ProjectsProjectNameTemplatesWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameTemplatesResponse, error)
PostV2ProjectsProjectNameTemplatesWithBodyWithResponse request with arbitrary body returning *PostV2ProjectsProjectNameTemplatesResponse
func (*ClientWithResponses) PostV2ProjectsProjectNameTemplatesWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PostV2ProjectsProjectNameTemplatesWithResponse(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, body PostV2ProjectsProjectNameTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameTemplatesResponse, error)
func (*ClientWithResponses) PostV2TemplatesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesWithBodyWithResponse(ctx context.Context, params *PostV2TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
PostV2TemplatesWithBodyWithResponse request with arbitrary body returning *PostV2TemplatesResponse
func (*ClientWithResponses) PostV2TemplatesWithResponse ¶
func (c *ClientWithResponses) PostV2TemplatesWithResponse(ctx context.Context, params *PostV2TemplatesParams, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
func (*ClientWithResponses) PutV2ClustersNameLabelsWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV2ClustersNameLabelsWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ClustersNameLabelsResponse, error)
PutV2ClustersNameLabelsWithBodyWithResponse request with arbitrary body returning *PutV2ClustersNameLabelsResponse
func (*ClientWithResponses) PutV2ClustersNameLabelsWithResponse ¶
func (c *ClientWithResponses) PutV2ClustersNameLabelsWithResponse(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, body PutV2ClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ClustersNameLabelsResponse, error)
func (*ClientWithResponses) PutV2ClustersNameNodesWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV2ClustersNameNodesWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ClustersNameNodesResponse, error)
PutV2ClustersNameNodesWithBodyWithResponse request with arbitrary body returning *PutV2ClustersNameNodesResponse
func (*ClientWithResponses) PutV2ClustersNameNodesWithResponse ¶
func (c *ClientWithResponses) PutV2ClustersNameNodesWithResponse(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, body PutV2ClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ClustersNameNodesResponse, error)
func (*ClientWithResponses) PutV2ClustersNameTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV2ClustersNameTemplateWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ClustersNameTemplateResponse, error)
PutV2ClustersNameTemplateWithBodyWithResponse request with arbitrary body returning *PutV2ClustersNameTemplateResponse
func (*ClientWithResponses) PutV2ClustersNameTemplateWithResponse ¶
func (c *ClientWithResponses) PutV2ClustersNameTemplateWithResponse(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, body PutV2ClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ClustersNameTemplateResponse, error)
func (*ClientWithResponses) PutV2ProjectsProjectNameClustersNameLabelsWithBodyWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameLabelsWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
PutV2ProjectsProjectNameClustersNameLabelsWithBodyWithResponse request with arbitrary body returning *PutV2ProjectsProjectNameClustersNameLabelsResponse
func (*ClientWithResponses) PutV2ProjectsProjectNameClustersNameLabelsWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameLabelsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
func (*ClientWithResponses) PutV2ProjectsProjectNameClustersNameNodesWithBodyWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameNodesWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
PutV2ProjectsProjectNameClustersNameNodesWithBodyWithResponse request with arbitrary body returning *PutV2ProjectsProjectNameClustersNameNodesResponse
func (*ClientWithResponses) PutV2ProjectsProjectNameClustersNameNodesWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameNodesWithResponse(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
func (*ClientWithResponses) PutV2ProjectsProjectNameClustersNameTemplateWithBodyWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameTemplateWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
PutV2ProjectsProjectNameClustersNameTemplateWithBodyWithResponse request with arbitrary body returning *PutV2ProjectsProjectNameClustersNameTemplateResponse
func (*ClientWithResponses) PutV2ProjectsProjectNameClustersNameTemplateWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameClustersNameTemplateWithResponse(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
func (*ClientWithResponses) PutV2ProjectsProjectNameTemplatesNameDefaultWithBodyWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameTemplatesNameDefaultWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
PutV2ProjectsProjectNameTemplatesNameDefaultWithBodyWithResponse request with arbitrary body returning *PutV2ProjectsProjectNameTemplatesNameDefaultResponse
func (*ClientWithResponses) PutV2ProjectsProjectNameTemplatesNameDefaultWithResponse ¶ added in v2.2.11
func (c *ClientWithResponses) PutV2ProjectsProjectNameTemplatesNameDefaultWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, body PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
func (*ClientWithResponses) PutV2TemplatesNameDefaultWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV2TemplatesNameDefaultWithBodyWithResponse(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2TemplatesNameDefaultResponse, error)
PutV2TemplatesNameDefaultWithBodyWithResponse request with arbitrary body returning *PutV2TemplatesNameDefaultResponse
func (*ClientWithResponses) PutV2TemplatesNameDefaultWithResponse ¶
func (c *ClientWithResponses) PutV2TemplatesNameDefaultWithResponse(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, body PutV2TemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2TemplatesNameDefaultResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetV2ClustersWithResponse request
GetV2ClustersWithResponse(ctx context.Context, params *GetV2ClustersParams, reqEditors ...RequestEditorFn) (*GetV2ClustersResponse, error)
// PostV2ClustersWithBodyWithResponse request with any body
PostV2ClustersWithBodyWithResponse(ctx context.Context, params *PostV2ClustersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2ClustersResponse, error)
PostV2ClustersWithResponse(ctx context.Context, params *PostV2ClustersParams, body PostV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2ClustersResponse, error)
// GetV2ClustersSummaryWithResponse request
GetV2ClustersSummaryWithResponse(ctx context.Context, params *GetV2ClustersSummaryParams, reqEditors ...RequestEditorFn) (*GetV2ClustersSummaryResponse, error)
// DeleteV2ClustersNameWithResponse request
DeleteV2ClustersNameWithResponse(ctx context.Context, name string, params *DeleteV2ClustersNameParams, reqEditors ...RequestEditorFn) (*DeleteV2ClustersNameResponse, error)
// GetV2ClustersNameWithResponse request
GetV2ClustersNameWithResponse(ctx context.Context, name string, params *GetV2ClustersNameParams, reqEditors ...RequestEditorFn) (*GetV2ClustersNameResponse, error)
// GetV2ClustersNameKubeconfigsWithResponse request
GetV2ClustersNameKubeconfigsWithResponse(ctx context.Context, name string, params *GetV2ClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*GetV2ClustersNameKubeconfigsResponse, error)
// PutV2ClustersNameLabelsWithBodyWithResponse request with any body
PutV2ClustersNameLabelsWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ClustersNameLabelsResponse, error)
PutV2ClustersNameLabelsWithResponse(ctx context.Context, name string, params *PutV2ClustersNameLabelsParams, body PutV2ClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ClustersNameLabelsResponse, error)
// PutV2ClustersNameNodesWithBodyWithResponse request with any body
PutV2ClustersNameNodesWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ClustersNameNodesResponse, error)
PutV2ClustersNameNodesWithResponse(ctx context.Context, name string, params *PutV2ClustersNameNodesParams, body PutV2ClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ClustersNameNodesResponse, error)
// DeleteV2ClustersNameNodesNodeIdWithResponse request
DeleteV2ClustersNameNodesNodeIdWithResponse(ctx context.Context, name string, nodeId string, params *DeleteV2ClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*DeleteV2ClustersNameNodesNodeIdResponse, error)
// PutV2ClustersNameTemplateWithBodyWithResponse request with any body
PutV2ClustersNameTemplateWithBodyWithResponse(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ClustersNameTemplateResponse, error)
PutV2ClustersNameTemplateWithResponse(ctx context.Context, name string, params *PutV2ClustersNameTemplateParams, body PutV2ClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ClustersNameTemplateResponse, error)
// GetV2ClustersNodeIdClusterdetailWithResponse request
GetV2ClustersNodeIdClusterdetailWithResponse(ctx context.Context, nodeId string, params *GetV2ClustersNodeIdClusterdetailParams, reqEditors ...RequestEditorFn) (*GetV2ClustersNodeIdClusterdetailResponse, error)
// GetV2HealthzWithResponse request
GetV2HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2HealthzResponse, error)
// GetV2ProjectsProjectNameClustersWithResponse request
GetV2ProjectsProjectNameClustersWithResponse(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameClustersParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersResponse, error)
// PostV2ProjectsProjectNameClustersWithBodyWithResponse request with any body
PostV2ProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameClustersResponse, error)
PostV2ProjectsProjectNameClustersWithResponse(ctx context.Context, projectName ProjectNamePath, body PostV2ProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameClustersResponse, error)
// GetV2ProjectsProjectNameClustersSummaryWithResponse request
GetV2ProjectsProjectNameClustersSummaryWithResponse(ctx context.Context, projectName ProjectNamePath, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersSummaryResponse, error)
// DeleteV2ProjectsProjectNameClustersNameWithResponse request
DeleteV2ProjectsProjectNameClustersNameWithResponse(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*DeleteV2ProjectsProjectNameClustersNameResponse, error)
// GetV2ProjectsProjectNameClustersNameWithResponse request
GetV2ProjectsProjectNameClustersNameWithResponse(ctx context.Context, projectName ProjectNamePath, name string, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersNameResponse, error)
// GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse request
GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameClustersNameKubeconfigsParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersNameKubeconfigsResponse, error)
// PutV2ProjectsProjectNameClustersNameLabelsWithBodyWithResponse request with any body
PutV2ProjectsProjectNameClustersNameLabelsWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
PutV2ProjectsProjectNameClustersNameLabelsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
// PutV2ProjectsProjectNameClustersNameNodesWithBodyWithResponse request with any body
PutV2ProjectsProjectNameClustersNameNodesWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
PutV2ProjectsProjectNameClustersNameNodesWithResponse(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
// DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse request
DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse(ctx context.Context, projectName ProjectNamePath, name string, nodeId string, params *DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams, reqEditors ...RequestEditorFn) (*DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse, error)
// PutV2ProjectsProjectNameClustersNameTemplateWithBodyWithResponse request with any body
PutV2ProjectsProjectNameClustersNameTemplateWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
PutV2ProjectsProjectNameClustersNameTemplateWithResponse(ctx context.Context, projectName ProjectNamePath, name string, body PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
// GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse request
GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse(ctx context.Context, projectName ProjectNamePath, nodeId string, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse, error)
// GetV2ProjectsProjectNameTemplatesWithResponse request
GetV2ProjectsProjectNameTemplatesWithResponse(ctx context.Context, projectName ProjectNamePath, params *GetV2ProjectsProjectNameTemplatesParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameTemplatesResponse, error)
// PostV2ProjectsProjectNameTemplatesWithBodyWithResponse request with any body
PostV2ProjectsProjectNameTemplatesWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameTemplatesResponse, error)
PostV2ProjectsProjectNameTemplatesWithResponse(ctx context.Context, projectName ProjectNamePath, params *PostV2ProjectsProjectNameTemplatesParams, body PostV2ProjectsProjectNameTemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2ProjectsProjectNameTemplatesResponse, error)
// PutV2ProjectsProjectNameTemplatesNameDefaultWithBodyWithResponse request with any body
PutV2ProjectsProjectNameTemplatesNameDefaultWithBodyWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
PutV2ProjectsProjectNameTemplatesNameDefaultWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *PutV2ProjectsProjectNameTemplatesNameDefaultParams, body PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
// GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse request
GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse(ctx context.Context, projectName ProjectNamePath, name string, params *GetV2ProjectsProjectNameTemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameTemplatesNameVersionsResponse, error)
// DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse request
DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse(ctx context.Context, projectName ProjectNamePath, name string, version string, params *DeleteV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*DeleteV2ProjectsProjectNameTemplatesNameVersionResponse, error)
// GetV2ProjectsProjectNameTemplatesNameVersionWithResponse request
GetV2ProjectsProjectNameTemplatesNameVersionWithResponse(ctx context.Context, projectName ProjectNamePath, name string, version string, params *GetV2ProjectsProjectNameTemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*GetV2ProjectsProjectNameTemplatesNameVersionResponse, error)
// GetV2TemplatesWithResponse request
GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)
// PostV2TemplatesWithBodyWithResponse request with any body
PostV2TemplatesWithBodyWithResponse(ctx context.Context, params *PostV2TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
PostV2TemplatesWithResponse(ctx context.Context, params *PostV2TemplatesParams, body PostV2TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesResponse, error)
// PutV2TemplatesNameDefaultWithBodyWithResponse request with any body
PutV2TemplatesNameDefaultWithBodyWithResponse(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV2TemplatesNameDefaultResponse, error)
PutV2TemplatesNameDefaultWithResponse(ctx context.Context, name string, params *PutV2TemplatesNameDefaultParams, body PutV2TemplatesNameDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV2TemplatesNameDefaultResponse, error)
// GetV2TemplatesNameVersionsWithResponse request
GetV2TemplatesNameVersionsWithResponse(ctx context.Context, name string, params *GetV2TemplatesNameVersionsParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesNameVersionsResponse, error)
// DeleteV2TemplatesNameVersionWithResponse request
DeleteV2TemplatesNameVersionWithResponse(ctx context.Context, name string, version string, params *DeleteV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*DeleteV2TemplatesNameVersionResponse, error)
// GetV2TemplatesNameVersionWithResponse request
GetV2TemplatesNameVersionWithResponse(ctx context.Context, name string, version string, params *GetV2TemplatesNameVersionParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesNameVersionResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClusterDetailInfo ¶
type ClusterDetailInfo struct {
// ControlPlaneReady A generic status object.
ControlPlaneReady *GenericStatus `json:"controlPlaneReady,omitempty"`
// InfrastructureReady A generic status object.
InfrastructureReady *GenericStatus `json:"infrastructureReady,omitempty"`
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
Labels *map[string]interface{} `json:"labels,omitempty"`
// LifecyclePhase A generic status object.
LifecyclePhase *GenericStatus `json:"lifecyclePhase,omitempty"`
Name *string `json:"name,omitempty"`
// NodeHealth A generic status object.
NodeHealth *GenericStatus `json:"nodeHealth,omitempty"`
Nodes *[]NodeInfo `json:"nodes,omitempty"`
// ProviderStatus A generic status object.
ProviderStatus *GenericStatus `json:"providerStatus,omitempty"`
Template *string `json:"template,omitempty"`
}
ClusterDetailInfo defines model for ClusterDetailInfo.
type ClusterInfo ¶
type ClusterInfo struct {
// ControlPlaneReady A generic status object.
ControlPlaneReady *GenericStatus `json:"controlPlaneReady,omitempty"`
// InfrastructureReady A generic status object.
InfrastructureReady *GenericStatus `json:"infrastructureReady,omitempty"`
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
Labels *map[string]interface{} `json:"labels,omitempty"`
// LifecyclePhase A generic status object.
LifecyclePhase *GenericStatus `json:"lifecyclePhase,omitempty"`
Name *string `json:"name,omitempty"`
// NodeHealth A generic status object.
NodeHealth *GenericStatus `json:"nodeHealth,omitempty"`
NodeQuantity *int `json:"nodeQuantity,omitempty"`
// ProviderStatus A generic status object.
ProviderStatus *GenericStatus `json:"providerStatus,omitempty"`
}
ClusterInfo defines model for ClusterInfo.
type ClusterLabels ¶
type ClusterLabels struct {
// Labels Labels are key/value pairs that need to conform to https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
Labels *map[string]string `json:"labels,omitempty"`
}
ClusterLabels defines model for ClusterLabels.
type ClusterNetwork ¶
type ClusterNetwork struct {
Pods *NetworkRanges `json:"pods,omitempty"`
Services *NetworkRanges `json:"services,omitempty"`
}
ClusterNetwork Cluster network configuration, including pod and service CIDR blocks.
type ClusterSpec ¶
type ClusterSpec struct {
// Labels Labels are key/value pairs that need to conform to https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
Labels *map[string]string `json:"labels,omitempty"`
Name *string `json:"name,omitempty"`
Nodes []NodeSpec `json:"nodes"`
Template *string `json:"template,omitempty"`
}
ClusterSpec defines model for ClusterSpec.
type ClusterSummary ¶
type ClusterSummary struct {
// Error The number of clusters that are in error state.
Error int32 `json:"error"`
// InProgress The number of clusters that are in progess state (provisioning/deleting).
InProgress int32 `json:"inProgress"`
// Ready The number of clusters that are ready.
Ready int32 `json:"ready"`
// TotalClusters The total number of clusters.
TotalClusters int32 `json:"totalClusters"`
// Unknown The number of clusters that are in unknown state.
Unknown int32 `json:"unknown"`
}
ClusterSummary defines model for ClusterSummary.
type ClusterTemplateInfo ¶
type ClusterTemplateInfo struct {
// Name Name of the template
Name string `json:"name"`
// Version Cluster template version in the format of 'vX.Y.Z'
Version string `json:"version"`
}
ClusterTemplateInfo defines model for ClusterTemplateInfo.
type DefaultTemplateInfo ¶
type DefaultTemplateInfo struct {
// Name Name of the template. Not required when setting the default, is available in GET /v1/templates.
Name *string `json:"name,omitempty"`
// Version Template version. If set to empty, the latest version will be used as default.
Version string `json:"version"`
}
DefaultTemplateInfo defines model for DefaultTemplateInfo.
type DeleteV2ClustersName204Response ¶
type DeleteV2ClustersName204Response struct {
}
func (DeleteV2ClustersName204Response) VisitDeleteV2ClustersNameResponse ¶
func (response DeleteV2ClustersName204Response) VisitDeleteV2ClustersNameResponse(w http.ResponseWriter) error
type DeleteV2ClustersName400JSONResponse ¶
type DeleteV2ClustersName400JSONResponse struct{ N400BadRequestJSONResponse }
func (DeleteV2ClustersName400JSONResponse) VisitDeleteV2ClustersNameResponse ¶
func (response DeleteV2ClustersName400JSONResponse) VisitDeleteV2ClustersNameResponse(w http.ResponseWriter) error
type DeleteV2ClustersName404JSONResponse ¶
type DeleteV2ClustersName404JSONResponse struct{ N404NotFoundJSONResponse }
func (DeleteV2ClustersName404JSONResponse) VisitDeleteV2ClustersNameResponse ¶
func (response DeleteV2ClustersName404JSONResponse) VisitDeleteV2ClustersNameResponse(w http.ResponseWriter) error
type DeleteV2ClustersName500JSONResponse ¶
type DeleteV2ClustersName500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (DeleteV2ClustersName500JSONResponse) VisitDeleteV2ClustersNameResponse ¶
func (response DeleteV2ClustersName500JSONResponse) VisitDeleteV2ClustersNameResponse(w http.ResponseWriter) error
type DeleteV2ClustersNameNodesNodeId200Response ¶
type DeleteV2ClustersNameNodesNodeId200Response struct {
}
func (DeleteV2ClustersNameNodesNodeId200Response) VisitDeleteV2ClustersNameNodesNodeIdResponse ¶
func (response DeleteV2ClustersNameNodesNodeId200Response) VisitDeleteV2ClustersNameNodesNodeIdResponse(w http.ResponseWriter) error
type DeleteV2ClustersNameNodesNodeId400JSONResponse ¶
type DeleteV2ClustersNameNodesNodeId400JSONResponse struct{ N400BadRequestJSONResponse }
func (DeleteV2ClustersNameNodesNodeId400JSONResponse) VisitDeleteV2ClustersNameNodesNodeIdResponse ¶
func (response DeleteV2ClustersNameNodesNodeId400JSONResponse) VisitDeleteV2ClustersNameNodesNodeIdResponse(w http.ResponseWriter) error
type DeleteV2ClustersNameNodesNodeId404JSONResponse ¶
type DeleteV2ClustersNameNodesNodeId404JSONResponse struct{ N404NotFoundJSONResponse }
func (DeleteV2ClustersNameNodesNodeId404JSONResponse) VisitDeleteV2ClustersNameNodesNodeIdResponse ¶
func (response DeleteV2ClustersNameNodesNodeId404JSONResponse) VisitDeleteV2ClustersNameNodesNodeIdResponse(w http.ResponseWriter) error
type DeleteV2ClustersNameNodesNodeId500JSONResponse ¶
type DeleteV2ClustersNameNodesNodeId500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (DeleteV2ClustersNameNodesNodeId500JSONResponse) VisitDeleteV2ClustersNameNodesNodeIdResponse ¶
func (response DeleteV2ClustersNameNodesNodeId500JSONResponse) VisitDeleteV2ClustersNameNodesNodeIdResponse(w http.ResponseWriter) error
type DeleteV2ClustersNameNodesNodeIdParams ¶
type DeleteV2ClustersNameNodesNodeIdParams struct {
// Force When set to true, force deletes the edge node.
Force *bool `form:"force,omitempty" json:"force,omitempty"`
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
DeleteV2ClustersNameNodesNodeIdParams defines parameters for DeleteV2ClustersNameNodesNodeId.
type DeleteV2ClustersNameNodesNodeIdRequestObject ¶
type DeleteV2ClustersNameNodesNodeIdRequestObject struct {
Name string `json:"name"`
NodeId string `json:"nodeId"`
Params DeleteV2ClustersNameNodesNodeIdParams
}
type DeleteV2ClustersNameNodesNodeIdResponse ¶
type DeleteV2ClustersNameNodesNodeIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseDeleteV2ClustersNameNodesNodeIdResponse ¶
func ParseDeleteV2ClustersNameNodesNodeIdResponse(rsp *http.Response) (*DeleteV2ClustersNameNodesNodeIdResponse, error)
ParseDeleteV2ClustersNameNodesNodeIdResponse parses an HTTP response from a DeleteV2ClustersNameNodesNodeIdWithResponse call
func (DeleteV2ClustersNameNodesNodeIdResponse) Status ¶
func (r DeleteV2ClustersNameNodesNodeIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV2ClustersNameNodesNodeIdResponse) StatusCode ¶
func (r DeleteV2ClustersNameNodesNodeIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV2ClustersNameNodesNodeIdResponseObject ¶
type DeleteV2ClustersNameNodesNodeIdResponseObject interface {
VisitDeleteV2ClustersNameNodesNodeIdResponse(w http.ResponseWriter) error
}
type DeleteV2ClustersNameParams ¶
type DeleteV2ClustersNameParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
DeleteV2ClustersNameParams defines parameters for DeleteV2ClustersName.
type DeleteV2ClustersNameRequestObject ¶
type DeleteV2ClustersNameRequestObject struct {
Name string `json:"name"`
Params DeleteV2ClustersNameParams
}
type DeleteV2ClustersNameResponse ¶
type DeleteV2ClustersNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseDeleteV2ClustersNameResponse ¶
func ParseDeleteV2ClustersNameResponse(rsp *http.Response) (*DeleteV2ClustersNameResponse, error)
ParseDeleteV2ClustersNameResponse parses an HTTP response from a DeleteV2ClustersNameWithResponse call
func (DeleteV2ClustersNameResponse) Status ¶
func (r DeleteV2ClustersNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV2ClustersNameResponse) StatusCode ¶
func (r DeleteV2ClustersNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV2ClustersNameResponseObject ¶
type DeleteV2ClustersNameResponseObject interface {
VisitDeleteV2ClustersNameResponse(w http.ResponseWriter) error
}
type DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams ¶ added in v2.2.11
type DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams struct {
// Force When set to true, force deletes the edge node.
Force *bool `form:"force,omitempty" json:"force,omitempty"`
}
DeleteV2ProjectsProjectNameClustersNameNodesNodeIdParams defines parameters for DeleteV2ProjectsProjectNameClustersNameNodesNodeId.
type DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse ¶ added in v2.2.11
type DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseDeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse ¶ added in v2.2.11
func ParseDeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse(rsp *http.Response) (*DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse, error)
ParseDeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse parses an HTTP response from a DeleteV2ProjectsProjectNameClustersNameNodesNodeIdWithResponse call
func (DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse) Status ¶ added in v2.2.11
func (r DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse) StatusCode ¶ added in v2.2.11
func (r DeleteV2ProjectsProjectNameClustersNameNodesNodeIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV2ProjectsProjectNameClustersNameResponse ¶ added in v2.2.11
type DeleteV2ProjectsProjectNameClustersNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseDeleteV2ProjectsProjectNameClustersNameResponse ¶ added in v2.2.11
func ParseDeleteV2ProjectsProjectNameClustersNameResponse(rsp *http.Response) (*DeleteV2ProjectsProjectNameClustersNameResponse, error)
ParseDeleteV2ProjectsProjectNameClustersNameResponse parses an HTTP response from a DeleteV2ProjectsProjectNameClustersNameWithResponse call
func (DeleteV2ProjectsProjectNameClustersNameResponse) Status ¶ added in v2.2.11
func (r DeleteV2ProjectsProjectNameClustersNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV2ProjectsProjectNameClustersNameResponse) StatusCode ¶ added in v2.2.11
func (r DeleteV2ProjectsProjectNameClustersNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV2ProjectsProjectNameTemplatesNameVersionParams ¶ added in v2.2.11
type DeleteV2ProjectsProjectNameTemplatesNameVersionParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
DeleteV2ProjectsProjectNameTemplatesNameVersionParams defines parameters for DeleteV2ProjectsProjectNameTemplatesNameVersion.
type DeleteV2ProjectsProjectNameTemplatesNameVersionResponse ¶ added in v2.2.11
type DeleteV2ProjectsProjectNameTemplatesNameVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON409 *N409Conflict
JSON500 *N500InternalServerError
}
func ParseDeleteV2ProjectsProjectNameTemplatesNameVersionResponse ¶ added in v2.2.11
func ParseDeleteV2ProjectsProjectNameTemplatesNameVersionResponse(rsp *http.Response) (*DeleteV2ProjectsProjectNameTemplatesNameVersionResponse, error)
ParseDeleteV2ProjectsProjectNameTemplatesNameVersionResponse parses an HTTP response from a DeleteV2ProjectsProjectNameTemplatesNameVersionWithResponse call
func (DeleteV2ProjectsProjectNameTemplatesNameVersionResponse) Status ¶ added in v2.2.11
func (r DeleteV2ProjectsProjectNameTemplatesNameVersionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV2ProjectsProjectNameTemplatesNameVersionResponse) StatusCode ¶ added in v2.2.11
func (r DeleteV2ProjectsProjectNameTemplatesNameVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV2TemplatesNameVersion204Response ¶
type DeleteV2TemplatesNameVersion204Response struct {
}
func (DeleteV2TemplatesNameVersion204Response) VisitDeleteV2TemplatesNameVersionResponse ¶
func (response DeleteV2TemplatesNameVersion204Response) VisitDeleteV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type DeleteV2TemplatesNameVersion400JSONResponse ¶
type DeleteV2TemplatesNameVersion400JSONResponse struct{ N400BadRequestJSONResponse }
func (DeleteV2TemplatesNameVersion400JSONResponse) VisitDeleteV2TemplatesNameVersionResponse ¶
func (response DeleteV2TemplatesNameVersion400JSONResponse) VisitDeleteV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type DeleteV2TemplatesNameVersion404JSONResponse ¶
type DeleteV2TemplatesNameVersion404JSONResponse struct{ N404NotFoundJSONResponse }
func (DeleteV2TemplatesNameVersion404JSONResponse) VisitDeleteV2TemplatesNameVersionResponse ¶
func (response DeleteV2TemplatesNameVersion404JSONResponse) VisitDeleteV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type DeleteV2TemplatesNameVersion409JSONResponse ¶
type DeleteV2TemplatesNameVersion409JSONResponse struct{ N409ConflictJSONResponse }
func (DeleteV2TemplatesNameVersion409JSONResponse) VisitDeleteV2TemplatesNameVersionResponse ¶
func (response DeleteV2TemplatesNameVersion409JSONResponse) VisitDeleteV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type DeleteV2TemplatesNameVersion500JSONResponse ¶
type DeleteV2TemplatesNameVersion500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (DeleteV2TemplatesNameVersion500JSONResponse) VisitDeleteV2TemplatesNameVersionResponse ¶
func (response DeleteV2TemplatesNameVersion500JSONResponse) VisitDeleteV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type DeleteV2TemplatesNameVersionParams ¶
type DeleteV2TemplatesNameVersionParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
DeleteV2TemplatesNameVersionParams defines parameters for DeleteV2TemplatesNameVersion.
type DeleteV2TemplatesNameVersionRequestObject ¶
type DeleteV2TemplatesNameVersionRequestObject struct {
Name string `json:"name"`
Version string `json:"version"`
Params DeleteV2TemplatesNameVersionParams
}
type DeleteV2TemplatesNameVersionResponse ¶
type DeleteV2TemplatesNameVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON409 *N409Conflict
JSON500 *N500InternalServerError
}
func ParseDeleteV2TemplatesNameVersionResponse ¶
func ParseDeleteV2TemplatesNameVersionResponse(rsp *http.Response) (*DeleteV2TemplatesNameVersionResponse, error)
ParseDeleteV2TemplatesNameVersionResponse parses an HTTP response from a DeleteV2TemplatesNameVersionWithResponse call
func (DeleteV2TemplatesNameVersionResponse) Status ¶
func (r DeleteV2TemplatesNameVersionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV2TemplatesNameVersionResponse) StatusCode ¶
func (r DeleteV2TemplatesNameVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV2TemplatesNameVersionResponseObject ¶
type DeleteV2TemplatesNameVersionResponseObject interface {
VisitDeleteV2TemplatesNameVersionResponse(w http.ResponseWriter) error
}
type GenericStatus ¶
type GenericStatus struct {
// Indicator The status indicator.
Indicator *StatusIndicator `json:"indicator,omitempty"`
// Message A human-readable status message.
Message *string `json:"message,omitempty"`
// Timestamp A Unix, UTC timestamp when the status was last updated.
Timestamp *uint64 `json:"timestamp,omitempty"`
}
GenericStatus A generic status object.
type GetV2Clusters200JSONResponse ¶
type GetV2Clusters200JSONResponse struct {
Clusters *[]ClusterInfo `json:"clusters,omitempty"`
// TotalElements The count of items in the entire list, regardless of pagination.
TotalElements int32 `json:"totalElements"`
}
func (GetV2Clusters200JSONResponse) VisitGetV2ClustersResponse ¶
func (response GetV2Clusters200JSONResponse) VisitGetV2ClustersResponse(w http.ResponseWriter) error
type GetV2Clusters400JSONResponse ¶
type GetV2Clusters400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2Clusters400JSONResponse) VisitGetV2ClustersResponse ¶
func (response GetV2Clusters400JSONResponse) VisitGetV2ClustersResponse(w http.ResponseWriter) error
type GetV2Clusters500JSONResponse ¶
type GetV2Clusters500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2Clusters500JSONResponse) VisitGetV2ClustersResponse ¶
func (response GetV2Clusters500JSONResponse) VisitGetV2ClustersResponse(w http.ResponseWriter) error
type GetV2ClustersName200JSONResponse ¶
type GetV2ClustersName200JSONResponse ClusterDetailInfo
func (GetV2ClustersName200JSONResponse) VisitGetV2ClustersNameResponse ¶
func (response GetV2ClustersName200JSONResponse) VisitGetV2ClustersNameResponse(w http.ResponseWriter) error
type GetV2ClustersName400JSONResponse ¶
type GetV2ClustersName400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2ClustersName400JSONResponse) VisitGetV2ClustersNameResponse ¶
func (response GetV2ClustersName400JSONResponse) VisitGetV2ClustersNameResponse(w http.ResponseWriter) error
type GetV2ClustersName404JSONResponse ¶
type GetV2ClustersName404JSONResponse struct{ N404NotFoundJSONResponse }
func (GetV2ClustersName404JSONResponse) VisitGetV2ClustersNameResponse ¶
func (response GetV2ClustersName404JSONResponse) VisitGetV2ClustersNameResponse(w http.ResponseWriter) error
type GetV2ClustersName500JSONResponse ¶
type GetV2ClustersName500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2ClustersName500JSONResponse) VisitGetV2ClustersNameResponse ¶
func (response GetV2ClustersName500JSONResponse) VisitGetV2ClustersNameResponse(w http.ResponseWriter) error
type GetV2ClustersNameKubeconfigs200JSONResponse ¶
type GetV2ClustersNameKubeconfigs200JSONResponse KubeconfigInfo
func (GetV2ClustersNameKubeconfigs200JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse ¶
func (response GetV2ClustersNameKubeconfigs200JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse(w http.ResponseWriter) error
type GetV2ClustersNameKubeconfigs400JSONResponse ¶
type GetV2ClustersNameKubeconfigs400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2ClustersNameKubeconfigs400JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse ¶
func (response GetV2ClustersNameKubeconfigs400JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse(w http.ResponseWriter) error
type GetV2ClustersNameKubeconfigs401JSONResponse ¶
func (GetV2ClustersNameKubeconfigs401JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse ¶
func (response GetV2ClustersNameKubeconfigs401JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse(w http.ResponseWriter) error
type GetV2ClustersNameKubeconfigs404JSONResponse ¶
type GetV2ClustersNameKubeconfigs404JSONResponse struct{ N404NotFoundJSONResponse }
func (GetV2ClustersNameKubeconfigs404JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse ¶
func (response GetV2ClustersNameKubeconfigs404JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse(w http.ResponseWriter) error
type GetV2ClustersNameKubeconfigs500JSONResponse ¶
type GetV2ClustersNameKubeconfigs500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2ClustersNameKubeconfigs500JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse ¶
func (response GetV2ClustersNameKubeconfigs500JSONResponse) VisitGetV2ClustersNameKubeconfigsResponse(w http.ResponseWriter) error
type GetV2ClustersNameKubeconfigsParams ¶
type GetV2ClustersNameKubeconfigsParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
Authorization string `json:"Authorization"`
}
GetV2ClustersNameKubeconfigsParams defines parameters for GetV2ClustersNameKubeconfigs.
type GetV2ClustersNameKubeconfigsRequestObject ¶
type GetV2ClustersNameKubeconfigsRequestObject struct {
Name string `json:"name"`
Params GetV2ClustersNameKubeconfigsParams
}
type GetV2ClustersNameKubeconfigsResponse ¶
type GetV2ClustersNameKubeconfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KubeconfigInfo
JSON400 *N400BadRequest
JSON401 *N401Unauthorized
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ClustersNameKubeconfigsResponse ¶
func ParseGetV2ClustersNameKubeconfigsResponse(rsp *http.Response) (*GetV2ClustersNameKubeconfigsResponse, error)
ParseGetV2ClustersNameKubeconfigsResponse parses an HTTP response from a GetV2ClustersNameKubeconfigsWithResponse call
func (GetV2ClustersNameKubeconfigsResponse) Status ¶
func (r GetV2ClustersNameKubeconfigsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ClustersNameKubeconfigsResponse) StatusCode ¶
func (r GetV2ClustersNameKubeconfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ClustersNameKubeconfigsResponseObject ¶
type GetV2ClustersNameKubeconfigsResponseObject interface {
VisitGetV2ClustersNameKubeconfigsResponse(w http.ResponseWriter) error
}
type GetV2ClustersNameParams ¶
type GetV2ClustersNameParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ClustersNameParams defines parameters for GetV2ClustersName.
type GetV2ClustersNameRequestObject ¶
type GetV2ClustersNameRequestObject struct {
Name string `json:"name"`
Params GetV2ClustersNameParams
}
type GetV2ClustersNameResponse ¶
type GetV2ClustersNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterDetailInfo
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ClustersNameResponse ¶
func ParseGetV2ClustersNameResponse(rsp *http.Response) (*GetV2ClustersNameResponse, error)
ParseGetV2ClustersNameResponse parses an HTTP response from a GetV2ClustersNameWithResponse call
func (GetV2ClustersNameResponse) Status ¶
func (r GetV2ClustersNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ClustersNameResponse) StatusCode ¶
func (r GetV2ClustersNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ClustersNameResponseObject ¶
type GetV2ClustersNameResponseObject interface {
VisitGetV2ClustersNameResponse(w http.ResponseWriter) error
}
type GetV2ClustersNodeIdClusterdetail200JSONResponse ¶
type GetV2ClustersNodeIdClusterdetail200JSONResponse ClusterDetailInfo
func (GetV2ClustersNodeIdClusterdetail200JSONResponse) VisitGetV2ClustersNodeIdClusterdetailResponse ¶
func (response GetV2ClustersNodeIdClusterdetail200JSONResponse) VisitGetV2ClustersNodeIdClusterdetailResponse(w http.ResponseWriter) error
type GetV2ClustersNodeIdClusterdetail400JSONResponse ¶
type GetV2ClustersNodeIdClusterdetail400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2ClustersNodeIdClusterdetail400JSONResponse) VisitGetV2ClustersNodeIdClusterdetailResponse ¶
func (response GetV2ClustersNodeIdClusterdetail400JSONResponse) VisitGetV2ClustersNodeIdClusterdetailResponse(w http.ResponseWriter) error
type GetV2ClustersNodeIdClusterdetail404JSONResponse ¶
type GetV2ClustersNodeIdClusterdetail404JSONResponse struct{ N404NotFoundJSONResponse }
func (GetV2ClustersNodeIdClusterdetail404JSONResponse) VisitGetV2ClustersNodeIdClusterdetailResponse ¶
func (response GetV2ClustersNodeIdClusterdetail404JSONResponse) VisitGetV2ClustersNodeIdClusterdetailResponse(w http.ResponseWriter) error
type GetV2ClustersNodeIdClusterdetailParams ¶
type GetV2ClustersNodeIdClusterdetailParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ClustersNodeIdClusterdetailParams defines parameters for GetV2ClustersNodeIdClusterdetail.
type GetV2ClustersNodeIdClusterdetailRequestObject ¶
type GetV2ClustersNodeIdClusterdetailRequestObject struct {
NodeId string `json:"nodeId"`
Params GetV2ClustersNodeIdClusterdetailParams
}
type GetV2ClustersNodeIdClusterdetailResponse ¶
type GetV2ClustersNodeIdClusterdetailResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterDetailInfo
JSON400 *N400BadRequest
JSON404 *N404NotFound
}
func ParseGetV2ClustersNodeIdClusterdetailResponse ¶
func ParseGetV2ClustersNodeIdClusterdetailResponse(rsp *http.Response) (*GetV2ClustersNodeIdClusterdetailResponse, error)
ParseGetV2ClustersNodeIdClusterdetailResponse parses an HTTP response from a GetV2ClustersNodeIdClusterdetailWithResponse call
func (GetV2ClustersNodeIdClusterdetailResponse) Status ¶
func (r GetV2ClustersNodeIdClusterdetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ClustersNodeIdClusterdetailResponse) StatusCode ¶
func (r GetV2ClustersNodeIdClusterdetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ClustersNodeIdClusterdetailResponseObject ¶
type GetV2ClustersNodeIdClusterdetailResponseObject interface {
VisitGetV2ClustersNodeIdClusterdetailResponse(w http.ResponseWriter) error
}
type GetV2ClustersParams ¶
type GetV2ClustersParams struct {
// PageSize The maximum number of items to return.
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Offset Index of the first item to return. It is almost always used in conjunction with the 'pageSize' query.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// OrderBy The ordering of the entries. "asc" and "desc" are valid values. If none is specified, "asc" is used.
//
// Supported fields:
// - name
// - kubernetesVersion
// - providerStatus
// - lifecyclePhase
OrderBy *string `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// Filter Filters the entries based on the filter provided.
//
// Supported fields:
// - name
// - kubernetesVersion
// - providerStatus
// - lifecyclePhase
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ClustersParams defines parameters for GetV2Clusters.
type GetV2ClustersRequestObject ¶
type GetV2ClustersRequestObject struct {
Params GetV2ClustersParams
}
type GetV2ClustersResponse ¶
type GetV2ClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Clusters *[]ClusterInfo `json:"clusters,omitempty"`
// TotalElements The count of items in the entire list, regardless of pagination.
TotalElements int32 `json:"totalElements"`
}
JSON400 *N400BadRequest
JSON500 *N500InternalServerError
}
func ParseGetV2ClustersResponse ¶
func ParseGetV2ClustersResponse(rsp *http.Response) (*GetV2ClustersResponse, error)
ParseGetV2ClustersResponse parses an HTTP response from a GetV2ClustersWithResponse call
func (GetV2ClustersResponse) Status ¶
func (r GetV2ClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ClustersResponse) StatusCode ¶
func (r GetV2ClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ClustersResponseObject ¶
type GetV2ClustersResponseObject interface {
VisitGetV2ClustersResponse(w http.ResponseWriter) error
}
type GetV2ClustersSummary200JSONResponse ¶
type GetV2ClustersSummary200JSONResponse ClusterSummary
func (GetV2ClustersSummary200JSONResponse) VisitGetV2ClustersSummaryResponse ¶
func (response GetV2ClustersSummary200JSONResponse) VisitGetV2ClustersSummaryResponse(w http.ResponseWriter) error
type GetV2ClustersSummary400JSONResponse ¶
type GetV2ClustersSummary400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2ClustersSummary400JSONResponse) VisitGetV2ClustersSummaryResponse ¶
func (response GetV2ClustersSummary400JSONResponse) VisitGetV2ClustersSummaryResponse(w http.ResponseWriter) error
type GetV2ClustersSummary500JSONResponse ¶
type GetV2ClustersSummary500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2ClustersSummary500JSONResponse) VisitGetV2ClustersSummaryResponse ¶
func (response GetV2ClustersSummary500JSONResponse) VisitGetV2ClustersSummaryResponse(w http.ResponseWriter) error
type GetV2ClustersSummaryParams ¶
type GetV2ClustersSummaryParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ClustersSummaryParams defines parameters for GetV2ClustersSummary.
type GetV2ClustersSummaryRequestObject ¶
type GetV2ClustersSummaryRequestObject struct {
Params GetV2ClustersSummaryParams
}
type GetV2ClustersSummaryResponse ¶
type GetV2ClustersSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterSummary
JSON400 *N400BadRequest
JSON500 *N500InternalServerError
}
func ParseGetV2ClustersSummaryResponse ¶
func ParseGetV2ClustersSummaryResponse(rsp *http.Response) (*GetV2ClustersSummaryResponse, error)
ParseGetV2ClustersSummaryResponse parses an HTTP response from a GetV2ClustersSummaryWithResponse call
func (GetV2ClustersSummaryResponse) Status ¶
func (r GetV2ClustersSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ClustersSummaryResponse) StatusCode ¶
func (r GetV2ClustersSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ClustersSummaryResponseObject ¶
type GetV2ClustersSummaryResponseObject interface {
VisitGetV2ClustersSummaryResponse(w http.ResponseWriter) error
}
type GetV2Healthz200JSONResponse ¶
type GetV2Healthz200JSONResponse string
func (GetV2Healthz200JSONResponse) VisitGetV2HealthzResponse ¶
func (response GetV2Healthz200JSONResponse) VisitGetV2HealthzResponse(w http.ResponseWriter) error
type GetV2Healthz500JSONResponse ¶
type GetV2Healthz500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2Healthz500JSONResponse) VisitGetV2HealthzResponse ¶
func (response GetV2Healthz500JSONResponse) VisitGetV2HealthzResponse(w http.ResponseWriter) error
type GetV2HealthzRequestObject ¶
type GetV2HealthzRequestObject struct {
}
type GetV2HealthzResponse ¶
type GetV2HealthzResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
JSON500 *N500InternalServerError
}
func ParseGetV2HealthzResponse ¶
func ParseGetV2HealthzResponse(rsp *http.Response) (*GetV2HealthzResponse, error)
ParseGetV2HealthzResponse parses an HTTP response from a GetV2HealthzWithResponse call
func (GetV2HealthzResponse) Status ¶
func (r GetV2HealthzResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2HealthzResponse) StatusCode ¶
func (r GetV2HealthzResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2HealthzResponseObject ¶
type GetV2HealthzResponseObject interface {
VisitGetV2HealthzResponse(w http.ResponseWriter) error
}
type GetV2ProjectsProjectNameClustersNameKubeconfigsParams ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersNameKubeconfigsParams struct {
Authorization string `json:"Authorization"`
}
GetV2ProjectsProjectNameClustersNameKubeconfigsParams defines parameters for GetV2ProjectsProjectNameClustersNameKubeconfigs.
type GetV2ProjectsProjectNameClustersNameKubeconfigsResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersNameKubeconfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KubeconfigInfo
JSON400 *N400BadRequest
JSON401 *N401Unauthorized
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameClustersNameKubeconfigsResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameClustersNameKubeconfigsResponse(rsp *http.Response) (*GetV2ProjectsProjectNameClustersNameKubeconfigsResponse, error)
ParseGetV2ProjectsProjectNameClustersNameKubeconfigsResponse parses an HTTP response from a GetV2ProjectsProjectNameClustersNameKubeconfigsWithResponse call
func (GetV2ProjectsProjectNameClustersNameKubeconfigsResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersNameKubeconfigsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameClustersNameKubeconfigsResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersNameKubeconfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameClustersNameResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterDetailInfo
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameClustersNameResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameClustersNameResponse(rsp *http.Response) (*GetV2ProjectsProjectNameClustersNameResponse, error)
ParseGetV2ProjectsProjectNameClustersNameResponse parses an HTTP response from a GetV2ProjectsProjectNameClustersNameWithResponse call
func (GetV2ProjectsProjectNameClustersNameResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameClustersNameResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterDetailInfo
JSON400 *N400BadRequest
JSON404 *N404NotFound
}
func ParseGetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse(rsp *http.Response) (*GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse, error)
ParseGetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse parses an HTTP response from a GetV2ProjectsProjectNameClustersNodeIdClusterdetailWithResponse call
func (GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersNodeIdClusterdetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameClustersParams ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersParams struct {
// PageSize The maximum number of items to return.
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Offset Index of the first item to return. It is almost always used in conjunction with the 'pageSize' query.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// OrderBy The ordering of the entries. "asc" and "desc" are valid values. If none is specified, "asc" is used.
//
// Supported fields:
// - name
// - kubernetesVersion
// - providerStatus
// - lifecyclePhase
OrderBy *string `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// Filter Filters the entries based on the filter provided.
//
// Supported fields:
// - name
// - kubernetesVersion
// - providerStatus
// - lifecyclePhase
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
}
GetV2ProjectsProjectNameClustersParams defines parameters for GetV2ProjectsProjectNameClusters.
type GetV2ProjectsProjectNameClustersResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Clusters *[]ClusterInfo `json:"clusters,omitempty"`
// TotalElements The count of items in the entire list, regardless of pagination.
TotalElements int32 `json:"totalElements"`
}
JSON400 *N400BadRequest
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameClustersResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameClustersResponse(rsp *http.Response) (*GetV2ProjectsProjectNameClustersResponse, error)
ParseGetV2ProjectsProjectNameClustersResponse parses an HTTP response from a GetV2ProjectsProjectNameClustersWithResponse call
func (GetV2ProjectsProjectNameClustersResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameClustersResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameClustersSummaryResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameClustersSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterSummary
JSON400 *N400BadRequest
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameClustersSummaryResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameClustersSummaryResponse(rsp *http.Response) (*GetV2ProjectsProjectNameClustersSummaryResponse, error)
ParseGetV2ProjectsProjectNameClustersSummaryResponse parses an HTTP response from a GetV2ProjectsProjectNameClustersSummaryWithResponse call
func (GetV2ProjectsProjectNameClustersSummaryResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameClustersSummaryResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameClustersSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameTemplatesNameVersionParams ¶ added in v2.2.11
type GetV2ProjectsProjectNameTemplatesNameVersionParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ProjectsProjectNameTemplatesNameVersionParams defines parameters for GetV2ProjectsProjectNameTemplatesNameVersion.
type GetV2ProjectsProjectNameTemplatesNameVersionResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameTemplatesNameVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplateInfo
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameTemplatesNameVersionResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameTemplatesNameVersionResponse(rsp *http.Response) (*GetV2ProjectsProjectNameTemplatesNameVersionResponse, error)
ParseGetV2ProjectsProjectNameTemplatesNameVersionResponse parses an HTTP response from a GetV2ProjectsProjectNameTemplatesNameVersionWithResponse call
func (GetV2ProjectsProjectNameTemplatesNameVersionResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameTemplatesNameVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameTemplatesNameVersionResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameTemplatesNameVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameTemplatesNameVersionsParams ¶ added in v2.2.11
type GetV2ProjectsProjectNameTemplatesNameVersionsParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ProjectsProjectNameTemplatesNameVersionsParams defines parameters for GetV2ProjectsProjectNameTemplatesNameVersions.
type GetV2ProjectsProjectNameTemplatesNameVersionsResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameTemplatesNameVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VersionList
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameTemplatesNameVersionsResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameTemplatesNameVersionsResponse(rsp *http.Response) (*GetV2ProjectsProjectNameTemplatesNameVersionsResponse, error)
ParseGetV2ProjectsProjectNameTemplatesNameVersionsResponse parses an HTTP response from a GetV2ProjectsProjectNameTemplatesNameVersionsWithResponse call
func (GetV2ProjectsProjectNameTemplatesNameVersionsResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameTemplatesNameVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameTemplatesNameVersionsResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameTemplatesNameVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2ProjectsProjectNameTemplatesParams ¶ added in v2.2.11
type GetV2ProjectsProjectNameTemplatesParams struct {
// Default When set to true, gets only the default template information
Default *bool `form:"default,omitempty" json:"default,omitempty"`
// PageSize The maximum number of items to return.
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Offset Index of the first item to return.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// OrderBy The ordering of the entries.
OrderBy *string `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// Filter Filters the entries based on the filter provided.
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2ProjectsProjectNameTemplatesParams defines parameters for GetV2ProjectsProjectNameTemplates.
type GetV2ProjectsProjectNameTemplatesResponse ¶ added in v2.2.11
type GetV2ProjectsProjectNameTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplateInfoList
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2ProjectsProjectNameTemplatesResponse ¶ added in v2.2.11
func ParseGetV2ProjectsProjectNameTemplatesResponse(rsp *http.Response) (*GetV2ProjectsProjectNameTemplatesResponse, error)
ParseGetV2ProjectsProjectNameTemplatesResponse parses an HTTP response from a GetV2ProjectsProjectNameTemplatesWithResponse call
func (GetV2ProjectsProjectNameTemplatesResponse) Status ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2ProjectsProjectNameTemplatesResponse) StatusCode ¶ added in v2.2.11
func (r GetV2ProjectsProjectNameTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2Templates200JSONResponse ¶
type GetV2Templates200JSONResponse TemplateInfoList
func (GetV2Templates200JSONResponse) VisitGetV2TemplatesResponse ¶
func (response GetV2Templates200JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates400JSONResponse ¶
type GetV2Templates400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2Templates400JSONResponse) VisitGetV2TemplatesResponse ¶
func (response GetV2Templates400JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates404JSONResponse ¶
type GetV2Templates404JSONResponse struct{ N404NotFoundJSONResponse }
func (GetV2Templates404JSONResponse) VisitGetV2TemplatesResponse ¶
func (response GetV2Templates404JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2Templates500JSONResponse ¶
type GetV2Templates500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2Templates500JSONResponse) VisitGetV2TemplatesResponse ¶
func (response GetV2Templates500JSONResponse) VisitGetV2TemplatesResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersion200JSONResponse ¶
type GetV2TemplatesNameVersion200JSONResponse TemplateInfo
func (GetV2TemplatesNameVersion200JSONResponse) VisitGetV2TemplatesNameVersionResponse ¶
func (response GetV2TemplatesNameVersion200JSONResponse) VisitGetV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersion400JSONResponse ¶
type GetV2TemplatesNameVersion400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2TemplatesNameVersion400JSONResponse) VisitGetV2TemplatesNameVersionResponse ¶
func (response GetV2TemplatesNameVersion400JSONResponse) VisitGetV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersion404JSONResponse ¶
type GetV2TemplatesNameVersion404JSONResponse struct{ N404NotFoundJSONResponse }
func (GetV2TemplatesNameVersion404JSONResponse) VisitGetV2TemplatesNameVersionResponse ¶
func (response GetV2TemplatesNameVersion404JSONResponse) VisitGetV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersion500JSONResponse ¶
type GetV2TemplatesNameVersion500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2TemplatesNameVersion500JSONResponse) VisitGetV2TemplatesNameVersionResponse ¶
func (response GetV2TemplatesNameVersion500JSONResponse) VisitGetV2TemplatesNameVersionResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersionParams ¶
type GetV2TemplatesNameVersionParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2TemplatesNameVersionParams defines parameters for GetV2TemplatesNameVersion.
type GetV2TemplatesNameVersionRequestObject ¶
type GetV2TemplatesNameVersionRequestObject struct {
Name string `json:"name"`
Version string `json:"version"`
Params GetV2TemplatesNameVersionParams
}
type GetV2TemplatesNameVersionResponse ¶
type GetV2TemplatesNameVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplateInfo
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2TemplatesNameVersionResponse ¶
func ParseGetV2TemplatesNameVersionResponse(rsp *http.Response) (*GetV2TemplatesNameVersionResponse, error)
ParseGetV2TemplatesNameVersionResponse parses an HTTP response from a GetV2TemplatesNameVersionWithResponse call
func (GetV2TemplatesNameVersionResponse) Status ¶
func (r GetV2TemplatesNameVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2TemplatesNameVersionResponse) StatusCode ¶
func (r GetV2TemplatesNameVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2TemplatesNameVersionResponseObject ¶
type GetV2TemplatesNameVersionResponseObject interface {
VisitGetV2TemplatesNameVersionResponse(w http.ResponseWriter) error
}
type GetV2TemplatesNameVersions200JSONResponse ¶
type GetV2TemplatesNameVersions200JSONResponse VersionList
func (GetV2TemplatesNameVersions200JSONResponse) VisitGetV2TemplatesNameVersionsResponse ¶
func (response GetV2TemplatesNameVersions200JSONResponse) VisitGetV2TemplatesNameVersionsResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersions400JSONResponse ¶
type GetV2TemplatesNameVersions400JSONResponse struct{ N400BadRequestJSONResponse }
func (GetV2TemplatesNameVersions400JSONResponse) VisitGetV2TemplatesNameVersionsResponse ¶
func (response GetV2TemplatesNameVersions400JSONResponse) VisitGetV2TemplatesNameVersionsResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersions404JSONResponse ¶
type GetV2TemplatesNameVersions404JSONResponse struct{ N404NotFoundJSONResponse }
func (GetV2TemplatesNameVersions404JSONResponse) VisitGetV2TemplatesNameVersionsResponse ¶
func (response GetV2TemplatesNameVersions404JSONResponse) VisitGetV2TemplatesNameVersionsResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersions500JSONResponse ¶
type GetV2TemplatesNameVersions500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (GetV2TemplatesNameVersions500JSONResponse) VisitGetV2TemplatesNameVersionsResponse ¶
func (response GetV2TemplatesNameVersions500JSONResponse) VisitGetV2TemplatesNameVersionsResponse(w http.ResponseWriter) error
type GetV2TemplatesNameVersionsParams ¶
type GetV2TemplatesNameVersionsParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2TemplatesNameVersionsParams defines parameters for GetV2TemplatesNameVersions.
type GetV2TemplatesNameVersionsRequestObject ¶
type GetV2TemplatesNameVersionsRequestObject struct {
Name string `json:"name"`
Params GetV2TemplatesNameVersionsParams
}
type GetV2TemplatesNameVersionsResponse ¶
type GetV2TemplatesNameVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VersionList
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2TemplatesNameVersionsResponse ¶
func ParseGetV2TemplatesNameVersionsResponse(rsp *http.Response) (*GetV2TemplatesNameVersionsResponse, error)
ParseGetV2TemplatesNameVersionsResponse parses an HTTP response from a GetV2TemplatesNameVersionsWithResponse call
func (GetV2TemplatesNameVersionsResponse) Status ¶
func (r GetV2TemplatesNameVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2TemplatesNameVersionsResponse) StatusCode ¶
func (r GetV2TemplatesNameVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2TemplatesNameVersionsResponseObject ¶
type GetV2TemplatesNameVersionsResponseObject interface {
VisitGetV2TemplatesNameVersionsResponse(w http.ResponseWriter) error
}
type GetV2TemplatesParams ¶
type GetV2TemplatesParams struct {
// Default When set to true, gets only the default template information
Default *bool `form:"default,omitempty" json:"default,omitempty"`
// PageSize The maximum number of items to return.
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// Offset Index of the first item to return. It is almost always used in conjunction with the 'pageSize' query.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// OrderBy The ordering of the entries. "asc" and "desc" are valid values. If none is specified, "asc" is used.
OrderBy *string `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// Filter Filters the entries based on the filter provided.
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
GetV2TemplatesParams defines parameters for GetV2Templates.
type GetV2TemplatesRequestObject ¶
type GetV2TemplatesRequestObject struct {
Params GetV2TemplatesParams
}
type GetV2TemplatesResponse ¶
type GetV2TemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TemplateInfoList
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParseGetV2TemplatesResponse ¶
func ParseGetV2TemplatesResponse(rsp *http.Response) (*GetV2TemplatesResponse, error)
ParseGetV2TemplatesResponse parses an HTTP response from a GetV2TemplatesWithResponse call
func (GetV2TemplatesResponse) Status ¶
func (r GetV2TemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetV2TemplatesResponse) StatusCode ¶
func (r GetV2TemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV2TemplatesResponseObject ¶
type GetV2TemplatesResponseObject interface {
VisitGetV2TemplatesResponse(w http.ResponseWriter) error
}
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type KubeconfigInfo ¶
type KubeconfigInfo struct {
Id *string `json:"id,omitempty"`
Kubeconfig *string `json:"kubeconfig,omitempty"`
}
KubeconfigInfo defines model for KubeconfigInfo.
type N400BadRequest ¶
type N400BadRequest = ProblemDetails
N400BadRequest defines model for 400-BadRequest.
type N400BadRequestJSONResponse ¶
type N400BadRequestJSONResponse ProblemDetails
type N401Unauthorized ¶
type N401Unauthorized = ProblemDetails
N401Unauthorized defines model for 401-Unauthorized.
type N401UnauthorizedJSONResponse ¶
type N401UnauthorizedJSONResponse ProblemDetails
type N404NotFoundJSONResponse ¶
type N404NotFoundJSONResponse ProblemDetails
type N409ConflictJSONResponse ¶
type N409ConflictJSONResponse ProblemDetails
type N500InternalServerError ¶
type N500InternalServerError = ProblemDetails
N500InternalServerError defines model for 500-InternalServerError.
type N500InternalServerErrorJSONResponse ¶
type N500InternalServerErrorJSONResponse ProblemDetails
type N501NotImplemented ¶
type N501NotImplemented = ProblemDetails
N501NotImplemented defines model for 501-NotImplemented.
type N501NotImplementedJSONResponse ¶
type N501NotImplementedJSONResponse ProblemDetails
type NetworkRanges ¶
type NetworkRanges struct {
// CidrBlocks A list of CIDR blocks in valid CIDR notation.
CidrBlocks []string `json:"cidrBlocks"`
}
NetworkRanges defines model for NetworkRanges.
type NodeInfo ¶
type NodeInfo struct {
// Id Host resource id
Id *string `json:"id,omitempty"`
Role *string `json:"role,omitempty"`
Status *StatusInfo `json:"status,omitempty"`
}
NodeInfo defines model for NodeInfo.
type NodeSpec ¶
type NodeSpec struct {
// Id UUID of the host.
Id string `json:"id"`
Role NodeSpecRole `json:"role"`
}
NodeSpec defines model for NodeSpec.
type NodeSpecRole ¶
type NodeSpecRole string
NodeSpecRole defines model for NodeSpec.Role.
const ( All NodeSpecRole = "all" Controlplane NodeSpecRole = "controlplane" Worker NodeSpecRole = "worker" )
Defines values for NodeSpecRole.
type PostV2Clusters201JSONResponse ¶
type PostV2Clusters201JSONResponse string
func (PostV2Clusters201JSONResponse) VisitPostV2ClustersResponse ¶
func (response PostV2Clusters201JSONResponse) VisitPostV2ClustersResponse(w http.ResponseWriter) error
type PostV2Clusters400JSONResponse ¶
type PostV2Clusters400JSONResponse struct{ N400BadRequestJSONResponse }
func (PostV2Clusters400JSONResponse) VisitPostV2ClustersResponse ¶
func (response PostV2Clusters400JSONResponse) VisitPostV2ClustersResponse(w http.ResponseWriter) error
type PostV2Clusters500JSONResponse ¶
type PostV2Clusters500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (PostV2Clusters500JSONResponse) VisitPostV2ClustersResponse ¶
func (response PostV2Clusters500JSONResponse) VisitPostV2ClustersResponse(w http.ResponseWriter) error
type PostV2ClustersJSONRequestBody ¶
type PostV2ClustersJSONRequestBody = ClusterSpec
PostV2ClustersJSONRequestBody defines body for PostV2Clusters for application/json ContentType.
type PostV2ClustersParams ¶
type PostV2ClustersParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PostV2ClustersParams defines parameters for PostV2Clusters.
type PostV2ClustersRequestObject ¶
type PostV2ClustersRequestObject struct {
Params PostV2ClustersParams
Body *PostV2ClustersJSONRequestBody
}
type PostV2ClustersResponse ¶
type PostV2ClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *string
JSON400 *N400BadRequest
JSON500 *N500InternalServerError
}
func ParsePostV2ClustersResponse ¶
func ParsePostV2ClustersResponse(rsp *http.Response) (*PostV2ClustersResponse, error)
ParsePostV2ClustersResponse parses an HTTP response from a PostV2ClustersWithResponse call
func (PostV2ClustersResponse) Status ¶
func (r PostV2ClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2ClustersResponse) StatusCode ¶
func (r PostV2ClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2ClustersResponseObject ¶
type PostV2ClustersResponseObject interface {
VisitPostV2ClustersResponse(w http.ResponseWriter) error
}
type PostV2ProjectsProjectNameClustersJSONRequestBody ¶ added in v2.2.11
type PostV2ProjectsProjectNameClustersJSONRequestBody = ClusterSpec
PostV2ProjectsProjectNameClustersJSONRequestBody defines body for PostV2ProjectsProjectNameClusters for application/json ContentType.
type PostV2ProjectsProjectNameClustersResponse ¶ added in v2.2.11
type PostV2ProjectsProjectNameClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *string
JSON400 *N400BadRequest
JSON500 *N500InternalServerError
}
func ParsePostV2ProjectsProjectNameClustersResponse ¶ added in v2.2.11
func ParsePostV2ProjectsProjectNameClustersResponse(rsp *http.Response) (*PostV2ProjectsProjectNameClustersResponse, error)
ParsePostV2ProjectsProjectNameClustersResponse parses an HTTP response from a PostV2ProjectsProjectNameClustersWithResponse call
func (PostV2ProjectsProjectNameClustersResponse) Status ¶ added in v2.2.11
func (r PostV2ProjectsProjectNameClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2ProjectsProjectNameClustersResponse) StatusCode ¶ added in v2.2.11
func (r PostV2ProjectsProjectNameClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2ProjectsProjectNameTemplatesJSONRequestBody ¶ added in v2.2.11
type PostV2ProjectsProjectNameTemplatesJSONRequestBody = TemplateInfo
PostV2ProjectsProjectNameTemplatesJSONRequestBody defines body for PostV2ProjectsProjectNameTemplates for application/json ContentType.
type PostV2ProjectsProjectNameTemplatesParams ¶ added in v2.2.11
type PostV2ProjectsProjectNameTemplatesParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PostV2ProjectsProjectNameTemplatesParams defines parameters for PostV2ProjectsProjectNameTemplates.
type PostV2ProjectsProjectNameTemplatesResponse ¶ added in v2.2.11
type PostV2ProjectsProjectNameTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *string
JSON400 *N400BadRequest
JSON409 *N409Conflict
JSON500 *N500InternalServerError
}
func ParsePostV2ProjectsProjectNameTemplatesResponse ¶ added in v2.2.11
func ParsePostV2ProjectsProjectNameTemplatesResponse(rsp *http.Response) (*PostV2ProjectsProjectNameTemplatesResponse, error)
ParsePostV2ProjectsProjectNameTemplatesResponse parses an HTTP response from a PostV2ProjectsProjectNameTemplatesWithResponse call
func (PostV2ProjectsProjectNameTemplatesResponse) Status ¶ added in v2.2.11
func (r PostV2ProjectsProjectNameTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2ProjectsProjectNameTemplatesResponse) StatusCode ¶ added in v2.2.11
func (r PostV2ProjectsProjectNameTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2Templates201JSONResponse ¶
type PostV2Templates201JSONResponse string
func (PostV2Templates201JSONResponse) VisitPostV2TemplatesResponse ¶
func (response PostV2Templates201JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error
type PostV2Templates400JSONResponse ¶
type PostV2Templates400JSONResponse struct{ N400BadRequestJSONResponse }
func (PostV2Templates400JSONResponse) VisitPostV2TemplatesResponse ¶
func (response PostV2Templates400JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error
type PostV2Templates409JSONResponse ¶
type PostV2Templates409JSONResponse struct{ N409ConflictJSONResponse }
func (PostV2Templates409JSONResponse) VisitPostV2TemplatesResponse ¶
func (response PostV2Templates409JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error
type PostV2Templates500JSONResponse ¶
type PostV2Templates500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (PostV2Templates500JSONResponse) VisitPostV2TemplatesResponse ¶
func (response PostV2Templates500JSONResponse) VisitPostV2TemplatesResponse(w http.ResponseWriter) error
type PostV2TemplatesJSONRequestBody ¶
type PostV2TemplatesJSONRequestBody = TemplateInfo
PostV2TemplatesJSONRequestBody defines body for PostV2Templates for application/json ContentType.
type PostV2TemplatesParams ¶
type PostV2TemplatesParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PostV2TemplatesParams defines parameters for PostV2Templates.
type PostV2TemplatesRequestObject ¶
type PostV2TemplatesRequestObject struct {
Params PostV2TemplatesParams
Body *PostV2TemplatesJSONRequestBody
}
type PostV2TemplatesResponse ¶
type PostV2TemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *string
JSON400 *N400BadRequest
JSON409 *N409Conflict
JSON500 *N500InternalServerError
}
func ParsePostV2TemplatesResponse ¶
func ParsePostV2TemplatesResponse(rsp *http.Response) (*PostV2TemplatesResponse, error)
ParsePostV2TemplatesResponse parses an HTTP response from a PostV2TemplatesWithResponse call
func (PostV2TemplatesResponse) Status ¶
func (r PostV2TemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (PostV2TemplatesResponse) StatusCode ¶
func (r PostV2TemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV2TemplatesResponseObject ¶
type PostV2TemplatesResponseObject interface {
VisitPostV2TemplatesResponse(w http.ResponseWriter) error
}
type ProblemDetails ¶
type ProblemDetails struct {
// Message error message
Message *string `json:"message,omitempty"`
}
ProblemDetails defines model for ProblemDetails.
type ProjectNamePath ¶ added in v2.2.11
type ProjectNamePath = string
ProjectNamePath defines model for ProjectNamePath.
type PutV2ClustersNameLabels200Response ¶
type PutV2ClustersNameLabels200Response struct {
}
func (PutV2ClustersNameLabels200Response) VisitPutV2ClustersNameLabelsResponse ¶
func (response PutV2ClustersNameLabels200Response) VisitPutV2ClustersNameLabelsResponse(w http.ResponseWriter) error
type PutV2ClustersNameLabels400JSONResponse ¶
type PutV2ClustersNameLabels400JSONResponse struct{ N400BadRequestJSONResponse }
func (PutV2ClustersNameLabels400JSONResponse) VisitPutV2ClustersNameLabelsResponse ¶
func (response PutV2ClustersNameLabels400JSONResponse) VisitPutV2ClustersNameLabelsResponse(w http.ResponseWriter) error
type PutV2ClustersNameLabels404JSONResponse ¶
type PutV2ClustersNameLabels404JSONResponse struct{ N404NotFoundJSONResponse }
func (PutV2ClustersNameLabels404JSONResponse) VisitPutV2ClustersNameLabelsResponse ¶
func (response PutV2ClustersNameLabels404JSONResponse) VisitPutV2ClustersNameLabelsResponse(w http.ResponseWriter) error
type PutV2ClustersNameLabels500JSONResponse ¶
type PutV2ClustersNameLabels500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (PutV2ClustersNameLabels500JSONResponse) VisitPutV2ClustersNameLabelsResponse ¶
func (response PutV2ClustersNameLabels500JSONResponse) VisitPutV2ClustersNameLabelsResponse(w http.ResponseWriter) error
type PutV2ClustersNameLabelsJSONRequestBody ¶
type PutV2ClustersNameLabelsJSONRequestBody = ClusterLabels
PutV2ClustersNameLabelsJSONRequestBody defines body for PutV2ClustersNameLabels for application/json ContentType.
type PutV2ClustersNameLabelsParams ¶
type PutV2ClustersNameLabelsParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PutV2ClustersNameLabelsParams defines parameters for PutV2ClustersNameLabels.
type PutV2ClustersNameLabelsRequestObject ¶
type PutV2ClustersNameLabelsRequestObject struct {
Name string `json:"name"`
Params PutV2ClustersNameLabelsParams
Body *PutV2ClustersNameLabelsJSONRequestBody
}
type PutV2ClustersNameLabelsResponse ¶
type PutV2ClustersNameLabelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParsePutV2ClustersNameLabelsResponse ¶
func ParsePutV2ClustersNameLabelsResponse(rsp *http.Response) (*PutV2ClustersNameLabelsResponse, error)
ParsePutV2ClustersNameLabelsResponse parses an HTTP response from a PutV2ClustersNameLabelsWithResponse call
func (PutV2ClustersNameLabelsResponse) Status ¶
func (r PutV2ClustersNameLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ClustersNameLabelsResponse) StatusCode ¶
func (r PutV2ClustersNameLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2ClustersNameLabelsResponseObject ¶
type PutV2ClustersNameLabelsResponseObject interface {
VisitPutV2ClustersNameLabelsResponse(w http.ResponseWriter) error
}
type PutV2ClustersNameNodes200Response ¶
type PutV2ClustersNameNodes200Response struct {
}
func (PutV2ClustersNameNodes200Response) VisitPutV2ClustersNameNodesResponse ¶
func (response PutV2ClustersNameNodes200Response) VisitPutV2ClustersNameNodesResponse(w http.ResponseWriter) error
type PutV2ClustersNameNodes400JSONResponse ¶
type PutV2ClustersNameNodes400JSONResponse struct{ N400BadRequestJSONResponse }
func (PutV2ClustersNameNodes400JSONResponse) VisitPutV2ClustersNameNodesResponse ¶
func (response PutV2ClustersNameNodes400JSONResponse) VisitPutV2ClustersNameNodesResponse(w http.ResponseWriter) error
type PutV2ClustersNameNodes404JSONResponse ¶
type PutV2ClustersNameNodes404JSONResponse struct{ N404NotFoundJSONResponse }
func (PutV2ClustersNameNodes404JSONResponse) VisitPutV2ClustersNameNodesResponse ¶
func (response PutV2ClustersNameNodes404JSONResponse) VisitPutV2ClustersNameNodesResponse(w http.ResponseWriter) error
type PutV2ClustersNameNodes500JSONResponse ¶
type PutV2ClustersNameNodes500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (PutV2ClustersNameNodes500JSONResponse) VisitPutV2ClustersNameNodesResponse ¶
func (response PutV2ClustersNameNodes500JSONResponse) VisitPutV2ClustersNameNodesResponse(w http.ResponseWriter) error
type PutV2ClustersNameNodes501JSONResponse ¶ added in v2.2.11
type PutV2ClustersNameNodes501JSONResponse struct{ N501NotImplementedJSONResponse }
func (PutV2ClustersNameNodes501JSONResponse) VisitPutV2ClustersNameNodesResponse ¶ added in v2.2.11
func (response PutV2ClustersNameNodes501JSONResponse) VisitPutV2ClustersNameNodesResponse(w http.ResponseWriter) error
type PutV2ClustersNameNodesJSONBody ¶
type PutV2ClustersNameNodesJSONBody = []NodeSpec
PutV2ClustersNameNodesJSONBody defines parameters for PutV2ClustersNameNodes.
type PutV2ClustersNameNodesJSONRequestBody ¶
type PutV2ClustersNameNodesJSONRequestBody = PutV2ClustersNameNodesJSONBody
PutV2ClustersNameNodesJSONRequestBody defines body for PutV2ClustersNameNodes for application/json ContentType.
type PutV2ClustersNameNodesParams ¶
type PutV2ClustersNameNodesParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PutV2ClustersNameNodesParams defines parameters for PutV2ClustersNameNodes.
type PutV2ClustersNameNodesRequestObject ¶
type PutV2ClustersNameNodesRequestObject struct {
Name string `json:"name"`
Params PutV2ClustersNameNodesParams
Body *PutV2ClustersNameNodesJSONRequestBody
}
type PutV2ClustersNameNodesResponse ¶
type PutV2ClustersNameNodesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
JSON501 *N501NotImplemented
}
func ParsePutV2ClustersNameNodesResponse ¶
func ParsePutV2ClustersNameNodesResponse(rsp *http.Response) (*PutV2ClustersNameNodesResponse, error)
ParsePutV2ClustersNameNodesResponse parses an HTTP response from a PutV2ClustersNameNodesWithResponse call
func (PutV2ClustersNameNodesResponse) Status ¶
func (r PutV2ClustersNameNodesResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ClustersNameNodesResponse) StatusCode ¶
func (r PutV2ClustersNameNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2ClustersNameNodesResponseObject ¶
type PutV2ClustersNameNodesResponseObject interface {
VisitPutV2ClustersNameNodesResponse(w http.ResponseWriter) error
}
type PutV2ClustersNameTemplate202Response ¶
type PutV2ClustersNameTemplate202Response struct {
}
func (PutV2ClustersNameTemplate202Response) VisitPutV2ClustersNameTemplateResponse ¶
func (response PutV2ClustersNameTemplate202Response) VisitPutV2ClustersNameTemplateResponse(w http.ResponseWriter) error
type PutV2ClustersNameTemplate400JSONResponse ¶
type PutV2ClustersNameTemplate400JSONResponse struct{ N400BadRequestJSONResponse }
func (PutV2ClustersNameTemplate400JSONResponse) VisitPutV2ClustersNameTemplateResponse ¶
func (response PutV2ClustersNameTemplate400JSONResponse) VisitPutV2ClustersNameTemplateResponse(w http.ResponseWriter) error
type PutV2ClustersNameTemplate404JSONResponse ¶
type PutV2ClustersNameTemplate404JSONResponse struct{ N404NotFoundJSONResponse }
func (PutV2ClustersNameTemplate404JSONResponse) VisitPutV2ClustersNameTemplateResponse ¶
func (response PutV2ClustersNameTemplate404JSONResponse) VisitPutV2ClustersNameTemplateResponse(w http.ResponseWriter) error
type PutV2ClustersNameTemplate500JSONResponse ¶
type PutV2ClustersNameTemplate500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (PutV2ClustersNameTemplate500JSONResponse) VisitPutV2ClustersNameTemplateResponse ¶
func (response PutV2ClustersNameTemplate500JSONResponse) VisitPutV2ClustersNameTemplateResponse(w http.ResponseWriter) error
type PutV2ClustersNameTemplate501JSONResponse ¶
type PutV2ClustersNameTemplate501JSONResponse struct{ N501NotImplementedJSONResponse }
func (PutV2ClustersNameTemplate501JSONResponse) VisitPutV2ClustersNameTemplateResponse ¶
func (response PutV2ClustersNameTemplate501JSONResponse) VisitPutV2ClustersNameTemplateResponse(w http.ResponseWriter) error
type PutV2ClustersNameTemplateJSONRequestBody ¶
type PutV2ClustersNameTemplateJSONRequestBody = ClusterTemplateInfo
PutV2ClustersNameTemplateJSONRequestBody defines body for PutV2ClustersNameTemplate for application/json ContentType.
type PutV2ClustersNameTemplateParams ¶
type PutV2ClustersNameTemplateParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PutV2ClustersNameTemplateParams defines parameters for PutV2ClustersNameTemplate.
type PutV2ClustersNameTemplateRequestObject ¶
type PutV2ClustersNameTemplateRequestObject struct {
Name string `json:"name"`
Params PutV2ClustersNameTemplateParams
Body *PutV2ClustersNameTemplateJSONRequestBody
}
type PutV2ClustersNameTemplateResponse ¶
type PutV2ClustersNameTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
JSON501 *N501NotImplemented
}
func ParsePutV2ClustersNameTemplateResponse ¶
func ParsePutV2ClustersNameTemplateResponse(rsp *http.Response) (*PutV2ClustersNameTemplateResponse, error)
ParsePutV2ClustersNameTemplateResponse parses an HTTP response from a PutV2ClustersNameTemplateWithResponse call
func (PutV2ClustersNameTemplateResponse) Status ¶
func (r PutV2ClustersNameTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ClustersNameTemplateResponse) StatusCode ¶
func (r PutV2ClustersNameTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2ClustersNameTemplateResponseObject ¶
type PutV2ClustersNameTemplateResponseObject interface {
VisitPutV2ClustersNameTemplateResponse(w http.ResponseWriter) error
}
type PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody = ClusterLabels
PutV2ProjectsProjectNameClustersNameLabelsJSONRequestBody defines body for PutV2ProjectsProjectNameClustersNameLabels for application/json ContentType.
type PutV2ProjectsProjectNameClustersNameLabelsResponse ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameLabelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParsePutV2ProjectsProjectNameClustersNameLabelsResponse ¶ added in v2.2.11
func ParsePutV2ProjectsProjectNameClustersNameLabelsResponse(rsp *http.Response) (*PutV2ProjectsProjectNameClustersNameLabelsResponse, error)
ParsePutV2ProjectsProjectNameClustersNameLabelsResponse parses an HTTP response from a PutV2ProjectsProjectNameClustersNameLabelsWithResponse call
func (PutV2ProjectsProjectNameClustersNameLabelsResponse) Status ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameClustersNameLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ProjectsProjectNameClustersNameLabelsResponse) StatusCode ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameClustersNameLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2ProjectsProjectNameClustersNameNodesJSONBody ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameNodesJSONBody = []NodeSpec
PutV2ProjectsProjectNameClustersNameNodesJSONBody defines parameters for PutV2ProjectsProjectNameClustersNameNodes.
type PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody = PutV2ProjectsProjectNameClustersNameNodesJSONBody
PutV2ProjectsProjectNameClustersNameNodesJSONRequestBody defines body for PutV2ProjectsProjectNameClustersNameNodes for application/json ContentType.
type PutV2ProjectsProjectNameClustersNameNodesResponse ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameNodesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParsePutV2ProjectsProjectNameClustersNameNodesResponse ¶ added in v2.2.11
func ParsePutV2ProjectsProjectNameClustersNameNodesResponse(rsp *http.Response) (*PutV2ProjectsProjectNameClustersNameNodesResponse, error)
ParsePutV2ProjectsProjectNameClustersNameNodesResponse parses an HTTP response from a PutV2ProjectsProjectNameClustersNameNodesWithResponse call
func (PutV2ProjectsProjectNameClustersNameNodesResponse) Status ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameClustersNameNodesResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ProjectsProjectNameClustersNameNodesResponse) StatusCode ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameClustersNameNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody = ClusterTemplateInfo
PutV2ProjectsProjectNameClustersNameTemplateJSONRequestBody defines body for PutV2ProjectsProjectNameClustersNameTemplate for application/json ContentType.
type PutV2ProjectsProjectNameClustersNameTemplateResponse ¶ added in v2.2.11
type PutV2ProjectsProjectNameClustersNameTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
JSON501 *N501NotImplemented
}
func ParsePutV2ProjectsProjectNameClustersNameTemplateResponse ¶ added in v2.2.11
func ParsePutV2ProjectsProjectNameClustersNameTemplateResponse(rsp *http.Response) (*PutV2ProjectsProjectNameClustersNameTemplateResponse, error)
ParsePutV2ProjectsProjectNameClustersNameTemplateResponse parses an HTTP response from a PutV2ProjectsProjectNameClustersNameTemplateWithResponse call
func (PutV2ProjectsProjectNameClustersNameTemplateResponse) Status ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameClustersNameTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ProjectsProjectNameClustersNameTemplateResponse) StatusCode ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameClustersNameTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody ¶ added in v2.2.11
type PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody = DefaultTemplateInfo
PutV2ProjectsProjectNameTemplatesNameDefaultJSONRequestBody defines body for PutV2ProjectsProjectNameTemplatesNameDefault for application/json ContentType.
type PutV2ProjectsProjectNameTemplatesNameDefaultParams ¶ added in v2.2.11
type PutV2ProjectsProjectNameTemplatesNameDefaultParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PutV2ProjectsProjectNameTemplatesNameDefaultParams defines parameters for PutV2ProjectsProjectNameTemplatesNameDefault.
type PutV2ProjectsProjectNameTemplatesNameDefaultResponse ¶ added in v2.2.11
type PutV2ProjectsProjectNameTemplatesNameDefaultResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParsePutV2ProjectsProjectNameTemplatesNameDefaultResponse ¶ added in v2.2.11
func ParsePutV2ProjectsProjectNameTemplatesNameDefaultResponse(rsp *http.Response) (*PutV2ProjectsProjectNameTemplatesNameDefaultResponse, error)
ParsePutV2ProjectsProjectNameTemplatesNameDefaultResponse parses an HTTP response from a PutV2ProjectsProjectNameTemplatesNameDefaultWithResponse call
func (PutV2ProjectsProjectNameTemplatesNameDefaultResponse) Status ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameTemplatesNameDefaultResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2ProjectsProjectNameTemplatesNameDefaultResponse) StatusCode ¶ added in v2.2.11
func (r PutV2ProjectsProjectNameTemplatesNameDefaultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2TemplatesNameDefault200Response ¶
type PutV2TemplatesNameDefault200Response struct {
}
func (PutV2TemplatesNameDefault200Response) VisitPutV2TemplatesNameDefaultResponse ¶
func (response PutV2TemplatesNameDefault200Response) VisitPutV2TemplatesNameDefaultResponse(w http.ResponseWriter) error
type PutV2TemplatesNameDefault400JSONResponse ¶
type PutV2TemplatesNameDefault400JSONResponse struct{ N400BadRequestJSONResponse }
func (PutV2TemplatesNameDefault400JSONResponse) VisitPutV2TemplatesNameDefaultResponse ¶
func (response PutV2TemplatesNameDefault400JSONResponse) VisitPutV2TemplatesNameDefaultResponse(w http.ResponseWriter) error
type PutV2TemplatesNameDefault404JSONResponse ¶
type PutV2TemplatesNameDefault404JSONResponse struct{ N404NotFoundJSONResponse }
func (PutV2TemplatesNameDefault404JSONResponse) VisitPutV2TemplatesNameDefaultResponse ¶
func (response PutV2TemplatesNameDefault404JSONResponse) VisitPutV2TemplatesNameDefaultResponse(w http.ResponseWriter) error
type PutV2TemplatesNameDefault500JSONResponse ¶
type PutV2TemplatesNameDefault500JSONResponse struct {
N500InternalServerErrorJSONResponse
}
func (PutV2TemplatesNameDefault500JSONResponse) VisitPutV2TemplatesNameDefaultResponse ¶
func (response PutV2TemplatesNameDefault500JSONResponse) VisitPutV2TemplatesNameDefaultResponse(w http.ResponseWriter) error
type PutV2TemplatesNameDefaultJSONRequestBody ¶
type PutV2TemplatesNameDefaultJSONRequestBody = DefaultTemplateInfo
PutV2TemplatesNameDefaultJSONRequestBody defines body for PutV2TemplatesNameDefault for application/json ContentType.
type PutV2TemplatesNameDefaultParams ¶
type PutV2TemplatesNameDefaultParams struct {
Activeprojectid ActiveProjectIdHeader `json:"Activeprojectid"`
}
PutV2TemplatesNameDefaultParams defines parameters for PutV2TemplatesNameDefault.
type PutV2TemplatesNameDefaultRequestObject ¶
type PutV2TemplatesNameDefaultRequestObject struct {
Name string `json:"name"`
Params PutV2TemplatesNameDefaultParams
Body *PutV2TemplatesNameDefaultJSONRequestBody
}
type PutV2TemplatesNameDefaultResponse ¶
type PutV2TemplatesNameDefaultResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *N400BadRequest
JSON404 *N404NotFound
JSON500 *N500InternalServerError
}
func ParsePutV2TemplatesNameDefaultResponse ¶
func ParsePutV2TemplatesNameDefaultResponse(rsp *http.Response) (*PutV2TemplatesNameDefaultResponse, error)
ParsePutV2TemplatesNameDefaultResponse parses an HTTP response from a PutV2TemplatesNameDefaultWithResponse call
func (PutV2TemplatesNameDefaultResponse) Status ¶
func (r PutV2TemplatesNameDefaultResponse) Status() string
Status returns HTTPResponse.Status
func (PutV2TemplatesNameDefaultResponse) StatusCode ¶
func (r PutV2TemplatesNameDefaultResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV2TemplatesNameDefaultResponseObject ¶
type PutV2TemplatesNameDefaultResponseObject interface {
VisitPutV2TemplatesNameDefaultResponse(w http.ResponseWriter) error
}
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ServerInterface ¶
type ServerInterface interface {
// (GET /v2/clusters)
GetV2Clusters(w http.ResponseWriter, r *http.Request, params GetV2ClustersParams)
// (POST /v2/clusters)
PostV2Clusters(w http.ResponseWriter, r *http.Request, params PostV2ClustersParams)
// (GET /v2/clusters/summary)
GetV2ClustersSummary(w http.ResponseWriter, r *http.Request, params GetV2ClustersSummaryParams)
// (DELETE /v2/clusters/{name})
DeleteV2ClustersName(w http.ResponseWriter, r *http.Request, name string, params DeleteV2ClustersNameParams)
// (GET /v2/clusters/{name})
GetV2ClustersName(w http.ResponseWriter, r *http.Request, name string, params GetV2ClustersNameParams)
// (GET /v2/clusters/{name}/kubeconfigs)
GetV2ClustersNameKubeconfigs(w http.ResponseWriter, r *http.Request, name string, params GetV2ClustersNameKubeconfigsParams)
// (PUT /v2/clusters/{name}/labels)
PutV2ClustersNameLabels(w http.ResponseWriter, r *http.Request, name string, params PutV2ClustersNameLabelsParams)
// (PUT /v2/clusters/{name}/nodes)
PutV2ClustersNameNodes(w http.ResponseWriter, r *http.Request, name string, params PutV2ClustersNameNodesParams)
// (DELETE /v2/clusters/{name}/nodes/{nodeId})
DeleteV2ClustersNameNodesNodeId(w http.ResponseWriter, r *http.Request, name string, nodeId string, params DeleteV2ClustersNameNodesNodeIdParams)
// (PUT /v2/clusters/{name}/template)
PutV2ClustersNameTemplate(w http.ResponseWriter, r *http.Request, name string, params PutV2ClustersNameTemplateParams)
// (GET /v2/clusters/{nodeId}/clusterdetail)
GetV2ClustersNodeIdClusterdetail(w http.ResponseWriter, r *http.Request, nodeId string, params GetV2ClustersNodeIdClusterdetailParams)
// (GET /v2/healthz)
GetV2Healthz(w http.ResponseWriter, r *http.Request)
// (GET /v2/templates)
GetV2Templates(w http.ResponseWriter, r *http.Request, params GetV2TemplatesParams)
// (POST /v2/templates)
PostV2Templates(w http.ResponseWriter, r *http.Request, params PostV2TemplatesParams)
// (PUT /v2/templates/{name}/default)
PutV2TemplatesNameDefault(w http.ResponseWriter, r *http.Request, name string, params PutV2TemplatesNameDefaultParams)
// (GET /v2/templates/{name}/versions)
GetV2TemplatesNameVersions(w http.ResponseWriter, r *http.Request, name string, params GetV2TemplatesNameVersionsParams)
// (DELETE /v2/templates/{name}/{version})
DeleteV2TemplatesNameVersion(w http.ResponseWriter, r *http.Request, name string, version string, params DeleteV2TemplatesNameVersionParams)
// (GET /v2/templates/{name}/{version})
GetV2TemplatesNameVersion(w http.ResponseWriter, r *http.Request, name string, version string, params GetV2TemplatesNameVersionParams)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) DeleteV2ClustersName ¶
func (siw *ServerInterfaceWrapper) DeleteV2ClustersName(w http.ResponseWriter, r *http.Request)
DeleteV2ClustersName operation middleware
func (*ServerInterfaceWrapper) DeleteV2ClustersNameNodesNodeId ¶
func (siw *ServerInterfaceWrapper) DeleteV2ClustersNameNodesNodeId(w http.ResponseWriter, r *http.Request)
DeleteV2ClustersNameNodesNodeId operation middleware
func (*ServerInterfaceWrapper) DeleteV2TemplatesNameVersion ¶
func (siw *ServerInterfaceWrapper) DeleteV2TemplatesNameVersion(w http.ResponseWriter, r *http.Request)
DeleteV2TemplatesNameVersion operation middleware
func (*ServerInterfaceWrapper) GetV2Clusters ¶
func (siw *ServerInterfaceWrapper) GetV2Clusters(w http.ResponseWriter, r *http.Request)
GetV2Clusters operation middleware
func (*ServerInterfaceWrapper) GetV2ClustersName ¶
func (siw *ServerInterfaceWrapper) GetV2ClustersName(w http.ResponseWriter, r *http.Request)
GetV2ClustersName operation middleware
func (*ServerInterfaceWrapper) GetV2ClustersNameKubeconfigs ¶
func (siw *ServerInterfaceWrapper) GetV2ClustersNameKubeconfigs(w http.ResponseWriter, r *http.Request)
GetV2ClustersNameKubeconfigs operation middleware
func (*ServerInterfaceWrapper) GetV2ClustersNodeIdClusterdetail ¶
func (siw *ServerInterfaceWrapper) GetV2ClustersNodeIdClusterdetail(w http.ResponseWriter, r *http.Request)
GetV2ClustersNodeIdClusterdetail operation middleware
func (*ServerInterfaceWrapper) GetV2ClustersSummary ¶
func (siw *ServerInterfaceWrapper) GetV2ClustersSummary(w http.ResponseWriter, r *http.Request)
GetV2ClustersSummary operation middleware
func (*ServerInterfaceWrapper) GetV2Healthz ¶
func (siw *ServerInterfaceWrapper) GetV2Healthz(w http.ResponseWriter, r *http.Request)
GetV2Healthz operation middleware
func (*ServerInterfaceWrapper) GetV2Templates ¶
func (siw *ServerInterfaceWrapper) GetV2Templates(w http.ResponseWriter, r *http.Request)
GetV2Templates operation middleware
func (*ServerInterfaceWrapper) GetV2TemplatesNameVersion ¶
func (siw *ServerInterfaceWrapper) GetV2TemplatesNameVersion(w http.ResponseWriter, r *http.Request)
GetV2TemplatesNameVersion operation middleware
func (*ServerInterfaceWrapper) GetV2TemplatesNameVersions ¶
func (siw *ServerInterfaceWrapper) GetV2TemplatesNameVersions(w http.ResponseWriter, r *http.Request)
GetV2TemplatesNameVersions operation middleware
func (*ServerInterfaceWrapper) PostV2Clusters ¶
func (siw *ServerInterfaceWrapper) PostV2Clusters(w http.ResponseWriter, r *http.Request)
PostV2Clusters operation middleware
func (*ServerInterfaceWrapper) PostV2Templates ¶
func (siw *ServerInterfaceWrapper) PostV2Templates(w http.ResponseWriter, r *http.Request)
PostV2Templates operation middleware
func (*ServerInterfaceWrapper) PutV2ClustersNameLabels ¶
func (siw *ServerInterfaceWrapper) PutV2ClustersNameLabels(w http.ResponseWriter, r *http.Request)
PutV2ClustersNameLabels operation middleware
func (*ServerInterfaceWrapper) PutV2ClustersNameNodes ¶
func (siw *ServerInterfaceWrapper) PutV2ClustersNameNodes(w http.ResponseWriter, r *http.Request)
PutV2ClustersNameNodes operation middleware
func (*ServerInterfaceWrapper) PutV2ClustersNameTemplate ¶
func (siw *ServerInterfaceWrapper) PutV2ClustersNameTemplate(w http.ResponseWriter, r *http.Request)
PutV2ClustersNameTemplate operation middleware
func (*ServerInterfaceWrapper) PutV2TemplatesNameDefault ¶
func (siw *ServerInterfaceWrapper) PutV2TemplatesNameDefault(w http.ResponseWriter, r *http.Request)
PutV2TemplatesNameDefault operation middleware
type StatusIndicator ¶
type StatusIndicator string
StatusIndicator The status indicator.
const ( STATUSINDICATIONERROR StatusIndicator = "STATUS_INDICATION_ERROR" STATUSINDICATIONIDLE StatusIndicator = "STATUS_INDICATION_IDLE" STATUSINDICATIONINPROGRESS StatusIndicator = "STATUS_INDICATION_IN_PROGRESS" STATUSINDICATIONUNSPECIFIED StatusIndicator = "STATUS_INDICATION_UNSPECIFIED" )
Defines values for StatusIndicator.
type StatusInfo ¶
type StatusInfo struct {
Condition *StatusInfoCondition `json:"condition,omitempty"`
Reason *string `json:"reason,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
}
StatusInfo defines model for StatusInfo.
type StatusInfoCondition ¶
type StatusInfoCondition string
StatusInfoCondition defines model for StatusInfo.Condition.
const ( STATUSCONDITIONNOTREADY StatusInfoCondition = "STATUS_CONDITION_NOTREADY" STATUSCONDITIONPROVISIONING StatusInfoCondition = "STATUS_CONDITION_PROVISIONING" STATUSCONDITIONREADY StatusInfoCondition = "STATUS_CONDITION_READY" STATUSCONDITIONREMOVING StatusInfoCondition = "STATUS_CONDITION_REMOVING" STATUSCONDITIONUNKNOWN StatusInfoCondition = "STATUS_CONDITION_UNKNOWN" )
Defines values for StatusInfoCondition.
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter *http.ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// (GET /v2/clusters)
GetV2Clusters(ctx context.Context, request GetV2ClustersRequestObject) (GetV2ClustersResponseObject, error)
// (POST /v2/clusters)
PostV2Clusters(ctx context.Context, request PostV2ClustersRequestObject) (PostV2ClustersResponseObject, error)
// (GET /v2/clusters/summary)
GetV2ClustersSummary(ctx context.Context, request GetV2ClustersSummaryRequestObject) (GetV2ClustersSummaryResponseObject, error)
// (DELETE /v2/clusters/{name})
DeleteV2ClustersName(ctx context.Context, request DeleteV2ClustersNameRequestObject) (DeleteV2ClustersNameResponseObject, error)
// (GET /v2/clusters/{name})
GetV2ClustersName(ctx context.Context, request GetV2ClustersNameRequestObject) (GetV2ClustersNameResponseObject, error)
// (GET /v2/clusters/{name}/kubeconfigs)
GetV2ClustersNameKubeconfigs(ctx context.Context, request GetV2ClustersNameKubeconfigsRequestObject) (GetV2ClustersNameKubeconfigsResponseObject, error)
// (PUT /v2/clusters/{name}/labels)
PutV2ClustersNameLabels(ctx context.Context, request PutV2ClustersNameLabelsRequestObject) (PutV2ClustersNameLabelsResponseObject, error)
// (PUT /v2/clusters/{name}/nodes)
PutV2ClustersNameNodes(ctx context.Context, request PutV2ClustersNameNodesRequestObject) (PutV2ClustersNameNodesResponseObject, error)
// (DELETE /v2/clusters/{name}/nodes/{nodeId})
DeleteV2ClustersNameNodesNodeId(ctx context.Context, request DeleteV2ClustersNameNodesNodeIdRequestObject) (DeleteV2ClustersNameNodesNodeIdResponseObject, error)
// (PUT /v2/clusters/{name}/template)
PutV2ClustersNameTemplate(ctx context.Context, request PutV2ClustersNameTemplateRequestObject) (PutV2ClustersNameTemplateResponseObject, error)
// (GET /v2/clusters/{nodeId}/clusterdetail)
GetV2ClustersNodeIdClusterdetail(ctx context.Context, request GetV2ClustersNodeIdClusterdetailRequestObject) (GetV2ClustersNodeIdClusterdetailResponseObject, error)
// (GET /v2/healthz)
GetV2Healthz(ctx context.Context, request GetV2HealthzRequestObject) (GetV2HealthzResponseObject, error)
// (GET /v2/templates)
GetV2Templates(ctx context.Context, request GetV2TemplatesRequestObject) (GetV2TemplatesResponseObject, error)
// (POST /v2/templates)
PostV2Templates(ctx context.Context, request PostV2TemplatesRequestObject) (PostV2TemplatesResponseObject, error)
// (PUT /v2/templates/{name}/default)
PutV2TemplatesNameDefault(ctx context.Context, request PutV2TemplatesNameDefaultRequestObject) (PutV2TemplatesNameDefaultResponseObject, error)
// (GET /v2/templates/{name}/versions)
GetV2TemplatesNameVersions(ctx context.Context, request GetV2TemplatesNameVersionsRequestObject) (GetV2TemplatesNameVersionsResponseObject, error)
// (DELETE /v2/templates/{name}/{version})
DeleteV2TemplatesNameVersion(ctx context.Context, request DeleteV2TemplatesNameVersionRequestObject) (DeleteV2TemplatesNameVersionResponseObject, error)
// (GET /v2/templates/{name}/{version})
GetV2TemplatesNameVersion(ctx context.Context, request GetV2TemplatesNameVersionRequestObject) (GetV2TemplatesNameVersionResponseObject, error)
}
StrictServerInterface represents all server handlers.
type TemplateInfo ¶
type TemplateInfo struct {
// ClusterLabels Allows users to specify a list of key/value pairs to be attached to a cluster created with the template. These pairs need to conform to https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
ClusterLabels *map[string]string `json:"cluster-labels,omitempty"`
// ClusterNetwork Cluster network configuration, including pod and service CIDR blocks.
ClusterNetwork *ClusterNetwork `json:"clusterNetwork,omitempty"`
Clusterconfiguration *map[string]interface{} `json:"clusterconfiguration,omitempty"`
Controlplaneprovidertype *TemplateInfoControlplaneprovidertype `json:"controlplaneprovidertype,omitempty"`
Description *string `json:"description,omitempty"`
Infraprovidertype *TemplateInfoInfraprovidertype `json:"infraprovidertype,omitempty"`
KubernetesVersion string `json:"kubernetesVersion"`
Name string `json:"name"`
Version string `json:"version"`
}
TemplateInfo defines model for TemplateInfo.
type TemplateInfoControlplaneprovidertype ¶
type TemplateInfoControlplaneprovidertype string
TemplateInfoControlplaneprovidertype defines model for TemplateInfo.Controlplaneprovidertype.
const ( K3s TemplateInfoControlplaneprovidertype = "k3s" Kubeadm TemplateInfoControlplaneprovidertype = "kubeadm" )
Defines values for TemplateInfoControlplaneprovidertype.
type TemplateInfoInfraprovidertype ¶
type TemplateInfoInfraprovidertype string
TemplateInfoInfraprovidertype defines model for TemplateInfo.Infraprovidertype.
const ( Docker TemplateInfoInfraprovidertype = "docker" Intel TemplateInfoInfraprovidertype = "intel" )
Defines values for TemplateInfoInfraprovidertype.
type TemplateInfoList ¶
type TemplateInfoList struct {
DefaultTemplateInfo *DefaultTemplateInfo `json:"defaultTemplateInfo,omitempty"`
TemplateInfoList *[]TemplateInfo `json:"templateInfoList,omitempty"`
// TotalElements The count of items in the entire list, regardless of pagination.
TotalElements *int32 `json:"totalElements,omitempty"`
}
TemplateInfoList defines model for TemplateInfoList.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type VersionList ¶
type VersionList struct {
VersionList *[]string `json:"versionList,omitempty"`
}
VersionList defines model for VersionList.