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 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 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 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 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) 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) 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) 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) 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) 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) 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) 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) 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 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 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 PostV2Templates201JSONResponse
- type PostV2Templates400JSONResponse
- type PostV2Templates409JSONResponse
- type PostV2Templates500JSONResponse
- type PostV2TemplatesJSONRequestBody
- type PostV2TemplatesParams
- type PostV2TemplatesRequestObject
- type PostV2TemplatesResponse
- type PostV2TemplatesResponseObject
- type ProblemDetails
- 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 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 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 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 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 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 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) 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) 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) 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) 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)
// 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) 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) 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) 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) 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)
// 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 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 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 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 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 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
}
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 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.