openapi

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 16 Imported by: 1

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

View Source
const (
	Oauth2AuthenticationScopes = "oauth2Authentication.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, clusterID ClusterIDParameter) (*http.Request, error)

NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func NewDeleteApiV2ClustersClusterIDRequest added in v1.12.0

func NewDeleteApiV2ClustersClusterIDRequest(server string, clusterID ClusterIDParameter) (*http.Request, error)

NewDeleteApiV2ClustersClusterIDRequest generates requests for DeleteApiV2ClustersClusterID

func NewDeleteApiV2InstancesInstanceIDRequest added in v1.11.0

func NewDeleteApiV2InstancesInstanceIDRequest(server string, instanceID InstanceIDParameter) (*http.Request, error)

NewDeleteApiV2InstancesInstanceIDRequest generates requests for DeleteApiV2InstancesInstanceID

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 NewGetApiV2ClustersClusterIDRequest added in v1.12.0

func NewGetApiV2ClustersClusterIDRequest(server string, clusterID ClusterIDParameter) (*http.Request, error)

NewGetApiV2ClustersClusterIDRequest generates requests for GetApiV2ClustersClusterID

func NewGetApiV2ClustersRequest added in v1.12.0

func NewGetApiV2ClustersRequest(server string, params *GetApiV2ClustersParams) (*http.Request, error)

NewGetApiV2ClustersRequest generates requests for GetApiV2Clusters

func NewGetApiV2InstancesInstanceIDConsoleoutputRequest added in v1.11.0

func NewGetApiV2InstancesInstanceIDConsoleoutputRequest(server string, instanceID InstanceIDParameter, params *GetApiV2InstancesInstanceIDConsoleoutputParams) (*http.Request, error)

NewGetApiV2InstancesInstanceIDConsoleoutputRequest generates requests for GetApiV2InstancesInstanceIDConsoleoutput

func NewGetApiV2InstancesInstanceIDConsolesessionRequest added in v1.11.0

func NewGetApiV2InstancesInstanceIDConsolesessionRequest(server string, instanceID InstanceIDParameter) (*http.Request, error)

NewGetApiV2InstancesInstanceIDConsolesessionRequest generates requests for GetApiV2InstancesInstanceIDConsolesession

func NewGetApiV2InstancesInstanceIDRequest added in v1.11.0

func NewGetApiV2InstancesInstanceIDRequest(server string, instanceID InstanceIDParameter) (*http.Request, error)

NewGetApiV2InstancesInstanceIDRequest generates requests for GetApiV2InstancesInstanceID

func NewGetApiV2InstancesInstanceIDSshkeyRequest added in v1.11.0

func NewGetApiV2InstancesInstanceIDSshkeyRequest(server string, instanceID InstanceIDParameter) (*http.Request, error)

NewGetApiV2InstancesInstanceIDSshkeyRequest generates requests for GetApiV2InstancesInstanceIDSshkey

func NewGetApiV2InstancesRequest added in v1.11.0

func NewGetApiV2InstancesRequest(server string, params *GetApiV2InstancesParams) (*http.Request, error)

NewGetApiV2InstancesRequest generates requests for GetApiV2Instances

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 NewPostApiV2ClustersRequest added in v1.12.0

func NewPostApiV2ClustersRequest(server string, body PostApiV2ClustersJSONRequestBody) (*http.Request, error)

NewPostApiV2ClustersRequest calls the generic PostApiV2Clusters builder with application/json body

func NewPostApiV2ClustersRequestWithBody added in v1.12.0

func NewPostApiV2ClustersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV2ClustersRequestWithBody generates requests for PostApiV2Clusters with any type of body

func NewPostApiV2InstancesInstanceIDRebootRequest added in v1.11.0

func NewPostApiV2InstancesInstanceIDRebootRequest(server string, instanceID InstanceIDParameter, params *PostApiV2InstancesInstanceIDRebootParams) (*http.Request, error)

NewPostApiV2InstancesInstanceIDRebootRequest generates requests for PostApiV2InstancesInstanceIDReboot

func NewPostApiV2InstancesInstanceIDSnapshotRequest added in v1.13.0

func NewPostApiV2InstancesInstanceIDSnapshotRequest(server string, instanceID InstanceIDParameter, body PostApiV2InstancesInstanceIDSnapshotJSONRequestBody) (*http.Request, error)

NewPostApiV2InstancesInstanceIDSnapshotRequest calls the generic PostApiV2InstancesInstanceIDSnapshot builder with application/json body

func NewPostApiV2InstancesInstanceIDSnapshotRequestWithBody added in v1.13.0

func NewPostApiV2InstancesInstanceIDSnapshotRequestWithBody(server string, instanceID InstanceIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV2InstancesInstanceIDSnapshotRequestWithBody generates requests for PostApiV2InstancesInstanceIDSnapshot with any type of body

func NewPostApiV2InstancesInstanceIDStartRequest added in v1.11.0

func NewPostApiV2InstancesInstanceIDStartRequest(server string, instanceID InstanceIDParameter) (*http.Request, error)

NewPostApiV2InstancesInstanceIDStartRequest generates requests for PostApiV2InstancesInstanceIDStart

func NewPostApiV2InstancesInstanceIDStopRequest added in v1.11.0

func NewPostApiV2InstancesInstanceIDStopRequest(server string, instanceID InstanceIDParameter) (*http.Request, error)

NewPostApiV2InstancesInstanceIDStopRequest generates requests for PostApiV2InstancesInstanceIDStop

func NewPostApiV2InstancesRequest added in v1.11.0

func NewPostApiV2InstancesRequest(server string, body PostApiV2InstancesJSONRequestBody) (*http.Request, error)

NewPostApiV2InstancesRequest calls the generic PostApiV2Instances builder with application/json body

func NewPostApiV2InstancesRequestWithBody added in v1.11.0

func NewPostApiV2InstancesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV2InstancesRequestWithBody generates requests for PostApiV2Instances 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

func NewPutApiV2ClustersClusterIDRequest added in v1.12.0

func NewPutApiV2ClustersClusterIDRequest(server string, clusterID ClusterIDParameter, body PutApiV2ClustersClusterIDJSONRequestBody) (*http.Request, error)

NewPutApiV2ClustersClusterIDRequest calls the generic PutApiV2ClustersClusterID builder with application/json body

func NewPutApiV2ClustersClusterIDRequestWithBody added in v1.12.0

func NewPutApiV2ClustersClusterIDRequestWithBody(server string, clusterID ClusterIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV2ClustersClusterIDRequestWithBody generates requests for PutApiV2ClustersClusterID with any type of body

func NewPutApiV2InstancesInstanceIDRequest added in v1.11.0

func NewPutApiV2InstancesInstanceIDRequest(server string, instanceID InstanceIDParameter, body PutApiV2InstancesInstanceIDJSONRequestBody) (*http.Request, error)

NewPutApiV2InstancesInstanceIDRequest calls the generic PutApiV2InstancesInstanceID builder with application/json body

func NewPutApiV2InstancesInstanceIDRequestWithBody added in v1.11.0

func NewPutApiV2InstancesInstanceIDRequestWithBody(server string, instanceID InstanceIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV2InstancesInstanceIDRequestWithBody generates requests for PutApiV2InstancesInstanceID with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

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 AllowedSourceAddresses added in v1.11.0

type AllowedSourceAddresses = []string

AllowedSourceAddresses A list of network prefixes that are allowed to egress from the server. By default, only packets from the server's network interface's IP address are allowed to enter the network. Use of this option allows the server to act as a router without SNAT rules.

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

func (b *Builder) WithHTTPClient(client *http.Client)

func (*Builder) WithRequestEditorFn added in v1.4.0

func (b *Builder) WithRequestEditorFn(fn func(context.Context, *http.Request) error)

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) DeleteApiV2ClustersClusterID added in v1.12.0

func (c *Client) DeleteApiV2ClustersClusterID(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiV2InstancesInstanceID added in v1.11.0

func (c *Client) DeleteApiV2InstancesInstanceID(ctx context.Context, instanceID InstanceIDParameter, 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) GetApiV2Clusters added in v1.12.0

func (c *Client) GetApiV2Clusters(ctx context.Context, params *GetApiV2ClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV2ClustersClusterID added in v1.12.0

func (c *Client) GetApiV2ClustersClusterID(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV2Instances added in v1.11.0

func (c *Client) GetApiV2Instances(ctx context.Context, params *GetApiV2InstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV2InstancesInstanceID added in v1.11.0

func (c *Client) GetApiV2InstancesInstanceID(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV2InstancesInstanceIDConsoleoutput added in v1.11.0

func (c *Client) GetApiV2InstancesInstanceIDConsoleoutput(ctx context.Context, instanceID InstanceIDParameter, params *GetApiV2InstancesInstanceIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV2InstancesInstanceIDConsolesession added in v1.11.0

func (c *Client) GetApiV2InstancesInstanceIDConsolesession(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV2InstancesInstanceIDSshkey added in v1.11.0

func (c *Client) GetApiV2InstancesInstanceIDSshkey(ctx context.Context, instanceID InstanceIDParameter, 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) PostApiV2Clusters added in v1.12.0

func (c *Client) PostApiV2Clusters(ctx context.Context, body PostApiV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2ClustersWithBody added in v1.12.0

func (c *Client) PostApiV2ClustersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2Instances added in v1.11.0

func (c *Client) PostApiV2Instances(ctx context.Context, body PostApiV2InstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2InstancesInstanceIDReboot added in v1.11.0

func (c *Client) PostApiV2InstancesInstanceIDReboot(ctx context.Context, instanceID InstanceIDParameter, params *PostApiV2InstancesInstanceIDRebootParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2InstancesInstanceIDSnapshot added in v1.13.0

func (c *Client) PostApiV2InstancesInstanceIDSnapshot(ctx context.Context, instanceID InstanceIDParameter, body PostApiV2InstancesInstanceIDSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2InstancesInstanceIDSnapshotWithBody added in v1.13.0

func (c *Client) PostApiV2InstancesInstanceIDSnapshotWithBody(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2InstancesInstanceIDStart added in v1.11.0

func (c *Client) PostApiV2InstancesInstanceIDStart(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2InstancesInstanceIDStop added in v1.11.0

func (c *Client) PostApiV2InstancesInstanceIDStop(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV2InstancesWithBody added in v1.11.0

func (c *Client) PostApiV2InstancesWithBody(ctx context.Context, contentType string, body io.Reader, 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)

func (*Client) PutApiV2ClustersClusterID added in v1.12.0

func (c *Client) PutApiV2ClustersClusterID(ctx context.Context, clusterID ClusterIDParameter, body PutApiV2ClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV2ClustersClusterIDWithBody added in v1.12.0

func (c *Client) PutApiV2ClustersClusterIDWithBody(ctx context.Context, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV2InstancesInstanceID added in v1.11.0

func (c *Client) PutApiV2InstancesInstanceID(ctx context.Context, instanceID InstanceIDParameter, body PutApiV2InstancesInstanceIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV2InstancesInstanceIDWithBody added in v1.11.0

func (c *Client) PutApiV2InstancesInstanceIDWithBody(ctx context.Context, instanceID InstanceIDParameter, 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)

	// GetApiV2Clusters request
	GetApiV2Clusters(ctx context.Context, params *GetApiV2ClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV2ClustersWithBody request with any body
	PostApiV2ClustersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV2Clusters(ctx context.Context, body PostApiV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV2ClustersClusterID request
	DeleteApiV2ClustersClusterID(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV2ClustersClusterID request
	GetApiV2ClustersClusterID(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV2ClustersClusterIDWithBody request with any body
	PutApiV2ClustersClusterIDWithBody(ctx context.Context, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV2ClustersClusterID(ctx context.Context, clusterID ClusterIDParameter, body PutApiV2ClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV2Instances request
	GetApiV2Instances(ctx context.Context, params *GetApiV2InstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV2InstancesWithBody request with any body
	PostApiV2InstancesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV2Instances(ctx context.Context, body PostApiV2InstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV2InstancesInstanceID request
	DeleteApiV2InstancesInstanceID(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV2InstancesInstanceID request
	GetApiV2InstancesInstanceID(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV2InstancesInstanceIDWithBody request with any body
	PutApiV2InstancesInstanceIDWithBody(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV2InstancesInstanceID(ctx context.Context, instanceID InstanceIDParameter, body PutApiV2InstancesInstanceIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV2InstancesInstanceIDConsoleoutput request
	GetApiV2InstancesInstanceIDConsoleoutput(ctx context.Context, instanceID InstanceIDParameter, params *GetApiV2InstancesInstanceIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV2InstancesInstanceIDConsolesession request
	GetApiV2InstancesInstanceIDConsolesession(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV2InstancesInstanceIDReboot request
	PostApiV2InstancesInstanceIDReboot(ctx context.Context, instanceID InstanceIDParameter, params *PostApiV2InstancesInstanceIDRebootParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV2InstancesInstanceIDSnapshotWithBody request with any body
	PostApiV2InstancesInstanceIDSnapshotWithBody(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV2InstancesInstanceIDSnapshot(ctx context.Context, instanceID InstanceIDParameter, body PostApiV2InstancesInstanceIDSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV2InstancesInstanceIDSshkey request
	GetApiV2InstancesInstanceIDSshkey(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV2InstancesInstanceIDStart request
	PostApiV2InstancesInstanceIDStart(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV2InstancesInstanceIDStop request
	PostApiV2InstancesInstanceIDStop(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) DeleteApiV2ClustersClusterIDWithResponse added in v1.12.0

func (c *ClientWithResponses) DeleteApiV2ClustersClusterIDWithResponse(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV2ClustersClusterIDResponse, error)

DeleteApiV2ClustersClusterIDWithResponse request returning *DeleteApiV2ClustersClusterIDResponse

func (*ClientWithResponses) DeleteApiV2InstancesInstanceIDWithResponse added in v1.11.0

func (c *ClientWithResponses) DeleteApiV2InstancesInstanceIDWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV2InstancesInstanceIDResponse, error)

DeleteApiV2InstancesInstanceIDWithResponse request returning *DeleteApiV2InstancesInstanceIDResponse

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

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) GetApiV2ClustersClusterIDWithResponse added in v1.12.0

func (c *ClientWithResponses) GetApiV2ClustersClusterIDWithResponse(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2ClustersClusterIDResponse, error)

GetApiV2ClustersClusterIDWithResponse request returning *GetApiV2ClustersClusterIDResponse

func (*ClientWithResponses) GetApiV2ClustersWithResponse added in v1.12.0

func (c *ClientWithResponses) GetApiV2ClustersWithResponse(ctx context.Context, params *GetApiV2ClustersParams, reqEditors ...RequestEditorFn) (*GetApiV2ClustersResponse, error)

GetApiV2ClustersWithResponse request returning *GetApiV2ClustersResponse

func (*ClientWithResponses) GetApiV2InstancesInstanceIDConsoleoutputWithResponse added in v1.11.0

func (c *ClientWithResponses) GetApiV2InstancesInstanceIDConsoleoutputWithResponse(ctx context.Context, instanceID InstanceIDParameter, params *GetApiV2InstancesInstanceIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDConsoleoutputResponse, error)

GetApiV2InstancesInstanceIDConsoleoutputWithResponse request returning *GetApiV2InstancesInstanceIDConsoleoutputResponse

func (*ClientWithResponses) GetApiV2InstancesInstanceIDConsolesessionWithResponse added in v1.11.0

func (c *ClientWithResponses) GetApiV2InstancesInstanceIDConsolesessionWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDConsolesessionResponse, error)

GetApiV2InstancesInstanceIDConsolesessionWithResponse request returning *GetApiV2InstancesInstanceIDConsolesessionResponse

func (*ClientWithResponses) GetApiV2InstancesInstanceIDSshkeyWithResponse added in v1.11.0

func (c *ClientWithResponses) GetApiV2InstancesInstanceIDSshkeyWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDSshkeyResponse, error)

GetApiV2InstancesInstanceIDSshkeyWithResponse request returning *GetApiV2InstancesInstanceIDSshkeyResponse

func (*ClientWithResponses) GetApiV2InstancesInstanceIDWithResponse added in v1.11.0

func (c *ClientWithResponses) GetApiV2InstancesInstanceIDWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDResponse, error)

GetApiV2InstancesInstanceIDWithResponse request returning *GetApiV2InstancesInstanceIDResponse

func (*ClientWithResponses) GetApiV2InstancesWithResponse added in v1.11.0

func (c *ClientWithResponses) GetApiV2InstancesWithResponse(ctx context.Context, params *GetApiV2InstancesParams, reqEditors ...RequestEditorFn) (*GetApiV2InstancesResponse, error)

GetApiV2InstancesWithResponse request returning *GetApiV2InstancesResponse

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) 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) PostApiV2ClustersWithBodyWithResponse added in v1.12.0

func (c *ClientWithResponses) PostApiV2ClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV2ClustersResponse, error)

PostApiV2ClustersWithBodyWithResponse request with arbitrary body returning *PostApiV2ClustersResponse

func (*ClientWithResponses) PostApiV2ClustersWithResponse added in v1.12.0

func (c *ClientWithResponses) PostApiV2ClustersWithResponse(ctx context.Context, body PostApiV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV2ClustersResponse, error)

func (*ClientWithResponses) PostApiV2InstancesInstanceIDRebootWithResponse added in v1.11.0

func (c *ClientWithResponses) PostApiV2InstancesInstanceIDRebootWithResponse(ctx context.Context, instanceID InstanceIDParameter, params *PostApiV2InstancesInstanceIDRebootParams, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDRebootResponse, error)

PostApiV2InstancesInstanceIDRebootWithResponse request returning *PostApiV2InstancesInstanceIDRebootResponse

func (*ClientWithResponses) PostApiV2InstancesInstanceIDSnapshotWithBodyWithResponse added in v1.13.0

func (c *ClientWithResponses) PostApiV2InstancesInstanceIDSnapshotWithBodyWithResponse(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDSnapshotResponse, error)

PostApiV2InstancesInstanceIDSnapshotWithBodyWithResponse request with arbitrary body returning *PostApiV2InstancesInstanceIDSnapshotResponse

func (*ClientWithResponses) PostApiV2InstancesInstanceIDSnapshotWithResponse added in v1.13.0

func (*ClientWithResponses) PostApiV2InstancesInstanceIDStartWithResponse added in v1.11.0

func (c *ClientWithResponses) PostApiV2InstancesInstanceIDStartWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDStartResponse, error)

PostApiV2InstancesInstanceIDStartWithResponse request returning *PostApiV2InstancesInstanceIDStartResponse

func (*ClientWithResponses) PostApiV2InstancesInstanceIDStopWithResponse added in v1.11.0

func (c *ClientWithResponses) PostApiV2InstancesInstanceIDStopWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDStopResponse, error)

PostApiV2InstancesInstanceIDStopWithResponse request returning *PostApiV2InstancesInstanceIDStopResponse

func (*ClientWithResponses) PostApiV2InstancesWithBodyWithResponse added in v1.11.0

func (c *ClientWithResponses) PostApiV2InstancesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV2InstancesResponse, error)

PostApiV2InstancesWithBodyWithResponse request with arbitrary body returning *PostApiV2InstancesResponse

func (*ClientWithResponses) PostApiV2InstancesWithResponse added in v1.11.0

func (c *ClientWithResponses) PostApiV2InstancesWithResponse(ctx context.Context, body PostApiV2InstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV2InstancesResponse, 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) PutApiV2ClustersClusterIDWithBodyWithResponse added in v1.12.0

func (c *ClientWithResponses) PutApiV2ClustersClusterIDWithBodyWithResponse(ctx context.Context, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV2ClustersClusterIDResponse, error)

PutApiV2ClustersClusterIDWithBodyWithResponse request with arbitrary body returning *PutApiV2ClustersClusterIDResponse

func (*ClientWithResponses) PutApiV2ClustersClusterIDWithResponse added in v1.12.0

func (c *ClientWithResponses) PutApiV2ClustersClusterIDWithResponse(ctx context.Context, clusterID ClusterIDParameter, body PutApiV2ClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV2ClustersClusterIDResponse, error)

func (*ClientWithResponses) PutApiV2InstancesInstanceIDWithBodyWithResponse added in v1.11.0

func (c *ClientWithResponses) PutApiV2InstancesInstanceIDWithBodyWithResponse(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV2InstancesInstanceIDResponse, error)

PutApiV2InstancesInstanceIDWithBodyWithResponse request with arbitrary body returning *PutApiV2InstancesInstanceIDResponse

func (*ClientWithResponses) PutApiV2InstancesInstanceIDWithResponse added in v1.11.0

func (c *ClientWithResponses) PutApiV2InstancesInstanceIDWithResponse(ctx context.Context, instanceID InstanceIDParameter, body PutApiV2InstancesInstanceIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV2InstancesInstanceIDResponse, 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)

	// GetApiV2ClustersWithResponse request
	GetApiV2ClustersWithResponse(ctx context.Context, params *GetApiV2ClustersParams, reqEditors ...RequestEditorFn) (*GetApiV2ClustersResponse, error)

	// PostApiV2ClustersWithBodyWithResponse request with any body
	PostApiV2ClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV2ClustersResponse, error)

	PostApiV2ClustersWithResponse(ctx context.Context, body PostApiV2ClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV2ClustersResponse, error)

	// DeleteApiV2ClustersClusterIDWithResponse request
	DeleteApiV2ClustersClusterIDWithResponse(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV2ClustersClusterIDResponse, error)

	// GetApiV2ClustersClusterIDWithResponse request
	GetApiV2ClustersClusterIDWithResponse(ctx context.Context, clusterID ClusterIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2ClustersClusterIDResponse, error)

	// PutApiV2ClustersClusterIDWithBodyWithResponse request with any body
	PutApiV2ClustersClusterIDWithBodyWithResponse(ctx context.Context, clusterID ClusterIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV2ClustersClusterIDResponse, error)

	PutApiV2ClustersClusterIDWithResponse(ctx context.Context, clusterID ClusterIDParameter, body PutApiV2ClustersClusterIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV2ClustersClusterIDResponse, error)

	// GetApiV2InstancesWithResponse request
	GetApiV2InstancesWithResponse(ctx context.Context, params *GetApiV2InstancesParams, reqEditors ...RequestEditorFn) (*GetApiV2InstancesResponse, error)

	// PostApiV2InstancesWithBodyWithResponse request with any body
	PostApiV2InstancesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV2InstancesResponse, error)

	PostApiV2InstancesWithResponse(ctx context.Context, body PostApiV2InstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV2InstancesResponse, error)

	// DeleteApiV2InstancesInstanceIDWithResponse request
	DeleteApiV2InstancesInstanceIDWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV2InstancesInstanceIDResponse, error)

	// GetApiV2InstancesInstanceIDWithResponse request
	GetApiV2InstancesInstanceIDWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDResponse, error)

	// PutApiV2InstancesInstanceIDWithBodyWithResponse request with any body
	PutApiV2InstancesInstanceIDWithBodyWithResponse(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV2InstancesInstanceIDResponse, error)

	PutApiV2InstancesInstanceIDWithResponse(ctx context.Context, instanceID InstanceIDParameter, body PutApiV2InstancesInstanceIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV2InstancesInstanceIDResponse, error)

	// GetApiV2InstancesInstanceIDConsoleoutputWithResponse request
	GetApiV2InstancesInstanceIDConsoleoutputWithResponse(ctx context.Context, instanceID InstanceIDParameter, params *GetApiV2InstancesInstanceIDConsoleoutputParams, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDConsoleoutputResponse, error)

	// GetApiV2InstancesInstanceIDConsolesessionWithResponse request
	GetApiV2InstancesInstanceIDConsolesessionWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDConsolesessionResponse, error)

	// PostApiV2InstancesInstanceIDRebootWithResponse request
	PostApiV2InstancesInstanceIDRebootWithResponse(ctx context.Context, instanceID InstanceIDParameter, params *PostApiV2InstancesInstanceIDRebootParams, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDRebootResponse, error)

	// PostApiV2InstancesInstanceIDSnapshotWithBodyWithResponse request with any body
	PostApiV2InstancesInstanceIDSnapshotWithBodyWithResponse(ctx context.Context, instanceID InstanceIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDSnapshotResponse, error)

	PostApiV2InstancesInstanceIDSnapshotWithResponse(ctx context.Context, instanceID InstanceIDParameter, body PostApiV2InstancesInstanceIDSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDSnapshotResponse, error)

	// GetApiV2InstancesInstanceIDSshkeyWithResponse request
	GetApiV2InstancesInstanceIDSshkeyWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*GetApiV2InstancesInstanceIDSshkeyResponse, error)

	// PostApiV2InstancesInstanceIDStartWithResponse request
	PostApiV2InstancesInstanceIDStartWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDStartResponse, error)

	// PostApiV2InstancesInstanceIDStopWithResponse request
	PostApiV2InstancesInstanceIDStopWithResponse(ctx context.Context, instanceID InstanceIDParameter, reqEditors ...RequestEditorFn) (*PostApiV2InstancesInstanceIDStopResponse, 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 ClusterV2Create added in v1.12.0

type ClusterV2Create struct {
	// Metadata Metadata required for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec A cluster creation specification.
	Spec ClusterV2CreateSpec `json:"spec"`
}

ClusterV2Create A cluster creation request.

type ClusterV2CreateRequest added in v1.12.0

type ClusterV2CreateRequest = ClusterV2Create

ClusterV2CreateRequest A cluster creation request.

type ClusterV2CreateSpec added in v1.12.0

type ClusterV2CreateSpec struct {
	// NetworkId The network ID to attach the compute instance to.
	NetworkId string `json:"networkId"`

	// OrganizationId The organization to provision the resource in.
	OrganizationId string `json:"organizationId"`

	// Pools A list of workload pools.
	Pools PoolV2List `json:"pools"`

	// ProjectId The project to provision the resource in.
	ProjectId string `json:"projectId"`
}

ClusterV2CreateSpec defines model for clusterV2CreateSpec.

type ClusterV2ListResponse added in v1.12.0

type ClusterV2ListResponse = ClusterV2ReadList

ClusterV2ListResponse A list of compute clusters.

type ClusterV2Read added in v1.12.0

type ClusterV2Read struct {
	// Metadata Metadata required by project scoped resource reads.
	Metadata externalRef0.ProjectScopedResourceReadMetadata `json:"metadata"`

	// Spec A cluster specification.
	Spec ClusterV2Spec `json:"spec"`

	// Status A cluster status.
	Status ClusterV2Status `json:"status"`
}

ClusterV2Read A compute cluster.

type ClusterV2ReadList added in v1.12.0

type ClusterV2ReadList = []ClusterV2Read

ClusterV2ReadList A list of compute clusters.

type ClusterV2Response added in v1.12.0

type ClusterV2Response = ClusterV2Read

ClusterV2Response A compute cluster.

type ClusterV2Spec added in v1.12.0

type ClusterV2Spec struct {
	// Pools A list of workload pools.
	Pools PoolV2List `json:"pools"`
}

ClusterV2Spec A cluster specification.

type ClusterV2Status added in v1.12.0

type ClusterV2Status struct {
	// NetworkId The network ID the cluster is running on.
	NetworkId string `json:"networkId"`

	// Pools A list of workload pool statuses.
	Pools PoolV2StatusList `json:"pools"`

	// RegionId The region ID the cluster is running in.
	RegionId string `json:"regionId"`
}

ClusterV2Status A cluster status.

type ClusterV2Update added in v1.12.0

type ClusterV2Update struct {
	// Metadata Metadata required for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec A cluster specification.
	Spec ClusterV2Spec `json:"spec"`
}

ClusterV2Update A cluster update request.

type ClusterV2UpdateRequest added in v1.12.0

type ClusterV2UpdateRequest = ClusterV2Update

ClusterV2UpdateRequest A cluster update request.

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 ComputeImage0

type ComputeImage0 = interface{}

ComputeImage0 defines model for .

type ComputeImage1

type ComputeImage1 = interface{}

ComputeImage1 defines model for .

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

Status returns HTTPResponse.Status

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV2ClustersClusterIDResponse added in v1.12.0

type DeleteApiV2ClustersClusterIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV2ClustersClusterIDResponse added in v1.12.0

func ParseDeleteApiV2ClustersClusterIDResponse(rsp *http.Response) (*DeleteApiV2ClustersClusterIDResponse, error)

ParseDeleteApiV2ClustersClusterIDResponse parses an HTTP response from a DeleteApiV2ClustersClusterIDWithResponse call

func (DeleteApiV2ClustersClusterIDResponse) Status added in v1.12.0

Status returns HTTPResponse.Status

func (DeleteApiV2ClustersClusterIDResponse) StatusCode added in v1.12.0

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV2InstancesInstanceIDResponse added in v1.11.0

type DeleteApiV2InstancesInstanceIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV2InstancesInstanceIDResponse added in v1.11.0

func ParseDeleteApiV2InstancesInstanceIDResponse(rsp *http.Response) (*DeleteApiV2InstancesInstanceIDResponse, error)

ParseDeleteApiV2InstancesInstanceIDResponse parses an HTTP response from a DeleteApiV2InstancesInstanceIDWithResponse call

func (DeleteApiV2InstancesInstanceIDResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (DeleteApiV2InstancesInstanceIDResponse) StatusCode added in v1.11.0

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&tag=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

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDClustersResponse) StatusCode

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

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsoleoutputResponse) StatusCode added in v1.8.0

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

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDConsolesessionsResponse) StatusCode added in v1.8.0

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

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode added in v1.6.0

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse

type GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *externalRef1.FlavorsResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse

func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse, error)

ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsWithResponse call

func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse

type GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *externalRef1.ImagesResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse

func ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse, error)

ParseGetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesWithResponse call

func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDRegionsRegionIDImagesResponse) StatusCode

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
	JSON403      *externalRef0.ForbiddenResponse
	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

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDRegionsResponse) StatusCode added in v0.1.6

StatusCode returns HTTPResponse.StatusCode

type GetApiV2ClustersClusterIDResponse added in v1.12.0

type GetApiV2ClustersClusterIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClusterV2Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV2ClustersClusterIDResponse added in v1.12.0

func ParseGetApiV2ClustersClusterIDResponse(rsp *http.Response) (*GetApiV2ClustersClusterIDResponse, error)

ParseGetApiV2ClustersClusterIDResponse parses an HTTP response from a GetApiV2ClustersClusterIDWithResponse call

func (GetApiV2ClustersClusterIDResponse) Status added in v1.12.0

Status returns HTTPResponse.Status

func (GetApiV2ClustersClusterIDResponse) StatusCode added in v1.12.0

func (r GetApiV2ClustersClusterIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV2ClustersParams added in v1.12.0

type GetApiV2ClustersParams struct {
	// Tag A set of tags to match against resources in the form "name=value",
	// thus when encoded you get "?tag=foo%3Dcat&tag=bar%3Ddog".
	Tag *externalRef0.TagSelectorParameter `form:"tag,omitempty" json:"tag,omitempty"`

	// OrganizationID Allows resources to be filtered by organization.
	OrganizationID *OrganizationIDQueryParameter `form:"organizationID,omitempty" json:"organizationID,omitempty"`

	// ProjectID Allows resources to be filtered by project.
	ProjectID *ProjectIDQueryParameter `form:"projectID,omitempty" json:"projectID,omitempty"`

	// RegionID Allows resources to be filtered by region.
	RegionID *RegionIDQueryParameter `form:"regionID,omitempty" json:"regionID,omitempty"`

	// NetworkID Allows resources to be filtered by network.
	NetworkID *NetworkIDQueryParameter `form:"networkID,omitempty" json:"networkID,omitempty"`
}

GetApiV2ClustersParams defines parameters for GetApiV2Clusters.

type GetApiV2ClustersResponse added in v1.12.0

type GetApiV2ClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClusterV2ListResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV2ClustersResponse added in v1.12.0

func ParseGetApiV2ClustersResponse(rsp *http.Response) (*GetApiV2ClustersResponse, error)

ParseGetApiV2ClustersResponse parses an HTTP response from a GetApiV2ClustersWithResponse call

func (GetApiV2ClustersResponse) Status added in v1.12.0

func (r GetApiV2ClustersResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiV2ClustersResponse) StatusCode added in v1.12.0

func (r GetApiV2ClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV2InstancesInstanceIDConsoleoutputParams added in v1.11.0

type GetApiV2InstancesInstanceIDConsoleoutputParams struct {
	// Length The requested output length.
	Length *LengthParameter `form:"length,omitempty" json:"length,omitempty"`
}

GetApiV2InstancesInstanceIDConsoleoutputParams defines parameters for GetApiV2InstancesInstanceIDConsoleoutput.

type GetApiV2InstancesInstanceIDConsoleoutputResponse added in v1.11.0

type GetApiV2InstancesInstanceIDConsoleoutputResponse 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 ParseGetApiV2InstancesInstanceIDConsoleoutputResponse added in v1.11.0

func ParseGetApiV2InstancesInstanceIDConsoleoutputResponse(rsp *http.Response) (*GetApiV2InstancesInstanceIDConsoleoutputResponse, error)

ParseGetApiV2InstancesInstanceIDConsoleoutputResponse parses an HTTP response from a GetApiV2InstancesInstanceIDConsoleoutputWithResponse call

func (GetApiV2InstancesInstanceIDConsoleoutputResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (GetApiV2InstancesInstanceIDConsoleoutputResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type GetApiV2InstancesInstanceIDConsolesessionResponse added in v1.11.0

type GetApiV2InstancesInstanceIDConsolesessionResponse 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 ParseGetApiV2InstancesInstanceIDConsolesessionResponse added in v1.11.0

func ParseGetApiV2InstancesInstanceIDConsolesessionResponse(rsp *http.Response) (*GetApiV2InstancesInstanceIDConsolesessionResponse, error)

ParseGetApiV2InstancesInstanceIDConsolesessionResponse parses an HTTP response from a GetApiV2InstancesInstanceIDConsolesessionWithResponse call

func (GetApiV2InstancesInstanceIDConsolesessionResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (GetApiV2InstancesInstanceIDConsolesessionResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type GetApiV2InstancesInstanceIDResponse added in v1.11.0

type GetApiV2InstancesInstanceIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV2InstancesInstanceIDResponse added in v1.11.0

func ParseGetApiV2InstancesInstanceIDResponse(rsp *http.Response) (*GetApiV2InstancesInstanceIDResponse, error)

ParseGetApiV2InstancesInstanceIDResponse parses an HTTP response from a GetApiV2InstancesInstanceIDWithResponse call

func (GetApiV2InstancesInstanceIDResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (GetApiV2InstancesInstanceIDResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type GetApiV2InstancesInstanceIDSshkeyResponse added in v1.11.0

type GetApiV2InstancesInstanceIDSshkeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *externalRef1.SshKeyResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV2InstancesInstanceIDSshkeyResponse added in v1.11.0

func ParseGetApiV2InstancesInstanceIDSshkeyResponse(rsp *http.Response) (*GetApiV2InstancesInstanceIDSshkeyResponse, error)

ParseGetApiV2InstancesInstanceIDSshkeyResponse parses an HTTP response from a GetApiV2InstancesInstanceIDSshkeyWithResponse call

func (GetApiV2InstancesInstanceIDSshkeyResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (GetApiV2InstancesInstanceIDSshkeyResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type GetApiV2InstancesParams added in v1.11.0

type GetApiV2InstancesParams struct {
	// Tag A set of tags to match against resources in the form "name=value",
	// thus when encoded you get "?tag=foo%3Dcat&tag=bar%3Ddog".
	Tag *externalRef0.TagSelectorParameter `form:"tag,omitempty" json:"tag,omitempty"`

	// OrganizationID Allows resources to be filtered by organization.
	OrganizationID *OrganizationIDQueryParameter `form:"organizationID,omitempty" json:"organizationID,omitempty"`

	// ProjectID Allows resources to be filtered by project.
	ProjectID *ProjectIDQueryParameter `form:"projectID,omitempty" json:"projectID,omitempty"`

	// RegionID Allows resources to be filtered by region.
	RegionID *RegionIDQueryParameter `form:"regionID,omitempty" json:"regionID,omitempty"`

	// NetworkID Allows resources to be filtered by network.
	NetworkID *NetworkIDQueryParameter `form:"networkID,omitempty" json:"networkID,omitempty"`
}

GetApiV2InstancesParams defines parameters for GetApiV2Instances.

type GetApiV2InstancesResponse added in v1.11.0

type GetApiV2InstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstancesResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV2InstancesResponse added in v1.11.0

func ParseGetApiV2InstancesResponse(rsp *http.Response) (*GetApiV2InstancesResponse, error)

ParseGetApiV2InstancesResponse parses an HTTP response from a GetApiV2InstancesWithResponse call

func (GetApiV2InstancesResponse) Status added in v1.11.0

func (r GetApiV2InstancesResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiV2InstancesResponse) StatusCode added in v1.11.0

func (r GetApiV2InstancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HardRebootParameter added in v1.11.0

type HardRebootParameter = bool

HardRebootParameter defines model for hardRebootParameter.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

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 InstanceCreate added in v1.11.0

type InstanceCreate struct {
	// Metadata Metadata required for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec A compute instance.
	Spec InstanceCreateSpec `json:"spec"`
}

InstanceCreate A compute instance creation request.

type InstanceCreateRequest added in v1.11.0

type InstanceCreateRequest = InstanceCreate

InstanceCreateRequest A compute instance creation request.

type InstanceCreateSpec added in v1.11.0

type InstanceCreateSpec struct {
	// FlavorId The flavor CPU/RAM of a compute instance.
	FlavorId string `json:"flavorId"`

	// ImageId The image of a compute instance.
	ImageId string `json:"imageId"`

	// NetworkId The network ID to attach the compute instance to.
	NetworkId string `json:"networkId"`

	// Networking A compute instance's network  configuration.
	Networking *InstanceNetworking `json:"networking,omitempty"`

	// OrganizationId The organization to provision the resource in.
	OrganizationId string `json:"organizationId"`

	// ProjectId The project to provision the resource in.
	ProjectId string `json:"projectId"`

	// UserData Contains base64-encoded configuration information or scripts to use upon launch.
	// The format of the data is governed by the cloud-init standard, and may be a script,
	// a MIME multipart archive, etc.
	UserData *[]byte `json:"userData,omitempty"`
}

InstanceCreateSpec defines model for instanceCreateSpec.

type InstanceIDParameter added in v1.11.0

type InstanceIDParameter = KubernetesNameParameter

InstanceIDParameter 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 InstanceNetworking added in v1.11.0

type InstanceNetworking struct {
	// AllowedSourceAddresses A list of network prefixes that are allowed to egress from the server.
	// By default, only packets from the server's network interface's IP address
	// are allowed to enter the network.  Use of this option allows the server
	// to act as a router without SNAT rules.
	AllowedSourceAddresses *AllowedSourceAddresses `json:"allowedSourceAddresses,omitempty"`

	// PublicIP Whether or not to provision a public IP.
	PublicIP *bool `json:"publicIP,omitempty"`

	// SecurityGroups A list of security group IDs.
	SecurityGroups *SecurityGroupIDList `json:"securityGroups,omitempty"`
}

InstanceNetworking A compute instance's network configuration.

type InstanceRead added in v1.11.0

type InstanceRead struct {
	// Metadata Metadata required by project scoped resource reads.
	Metadata externalRef0.ProjectScopedResourceReadMetadata `json:"metadata"`

	// Spec A compute instance.
	Spec InstanceSpec `json:"spec"`

	// Status Read only status information about a compute instance.
	Status InstanceStatus `json:"status"`
}

InstanceRead A compute instance.

type InstanceResponse added in v1.11.0

type InstanceResponse = InstanceRead

InstanceResponse A compute instance.

type InstanceSnapshotCreate added in v1.13.0

type InstanceSnapshotCreate struct {
	// Metadata Metadata required for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`
}

InstanceSnapshotCreate A compute instance snapshot request.

type InstanceSnapshotRequest added in v1.13.0

type InstanceSnapshotRequest = InstanceSnapshotCreate

InstanceSnapshotRequest A compute instance snapshot request.

type InstanceSpec added in v1.11.0

type InstanceSpec struct {
	// FlavorId The flavor CPU/RAM of a compute instance.
	FlavorId string `json:"flavorId"`

	// ImageId The image of a compute instance.
	ImageId string `json:"imageId"`

	// Networking A compute instance's network  configuration.
	Networking *InstanceNetworking `json:"networking,omitempty"`

	// UserData Contains base64-encoded configuration information or scripts to use upon launch.
	// The format of the data is governed by the cloud-init standard, and may be a script,
	// a MIME multipart archive, etc.
	UserData *[]byte `json:"userData,omitempty"`
}

InstanceSpec A compute instance.

type InstanceStatus added in v1.11.0

type InstanceStatus struct {
	// NetworkId The network a security group belongs to.
	NetworkId string `json:"networkId"`

	// PowerState The lifecycle phase of an instance.
	PowerState *externalRef1.InstanceLifecyclePhase `json:"powerState,omitempty"`

	// PrivateIP The private IP address of the server.
	PrivateIP *string `json:"privateIP,omitempty"`

	// PublicIP The public IP address of the server.
	PublicIP *string `json:"publicIP,omitempty"`

	// RegionId The region a security group belongs to.
	RegionId string `json:"regionId"`
}

InstanceStatus Read only status information about a compute instance.

type InstanceUpdate added in v1.11.0

type InstanceUpdate struct {
	// Metadata Metadata required for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec A compute instance.
	Spec InstanceSpec `json:"spec"`
}

InstanceUpdate A compute instance update request.

type InstanceUpdateRequest added in v1.11.0

type InstanceUpdateRequest = InstanceUpdate

InstanceUpdateRequest A compute instance update request.

type InstancesRead added in v1.11.0

type InstancesRead = []InstanceRead

InstancesRead A list of compute instances.

type InstancesResponse added in v1.11.0

type InstancesResponse = InstancesRead

InstancesResponse A list of compute instances.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

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 MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NetworkIDQueryParameter added in v1.11.0

type NetworkIDQueryParameter = []string

NetworkIDQueryParameter defines model for networkIDQueryParameter.

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 OrganizationIDQueryParameter added in v1.11.0

type OrganizationIDQueryParameter = []string

OrganizationIDQueryParameter defines model for organizationIDQueryParameter.

type PoolV2 added in v1.12.0

type PoolV2 struct {
	// FlavorId The flavor CPU/RAM of a compute instance.
	FlavorId string `json:"flavorId"`

	// ImageId The image of a compute instance.
	ImageId string `json:"imageId"`

	// Name The name of the pool.  Instances will inherit this name plus a short suffix.
	Name string `json:"name"`

	// Networking A compute instance's network  configuration.
	Networking *InstanceNetworking `json:"networking,omitempty"`

	// Replicas The number of instances to maintain.
	Replicas int `json:"replicas"`

	// UserData Contains base64-encoded configuration information or scripts to use upon launch.
	// The format of the data is governed by the cloud-init standard, and may be a script,
	// a MIME multipart archive, etc.
	UserData *[]byte `json:"userData,omitempty"`
}

PoolV2 A workload pool.

type PoolV2List added in v1.12.0

type PoolV2List = []PoolV2

PoolV2List A list of workload pools.

type PoolV2Status added in v1.12.0

type PoolV2Status struct {
	// Name The name of the pool.
	Name string `json:"name"`

	// Replicas The number of instances that exist.
	Replicas int `json:"replicas"`
}

PoolV2Status A workload pool.

type PoolV2StatusList added in v1.12.0

type PoolV2StatusList = []PoolV2Status

PoolV2StatusList A list of workload pool statuses.

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

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDEvictResponse) StatusCode added in v1.6.0

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

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDHardrebootResponse) StatusCode added in v1.7.0

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

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDSoftrebootResponse) StatusCode added in v1.7.0

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

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStartResponse) StatusCode added in v1.7.0

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

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDMachinesMachineIDStopResponse) StatusCode added in v1.7.0

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

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsProjectIDClustersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiV2ClustersJSONRequestBody added in v1.12.0

type PostApiV2ClustersJSONRequestBody = ClusterV2Create

PostApiV2ClustersJSONRequestBody defines body for PostApiV2Clusters for application/json ContentType.

type PostApiV2ClustersResponse added in v1.12.0

type PostApiV2ClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ClusterV2Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV2ClustersResponse added in v1.12.0

func ParsePostApiV2ClustersResponse(rsp *http.Response) (*PostApiV2ClustersResponse, error)

ParsePostApiV2ClustersResponse parses an HTTP response from a PostApiV2ClustersWithResponse call

func (PostApiV2ClustersResponse) Status added in v1.12.0

func (r PostApiV2ClustersResponse) Status() string

Status returns HTTPResponse.Status

func (PostApiV2ClustersResponse) StatusCode added in v1.12.0

func (r PostApiV2ClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiV2InstancesInstanceIDRebootParams added in v1.11.0

type PostApiV2InstancesInstanceIDRebootParams struct {
	// Hard Whether the reboot is hard.
	Hard *HardRebootParameter `form:"hard,omitempty" json:"hard,omitempty"`
}

PostApiV2InstancesInstanceIDRebootParams defines parameters for PostApiV2InstancesInstanceIDReboot.

type PostApiV2InstancesInstanceIDRebootResponse added in v1.11.0

type PostApiV2InstancesInstanceIDRebootResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV2InstancesInstanceIDRebootResponse added in v1.11.0

func ParsePostApiV2InstancesInstanceIDRebootResponse(rsp *http.Response) (*PostApiV2InstancesInstanceIDRebootResponse, error)

ParsePostApiV2InstancesInstanceIDRebootResponse parses an HTTP response from a PostApiV2InstancesInstanceIDRebootWithResponse call

func (PostApiV2InstancesInstanceIDRebootResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (PostApiV2InstancesInstanceIDRebootResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type PostApiV2InstancesInstanceIDSnapshotJSONRequestBody added in v1.13.0

type PostApiV2InstancesInstanceIDSnapshotJSONRequestBody = InstanceSnapshotCreate

PostApiV2InstancesInstanceIDSnapshotJSONRequestBody defines body for PostApiV2InstancesInstanceIDSnapshot for application/json ContentType.

type PostApiV2InstancesInstanceIDSnapshotResponse added in v1.13.0

type PostApiV2InstancesInstanceIDSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *externalRef1.ImageResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV2InstancesInstanceIDSnapshotResponse added in v1.13.0

func ParsePostApiV2InstancesInstanceIDSnapshotResponse(rsp *http.Response) (*PostApiV2InstancesInstanceIDSnapshotResponse, error)

ParsePostApiV2InstancesInstanceIDSnapshotResponse parses an HTTP response from a PostApiV2InstancesInstanceIDSnapshotWithResponse call

func (PostApiV2InstancesInstanceIDSnapshotResponse) Status added in v1.13.0

Status returns HTTPResponse.Status

func (PostApiV2InstancesInstanceIDSnapshotResponse) StatusCode added in v1.13.0

StatusCode returns HTTPResponse.StatusCode

type PostApiV2InstancesInstanceIDStartResponse added in v1.11.0

type PostApiV2InstancesInstanceIDStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV2InstancesInstanceIDStartResponse added in v1.11.0

func ParsePostApiV2InstancesInstanceIDStartResponse(rsp *http.Response) (*PostApiV2InstancesInstanceIDStartResponse, error)

ParsePostApiV2InstancesInstanceIDStartResponse parses an HTTP response from a PostApiV2InstancesInstanceIDStartWithResponse call

func (PostApiV2InstancesInstanceIDStartResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (PostApiV2InstancesInstanceIDStartResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type PostApiV2InstancesInstanceIDStopResponse added in v1.11.0

type PostApiV2InstancesInstanceIDStopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV2InstancesInstanceIDStopResponse added in v1.11.0

func ParsePostApiV2InstancesInstanceIDStopResponse(rsp *http.Response) (*PostApiV2InstancesInstanceIDStopResponse, error)

ParsePostApiV2InstancesInstanceIDStopResponse parses an HTTP response from a PostApiV2InstancesInstanceIDStopWithResponse call

func (PostApiV2InstancesInstanceIDStopResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (PostApiV2InstancesInstanceIDStopResponse) StatusCode added in v1.11.0

StatusCode returns HTTPResponse.StatusCode

type PostApiV2InstancesJSONRequestBody added in v1.11.0

type PostApiV2InstancesJSONRequestBody = InstanceCreate

PostApiV2InstancesJSONRequestBody defines body for PostApiV2Instances for application/json ContentType.

type PostApiV2InstancesResponse added in v1.11.0

type PostApiV2InstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *InstanceResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV2InstancesResponse added in v1.11.0

func ParsePostApiV2InstancesResponse(rsp *http.Response) (*PostApiV2InstancesResponse, error)

ParsePostApiV2InstancesResponse parses an HTTP response from a PostApiV2InstancesWithResponse call

func (PostApiV2InstancesResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (PostApiV2InstancesResponse) StatusCode added in v1.11.0

func (r PostApiV2InstancesResponse) 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 ProjectIDQueryParameter added in v1.11.0

type ProjectIDQueryParameter = []string

ProjectIDQueryParameter defines model for projectIDQueryParameter.

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

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutApiV2ClustersClusterIDJSONRequestBody added in v1.12.0

type PutApiV2ClustersClusterIDJSONRequestBody = ClusterV2Update

PutApiV2ClustersClusterIDJSONRequestBody defines body for PutApiV2ClustersClusterID for application/json ContentType.

type PutApiV2ClustersClusterIDResponse added in v1.12.0

type PutApiV2ClustersClusterIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ClusterV2Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV2ClustersClusterIDResponse added in v1.12.0

func ParsePutApiV2ClustersClusterIDResponse(rsp *http.Response) (*PutApiV2ClustersClusterIDResponse, error)

ParsePutApiV2ClustersClusterIDResponse parses an HTTP response from a PutApiV2ClustersClusterIDWithResponse call

func (PutApiV2ClustersClusterIDResponse) Status added in v1.12.0

Status returns HTTPResponse.Status

func (PutApiV2ClustersClusterIDResponse) StatusCode added in v1.12.0

func (r PutApiV2ClustersClusterIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutApiV2InstancesInstanceIDJSONRequestBody added in v1.11.0

type PutApiV2InstancesInstanceIDJSONRequestBody = InstanceUpdate

PutApiV2InstancesInstanceIDJSONRequestBody defines body for PutApiV2InstancesInstanceID for application/json ContentType.

type PutApiV2InstancesInstanceIDResponse added in v1.11.0

type PutApiV2InstancesInstanceIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *InstanceResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV2InstancesInstanceIDResponse added in v1.11.0

func ParsePutApiV2InstancesInstanceIDResponse(rsp *http.Response) (*PutApiV2InstancesInstanceIDResponse, error)

ParsePutApiV2InstancesInstanceIDResponse parses an HTTP response from a PutApiV2InstancesInstanceIDWithResponse call

func (PutApiV2InstancesInstanceIDResponse) Status added in v1.11.0

Status returns HTTPResponse.Status

func (PutApiV2InstancesInstanceIDResponse) StatusCode added in v1.11.0

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 RegionIDQueryParameter added in v1.11.0

type RegionIDQueryParameter = []string

RegionIDQueryParameter defines model for regionIDQueryParameter.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 SecurityGroupIDList added in v1.11.0

type SecurityGroupIDList = []string

SecurityGroupIDList A list of security group IDs.

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)
	// List regions
	// (GET /api/v1/organizations/{organizationID}/regions)
	GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)
	// List flavors
	// (GET /api/v1/organizations/{organizationID}/regions/{regionID}/flavors)
	GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)
	// List images
	// (GET /api/v1/organizations/{organizationID}/regions/{regionID}/images)
	GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)

	// (GET /api/v2/clusters)
	GetApiV2Clusters(w http.ResponseWriter, r *http.Request, params GetApiV2ClustersParams)

	// (POST /api/v2/clusters)
	PostApiV2Clusters(w http.ResponseWriter, r *http.Request)

	// (DELETE /api/v2/clusters/{clusterID})
	DeleteApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request, clusterID ClusterIDParameter)

	// (GET /api/v2/clusters/{clusterID})
	GetApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request, clusterID ClusterIDParameter)

	// (PUT /api/v2/clusters/{clusterID})
	PutApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request, clusterID ClusterIDParameter)
	// List instances
	// (GET /api/v2/instances)
	GetApiV2Instances(w http.ResponseWriter, r *http.Request, params GetApiV2InstancesParams)
	// Create instance
	// (POST /api/v2/instances)
	PostApiV2Instances(w http.ResponseWriter, r *http.Request)
	// Delete instance
	// (DELETE /api/v2/instances/{instanceID})
	DeleteApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Get instance
	// (GET /api/v2/instances/{instanceID})
	GetApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Update instance
	// (PUT /api/v2/instances/{instanceID})
	PutApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Get instance console output
	// (GET /api/v2/instances/{instanceID}/consoleoutput)
	GetApiV2InstancesInstanceIDConsoleoutput(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter, params GetApiV2InstancesInstanceIDConsoleoutputParams)
	// Get instance console VNC
	// (GET /api/v2/instances/{instanceID}/consolesession)
	GetApiV2InstancesInstanceIDConsolesession(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Reboot instance
	// (POST /api/v2/instances/{instanceID}/reboot)
	PostApiV2InstancesInstanceIDReboot(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter, params PostApiV2InstancesInstanceIDRebootParams)
	// Snapshot instance
	// (POST /api/v2/instances/{instanceID}/snapshot)
	PostApiV2InstancesInstanceIDSnapshot(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Get instance SSH key
	// (GET /api/v2/instances/{instanceID}/sshkey)
	GetApiV2InstancesInstanceIDSshkey(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Start instance
	// (POST /api/v2/instances/{instanceID}/start)
	PostApiV2InstancesInstanceIDStart(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
	// Stop instance
	// (POST /api/v2/instances/{instanceID}/stop)
	PostApiV2InstancesInstanceIDStop(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)
}

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) DeleteApiV2ClustersClusterID added in v1.12.0

func (siw *ServerInterfaceWrapper) DeleteApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request)

DeleteApiV2ClustersClusterID operation middleware

func (*ServerInterfaceWrapper) DeleteApiV2InstancesInstanceID added in v1.11.0

func (siw *ServerInterfaceWrapper) DeleteApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request)

DeleteApiV2InstancesInstanceID 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) GetApiV2Clusters added in v1.12.0

func (siw *ServerInterfaceWrapper) GetApiV2Clusters(w http.ResponseWriter, r *http.Request)

GetApiV2Clusters operation middleware

func (*ServerInterfaceWrapper) GetApiV2ClustersClusterID added in v1.12.0

func (siw *ServerInterfaceWrapper) GetApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request)

GetApiV2ClustersClusterID operation middleware

func (*ServerInterfaceWrapper) GetApiV2Instances added in v1.11.0

func (siw *ServerInterfaceWrapper) GetApiV2Instances(w http.ResponseWriter, r *http.Request)

GetApiV2Instances operation middleware

func (*ServerInterfaceWrapper) GetApiV2InstancesInstanceID added in v1.11.0

func (siw *ServerInterfaceWrapper) GetApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request)

GetApiV2InstancesInstanceID operation middleware

func (*ServerInterfaceWrapper) GetApiV2InstancesInstanceIDConsoleoutput added in v1.11.0

func (siw *ServerInterfaceWrapper) GetApiV2InstancesInstanceIDConsoleoutput(w http.ResponseWriter, r *http.Request)

GetApiV2InstancesInstanceIDConsoleoutput operation middleware

func (*ServerInterfaceWrapper) GetApiV2InstancesInstanceIDConsolesession added in v1.11.0

func (siw *ServerInterfaceWrapper) GetApiV2InstancesInstanceIDConsolesession(w http.ResponseWriter, r *http.Request)

GetApiV2InstancesInstanceIDConsolesession operation middleware

func (*ServerInterfaceWrapper) GetApiV2InstancesInstanceIDSshkey added in v1.11.0

func (siw *ServerInterfaceWrapper) GetApiV2InstancesInstanceIDSshkey(w http.ResponseWriter, r *http.Request)

GetApiV2InstancesInstanceIDSshkey 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) PostApiV2Clusters added in v1.12.0

func (siw *ServerInterfaceWrapper) PostApiV2Clusters(w http.ResponseWriter, r *http.Request)

PostApiV2Clusters operation middleware

func (*ServerInterfaceWrapper) PostApiV2Instances added in v1.11.0

func (siw *ServerInterfaceWrapper) PostApiV2Instances(w http.ResponseWriter, r *http.Request)

PostApiV2Instances operation middleware

func (*ServerInterfaceWrapper) PostApiV2InstancesInstanceIDReboot added in v1.11.0

func (siw *ServerInterfaceWrapper) PostApiV2InstancesInstanceIDReboot(w http.ResponseWriter, r *http.Request)

PostApiV2InstancesInstanceIDReboot operation middleware

func (*ServerInterfaceWrapper) PostApiV2InstancesInstanceIDSnapshot added in v1.13.0

func (siw *ServerInterfaceWrapper) PostApiV2InstancesInstanceIDSnapshot(w http.ResponseWriter, r *http.Request)

PostApiV2InstancesInstanceIDSnapshot operation middleware

func (*ServerInterfaceWrapper) PostApiV2InstancesInstanceIDStart added in v1.11.0

func (siw *ServerInterfaceWrapper) PostApiV2InstancesInstanceIDStart(w http.ResponseWriter, r *http.Request)

PostApiV2InstancesInstanceIDStart operation middleware

func (*ServerInterfaceWrapper) PostApiV2InstancesInstanceIDStop added in v1.11.0

func (siw *ServerInterfaceWrapper) PostApiV2InstancesInstanceIDStop(w http.ResponseWriter, r *http.Request)

PostApiV2InstancesInstanceIDStop operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterID operation middleware

func (*ServerInterfaceWrapper) PutApiV2ClustersClusterID added in v1.12.0

func (siw *ServerInterfaceWrapper) PutApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request)

PutApiV2ClustersClusterID operation middleware

func (*ServerInterfaceWrapper) PutApiV2InstancesInstanceID added in v1.11.0

func (siw *ServerInterfaceWrapper) PutApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request)

PutApiV2InstancesInstanceID operation middleware

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

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) DeleteApiV2ClustersClusterID added in v1.12.0

func (_ Unimplemented) DeleteApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request, clusterID ClusterIDParameter)

(DELETE /api/v2/clusters/{clusterID})

func (Unimplemented) DeleteApiV2InstancesInstanceID added in v1.11.0

func (_ Unimplemented) DeleteApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Delete instance (DELETE /api/v2/instances/{instanceID})

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)

List regions (GET /api/v1/organizations/{organizationID}/regions)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)

List flavors (GET /api/v1/organizations/{organizationID}/regions/{regionID}/flavors)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, regionID RegionIDParameter)

List images (GET /api/v1/organizations/{organizationID}/regions/{regionID}/images)

func (Unimplemented) GetApiV2Clusters added in v1.12.0

func (_ Unimplemented) GetApiV2Clusters(w http.ResponseWriter, r *http.Request, params GetApiV2ClustersParams)

(GET /api/v2/clusters)

func (Unimplemented) GetApiV2ClustersClusterID added in v1.12.0

func (_ Unimplemented) GetApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request, clusterID ClusterIDParameter)

(GET /api/v2/clusters/{clusterID})

func (Unimplemented) GetApiV2Instances added in v1.11.0

func (_ Unimplemented) GetApiV2Instances(w http.ResponseWriter, r *http.Request, params GetApiV2InstancesParams)

List instances (GET /api/v2/instances)

func (Unimplemented) GetApiV2InstancesInstanceID added in v1.11.0

func (_ Unimplemented) GetApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Get instance (GET /api/v2/instances/{instanceID})

func (Unimplemented) GetApiV2InstancesInstanceIDConsoleoutput added in v1.11.0

func (_ Unimplemented) GetApiV2InstancesInstanceIDConsoleoutput(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter, params GetApiV2InstancesInstanceIDConsoleoutputParams)

Get instance console output (GET /api/v2/instances/{instanceID}/consoleoutput)

func (Unimplemented) GetApiV2InstancesInstanceIDConsolesession added in v1.11.0

func (_ Unimplemented) GetApiV2InstancesInstanceIDConsolesession(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Get instance console VNC (GET /api/v2/instances/{instanceID}/consolesession)

func (Unimplemented) GetApiV2InstancesInstanceIDSshkey added in v1.11.0

func (_ Unimplemented) GetApiV2InstancesInstanceIDSshkey(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Get instance SSH key (GET /api/v2/instances/{instanceID}/sshkey)

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) PostApiV2Clusters added in v1.12.0

func (_ Unimplemented) PostApiV2Clusters(w http.ResponseWriter, r *http.Request)

(POST /api/v2/clusters)

func (Unimplemented) PostApiV2Instances added in v1.11.0

func (_ Unimplemented) PostApiV2Instances(w http.ResponseWriter, r *http.Request)

Create instance (POST /api/v2/instances)

func (Unimplemented) PostApiV2InstancesInstanceIDReboot added in v1.11.0

func (_ Unimplemented) PostApiV2InstancesInstanceIDReboot(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter, params PostApiV2InstancesInstanceIDRebootParams)

Reboot instance (POST /api/v2/instances/{instanceID}/reboot)

func (Unimplemented) PostApiV2InstancesInstanceIDSnapshot added in v1.13.0

func (_ Unimplemented) PostApiV2InstancesInstanceIDSnapshot(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Snapshot instance (POST /api/v2/instances/{instanceID}/snapshot)

func (Unimplemented) PostApiV2InstancesInstanceIDStart added in v1.11.0

func (_ Unimplemented) PostApiV2InstancesInstanceIDStart(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Start instance (POST /api/v2/instances/{instanceID}/start)

func (Unimplemented) PostApiV2InstancesInstanceIDStop added in v1.11.0

func (_ Unimplemented) PostApiV2InstancesInstanceIDStop(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Stop instance (POST /api/v2/instances/{instanceID}/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})

func (Unimplemented) PutApiV2ClustersClusterID added in v1.12.0

func (_ Unimplemented) PutApiV2ClustersClusterID(w http.ResponseWriter, r *http.Request, clusterID ClusterIDParameter)

(PUT /api/v2/clusters/{clusterID})

func (Unimplemented) PutApiV2InstancesInstanceID added in v1.11.0

func (_ Unimplemented) PutApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID InstanceIDParameter)

Update instance (PUT /api/v2/instances/{instanceID})

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type Volume

type Volume struct {
	// Size Disk size in GiB.
	Size int `json:"size"`
}

Volume A volume. This is currently only valid for VM based flavors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL