Documentation
¶
Overview ¶
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 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 NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDClustersRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewGetApiV1OrganizationsOrganizationIDRegionsRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequestWithBody(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody(server string, organizationID OrganizationIDParameter, ...) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AllowedAddressPair
- type AllowedAddressPairList
- type Builder
- type ChiServerOptions
- type Client
- func (c *Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDClusters(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDRegions(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBody(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, ...)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse, error)
- func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*GetApiV1OrganizationsOrganizationIDRegionsResponse, error)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (...)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
- func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, ...)
- func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, ...) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, ...)
- type ClientWithResponsesInterface
- type ClusterIDParameter
- type ComputeClusterDetailResponse
- type ComputeClusterMachineStatus
- type ComputeClusterMachinesStatus
- type ComputeClusterRead
- type ComputeClusterResponse
- type ComputeClusterSpec
- type ComputeClusterStatus
- type ComputeClusterWorkloadPool
- type ComputeClusterWorkloadPoolStatus
- type ComputeClusterWorkloadPools
- type ComputeClusterWorkloadPoolsStatus
- type ComputeClusterWrite
- type ComputeClusters
- type ComputeClustersResponse
- type ComputeImage
- func (t ComputeImage) AsComputeImage0() (ComputeImage0, error)
- func (t ComputeImage) AsComputeImage1() (ComputeImage1, error)
- func (t *ComputeImage) FromComputeImage0(v ComputeImage0) error
- func (t *ComputeImage) FromComputeImage1(v ComputeImage1) error
- func (t ComputeImage) MarshalJSON() ([]byte, error)
- func (t *ComputeImage) MergeComputeImage0(v ComputeImage0) error
- func (t *ComputeImage) MergeComputeImage1(v ComputeImage1) error
- func (t *ComputeImage) UnmarshalJSON(b []byte) error
- type ComputeImage0
- type ComputeImage1
- type CreateComputeClusterRequest
- type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse
- type EvictionRequest
- type EvictionWrite
- type FirewallRule
- type FirewallRuleDirection
- type FirewallRuleProtocol
- type FirewallRules
- type GetApiV1OrganizationsOrganizationIDClustersParams
- type GetApiV1OrganizationsOrganizationIDClustersResponse
- type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams
- type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse
- type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse
- type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse
- type GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse
- type GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse
- type GetApiV1OrganizationsOrganizationIDRegionsResponse
- type HttpRequestDoer
- type ImageSelector
- type InvalidParamFormatError
- type KubernetesNameParameter
- type LengthParameter
- type MachineIDList
- type MachineIDParameter
- type MachinePool
- type MiddlewareFunc
- type OrganizationIDParameter
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody
- type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse
- type ProjectIDParameter
- type PublicIPAllocation
- type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody
- type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse
- type RegionIDParameter
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, ...)
- type UnmarshalingParamError
- 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 HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest ¶
func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter) (*http.Request, error)
NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID
func NewGetApiV1OrganizationsOrganizationIDClustersRequest ¶
func NewGetApiV1OrganizationsOrganizationIDClustersRequest(server string, organizationID OrganizationIDParameter, params *GetApiV1OrganizationsOrganizationIDClustersParams) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDClustersRequest generates requests for GetApiV1OrganizationsOrganizationIDClusters
func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputRequest ¶ added in v1.8.0
func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputRequest generates requests for GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput
func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsRequest ¶ added in v1.8.0
func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsRequest generates requests for GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions
func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest ¶ added in v1.6.0
func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest generates requests for GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID
func NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsRequest ¶
func NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsRequest(server string, organizationID OrganizationIDParameter, regionID RegionIDParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsRequest generates requests for GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors
func NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesRequest ¶
func NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesRequest(server string, organizationID OrganizationIDParameter, regionID RegionIDParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesRequest generates requests for GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages
func NewGetApiV1OrganizationsOrganizationIDRegionsRequest ¶ added in v0.1.6
func NewGetApiV1OrganizationsOrganizationIDRegionsRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)
NewGetApiV1OrganizationsOrganizationIDRegionsRequest generates requests for GetApiV1OrganizationsOrganizationIDRegions
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequest ¶ added in v1.6.0
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequest calls the generic PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict builder with application/json body
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequestWithBody ¶ added in v1.6.0
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict with any type of body
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootRequest ¶ added in v1.7.0
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootRequest generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootRequest ¶ added in v1.7.0
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootRequest generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartRequest ¶ added in v1.7.0
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartRequest generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopRequest ¶ added in v1.7.0
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopRequest generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest ¶
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequest calls the generic PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters builder with application/json body
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody ¶
func NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader) (*http.Request, error)
NewPostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters with any type of body
func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest ¶
func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest calls the generic PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID builder with application/json body
func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody ¶
func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader) (*http.Request, error)
NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID with any type of body
Types ¶
type AllowedAddressPair ¶ added in v0.1.3
type AllowedAddressPair struct {
// Cidr The CIDR to allow.
Cidr string `json:"cidr"`
// MacAddress The MAC address to allow.
MacAddress *string `json:"macAddress,omitempty"`
}
AllowedAddressPair Allow multiple MAC/IP address (range) pairs to pass through this network port. Typically required when the machine is operating as a router.
type AllowedAddressPairList ¶ added in v0.1.3
type AllowedAddressPairList = []AllowedAddressPair
AllowedAddressPairList A list of allowed address pairs.
type Builder ¶ added in v1.4.0
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶ added in v1.4.0
func NewBuilder() *Builder
func (*Builder) Client ¶ added in v1.4.0
func (b *Builder) Client(hostname string) (*ClientWithResponses, error)
func (*Builder) WithHTTPClient ¶ added in v1.4.0
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) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶
func (c *Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDClusters ¶
func (c *Client) GetApiV1OrganizationsOrganizationIDClusters(ctx context.Context, organizationID OrganizationIDParameter, params *GetApiV1OrganizationsOrganizationIDClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶ added in v1.6.0
func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput ¶ added in v1.8.0
func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions ¶ added in v1.8.0
func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDRegions ¶ added in v0.1.6
func (c *Client) GetApiV1OrganizationsOrganizationIDRegions(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors ¶
func (c *Client) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages ¶
func (c *Client) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters ¶
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict ¶ added in v1.6.0
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBody ¶ added in v1.6.0
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot ¶ added in v1.7.0
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot ¶ added in v1.7.0
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart ¶ added in v1.7.0
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop ¶ added in v1.7.0
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody ¶
func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶
func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody ¶
func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetApiV1OrganizationsOrganizationIDClusters request
GetApiV1OrganizationsOrganizationIDClusters(ctx context.Context, organizationID OrganizationIDParameter, params *GetApiV1OrganizationsOrganizationIDClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody request with any body
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID request
DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID request
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody request with any body
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBody request with any body
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput request
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions request
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiV1OrganizationsOrganizationIDRegions request
GetApiV1OrganizationsOrganizationIDRegions(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors request
GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages request
GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, 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) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse ¶
func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse request returning *DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustersWithResponse ¶
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, params *GetApiV1OrganizationsOrganizationIDClustersParams, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)
GetApiV1OrganizationsOrganizationIDClustersWithResponse request returning *GetApiV1OrganizationsOrganizationIDClustersResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse, error)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse request returning *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse, error)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse request returning *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse ¶ added in v1.6.0
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse request returning *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse ¶
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse, error)
GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse request returning *GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse ¶
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse, error)
GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse request returning *GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse
func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsWithResponse ¶ added in v0.1.6
func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRegionsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRegionsResponse, error)
GetApiV1OrganizationsOrganizationIDRegionsWithResponse request returning *GetApiV1OrganizationsOrganizationIDRegionsResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBodyWithResponse ¶ added in v1.6.0
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithResponse ¶ added in v1.6.0
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse, error)
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse request returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse request returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse request returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse request returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse
func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse ¶
func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse
func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse ¶
func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetApiV1OrganizationsOrganizationIDClustersWithResponse request
GetApiV1OrganizationsOrganizationIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, params *GetApiV1OrganizationsOrganizationIDClustersParams, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse request with any body
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse request
DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse request
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
// PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse request with any body
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBodyWithResponse request with any body
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse, error)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse, error)
// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse request
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params *GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse, error)
// GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse request
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse, error)
// PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse request
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse, error)
// GetApiV1OrganizationsOrganizationIDRegionsWithResponse request
GetApiV1OrganizationsOrganizationIDRegionsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRegionsResponse, error)
// GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse request
GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse, error)
// GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse request
GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse(ctx context.Context, organizationID OrganizationIDParameter, regionID RegionIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClusterIDParameter ¶
type ClusterIDParameter = KubernetesNameParameter
ClusterIDParameter 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 ComputeClusterDetailResponse ¶ added in v1.6.0
type ComputeClusterDetailResponse = ComputeClusterRead
ComputeClusterDetailResponse Compute cluster read.
type ComputeClusterMachineStatus ¶
type ComputeClusterMachineStatus struct {
// FlavorID Machine flavorID.
FlavorID string `json:"flavorID"`
// HealthStatus The health state of a resource.
HealthStatus externalRef0.ResourceHealthStatus `json:"healthStatus"`
// Hostname Machine hostname.
Hostname string `json:"hostname"`
// Id Machine ID.
Id string `json:"id"`
// ImageID Machine image ID.
ImageID string `json:"imageID"`
// PrivateIP Machine private IP address.
PrivateIP *string `json:"privateIP,omitempty"`
// ProvisioningStatus The provisioning state of a resource.
ProvisioningStatus externalRef0.ResourceProvisioningStatus `json:"provisioningStatus"`
// PublicIP Machine public IP address.
PublicIP *string `json:"publicIP,omitempty"`
// Status The lifecycle phase of an instance.
Status externalRef1.InstanceLifecyclePhase `json:"status"`
}
ComputeClusterMachineStatus Compute cluster machine status.
type ComputeClusterMachinesStatus ¶
type ComputeClusterMachinesStatus = []ComputeClusterMachineStatus
ComputeClusterMachinesStatus A list of Compute cluster machines status.
type ComputeClusterRead ¶
type ComputeClusterRead struct {
// Metadata Metadata required by project scoped resource reads.
Metadata externalRef0.ProjectScopedResourceReadMetadata `json:"metadata"`
// Spec Compute cluster creation parameters.
Spec ComputeClusterSpec `json:"spec"`
// Status Compute cluster status.
Status *ComputeClusterStatus `json:"status,omitempty"`
}
ComputeClusterRead Compute cluster read.
type ComputeClusterResponse ¶
type ComputeClusterResponse = ComputeClusterRead
ComputeClusterResponse Compute cluster read.
type ComputeClusterSpec ¶
type ComputeClusterSpec struct {
// RegionId The region to provision the cluster in.
RegionId string `json:"regionId"`
// WorkloadPools A list of Compute cluster workload pools.
WorkloadPools ComputeClusterWorkloadPools `json:"workloadPools"`
}
ComputeClusterSpec Compute cluster creation parameters.
type ComputeClusterStatus ¶
type ComputeClusterStatus struct {
// SshPrivateKey SSH private key that allows access to the cluster.
SshPrivateKey *string `json:"sshPrivateKey,omitempty"`
// WorkloadPools A list of Compute cluster workload pools status.
WorkloadPools *ComputeClusterWorkloadPoolsStatus `json:"workloadPools,omitempty"`
}
ComputeClusterStatus Compute cluster status.
type ComputeClusterWorkloadPool ¶
type ComputeClusterWorkloadPool struct {
// Machine A Compute cluster machine pool.
Machine MachinePool `json:"machine"`
// Name A valid Kubernetes label value, typically used for resource names that can be
// indexed in the database.
Name externalRef0.KubernetesLabelValue `json:"name"`
}
ComputeClusterWorkloadPool A Compute cluster workload pool.
type ComputeClusterWorkloadPoolStatus ¶
type ComputeClusterWorkloadPoolStatus struct {
// Machines A list of Compute cluster machines status.
Machines *ComputeClusterMachinesStatus `json:"machines,omitempty"`
// Name A valid Kubernetes label value, typically used for resource names that can be
// indexed in the database.
Name externalRef0.KubernetesLabelValue `json:"name"`
// Replicas Number of machines.
Replicas int `json:"replicas"`
}
ComputeClusterWorkloadPoolStatus Compute cluster workload pool status.
type ComputeClusterWorkloadPools ¶
type ComputeClusterWorkloadPools = []ComputeClusterWorkloadPool
ComputeClusterWorkloadPools A list of Compute cluster workload pools.
type ComputeClusterWorkloadPoolsStatus ¶
type ComputeClusterWorkloadPoolsStatus = []ComputeClusterWorkloadPoolStatus
ComputeClusterWorkloadPoolsStatus A list of Compute cluster workload pools status.
type ComputeClusterWrite ¶
type ComputeClusterWrite struct {
// Metadata Metadata required for all API resource reads and writes.
Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`
// Spec Compute cluster creation parameters.
Spec ComputeClusterSpec `json:"spec"`
}
ComputeClusterWrite Compute cluster create or update.
type ComputeClusters ¶
type ComputeClusters = []ComputeClusterRead
ComputeClusters A list of Compute clusters.
type ComputeClustersResponse ¶
type ComputeClustersResponse = ComputeClusters
ComputeClustersResponse A list of Compute clusters.
type ComputeImage ¶
type ComputeImage struct {
// Id The image ID.
Id *string `json:"id,omitempty"`
// Selector A server image selector.
Selector *ImageSelector `json:"selector,omitempty"`
// contains filtered or unexported fields
}
ComputeImage The image to use for a server.
func (ComputeImage) AsComputeImage0 ¶
func (t ComputeImage) AsComputeImage0() (ComputeImage0, error)
AsComputeImage0 returns the union data inside the ComputeImage as a ComputeImage0
func (ComputeImage) AsComputeImage1 ¶
func (t ComputeImage) AsComputeImage1() (ComputeImage1, error)
AsComputeImage1 returns the union data inside the ComputeImage as a ComputeImage1
func (*ComputeImage) FromComputeImage0 ¶
func (t *ComputeImage) FromComputeImage0(v ComputeImage0) error
FromComputeImage0 overwrites any union data inside the ComputeImage as the provided ComputeImage0
func (*ComputeImage) FromComputeImage1 ¶
func (t *ComputeImage) FromComputeImage1(v ComputeImage1) error
FromComputeImage1 overwrites any union data inside the ComputeImage as the provided ComputeImage1
func (ComputeImage) MarshalJSON ¶
func (t ComputeImage) MarshalJSON() ([]byte, error)
func (*ComputeImage) MergeComputeImage0 ¶
func (t *ComputeImage) MergeComputeImage0(v ComputeImage0) error
MergeComputeImage0 performs a merge with any union data inside the ComputeImage, using the provided ComputeImage0
func (*ComputeImage) MergeComputeImage1 ¶
func (t *ComputeImage) MergeComputeImage1(v ComputeImage1) error
MergeComputeImage1 performs a merge with any union data inside the ComputeImage, using the provided ComputeImage1
func (*ComputeImage) UnmarshalJSON ¶
func (t *ComputeImage) UnmarshalJSON(b []byte) error
type CreateComputeClusterRequest ¶
type CreateComputeClusterRequest = ComputeClusterWrite
CreateComputeClusterRequest Compute cluster create or update.
type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse ¶
type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse ¶
func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse call
func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status ¶
func (r DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode ¶
func (r DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvictionRequest ¶ added in v1.6.0
type EvictionRequest = EvictionWrite
EvictionRequest A set of machines to evict from a cluster.
type EvictionWrite ¶ added in v1.6.0
type EvictionWrite struct {
// MachineIDs A list of machine IDs, these are returned in the cluster status.
MachineIDs MachineIDList `json:"machineIDs"`
}
EvictionWrite A set of machines to evict from a cluster.
type FirewallRule ¶
type FirewallRule struct {
// Direction The direction of network traffic to apply the rule to.
Direction FirewallRuleDirection `json:"direction"`
// Port The port to allow, or start of a port range.
Port int `json:"port"`
// PortMax The end of a port range, inclusive of this this port, if specified.
PortMax *int `json:"portMax,omitempty"`
// Prefixes A list of CIDR prefixes to allow, it might be any IPv4 or IPv6 in CIDR notation.
Prefixes []string `json:"prefixes"`
// Protocol The protocol to allow.
Protocol FirewallRuleProtocol `json:"protocol"`
}
FirewallRule A firewall rule applied to a workload pool.
type FirewallRuleDirection ¶
type FirewallRuleDirection string
FirewallRuleDirection The direction of network traffic to apply the rule to.
const ( Egress FirewallRuleDirection = "egress" Ingress FirewallRuleDirection = "ingress" )
Defines values for FirewallRuleDirection.
type FirewallRuleProtocol ¶
type FirewallRuleProtocol string
FirewallRuleProtocol The protocol to allow.
const ( Tcp FirewallRuleProtocol = "tcp" Udp FirewallRuleProtocol = "udp" )
Defines values for FirewallRuleProtocol.
type FirewallRules ¶
type FirewallRules = []FirewallRule
FirewallRules A list of firewall rules applied to a workload pool.
type GetApiV1OrganizationsOrganizationIDClustersParams ¶ added in v1.4.0
type GetApiV1OrganizationsOrganizationIDClustersParams struct {
// Tag A set of tags to match against resources in the form "name=value",
// thus when encoded you get "?tag=foo%3Dcat&bar%3Ddog".
Tag *externalRef0.TagSelectorParameter `form:"tag,omitempty" json:"tag,omitempty"`
}
GetApiV1OrganizationsOrganizationIDClustersParams defines parameters for GetApiV1OrganizationsOrganizationIDClusters.
type GetApiV1OrganizationsOrganizationIDClustersResponse ¶
type GetApiV1OrganizationsOrganizationIDClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ComputeClustersResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDClustersResponse ¶
func ParseGetApiV1OrganizationsOrganizationIDClustersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDClustersResponse, error)
ParseGetApiV1OrganizationsOrganizationIDClustersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDClustersWithResponse call
func (GetApiV1OrganizationsOrganizationIDClustersResponse) Status ¶
func (r GetApiV1OrganizationsOrganizationIDClustersResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDClustersResponse) StatusCode ¶
func (r GetApiV1OrganizationsOrganizationIDClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams ¶ added in v1.8.0
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams struct {
// Length The requested output length.
Length *LengthParameter `form:"length,omitempty" json:"length,omitempty"`
}
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams defines parameters for GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput.
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse ¶ added in v1.8.0
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef1.ConsoleOutputResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse ¶ added in v1.8.0
func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse, error)
ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputWithResponse call
func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse) Status ¶ added in v1.8.0
func (r GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse) StatusCode ¶ added in v1.8.0
func (r GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse ¶ added in v1.8.0
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef1.ConsoleSessionResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse ¶ added in v1.8.0
func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse, error)
ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsWithResponse call
func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse) Status ¶ added in v1.8.0
func (r GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse) StatusCode ¶ added in v1.8.0
func (r GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse ¶ added in v1.6.0
type GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ComputeClusterDetailResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse ¶ added in v1.6.0
func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse call
func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status ¶ added in v1.6.0
func (r GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode ¶ added in v1.6.0
func (r GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse ¶
type GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef1.FlavorsResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse ¶
func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse, error)
ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse call
func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse) Status ¶
func (r GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse) StatusCode ¶
func (r GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse ¶
type GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef1.ImagesResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse ¶
func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse, error)
ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse call
func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse) Status ¶
func (r GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse) StatusCode ¶
func (r GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiV1OrganizationsOrganizationIDRegionsResponse ¶ added in v0.1.6
type GetApiV1OrganizationsOrganizationIDRegionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *externalRef1.RegionsResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParseGetApiV1OrganizationsOrganizationIDRegionsResponse ¶ added in v0.1.6
func ParseGetApiV1OrganizationsOrganizationIDRegionsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDRegionsResponse, error)
ParseGetApiV1OrganizationsOrganizationIDRegionsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRegionsWithResponse call
func (GetApiV1OrganizationsOrganizationIDRegionsResponse) Status ¶ added in v0.1.6
func (r GetApiV1OrganizationsOrganizationIDRegionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiV1OrganizationsOrganizationIDRegionsResponse) StatusCode ¶ added in v0.1.6
func (r GetApiV1OrganizationsOrganizationIDRegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImageSelector ¶
type ImageSelector struct {
// Distro A distribution name.
Distro externalRef1.OsDistro `json:"distro"`
// Variant The operating system variant.
Variant *string `json:"variant,omitempty"`
// Version The operating system version to use.
Version string `json:"version"`
}
ImageSelector A server image selector.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
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 LengthParameter ¶ added in v1.8.0
type LengthParameter = int
LengthParameter defines model for lengthParameter.
type MachineIDList ¶ added in v1.6.0
type MachineIDList = []string
MachineIDList A list of machine IDs, these are returned in the cluster status.
type MachineIDParameter ¶ added in v1.7.0
type MachineIDParameter = KubernetesNameParameter
MachineIDParameter 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 ¶
type MachinePool struct {
// AllowedAddressPairs A list of allowed address pairs.
AllowedAddressPairs *AllowedAddressPairList `json:"allowedAddressPairs,omitempty"`
// Disk A volume. This is currently only valid for VM based flavors.
Disk *Volume `json:"disk,omitempty"`
// Firewall A list of firewall rules applied to a workload pool.
Firewall *FirewallRules `json:"firewall,omitempty"`
// FlavorId Flavor ID.
FlavorId string `json:"flavorId"`
// Image The image to use for a server.
Image ComputeImage `json:"image"`
// PublicIPAllocation A public IP allocation settings.
PublicIPAllocation *PublicIPAllocation `json:"publicIPAllocation,omitempty"`
// Replicas Number of machines.
Replicas int `json:"replicas"`
// UserData UserData contains base64-encoded configuration information or scripts to use upon launch.
UserData *[]byte `json:"userData,omitempty"`
}
MachinePool A Compute cluster machine pool.
type OrganizationIDParameter ¶
type OrganizationIDParameter = KubernetesNameParameter
OrganizationIDParameter 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 PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody ¶ added in v1.6.0
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody = EvictionWrite
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict for application/json ContentType.
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse ¶ added in v1.6.0
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse ¶ added in v1.6.0
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse, error)
ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictWithResponse call
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse) Status ¶ added in v1.6.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse) StatusCode ¶ added in v1.6.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse ¶ added in v1.7.0
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse ¶ added in v1.7.0
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse, error)
ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootWithResponse call
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse) Status ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse) StatusCode ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse ¶ added in v1.7.0
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse ¶ added in v1.7.0
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse, error)
ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootWithResponse call
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse) Status ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse) StatusCode ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse ¶ added in v1.7.0
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse ¶ added in v1.7.0
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse, error)
ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartWithResponse call
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse) Status ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse) StatusCode ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse ¶ added in v1.7.0
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse ¶ added in v1.7.0
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse, error)
ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopWithResponse call
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse) Status ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse) StatusCode ¶ added in v1.7.0
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody ¶
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody = ComputeClusterWrite
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters for application/json ContentType.
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse ¶
type PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *ComputeClusterResponse
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON409 *externalRef0.ConflictResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse ¶
func ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse, error)
ParsePostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersWithResponse call
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) Status ¶
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) StatusCode ¶
func (r PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectIDParameter ¶
type ProjectIDParameter = KubernetesNameParameter
ProjectIDParameter 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 PublicIPAllocation ¶
type PublicIPAllocation struct {
// Enabled Enable public IP allocation.
Enabled bool `json:"enabled"`
}
PublicIPAllocation A public IP allocation settings.
type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody ¶
type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody = ComputeClusterWrite
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID for application/json ContentType.
type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse ¶
type PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.BadRequestResponse
JSON401 *externalRef0.UnauthorizedResponse
JSON403 *externalRef0.ForbiddenResponse
JSON404 *externalRef0.NotFoundResponse
JSON500 *externalRef0.InternalServerErrorResponse
}
func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse ¶
func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse, error)
ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDWithResponse call
func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status ¶
func (r PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode ¶
func (r PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegionIDParameter ¶
type RegionIDParameter = KubernetesNameParameter
RegionIDParameter 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/organizations/{organizationID}/clusters)
GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, params GetApiV1OrganizationsOrganizationIDClustersParams)
// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)
// (DELETE /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
// (GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
// (PUT /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/evict)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
// (GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/consoleoutput)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams)
// (GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/consolesessions)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/hardreboot)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/softreboot)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/start)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
// (POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/stop)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
// (GET /api/v1/organizations/{organizationID}/regions)
GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)
// (GET /api/v1/organizations/{organizationID}/regions/{regionID}/flavors)
GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)
// (GET /api/v1/organizations/{organizationID}/regions/{regionID}/images)
GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)
}
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) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶
func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)
DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClusters ¶
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDClusters operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶ added in v1.6.0
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput ¶ added in v1.8.0
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions ¶ added in v1.8.0
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegions ¶ added in v0.1.6
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDRegions operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors ¶
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors operation middleware
func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages ¶
func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request)
GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters ¶
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict ¶ added in v1.6.0
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot ¶ added in v1.7.0
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot ¶ added in v1.7.0
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart ¶ added in v1.7.0
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart operation middleware
func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop ¶ added in v1.7.0
func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(w http.ResponseWriter, r *http.Request)
PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop operation middleware
func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶
func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)
PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID operation middleware
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶
func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
(DELETE /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
func (Unimplemented) GetApiV1OrganizationsOrganizationIDClusters ¶
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, params GetApiV1OrganizationsOrganizationIDClustersParams)
(GET /api/v1/organizations/{organizationID}/clusters)
func (Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶ added in v1.6.0
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
(GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
func (Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput ¶ added in v1.8.0
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutput(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter, params GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputParams)
(GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/consoleoutput)
func (Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions ¶ added in v1.8.0
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
(GET /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/consolesessions)
func (Unimplemented) GetApiV1OrganizationsOrganizationIDRegions ¶ added in v0.1.6
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)
(GET /api/v1/organizations/{organizationID}/regions)
func (Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors ¶
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)
(GET /api/v1/organizations/{organizationID}/regions/{regionID}/flavors)
func (Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages ¶
func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)
(GET /api/v1/organizations/{organizationID}/regions/{regionID}/images)
func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters ¶
func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClusters(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)
(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters)
func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict ¶ added in v1.6.0
func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvict(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/evict)
func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot ¶ added in v1.7.0
func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardreboot(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/hardreboot)
func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot ¶ added in v1.7.0
func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftreboot(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/softreboot)
func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart ¶ added in v1.7.0
func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStart(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/start)
func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop ¶ added in v1.7.0
func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStop(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter, machineID MachineIDParameter)
(POST /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}/machines/{machineID}/stop)
func (Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID ¶
func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter)
(PUT /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID})
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error