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 NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewGetApiV1ApplicationsRequest(server string) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationClustermanagersRequest(server string, organization OrganizationParameter) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationClustersRequest(server string, organization OrganizationParameter) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*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 NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(server string, organization OrganizationParameter, project ProjectParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, ...) (*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) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1Applications(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationClustermanagers(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationClusters(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(ctx context.Context, organization OrganizationParameter, ...) (*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) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClusters(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody(ctx context.Context, organization OrganizationParameter, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, ...) (...)
- func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, ...)
- func (c *ClientWithResponses) GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationClustersWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*GetApiV1OrganizationsOrganizationClustersResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse(ctx context.Context, organization OrganizationParameter, ...) (...)
- 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) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, ...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, ...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, ...) (...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, ...) (...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, ...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, ...) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, ...)
- type ClientWithResponsesInterface
- type ClusterManager
- type ClusterManagerMetadata
- type ClusterManagerParameter
- type ClusterManagerSpec
- type ClusterManagers
- type ClusterManagersResponse
- type ClusterParameter
- type ConflictResponse
- type CreateControlPlaneRequest
- type CreateKubernetesClusterRequest
- type DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse
- type DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse
- type Flavor
- type Flavors
- type FlavorsResponse
- type ForbiddenResponse
- type GetApiV1ApplicationsResponse
- type GetApiV1OrganizationsOrganizationClustermanagersResponse
- type GetApiV1OrganizationsOrganizationClustersResponse
- type GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse
- 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 OrganizationParameter
- type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody
- type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse
- type PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody
- type PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse
- type ProjectParameter
- type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody
- type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse
- type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody
- type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse
- type Region
- type RegionNameParameter
- type Regions
- type RegionsResponse
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1Applications(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClustermanagers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(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) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationProjectsProjectClusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(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 NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest ¶ added in v0.2.9
func NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(server string, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter) (*http.Request, error)
NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest generates requests for DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager
func NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest ¶ added in v0.2.9
func NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) (*http.Request, error)
NewDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest generates requests for DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster
func NewGetApiV1ApplicationsRequest ¶
NewGetApiV1ApplicationsRequest generates requests for GetApiV1Applications
func NewGetApiV1OrganizationsOrganizationClustermanagersRequest ¶ added in v0.2.9
func NewGetApiV1OrganizationsOrganizationClustermanagersRequest(server string, organization OrganizationParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationClustermanagersRequest generates requests for GetApiV1OrganizationsOrganizationClustermanagers
func NewGetApiV1OrganizationsOrganizationClustersRequest ¶ added in v0.2.9
func NewGetApiV1OrganizationsOrganizationClustersRequest(server string, organization OrganizationParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationClustersRequest generates requests for GetApiV1OrganizationsOrganizationClusters
func NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest ¶ added in v0.2.9
func NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigRequest generates requests for GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig
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 NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest ¶ added in v0.2.9
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest(server string, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequest calls the generic PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers builder with application/json body
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody ¶ added in v0.2.9
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationProjectsProjectClustermanagersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers with any type of body
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest ¶ added in v0.2.9
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest(server string, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequest calls the generic PostApiV1OrganizationsOrganizationProjectsProjectClusters builder with application/json body
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody ¶ added in v0.2.9
func NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationProjectsProjectClustersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationProjectsProjectClusters with any type of body
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest ¶ added in v0.2.9
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest(server string, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequest calls the generic PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager builder with application/json body
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody ¶ added in v0.2.9
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerRequestWithBody generates requests for PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager with any type of body
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest ¶ added in v0.2.9
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequest calls the generic PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster builder with application/json body
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody ¶ added in v0.2.9
func NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody(server string, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationProjectsProjectClustersClusterRequestWithBody generates requests for PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster 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) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager ¶ added in v0.2.9
func (c *Client) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster ¶ added in v0.2.9
func (c *Client) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1Applications ¶
func (*Client) GetApiV1OrganizationsOrganizationClustermanagers ¶ added in v0.2.9
func (c *Client) GetApiV1OrganizationsOrganizationClustermanagers(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationClusters ¶ added in v0.2.9
func (c *Client) GetApiV1OrganizationsOrganizationClusters(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig ¶ added in v0.2.9
func (c *Client) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, 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) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers ¶ added in v0.2.9
func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody ¶ added in v0.2.9
func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationProjectsProjectClusters ¶ added in v0.2.9
func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClusters(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody ¶ added in v0.2.9
func (c *Client) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager ¶ added in v0.2.9
func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody ¶ added in v0.2.9
func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster ¶ added in v0.2.9
func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody ¶ added in v0.2.9
func (c *Client) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, 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) // GetApiV1OrganizationsOrganizationClustermanagers request GetApiV1OrganizationsOrganizationClustermanagers(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1OrganizationsOrganizationClusters request GetApiV1OrganizationsOrganizationClusters(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers request with any body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request with any body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PostApiV1OrganizationsOrganizationProjectsProjectClusters request with any body PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostApiV1OrganizationsOrganizationProjectsProjectClusters(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster request DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster request with any body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBody(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig request GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*http.Response, error) // GetApiV1Regions request GetApiV1Regions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // 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) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error)
DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse request returning *DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse
func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error)
DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse request returning *DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse
func (*ClientWithResponses) GetApiV1ApplicationsWithResponse ¶
func (c *ClientWithResponses) GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error)
GetApiV1ApplicationsWithResponse request returning *GetApiV1ApplicationsResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationClustermanagersWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error)
GetApiV1OrganizationsOrganizationClustermanagersWithResponse request returning *GetApiV1OrganizationsOrganizationClustermanagersResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationClustersWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationClustersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustersResponse, error)
GetApiV1OrganizationsOrganizationClustersWithResponse request returning *GetApiV1OrganizationsOrganizationClustersResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse, error)
GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse request returning *GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse
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) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error)
PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error)
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error)
PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error)
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error)
PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error)
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error)
PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetApiV1Applications request GetApiV1ApplicationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1ApplicationsResponse, error) // GetApiV1OrganizationsOrganizationClustermanagers request GetApiV1OrganizationsOrganizationClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error) // GetApiV1OrganizationsOrganizationClusters request GetApiV1OrganizationsOrganizationClustersWithResponse(ctx context.Context, organization OrganizationParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationClustersResponse, error) // PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers request with any body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error) // DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) // PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager request with any body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error) // PostApiV1OrganizationsOrganizationProjectsProjectClusters request with any body PostApiV1OrganizationsOrganizationProjectsProjectClustersWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, body PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error) // DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster request DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) // PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster request with any body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithBodyWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, body PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error) // GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig request GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse(ctx context.Context, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse, error) // GetApiV1Regions request GetApiV1RegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1RegionsResponse, error) // 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 ClusterManagerParameter ¶ added in v0.2.9
type ClusterManagerParameter = KubernetesNameParameter
ClusterManagerParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type 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 ClusterParameter ¶ added in v0.2.9
type ClusterParameter = KubernetesNameParameter
ClusterParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type CreateControlPlaneRequest ¶
type CreateControlPlaneRequest = ClusterManagerSpec
CreateControlPlaneRequest A cluster manager.
type CreateKubernetesClusterRequest ¶
type CreateKubernetesClusterRequest = KubernetesClusterSpec
CreateKubernetesClusterRequest Kubernetes cluster creation parameters.
type DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse ¶ added in v0.2.9
type DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse ¶ added in v0.2.9
func ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error)
ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse call
func (DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) Status ¶ added in v0.2.9
func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) StatusCode ¶ added in v0.2.9
func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse ¶ added in v0.2.9
type DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse ¶ added in v0.2.9
func ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error)
ParseDeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse call
func (DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) Status ¶ added in v0.2.9
Status returns HTTPResponse.Status
func (DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) StatusCode ¶ added in v0.2.9
func (r DeleteApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) 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 GetApiV1OrganizationsOrganizationClustermanagersResponse ¶ added in v0.2.9
type GetApiV1OrganizationsOrganizationClustermanagersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ClusterManagers JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationClustermanagersResponse ¶ added in v0.2.9
func ParseGetApiV1OrganizationsOrganizationClustermanagersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationClustermanagersResponse, error)
ParseGetApiV1OrganizationsOrganizationClustermanagersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationClustermanagersWithResponse call
func (GetApiV1OrganizationsOrganizationClustermanagersResponse) Status ¶ added in v0.2.9
func (r GetApiV1OrganizationsOrganizationClustermanagersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationClustermanagersResponse) StatusCode ¶ added in v0.2.9
func (r GetApiV1OrganizationsOrganizationClustermanagersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationClustersResponse ¶ added in v0.2.9
type GetApiV1OrganizationsOrganizationClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *KubernetesClusters JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationClustersResponse ¶ added in v0.2.9
func ParseGetApiV1OrganizationsOrganizationClustersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationClustersResponse, error)
ParseGetApiV1OrganizationsOrganizationClustersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationClustersWithResponse call
func (GetApiV1OrganizationsOrganizationClustersResponse) Status ¶ added in v0.2.9
func (r GetApiV1OrganizationsOrganizationClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationClustersResponse) StatusCode ¶ added in v0.2.9
func (r GetApiV1OrganizationsOrganizationClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse ¶ added in v0.2.9
type GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParseGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse ¶ added in v0.2.9
func ParseGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse, error)
ParseGetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigWithResponse call
func (GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse) Status ¶ added in v0.2.9
func (r GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse) StatusCode ¶ added in v0.2.9
func (r GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfigResponse) 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 OrganizationParameter ¶ added in v0.2.9
type OrganizationParameter = KubernetesNameParameter
OrganizationParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody ¶ added in v0.2.9
type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody = ClusterManagerSpec
PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers for application/json ContentType.
type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse ¶ added in v0.2.9
type PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON409 *Oauth2Error JSON500 *Oauth2Error }
func ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse ¶ added in v0.2.9
func ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse, error)
ParsePostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersWithResponse call
func (PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse) Status ¶ added in v0.2.9
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse) StatusCode ¶ added in v0.2.9
func (r PostApiV1OrganizationsOrganizationProjectsProjectClustermanagersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody ¶ added in v0.2.9
type PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody = KubernetesClusterSpec
PostApiV1OrganizationsOrganizationProjectsProjectClustersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationProjectsProjectClusters for application/json ContentType.
type PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse ¶ added in v0.2.9
type PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON409 *Oauth2Error JSON500 *Oauth2Error }
func ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse ¶ added in v0.2.9
func ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse, error)
ParsePostApiV1OrganizationsOrganizationProjectsProjectClustersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationProjectsProjectClustersWithResponse call
func (PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse) Status ¶ added in v0.2.9
func (r PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse) StatusCode ¶ added in v0.2.9
func (r PostApiV1OrganizationsOrganizationProjectsProjectClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectParameter ¶ added in v0.2.9
type ProjectParameter = KubernetesNameParameter
ProjectParameter A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody ¶ added in v0.2.9
type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody = ClusterManagerSpec
PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerJSONRequestBody defines body for PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager for application/json ContentType.
type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse ¶ added in v0.2.9
type PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse ¶ added in v0.2.9
func ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse, error)
ParsePutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerWithResponse call
func (PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) Status ¶ added in v0.2.9
func (r PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) StatusCode ¶ added in v0.2.9
func (r PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManagerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody ¶ added in v0.2.9
type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody = KubernetesClusterSpec
PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterJSONRequestBody defines body for PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster for application/json ContentType.
type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse ¶ added in v0.2.9
type PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Oauth2Error JSON401 *Oauth2Error JSON403 *Oauth2Error JSON404 *Oauth2Error JSON500 *Oauth2Error }
func ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse ¶ added in v0.2.9
func ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse, error)
ParsePutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterWithResponse call
func (PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) Status ¶ added in v0.2.9
Status returns HTTPResponse.Status
func (PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) StatusCode ¶ added in v0.2.9
func (r PutApiV1OrganizationsOrganizationProjectsProjectClustersClusterResponse) 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/{organization}/clustermanagers) GetApiV1OrganizationsOrganizationClustermanagers(w http.ResponseWriter, r *http.Request, organization OrganizationParameter) // (GET /api/v1/organizations/{organization}/clusters) GetApiV1OrganizationsOrganizationClusters(w http.ResponseWriter, r *http.Request, organization OrganizationParameter) // (POST /api/v1/organizations/{organization}/projects/{project}/clustermanagers) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter) // (DELETE /api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter) // (PUT /api/v1/organizations/{organization}/projects/{project}/clustermanagers/{clusterManager}) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, clusterManager ClusterManagerParameter) // (POST /api/v1/organizations/{organization}/projects/{project}/clusters) PostApiV1OrganizationsOrganizationProjectsProjectClusters(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter) // (DELETE /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) // (PUT /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) // (GET /api/v1/organizations/{organization}/projects/{project}/clusters/{cluster}/kubeconfig) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(w http.ResponseWriter, r *http.Request, organization OrganizationParameter, project ProjectParameter, cluster ClusterParameter) // (GET /api/v1/regions) GetApiV1Regions(w http.ResponseWriter, r *http.Request) // (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) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request)
DeleteApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager operation middleware
func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request)
DeleteApiV1OrganizationsOrganizationProjectsProjectClustersCluster operation middleware
func (*ServerInterfaceWrapper) GetApiV1Applications ¶
func (siw *ServerInterfaceWrapper) GetApiV1Applications(w http.ResponseWriter, r *http.Request)
GetApiV1Applications operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClustermanagers ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClustermanagers(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationClustermanagers operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClusters ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationClusters(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationClusters operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationProjectsProjectClustersClusterKubeconfig 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) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationProjectsProjectClustermanagers operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationProjectsProjectClusters ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationProjectsProjectClusters(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationProjectsProjectClusters operation middleware
func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager(w http.ResponseWriter, r *http.Request)
PutApiV1OrganizationsOrganizationProjectsProjectClustermanagersClusterManager operation middleware
func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster ¶ added in v0.2.9
func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster(w http.ResponseWriter, r *http.Request)
PutApiV1OrganizationsOrganizationProjectsProjectClustersCluster 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