Documentation ¶
Overview ¶
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewGetApiV1ApplicationsRequest(server string) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationNameClustersRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationNameProjectsRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error)
- func NewGetApiV1RegionsRegionNameFlavorsRequest(server string, regionName RegionNameParameter) (*http.Request, error)
- func NewGetApiV1RegionsRegionNameImagesRequest(server string, regionName RegionNameParameter) (*http.Request, error)
- func NewGetApiV1RegionsRequest(server string) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationNameProjectsRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationNameProjectsRequestWithBody(server string, organizationName OrganizationNameParameter, contentType string, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody(server string, organizationName OrganizationNameParameter, ...) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type Application
- type ApplicationDependencies
- type ApplicationDependency
- type ApplicationRecommends
- type ApplicationResponse
- type ApplicationTags
- type ApplicationVersion
- type ApplicationVersions
- type Applications
- type BadRequestResponse
- type ChiServerOptions
- type Client
- func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1Applications(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationNameClusters(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationNameProjects(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1Regions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1RegionsRegionNameFlavors(ctx context.Context, regionName RegionNameParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1RegionsRegionNameImages(ctx context.Context, regionName RegionNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationNameProjects(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsWithBody(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse, error)
- func (c *ClientWithResponses) GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*GetApiV1OrganizationsOrganizationNameProjectsResponse, error)
- func (c *ClientWithResponses) GetApiV1RegionsRegionNameFlavorsWithResponse(ctx context.Context, regionName RegionNameParameter, ...) (*GetApiV1RegionsRegionNameFlavorsResponse, error)
- func (c *ClientWithResponses) GetApiV1RegionsRegionNameImagesWithResponse(ctx context.Context, regionName RegionNameParameter, ...) (*GetApiV1RegionsRegionNameImagesResponse, error)
- func (c *ClientWithResponses) GetApiV1RegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1RegionsResponse, error)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, ...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, ...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, ...) (...)
- type ClientWithResponsesInterface
- type ClusterManager
- type ClusterManagerMetadata
- type ClusterManagerNameParameter
- type ClusterManagerSpec
- type ClusterManagers
- type ClusterManagersResponse
- type ClusterNameParameter
- type ConflictResponse
- type CreateControlPlaneRequest
- type CreateKubernetesClusterRequest
- type CreateProjectRequest
- type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse
- type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse
- type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse
- type Flavor
- type Flavors
- type FlavorsResponse
- type ForbiddenResponse
- type GetApiV1ApplicationsResponse
- type GetApiV1OrganizationsOrganizationNameClustermanagersResponse
- type GetApiV1OrganizationsOrganizationNameClustersResponse
- type GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse
- type GetApiV1OrganizationsOrganizationNameProjectsResponse
- type GetApiV1RegionsRegionNameFlavorsResponse
- type GetApiV1RegionsRegionNameImagesResponse
- type GetApiV1RegionsResponse
- type HttpRequestDoer
- type Image
- type ImageVersions
- type Images
- type ImagesResponse
- type InternalServerErrorResponse
- type InvalidParamFormatError
- type KubernetesCluster
- type KubernetesClusterAutoscaling
- type KubernetesClusterMetadata
- type KubernetesClusterSpec
- type KubernetesClusterWorkloadPool
- type KubernetesClusterWorkloadPools
- type KubernetesClusters
- type KubernetesClustersResponse
- type KubernetesNameParameter
- type MachinePool
- type MiddlewareFunc
- type NotFoundResponse
- type Oauth2Error
- type Oauth2ErrorError
- type OrganizationNameParameter
- type PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody
- type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody
- type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse
- type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody
- type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse
- type PostApiV1OrganizationsOrganizationNameProjectsResponse
- type Project
- type ProjectMetadata
- type ProjectNameParameter
- type ProjectSpec
- type Projects
- type ProjectsResponse
- type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody
- type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse
- type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody
- type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse
- type Region
- type RegionNameParameter
- type Regions
- type RegionsResponse
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1Applications(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClustermanagers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjects(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1Regions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1RegionsRegionNameFlavors(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1RegionsRegionNameImages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjects(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request)
- type TooManyValuesForParamError
- type UnauthorizedResponse
- type UnescapedCookieParamError
- type UnmarshallingParamError
- type Volume
Constants ¶
const (
Oauth2AuthenticationScopes = "oauth2Authentication.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, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest ¶ added in v0.1.9
func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter) (*http.Request, error)
NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest generates requests for DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName
func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest ¶ added in v0.1.9
func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) (*http.Request, error)
NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest generates requests for DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName
func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameRequest ¶ added in v0.1.9
func NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter) (*http.Request, error)
NewDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameRequest generates requests for DeleteApiV1OrganizationsOrganizationNameProjectsProjectName
func NewGetApiV1ApplicationsRequest ¶
NewGetApiV1ApplicationsRequest generates requests for GetApiV1Applications
func NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest ¶ added in v0.1.9
func NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationNameClustermanagersRequest generates requests for GetApiV1OrganizationsOrganizationNameClustermanagers
func NewGetApiV1OrganizationsOrganizationNameClustersRequest ¶ added in v0.1.9
func NewGetApiV1OrganizationsOrganizationNameClustersRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationNameClustersRequest generates requests for GetApiV1OrganizationsOrganizationNameClusters
func NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest ¶ added in v0.1.9
func NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigRequest generates requests for GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig
func NewGetApiV1OrganizationsOrganizationNameProjectsRequest ¶ added in v0.1.9
func NewGetApiV1OrganizationsOrganizationNameProjectsRequest(server string, organizationName OrganizationNameParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationNameProjectsRequest generates requests for GetApiV1OrganizationsOrganizationNameProjects
func NewGetApiV1RegionsRegionNameFlavorsRequest ¶
func NewGetApiV1RegionsRegionNameFlavorsRequest(server string, regionName RegionNameParameter) (*http.Request, error)
NewGetApiV1RegionsRegionNameFlavorsRequest generates requests for GetApiV1RegionsRegionNameFlavors
func NewGetApiV1RegionsRegionNameImagesRequest ¶
func NewGetApiV1RegionsRegionNameImagesRequest(server string, regionName RegionNameParameter) (*http.Request, error)
NewGetApiV1RegionsRegionNameImagesRequest generates requests for GetApiV1RegionsRegionNameImages
func NewGetApiV1RegionsRequest ¶
NewGetApiV1RegionsRequest generates requests for GetApiV1Regions
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest ¶ added in v0.1.9
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequest calls the generic PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers builder with application/json body
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody ¶ added in v0.1.9
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers with any type of body
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest ¶ added in v0.1.9
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequest calls the generic PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters builder with application/json body
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody ¶ added in v0.1.9
func NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters with any type of body
func NewPostApiV1OrganizationsOrganizationNameProjectsRequest ¶ added in v0.1.9
func NewPostApiV1OrganizationsOrganizationNameProjectsRequest(server string, organizationName OrganizationNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationNameProjectsRequest calls the generic PostApiV1OrganizationsOrganizationNameProjects builder with application/json body
func NewPostApiV1OrganizationsOrganizationNameProjectsRequestWithBody ¶ added in v0.1.9
func NewPostApiV1OrganizationsOrganizationNameProjectsRequestWithBody(server string, organizationName OrganizationNameParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationNameProjectsRequestWithBody generates requests for PostApiV1OrganizationsOrganizationNameProjects with any type of body
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest ¶ added in v0.1.9
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequest calls the generic PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName builder with application/json body
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody ¶ added in v0.1.9
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameRequestWithBody generates requests for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName with any type of body
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest ¶ added in v0.1.9
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequest calls the generic PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName builder with application/json body
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody ¶ added in v0.1.9
func NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody(server string, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameRequestWithBody generates requests for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName with any type of body
Types ¶
type Application ¶
type Application struct { // Description Verbose description of what the application provides. Description string `json:"description"` // Documentation Documentation link for the application. Documentation string `json:"documentation"` // HumanReadableName Human readable application name. HumanReadableName string `json:"humanReadableName"` // Icon A base64 encoded SVG icon. This should work in both light and dark themes. Icon []byte `json:"icon"` // License The license under which the application is released. License string `json:"license"` // Name Unique application name. Name string `json:"name"` // Tags A set of tags for filtering applications. Tags *ApplicationTags `json:"tags,omitempty"` // Versions A set of application versions. Versions ApplicationVersions `json:"versions"` }
Application An application.
type ApplicationDependencies ¶
type ApplicationDependencies = []ApplicationDependency
ApplicationDependencies A set of applications that will be installed before this application.
type ApplicationDependency ¶
type ApplicationDependency struct { // Name The application name. Name string `json:"name"` }
ApplicationDependency An application dependency.
type ApplicationRecommends ¶
type ApplicationRecommends = []ApplicationDependency
ApplicationRecommends A set of recommended application that may be installed after this application.
type ApplicationResponse ¶
type ApplicationResponse = Applications
ApplicationResponse A list of appications.
type ApplicationTags ¶
type ApplicationTags = []string
ApplicationTags A set of tags for filtering applications.
type ApplicationVersion ¶
type ApplicationVersion struct { // Dependencies A set of applications that will be installed before this application. Dependencies *ApplicationDependencies `json:"dependencies,omitempty"` // Recommends A set of recommended application that may be installed after this application. Recommends *ApplicationRecommends `json:"recommends,omitempty"` // Version The application's Helm chart version. Version string `json:"version"` }
ApplicationVersion An application version.
type ApplicationVersions ¶
type ApplicationVersions = []ApplicationVersion
ApplicationVersions A set of application versions.
type BadRequestResponse ¶
type BadRequestResponse = Oauth2Error
BadRequestResponse Generic error message.
type ChiServerOptions ¶
type ChiServerOptions struct { BaseURL string BaseRouter chi.Router Middlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
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) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName ¶ added in v0.1.9
func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName ¶ added in v0.1.9
func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName ¶ added in v0.1.9
func (c *Client) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1Applications ¶
func (*Client) GetApiV1OrganizationsOrganizationNameClustermanagers ¶ added in v0.1.9
func (c *Client) GetApiV1OrganizationsOrganizationNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationNameClusters ¶ added in v0.1.9
func (c *Client) GetApiV1OrganizationsOrganizationNameClusters(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationNameProjects ¶ added in v0.1.9
func (c *Client) GetApiV1OrganizationsOrganizationNameProjects(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig ¶ added in v0.1.9
func (c *Client) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1Regions ¶
func (*Client) GetApiV1RegionsRegionNameFlavors ¶
func (c *Client) GetApiV1RegionsRegionNameFlavors(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1RegionsRegionNameImages ¶
func (c *Client) GetApiV1RegionsRegionNameImages(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationNameProjects ¶ added in v0.1.9
func (c *Client) PostApiV1OrganizationsOrganizationNameProjects(ctx context.Context, organizationName OrganizationNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers ¶ added in v0.1.9
func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody ¶ added in v0.1.9
func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters ¶ added in v0.1.9
func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody ¶ added in v0.1.9
func (c *Client) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationNameProjectsWithBody ¶ added in v0.1.9
func (*Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName ¶ added in v0.1.9
func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody ¶ added in v0.1.9
func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName ¶ added in v0.1.9
func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody ¶ added in v0.1.9
func (c *Client) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetApiV1Applications request GetApiV1Applications(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1OrganizationsOrganizationNameClustermanagers request GetApiV1OrganizationsOrganizationNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1OrganizationsOrganizationNameClusters request GetApiV1OrganizationsOrganizationNameClusters(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1OrganizationsOrganizationNameProjects request GetApiV1OrganizationsOrganizationNameProjects(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PostApiV1OrganizationsOrganizationNameProjects request with any body PostApiV1OrganizationsOrganizationNameProjectsWithBody(ctx context.Context, organizationName OrganizationNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostApiV1OrganizationsOrganizationNameProjects(ctx context.Context, organizationName OrganizationNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiV1OrganizationsOrganizationNameProjectsProjectName request DeleteApiV1OrganizationsOrganizationNameProjectsProjectName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers request with any body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request with any body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters request with any body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request with any body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBody(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig request GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1Regions request GetApiV1Regions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1RegionsRegionNameFlavors request GetApiV1RegionsRegionNameFlavors(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1RegionsRegionNameImages request GetApiV1RegionsRegionNameImages(ctx context.Context, regionName RegionNameParameter, 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) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error)
DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse request returning *DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse
func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error)
DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse request returning *DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse
func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse, error)
DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameWithResponse request returning *DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse
func (*ClientWithResponses) GetApiV1ApplicationsWithResponse ¶
func (c *ClientWithResponses) GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error)
GetApiV1ApplicationsWithResponse request returning *GetApiV1ApplicationsResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error)
GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse request returning *GetApiV1OrganizationsOrganizationNameClustermanagersResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustersWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error)
GetApiV1OrganizationsOrganizationNameClustersWithResponse request returning *GetApiV1OrganizationsOrganizationNameClustersResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse, error)
GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse request returning *GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationNameProjectsWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameProjectsResponse, error)
GetApiV1OrganizationsOrganizationNameProjectsWithResponse request returning *GetApiV1OrganizationsOrganizationNameProjectsResponse
func (*ClientWithResponses) GetApiV1RegionsRegionNameFlavorsWithResponse ¶
func (c *ClientWithResponses) GetApiV1RegionsRegionNameFlavorsWithResponse(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1RegionsRegionNameFlavorsResponse, error)
GetApiV1RegionsRegionNameFlavorsWithResponse request returning *GetApiV1RegionsRegionNameFlavorsResponse
func (*ClientWithResponses) GetApiV1RegionsRegionNameImagesWithResponse ¶
func (c *ClientWithResponses) GetApiV1RegionsRegionNameImagesWithResponse(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1RegionsRegionNameImagesResponse, error)
GetApiV1RegionsRegionNameImagesWithResponse request returning *GetApiV1RegionsRegionNameImagesResponse
func (*ClientWithResponses) GetApiV1RegionsWithResponse ¶
func (c *ClientWithResponses) GetApiV1RegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1RegionsResponse, error)
GetApiV1RegionsWithResponse request returning *GetApiV1RegionsResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error)
PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error)
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error)
PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error)
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsWithBodyWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error)
PostApiV1OrganizationsOrganizationNameProjectsWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationNameProjectsResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationNameProjectsWithResponse(ctx context.Context, organizationName OrganizationNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error)
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error)
PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error)
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error)
PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse ¶ added in v0.1.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetApiV1Applications request GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error) // GetApiV1OrganizationsOrganizationNameClustermanagers request GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error) // GetApiV1OrganizationsOrganizationNameClusters request GetApiV1OrganizationsOrganizationNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error) // GetApiV1OrganizationsOrganizationNameProjects request GetApiV1OrganizationsOrganizationNameProjectsWithResponse(ctx context.Context, organizationName OrganizationNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameProjectsResponse, error) // PostApiV1OrganizationsOrganizationNameProjects request with any body PostApiV1OrganizationsOrganizationNameProjectsWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error) PostApiV1OrganizationsOrganizationNameProjectsWithResponse(ctx context.Context, organizationName OrganizationNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error) // DeleteApiV1OrganizationsOrganizationNameProjectsProjectName request DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse, error) // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers request with any body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error) // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName request with any body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error) // PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters request with any body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, body PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error) // DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) // PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName request with any body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithBodyWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, body PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error) // GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig request GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse(ctx context.Context, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse, error) // GetApiV1Regions request GetApiV1RegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1RegionsResponse, error) // GetApiV1RegionsRegionNameFlavors request GetApiV1RegionsRegionNameFlavorsWithResponse(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1RegionsRegionNameFlavorsResponse, error) // GetApiV1RegionsRegionNameImages request GetApiV1RegionsRegionNameImagesWithResponse(ctx context.Context, regionName RegionNameParameter, reqEditors ...RequestEditorFn) (*GetApiV1RegionsRegionNameImagesResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClusterManager ¶ added in v0.1.8
type ClusterManager struct { // Metadata Required metadata for cluster managers. Metadata ClusterManagerMetadata `json:"metadata"` // Spec A cluster manager. Spec ClusterManagerSpec `json:"spec"` }
ClusterManager A cluster manager.
type ClusterManagerMetadata ¶ added in v0.1.11
type ClusterManagerMetadata struct { // CreationTime The time the resource was created. CreationTime time.Time `json:"creationTime"` // DeletionTime The time the resource was deleted. DeletionTime *time.Time `json:"deletionTime,omitempty"` // Project Where the resource is related to a project, this is populated. Project string `json:"project"` // Status The current status of the resource. Intially the status will be "Unknown" until // the resource is reconciled by the relevant controller. It then will transition to // "Provisioning" and will be ready for use when it changes to "Provisioned". The status // will also transition to the "Provisioning" status during an update. The // status will change to "Deprovisioning" when a delete request is being processed. // It may also change to "Error" if an unexpected error occurred during any operation. // Errors may be transient. Status string `json:"status"` }
ClusterManagerMetadata Required metadata for cluster managers.
type ClusterManagerNameParameter ¶ added in v0.1.8
type ClusterManagerNameParameter = KubernetesNameParameter
ClusterManagerNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type ClusterManagerSpec ¶ added in v0.1.11
type ClusterManagerSpec struct { // Name The name of the resource. Name string `json:"name"` }
ClusterManagerSpec A cluster manager.
type ClusterManagers ¶ added in v0.1.8
type ClusterManagers = []ClusterManager
ClusterManagers A list of cluster managers.
type ClusterManagersResponse ¶ added in v0.1.8
type ClusterManagersResponse = ClusterManagers
ClusterManagersResponse A list of cluster managers.
type ClusterNameParameter ¶
type ClusterNameParameter = KubernetesNameParameter
ClusterNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type CreateControlPlaneRequest ¶
type CreateControlPlaneRequest = ClusterManagerSpec
CreateControlPlaneRequest A cluster manager.
type CreateKubernetesClusterRequest ¶
type CreateKubernetesClusterRequest = KubernetesClusterSpec
CreateKubernetesClusterRequest Kubernetes cluster creation parameters.
type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse ¶ added in v0.1.9
type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse ¶ added in v0.1.9
func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error)
ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse call
func (DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) Status ¶ added in v0.1.9
func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) StatusCode ¶ added in v0.1.9
func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse ¶ added in v0.1.9
type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse ¶ added in v0.1.9
func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error)
ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse call
func (DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) Status ¶ added in v0.1.9
func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) StatusCode ¶ added in v0.1.9
func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse ¶ added in v0.1.9
type DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse ¶ added in v0.1.9
func ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse, error)
ParseDeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameWithResponse call
func (DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse) Status ¶ added in v0.1.9
func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse) StatusCode ¶ added in v0.1.9
func (r DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Flavor ¶ added in v0.1.8
type Flavor struct { // Cpus The number of CPUs. Cpus int `json:"cpus"` // Disk The amount of ephemeral disk in GB. Disk int `json:"disk"` // Gpus The number of GPUs, if not set there are none. Gpus *int `json:"gpus,omitempty"` // Id The unique flavor ID. Id string `json:"id"` // Memory The amount of memory in GiB. Memory int `json:"memory"` // Name The flavor name. Name string `json:"name"` }
Flavor A flavor.
type FlavorsResponse ¶ added in v0.1.8
type FlavorsResponse = Flavors
FlavorsResponse A list of flavors.
type ForbiddenResponse ¶
type ForbiddenResponse = Oauth2Error
ForbiddenResponse Generic error message.
type GetApiV1ApplicationsResponse ¶
type GetApiV1ApplicationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Applications JSON400 *Oauth2Error JSON401 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1ApplicationsResponse ¶
func ParseGetApiV1ApplicationsResponse(rsp *http.Response) (*GetApiV1ApplicationsResponse, error)
ParseGetApiV1ApplicationsResponse parses an HTTP response from a GetApiV1ApplicationsWithResponse call
func (GetApiV1ApplicationsResponse) Status ¶
func (r GetApiV1ApplicationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1ApplicationsResponse) StatusCode ¶
func (r GetApiV1ApplicationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationNameClustermanagersResponse ¶ added in v0.1.9
type GetApiV1OrganizationsOrganizationNameClustermanagersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ClusterManagers JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse ¶ added in v0.1.9
func ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameClustermanagersResponse, error)
ParseGetApiV1OrganizationsOrganizationNameClustermanagersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameClustermanagersWithResponse call
func (GetApiV1OrganizationsOrganizationNameClustermanagersResponse) Status ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameClustermanagersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationNameClustermanagersResponse) StatusCode ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameClustermanagersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationNameClustersResponse ¶ added in v0.1.9
type GetApiV1OrganizationsOrganizationNameClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *KubernetesClusters JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationNameClustersResponse ¶ added in v0.1.9
func ParseGetApiV1OrganizationsOrganizationNameClustersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameClustersResponse, error)
ParseGetApiV1OrganizationsOrganizationNameClustersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameClustersWithResponse call
func (GetApiV1OrganizationsOrganizationNameClustersResponse) Status ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationNameClustersResponse) StatusCode ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse ¶ added in v0.1.9
type GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse ¶ added in v0.1.9
func ParseGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse, error)
ParseGetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigWithResponse call
func (GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse) Status ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse) StatusCode ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationNameProjectsResponse ¶ added in v0.1.9
type GetApiV1OrganizationsOrganizationNameProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Projects JSON401 *Oauth2Error JSON403 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationNameProjectsResponse ¶ added in v0.1.9
func ParseGetApiV1OrganizationsOrganizationNameProjectsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationNameProjectsResponse, error)
ParseGetApiV1OrganizationsOrganizationNameProjectsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationNameProjectsWithResponse call
func (GetApiV1OrganizationsOrganizationNameProjectsResponse) Status ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationNameProjectsResponse) StatusCode ¶ added in v0.1.9
func (r GetApiV1OrganizationsOrganizationNameProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1RegionsRegionNameFlavorsResponse ¶
type GetApiV1RegionsRegionNameFlavorsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Flavors JSON400 *Oauth2Error JSON401 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1RegionsRegionNameFlavorsResponse ¶
func ParseGetApiV1RegionsRegionNameFlavorsResponse(rsp *http.Response) (*GetApiV1RegionsRegionNameFlavorsResponse, error)
ParseGetApiV1RegionsRegionNameFlavorsResponse parses an HTTP response from a GetApiV1RegionsRegionNameFlavorsWithResponse call
func (GetApiV1RegionsRegionNameFlavorsResponse) Status ¶
func (r GetApiV1RegionsRegionNameFlavorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1RegionsRegionNameFlavorsResponse) StatusCode ¶
func (r GetApiV1RegionsRegionNameFlavorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1RegionsRegionNameImagesResponse ¶
type GetApiV1RegionsRegionNameImagesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Images JSON400 *Oauth2Error JSON401 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1RegionsRegionNameImagesResponse ¶
func ParseGetApiV1RegionsRegionNameImagesResponse(rsp *http.Response) (*GetApiV1RegionsRegionNameImagesResponse, error)
ParseGetApiV1RegionsRegionNameImagesResponse parses an HTTP response from a GetApiV1RegionsRegionNameImagesWithResponse call
func (GetApiV1RegionsRegionNameImagesResponse) Status ¶
func (r GetApiV1RegionsRegionNameImagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1RegionsRegionNameImagesResponse) StatusCode ¶
func (r GetApiV1RegionsRegionNameImagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1RegionsResponse ¶
type GetApiV1RegionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Regions JSON401 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1RegionsResponse ¶
func ParseGetApiV1RegionsResponse(rsp *http.Response) (*GetApiV1RegionsResponse, error)
ParseGetApiV1RegionsResponse parses an HTTP response from a GetApiV1RegionsWithResponse call
func (GetApiV1RegionsResponse) Status ¶
func (r GetApiV1RegionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1RegionsResponse) StatusCode ¶
func (r GetApiV1RegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Image ¶ added in v0.1.8
type Image struct { // Created Time when the image was created. Images with a newer creation time should // be favoured over older images as they will contain updates and fewer vulnerabilities. Created time.Time `json:"created"` // Id The unique image ID. Id string `json:"id"` // Modified Time when the image was last modified. Modified time.Time `json:"modified"` // Name The image name. Name string `json:"name"` // Versions Image version metadata. Versions ImageVersions `json:"versions"` }
Image An image.
type ImageVersions ¶ added in v0.1.8
type ImageVersions struct { // Kubernetes The kubernetes semantic version. This should be used directly when specifying // Kubernetes cluster managers and workload pools in a cluster specification. Kubernetes string `json:"kubernetes"` // NvidiaDriver The nvidia driver version. NvidiaDriver string `json:"nvidiaDriver"` }
ImageVersions Image version metadata.
type Images ¶ added in v0.1.8
type Images = []Image
Images A list of images that are compatible with this platform.
type ImagesResponse ¶ added in v0.1.8
type ImagesResponse = Images
ImagesResponse A list of images that are compatible with this platform.
type InternalServerErrorResponse ¶
type InternalServerErrorResponse = Oauth2Error
InternalServerErrorResponse Generic error message.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type KubernetesCluster ¶
type KubernetesCluster struct { // Metadata Required metadata for clusters. Metadata KubernetesClusterMetadata `json:"metadata"` // Spec Kubernetes cluster creation parameters. Spec KubernetesClusterSpec `json:"spec"` }
KubernetesCluster Kubernetes cluster read.
type KubernetesClusterAutoscaling ¶
type KubernetesClusterAutoscaling struct { // MinimumReplicas The minimum number of replicas to allow. Must be less than the maximum. MinimumReplicas int `json:"minimumReplicas"` }
KubernetesClusterAutoscaling A Kubernetes cluster workload pool autoscaling configuration. Cluster autoscaling must also be enabled in the cluster features.
type KubernetesClusterMetadata ¶ added in v0.1.11
type KubernetesClusterMetadata struct { // Clustermanager Where the resource is scoped to a cluster manager, this is populated. Clustermanager string `json:"clustermanager"` // CreationTime The time the resource was created. CreationTime time.Time `json:"creationTime"` // DeletionTime The time the resource was deleted. DeletionTime *time.Time `json:"deletionTime,omitempty"` // Project Where the resource is related to a project, this is populated. Project string `json:"project"` // Region Where the resource is scoped to a region, this is populated, Region string `json:"region"` // Status The current status of the resource. Intially the status will be "Unknown" until // the resource is reconciled by the relevant controller. It then will transition to // "Provisioning" and will be ready for use when it changes to "Provisioned". The status // will also transition to the "Provisioning" status during an update. The // status will change to "Deprovisioning" when a delete request is being processed. // It may also change to "Error" if an unexpected error occurred during any operation. // Errors may be transient. Status string `json:"status"` }
KubernetesClusterMetadata Required metadata for clusters.
type KubernetesClusterSpec ¶ added in v0.1.11
type KubernetesClusterSpec struct { // ClusterManager The name of the cluster manager to use, if one is not specified // the system will create one for you. ClusterManager *string `json:"clusterManager,omitempty"` // Name Cluster name. Name string `json:"name"` // Region The region to provision the cluster in. Region string `json:"region"` // Version The Kuebernetes version. This should be derived from image metadata. Version string `json:"version"` // WorkloadPools A list of Kubernetes cluster workload pools. WorkloadPools KubernetesClusterWorkloadPools `json:"workloadPools"` }
KubernetesClusterSpec Kubernetes cluster creation parameters.
type KubernetesClusterWorkloadPool ¶
type KubernetesClusterWorkloadPool struct { // Autoscaling A Kubernetes cluster workload pool autoscaling configuration. Cluster autoscaling // must also be enabled in the cluster features. Autoscaling *KubernetesClusterAutoscaling `json:"autoscaling,omitempty"` // Labels Workload pool key value labels to apply on node creation. Labels *map[string]string `json:"labels,omitempty"` // Machine A Kubernetes cluster machine. Machine MachinePool `json:"machine"` // Name Workload pool name. Name string `json:"name"` }
KubernetesClusterWorkloadPool A Kuberntes cluster workload pool.
type KubernetesClusterWorkloadPools ¶
type KubernetesClusterWorkloadPools = []KubernetesClusterWorkloadPool
KubernetesClusterWorkloadPools A list of Kubernetes cluster workload pools.
type KubernetesClusters ¶
type KubernetesClusters = []KubernetesCluster
KubernetesClusters A list of Kubernetes clusters.
type KubernetesClustersResponse ¶
type KubernetesClustersResponse = KubernetesClusters
KubernetesClustersResponse A list of Kubernetes clusters.
type KubernetesNameParameter ¶
type KubernetesNameParameter = string
KubernetesNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type MachinePool ¶ added in v0.1.8
type MachinePool struct { // Disk A volume. Disk *Volume `json:"disk,omitempty"` // FlavorName Flavor name. FlavorName *string `json:"flavorName,omitempty"` // Replicas Number of machines for a statically sized pool or the maximum for an auto-scaled pool. Replicas *int `json:"replicas,omitempty"` }
MachinePool A Kubernetes cluster machine.
type Oauth2Error ¶
type Oauth2Error struct { // Error A terse error string expanding on the HTTP error code. Errors are based on the OAuth2 specification, but are expanded with proprietary status codes for APIs other than those specified by OAuth2. Error Oauth2ErrorError `json:"error"` // ErrorDescription Verbose message describing the error. ErrorDescription string `json:"error_description"` }
Oauth2Error Generic error message.
type Oauth2ErrorError ¶
type Oauth2ErrorError string
Oauth2ErrorError A terse error string expanding on the HTTP error code. Errors are based on the OAuth2 specification, but are expanded with proprietary status codes for APIs other than those specified by OAuth2.
const ( AccessDenied Oauth2ErrorError = "access_denied" Conflict Oauth2ErrorError = "conflict" Forbidden Oauth2ErrorError = "forbidden" InvalidClient Oauth2ErrorError = "invalid_client" InvalidGrant Oauth2ErrorError = "invalid_grant" InvalidRequest Oauth2ErrorError = "invalid_request" InvalidScope Oauth2ErrorError = "invalid_scope" MethodNotAllowed Oauth2ErrorError = "method_not_allowed" NotFound Oauth2ErrorError = "not_found" ServerError Oauth2ErrorError = "server_error" UnsupportedGrantType Oauth2ErrorError = "unsupported_grant_type" UnsupportedMediaType Oauth2ErrorError = "unsupported_media_type" UnsupportedResponseType Oauth2ErrorError = "unsupported_response_type" )
Defines values for Oauth2ErrorError.
type OrganizationNameParameter ¶ added in v0.1.9
type OrganizationNameParameter = KubernetesNameParameter
OrganizationNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody ¶ added in v0.1.9
type PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody = ProjectSpec
PostApiV1OrganizationsOrganizationNameProjectsJSONRequestBody defines body for PostApiV1OrganizationsOrganizationNameProjects for application/json ContentType.
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody ¶ added in v0.1.9
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody = ClusterManagerSpec
PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers for application/json ContentType.
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse ¶ added in v0.1.9
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON409 *Oauth2Error JSON500 *Oauth2Error }
func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse ¶ added in v0.1.9
func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse, error)
ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersWithResponse call
func (PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse) Status ¶ added in v0.1.9
func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse) StatusCode ¶ added in v0.1.9
func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody ¶ added in v0.1.9
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody = KubernetesClusterSpec
PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters for application/json ContentType.
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse ¶ added in v0.1.9
type PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON409 *Oauth2Error JSON500 *Oauth2Error }
func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse ¶ added in v0.1.9
func ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse, error)
ParsePostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersWithResponse call
func (PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse) Status ¶ added in v0.1.9
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse) StatusCode ¶ added in v0.1.9
func (r PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationNameProjectsResponse ¶ added in v0.1.9
type PostApiV1OrganizationsOrganizationNameProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON409 *Oauth2Error JSON500 *Oauth2Error }
func ParsePostApiV1OrganizationsOrganizationNameProjectsResponse ¶ added in v0.1.9
func ParsePostApiV1OrganizationsOrganizationNameProjectsResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationNameProjectsResponse, error)
ParsePostApiV1OrganizationsOrganizationNameProjectsResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationNameProjectsWithResponse call
func (PostApiV1OrganizationsOrganizationNameProjectsResponse) Status ¶ added in v0.1.9
func (r PostApiV1OrganizationsOrganizationNameProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationNameProjectsResponse) StatusCode ¶ added in v0.1.9
func (r PostApiV1OrganizationsOrganizationNameProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Project ¶
type Project struct { // Metadata Required metadata for projects. Metadata ProjectMetadata `json:"metadata"` // Spec A project. Spec ProjectSpec `json:"spec"` }
Project A project.
type ProjectMetadata ¶ added in v0.1.11
type ProjectMetadata struct { // CreationTime The time the resource was created. CreationTime time.Time `json:"creationTime"` // DeletionTime The time the resource was deleted. DeletionTime *time.Time `json:"deletionTime,omitempty"` // Status The current status of the resource. Intially the status will be "Unknown" until // the resource is reconciled by the relevant controller. It then will transition to // "Provisioning" and will be ready for use when it changes to "Provisioned". The status // will also transition to the "Provisioning" status during an update. The // status will change to "Deprovisioning" when a delete request is being processed. // It may also change to "Error" if an unexpected error occurred during any operation. // Errors may be transient. Status string `json:"status"` }
ProjectMetadata Required metadata for projects.
type ProjectNameParameter ¶
type ProjectNameParameter = KubernetesNameParameter
ProjectNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type ProjectSpec ¶ added in v0.1.11
type ProjectSpec struct {
Name string `json:"name"`
}
ProjectSpec A project.
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody ¶ added in v0.1.9
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody = ClusterManagerSpec
PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameJSONRequestBody defines body for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName for application/json ContentType.
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse ¶ added in v0.1.9
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse ¶ added in v0.1.9
func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse, error)
ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameWithResponse call
func (PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) Status ¶ added in v0.1.9
func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) StatusCode ¶ added in v0.1.9
func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody ¶ added in v0.1.9
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody = KubernetesClusterSpec
PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameJSONRequestBody defines body for PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName for application/json ContentType.
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse ¶ added in v0.1.9
type PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse ¶ added in v0.1.9
func ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse, error)
ParsePutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameWithResponse call
func (PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) Status ¶ added in v0.1.9
func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) StatusCode ¶ added in v0.1.9
func (r PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Region ¶
type Region struct { // Name The region name. Name string `json:"name"` }
Region A region.
type RegionNameParameter ¶
type RegionNameParameter = KubernetesNameParameter
RegionNameParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type 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 /api/v1/applications) GetApiV1Applications(w http.ResponseWriter, r *http.Request) // (GET /api/v1/organizations/{organizationName}/clustermanagers) GetApiV1OrganizationsOrganizationNameClustermanagers(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter) // (GET /api/v1/organizations/{organizationName}/clusters) GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter) // (GET /api/v1/organizations/{organizationName}/projects) GetApiV1OrganizationsOrganizationNameProjects(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter) // (POST /api/v1/organizations/{organizationName}/projects) PostApiV1OrganizationsOrganizationNameProjects(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter) // (DELETE /api/v1/organizations/{organizationName}/projects/{projectName}) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter) // (POST /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter) // (DELETE /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter) // (PUT /api/v1/organizations/{organizationName}/projects/{projectName}/clustermanagers/{clusterManagerName}) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterManagerName ClusterManagerNameParameter) // (POST /api/v1/organizations/{organizationName}/projects/{projectName}/clusters) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter) // (DELETE /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) // (PUT /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) // (GET /api/v1/organizations/{organizationName}/projects/{projectName}/clusters/{clusterName}/kubeconfig) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request, organizationName OrganizationNameParameter, projectName ProjectNameParameter, clusterName ClusterNameParameter) // (GET /api/v1/regions) GetApiV1Regions(w http.ResponseWriter, r *http.Request) // (GET /api/v1/regions/{regionName}/flavors) GetApiV1RegionsRegionNameFlavors(w http.ResponseWriter, r *http.Request, regionName RegionNameParameter) // (GET /api/v1/regions/{regionName}/images) GetApiV1RegionsRegionNameImages(w http.ResponseWriter, r *http.Request, regionName RegionNameParameter) }
ServerInterface represents all server handlers.
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) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectName(w http.ResponseWriter, r *http.Request)
DeleteApiV1OrganizationsOrganizationNameProjectsProjectName operation middleware
func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request)
DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName operation middleware
func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request)
DeleteApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName operation middleware
func (*ServerInterfaceWrapper) GetApiV1Applications ¶
func (siw *ServerInterfaceWrapper) GetApiV1Applications(w http.ResponseWriter, r *http.Request)
GetApiV1Applications operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClustermanagers ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClustermanagers(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationNameClustermanagers operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClusters ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameClusters(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationNameClusters operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjects ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjects(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationNameProjects operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterNameKubeconfig operation middleware
func (*ServerInterfaceWrapper) GetApiV1Regions ¶
func (siw *ServerInterfaceWrapper) GetApiV1Regions(w http.ResponseWriter, r *http.Request)
GetApiV1Regions operation middleware
func (*ServerInterfaceWrapper) GetApiV1RegionsRegionNameFlavors ¶
func (siw *ServerInterfaceWrapper) GetApiV1RegionsRegionNameFlavors(w http.ResponseWriter, r *http.Request)
GetApiV1RegionsRegionNameFlavors operation middleware
func (*ServerInterfaceWrapper) GetApiV1RegionsRegionNameImages ¶
func (siw *ServerInterfaceWrapper) GetApiV1RegionsRegionNameImages(w http.ResponseWriter, r *http.Request)
GetApiV1RegionsRegionNameImages operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjects ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjects(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationNameProjects operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagers operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationNameProjectsProjectNameClusters operation middleware
func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName(w http.ResponseWriter, r *http.Request)
PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustermanagersClusterManagerName operation middleware
func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName ¶ added in v0.1.9
func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName(w http.ResponseWriter, r *http.Request)
PutApiV1OrganizationsOrganizationNameProjectsProjectNameClustersClusterName operation middleware
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnauthorizedResponse ¶
type UnauthorizedResponse = Oauth2Error
UnauthorizedResponse Generic error message.
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshallingParamError ¶
func (*UnmarshallingParamError) Error ¶
func (e *UnmarshallingParamError) Error() string
func (*UnmarshallingParamError) Unwrap ¶
func (e *UnmarshallingParamError) Unwrap() error