kaas

package
v2.29.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNodesBadRequest

type AddNodesBadRequest struct {
}

AddNodesBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewAddNodesBadRequest

func NewAddNodesBadRequest() *AddNodesBadRequest

NewAddNodesBadRequest creates a AddNodesBadRequest with default headers values

func (*AddNodesBadRequest) Code

func (o *AddNodesBadRequest) Code() int

Code gets the status code for the add nodes bad request response

func (*AddNodesBadRequest) Error

func (o *AddNodesBadRequest) Error() string

func (*AddNodesBadRequest) IsClientError

func (o *AddNodesBadRequest) IsClientError() bool

IsClientError returns true when this add nodes bad request response has a 4xx status code

func (*AddNodesBadRequest) IsCode

func (o *AddNodesBadRequest) IsCode(code int) bool

IsCode returns true when this add nodes bad request response a status code equal to that given

func (*AddNodesBadRequest) IsRedirect

func (o *AddNodesBadRequest) IsRedirect() bool

IsRedirect returns true when this add nodes bad request response has a 3xx status code

func (*AddNodesBadRequest) IsServerError

func (o *AddNodesBadRequest) IsServerError() bool

IsServerError returns true when this add nodes bad request response has a 5xx status code

func (*AddNodesBadRequest) IsSuccess

func (o *AddNodesBadRequest) IsSuccess() bool

IsSuccess returns true when this add nodes bad request response has a 2xx status code

func (*AddNodesBadRequest) String

func (o *AddNodesBadRequest) String() string

type AddNodesForbidden

type AddNodesForbidden struct {
}

AddNodesForbidden describes a response with status code 403, with default header values.

Permission denied

func NewAddNodesForbidden

func NewAddNodesForbidden() *AddNodesForbidden

NewAddNodesForbidden creates a AddNodesForbidden with default headers values

func (*AddNodesForbidden) Code

func (o *AddNodesForbidden) Code() int

Code gets the status code for the add nodes forbidden response

func (*AddNodesForbidden) Error

func (o *AddNodesForbidden) Error() string

func (*AddNodesForbidden) IsClientError

func (o *AddNodesForbidden) IsClientError() bool

IsClientError returns true when this add nodes forbidden response has a 4xx status code

func (*AddNodesForbidden) IsCode

func (o *AddNodesForbidden) IsCode(code int) bool

IsCode returns true when this add nodes forbidden response a status code equal to that given

func (*AddNodesForbidden) IsRedirect

func (o *AddNodesForbidden) IsRedirect() bool

IsRedirect returns true when this add nodes forbidden response has a 3xx status code

func (*AddNodesForbidden) IsServerError

func (o *AddNodesForbidden) IsServerError() bool

IsServerError returns true when this add nodes forbidden response has a 5xx status code

func (*AddNodesForbidden) IsSuccess

func (o *AddNodesForbidden) IsSuccess() bool

IsSuccess returns true when this add nodes forbidden response has a 2xx status code

func (*AddNodesForbidden) String

func (o *AddNodesForbidden) String() string

type AddNodesInternalServerError

type AddNodesInternalServerError struct {
}

AddNodesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddNodesInternalServerError

func NewAddNodesInternalServerError() *AddNodesInternalServerError

NewAddNodesInternalServerError creates a AddNodesInternalServerError with default headers values

func (*AddNodesInternalServerError) Code

func (o *AddNodesInternalServerError) Code() int

Code gets the status code for the add nodes internal server error response

func (*AddNodesInternalServerError) Error

func (*AddNodesInternalServerError) IsClientError

func (o *AddNodesInternalServerError) IsClientError() bool

IsClientError returns true when this add nodes internal server error response has a 4xx status code

func (*AddNodesInternalServerError) IsCode

func (o *AddNodesInternalServerError) IsCode(code int) bool

IsCode returns true when this add nodes internal server error response a status code equal to that given

func (*AddNodesInternalServerError) IsRedirect

func (o *AddNodesInternalServerError) IsRedirect() bool

IsRedirect returns true when this add nodes internal server error response has a 3xx status code

func (*AddNodesInternalServerError) IsServerError

func (o *AddNodesInternalServerError) IsServerError() bool

IsServerError returns true when this add nodes internal server error response has a 5xx status code

func (*AddNodesInternalServerError) IsSuccess

func (o *AddNodesInternalServerError) IsSuccess() bool

IsSuccess returns true when this add nodes internal server error response has a 2xx status code

func (*AddNodesInternalServerError) String

func (o *AddNodesInternalServerError) String() string

type AddNodesOK

type AddNodesOK struct {
}

AddNodesOK describes a response with status code 200, with default header values.

Success

func NewAddNodesOK

func NewAddNodesOK() *AddNodesOK

NewAddNodesOK creates a AddNodesOK with default headers values

func (*AddNodesOK) Code

func (o *AddNodesOK) Code() int

Code gets the status code for the add nodes o k response

func (*AddNodesOK) Error

func (o *AddNodesOK) Error() string

func (*AddNodesOK) IsClientError

func (o *AddNodesOK) IsClientError() bool

IsClientError returns true when this add nodes o k response has a 4xx status code

func (*AddNodesOK) IsCode

func (o *AddNodesOK) IsCode(code int) bool

IsCode returns true when this add nodes o k response a status code equal to that given

func (*AddNodesOK) IsRedirect

func (o *AddNodesOK) IsRedirect() bool

IsRedirect returns true when this add nodes o k response has a 3xx status code

func (*AddNodesOK) IsServerError

func (o *AddNodesOK) IsServerError() bool

IsServerError returns true when this add nodes o k response has a 5xx status code

func (*AddNodesOK) IsSuccess

func (o *AddNodesOK) IsSuccess() bool

IsSuccess returns true when this add nodes o k response has a 2xx status code

func (*AddNodesOK) String

func (o *AddNodesOK) String() string

type AddNodesParams

type AddNodesParams struct {

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddNodesParams contains all the parameters to send to the API endpoint

for the add nodes operation.

Typically these are written to a http.Request.

func NewAddNodesParams

func NewAddNodesParams() *AddNodesParams

NewAddNodesParams creates a new AddNodesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddNodesParamsWithContext

func NewAddNodesParamsWithContext(ctx context.Context) *AddNodesParams

NewAddNodesParamsWithContext creates a new AddNodesParams object with the ability to set a context for a request.

func NewAddNodesParamsWithHTTPClient

func NewAddNodesParamsWithHTTPClient(client *http.Client) *AddNodesParams

NewAddNodesParamsWithHTTPClient creates a new AddNodesParams object with the ability to set a custom HTTPClient for a request.

func NewAddNodesParamsWithTimeout

func NewAddNodesParamsWithTimeout(timeout time.Duration) *AddNodesParams

NewAddNodesParamsWithTimeout creates a new AddNodesParams object with the ability to set a timeout on a request.

func (*AddNodesParams) SetContext

func (o *AddNodesParams) SetContext(ctx context.Context)

SetContext adds the context to the add nodes params

func (*AddNodesParams) SetDefaults

func (o *AddNodesParams) SetDefaults()

SetDefaults hydrates default values in the add nodes params (not the query body).

All values with no default are reset to their zero value.

func (*AddNodesParams) SetEnvironmentID

func (o *AddNodesParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the add nodes params

func (*AddNodesParams) SetHTTPClient

func (o *AddNodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add nodes params

func (*AddNodesParams) SetTimeout

func (o *AddNodesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add nodes params

func (*AddNodesParams) WithContext

func (o *AddNodesParams) WithContext(ctx context.Context) *AddNodesParams

WithContext adds the context to the add nodes params

func (*AddNodesParams) WithDefaults

func (o *AddNodesParams) WithDefaults() *AddNodesParams

WithDefaults hydrates default values in the add nodes params (not the query body).

All values with no default are reset to their zero value.

func (*AddNodesParams) WithEnvironmentID

func (o *AddNodesParams) WithEnvironmentID(environmentID int64) *AddNodesParams

WithEnvironmentID adds the environmentID to the add nodes params

func (*AddNodesParams) WithHTTPClient

func (o *AddNodesParams) WithHTTPClient(client *http.Client) *AddNodesParams

WithHTTPClient adds the HTTPClient to the add nodes params

func (*AddNodesParams) WithTimeout

func (o *AddNodesParams) WithTimeout(timeout time.Duration) *AddNodesParams

WithTimeout adds the timeout to the add nodes params

func (*AddNodesParams) WriteToRequest

func (o *AddNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddNodesReader

type AddNodesReader struct {
	// contains filtered or unexported fields
}

AddNodesReader is a Reader for the AddNodes structure.

func (*AddNodesReader) ReadResponse

func (o *AddNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddNodesServiceUnavailable

type AddNodesServiceUnavailable struct {
}

AddNodesServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewAddNodesServiceUnavailable

func NewAddNodesServiceUnavailable() *AddNodesServiceUnavailable

NewAddNodesServiceUnavailable creates a AddNodesServiceUnavailable with default headers values

func (*AddNodesServiceUnavailable) Code

func (o *AddNodesServiceUnavailable) Code() int

Code gets the status code for the add nodes service unavailable response

func (*AddNodesServiceUnavailable) Error

func (*AddNodesServiceUnavailable) IsClientError

func (o *AddNodesServiceUnavailable) IsClientError() bool

IsClientError returns true when this add nodes service unavailable response has a 4xx status code

func (*AddNodesServiceUnavailable) IsCode

func (o *AddNodesServiceUnavailable) IsCode(code int) bool

IsCode returns true when this add nodes service unavailable response a status code equal to that given

func (*AddNodesServiceUnavailable) IsRedirect

func (o *AddNodesServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this add nodes service unavailable response has a 3xx status code

func (*AddNodesServiceUnavailable) IsServerError

func (o *AddNodesServiceUnavailable) IsServerError() bool

IsServerError returns true when this add nodes service unavailable response has a 5xx status code

func (*AddNodesServiceUnavailable) IsSuccess

func (o *AddNodesServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this add nodes service unavailable response has a 2xx status code

func (*AddNodesServiceUnavailable) String

func (o *AddNodesServiceUnavailable) String() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for kaas API

func (*Client) AddNodes

func (a *Client) AddNodes(params *AddNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNodesOK, error)
AddNodes adds nodes to the cluster scale up

Add control plane and worker nodes to the cluster.

**Access policy**: authenticated

func (*Client) KaasVersion

func (a *Client) KaasVersion(params *KaasVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KaasVersionOK, error)
KaasVersion gets the current cluster version

Get the current cluster version.

**Access policy**: authenticated

func (*Client) Microk8sGetAddons

func (a *Client) Microk8sGetAddons(params *Microk8sGetAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Microk8sGetAddonsOK, error)
Microk8sGetAddons gets a list of addons which are installed in a micro k8s cluster

The information returned can be used to query the MircoK8s cluster.

**Access policy**: authenticated

func (*Client) Microk8sGetNodeStatus

func (a *Client) Microk8sGetNodeStatus(params *Microk8sGetNodeStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Microk8sGetNodeStatusOK, error)
Microk8sGetNodeStatus gets the micro k8s status for a control plane node

Get the MicroK8s status for a control plane node in a MicroK8s cluster.

**Access policy**: authenticated

func (*Client) Microk8sUpdateAddons

func (a *Client) Microk8sUpdateAddons(params *Microk8sUpdateAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Microk8sUpdateAddonsOK, error)
Microk8sUpdateAddons gets a list of addons which are installed in a micro k8s cluster

The information returned can be used to query the MircoK8s cluster.

**Access policy**: authenticated

func (*Client) ProviderInfo

func (a *Client) ProviderInfo(params *ProviderInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProviderInfoOK, error)
ProviderInfo gets information about the provisioning options for a cloud provider

The information returned can be used to provision a KaaS cluster.

**Access policy**: administrator

func (*Client) ProvisionCluster

func (a *Client) ProvisionCluster(params *ProvisionClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterOK, error)
ProvisionCluster provisions a new c i v o linode or digital ocean cluster and create an environment

Provision a new KaaS cluster and create an environment.

This documentation is specifically for civo, digitial ocean and linode.

For Azure, GKE and Amazon see: *[*]/cloud/amazon/provision** *[*]/cloud/azure/provision** *[*]/cloud/gke/provision**

**Access policy**: administrator

func (*Client) ProvisionClusterAmazon

func (a *Client) ProvisionClusterAmazon(params *ProvisionClusterAmazonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterAmazonOK, error)
ProvisionClusterAmazon provisions a new amazon e k s and create an environment

Provision a new KaaS cluster and create an environment.

**Access policy**: administrator

func (*Client) ProvisionClusterAzure

func (a *Client) ProvisionClusterAzure(params *ProvisionClusterAzureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterAzureOK, error)
ProvisionClusterAzure provisions a new microsoft azure cluster and create an environment

Provision a new KaaS cluster and create an environment.

**Access policy**: administrator

func (*Client) ProvisionClusterGKE

func (a *Client) ProvisionClusterGKE(params *ProvisionClusterGKEParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterGKEOK, error)
ProvisionClusterGKE provisions a new google kubernetes g k e cluster and create an environment

Provision a new KaaS cluster and create an environment.

**Access policy**: administrator

func (*Client) RemoveNodes

func (a *Client) RemoveNodes(params *RemoveNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveNodesOK, error)
RemoveNodes removes nodes from the cluster and uninstall micro k8s from them

Remove nodes from the cluster and uninstall MicroK8s from them.

**Access policy**: authenticated

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TestSSH

func (a *Client) TestSSH(params *TestSSHParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestSSHOK, error)
TestSSH tests SSH connection to nodes

Test SSH connection to nodes.

**Access policy**: administrator

func (*Client) Upgrade

func (a *Client) Upgrade(params *UpgradeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeOK, error)
Upgrade upgrades the cluster to the next stable kubernetes version

Upgrade the cluster to the next stable kubernetes version.

**Access policy**: authenticated

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	AddNodes(params *AddNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNodesOK, error)

	KaasVersion(params *KaasVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KaasVersionOK, error)

	Microk8sGetAddons(params *Microk8sGetAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Microk8sGetAddonsOK, error)

	Microk8sGetNodeStatus(params *Microk8sGetNodeStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Microk8sGetNodeStatusOK, error)

	Microk8sUpdateAddons(params *Microk8sUpdateAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Microk8sUpdateAddonsOK, error)

	ProviderInfo(params *ProviderInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProviderInfoOK, error)

	ProvisionCluster(params *ProvisionClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterOK, error)

	ProvisionClusterAmazon(params *ProvisionClusterAmazonParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterAmazonOK, error)

	ProvisionClusterAzure(params *ProvisionClusterAzureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterAzureOK, error)

	ProvisionClusterGKE(params *ProvisionClusterGKEParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProvisionClusterGKEOK, error)

	RemoveNodes(params *RemoveNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveNodesOK, error)

	TestSSH(params *TestSSHParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestSSHOK, error)

	Upgrade(params *UpgradeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new kaas API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new kaas API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new kaas API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type KaasVersionBadRequest

type KaasVersionBadRequest struct {
}

KaasVersionBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewKaasVersionBadRequest

func NewKaasVersionBadRequest() *KaasVersionBadRequest

NewKaasVersionBadRequest creates a KaasVersionBadRequest with default headers values

func (*KaasVersionBadRequest) Code

func (o *KaasVersionBadRequest) Code() int

Code gets the status code for the kaas version bad request response

func (*KaasVersionBadRequest) Error

func (o *KaasVersionBadRequest) Error() string

func (*KaasVersionBadRequest) IsClientError

func (o *KaasVersionBadRequest) IsClientError() bool

IsClientError returns true when this kaas version bad request response has a 4xx status code

func (*KaasVersionBadRequest) IsCode

func (o *KaasVersionBadRequest) IsCode(code int) bool

IsCode returns true when this kaas version bad request response a status code equal to that given

func (*KaasVersionBadRequest) IsRedirect

func (o *KaasVersionBadRequest) IsRedirect() bool

IsRedirect returns true when this kaas version bad request response has a 3xx status code

func (*KaasVersionBadRequest) IsServerError

func (o *KaasVersionBadRequest) IsServerError() bool

IsServerError returns true when this kaas version bad request response has a 5xx status code

func (*KaasVersionBadRequest) IsSuccess

func (o *KaasVersionBadRequest) IsSuccess() bool

IsSuccess returns true when this kaas version bad request response has a 2xx status code

func (*KaasVersionBadRequest) String

func (o *KaasVersionBadRequest) String() string

type KaasVersionForbidden

type KaasVersionForbidden struct {
}

KaasVersionForbidden describes a response with status code 403, with default header values.

Permission denied

func NewKaasVersionForbidden

func NewKaasVersionForbidden() *KaasVersionForbidden

NewKaasVersionForbidden creates a KaasVersionForbidden with default headers values

func (*KaasVersionForbidden) Code

func (o *KaasVersionForbidden) Code() int

Code gets the status code for the kaas version forbidden response

func (*KaasVersionForbidden) Error

func (o *KaasVersionForbidden) Error() string

func (*KaasVersionForbidden) IsClientError

func (o *KaasVersionForbidden) IsClientError() bool

IsClientError returns true when this kaas version forbidden response has a 4xx status code

func (*KaasVersionForbidden) IsCode

func (o *KaasVersionForbidden) IsCode(code int) bool

IsCode returns true when this kaas version forbidden response a status code equal to that given

func (*KaasVersionForbidden) IsRedirect

func (o *KaasVersionForbidden) IsRedirect() bool

IsRedirect returns true when this kaas version forbidden response has a 3xx status code

func (*KaasVersionForbidden) IsServerError

func (o *KaasVersionForbidden) IsServerError() bool

IsServerError returns true when this kaas version forbidden response has a 5xx status code

func (*KaasVersionForbidden) IsSuccess

func (o *KaasVersionForbidden) IsSuccess() bool

IsSuccess returns true when this kaas version forbidden response has a 2xx status code

func (*KaasVersionForbidden) String

func (o *KaasVersionForbidden) String() string

type KaasVersionInternalServerError

type KaasVersionInternalServerError struct {
}

KaasVersionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewKaasVersionInternalServerError

func NewKaasVersionInternalServerError() *KaasVersionInternalServerError

NewKaasVersionInternalServerError creates a KaasVersionInternalServerError with default headers values

func (*KaasVersionInternalServerError) Code

Code gets the status code for the kaas version internal server error response

func (*KaasVersionInternalServerError) Error

func (*KaasVersionInternalServerError) IsClientError

func (o *KaasVersionInternalServerError) IsClientError() bool

IsClientError returns true when this kaas version internal server error response has a 4xx status code

func (*KaasVersionInternalServerError) IsCode

func (o *KaasVersionInternalServerError) IsCode(code int) bool

IsCode returns true when this kaas version internal server error response a status code equal to that given

func (*KaasVersionInternalServerError) IsRedirect

func (o *KaasVersionInternalServerError) IsRedirect() bool

IsRedirect returns true when this kaas version internal server error response has a 3xx status code

func (*KaasVersionInternalServerError) IsServerError

func (o *KaasVersionInternalServerError) IsServerError() bool

IsServerError returns true when this kaas version internal server error response has a 5xx status code

func (*KaasVersionInternalServerError) IsSuccess

func (o *KaasVersionInternalServerError) IsSuccess() bool

IsSuccess returns true when this kaas version internal server error response has a 2xx status code

func (*KaasVersionInternalServerError) String

type KaasVersionOK

type KaasVersionOK struct {
}

KaasVersionOK describes a response with status code 200, with default header values.

Success

func NewKaasVersionOK

func NewKaasVersionOK() *KaasVersionOK

NewKaasVersionOK creates a KaasVersionOK with default headers values

func (*KaasVersionOK) Code

func (o *KaasVersionOK) Code() int

Code gets the status code for the kaas version o k response

func (*KaasVersionOK) Error

func (o *KaasVersionOK) Error() string

func (*KaasVersionOK) IsClientError

func (o *KaasVersionOK) IsClientError() bool

IsClientError returns true when this kaas version o k response has a 4xx status code

func (*KaasVersionOK) IsCode

func (o *KaasVersionOK) IsCode(code int) bool

IsCode returns true when this kaas version o k response a status code equal to that given

func (*KaasVersionOK) IsRedirect

func (o *KaasVersionOK) IsRedirect() bool

IsRedirect returns true when this kaas version o k response has a 3xx status code

func (*KaasVersionOK) IsServerError

func (o *KaasVersionOK) IsServerError() bool

IsServerError returns true when this kaas version o k response has a 5xx status code

func (*KaasVersionOK) IsSuccess

func (o *KaasVersionOK) IsSuccess() bool

IsSuccess returns true when this kaas version o k response has a 2xx status code

func (*KaasVersionOK) String

func (o *KaasVersionOK) String() string

type KaasVersionParams

type KaasVersionParams struct {

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

KaasVersionParams contains all the parameters to send to the API endpoint

for the kaas version operation.

Typically these are written to a http.Request.

func NewKaasVersionParams

func NewKaasVersionParams() *KaasVersionParams

NewKaasVersionParams creates a new KaasVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewKaasVersionParamsWithContext

func NewKaasVersionParamsWithContext(ctx context.Context) *KaasVersionParams

NewKaasVersionParamsWithContext creates a new KaasVersionParams object with the ability to set a context for a request.

func NewKaasVersionParamsWithHTTPClient

func NewKaasVersionParamsWithHTTPClient(client *http.Client) *KaasVersionParams

NewKaasVersionParamsWithHTTPClient creates a new KaasVersionParams object with the ability to set a custom HTTPClient for a request.

func NewKaasVersionParamsWithTimeout

func NewKaasVersionParamsWithTimeout(timeout time.Duration) *KaasVersionParams

NewKaasVersionParamsWithTimeout creates a new KaasVersionParams object with the ability to set a timeout on a request.

func (*KaasVersionParams) SetContext

func (o *KaasVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the kaas version params

func (*KaasVersionParams) SetDefaults

func (o *KaasVersionParams) SetDefaults()

SetDefaults hydrates default values in the kaas version params (not the query body).

All values with no default are reset to their zero value.

func (*KaasVersionParams) SetEnvironmentID

func (o *KaasVersionParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the kaas version params

func (*KaasVersionParams) SetHTTPClient

func (o *KaasVersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the kaas version params

func (*KaasVersionParams) SetTimeout

func (o *KaasVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the kaas version params

func (*KaasVersionParams) WithContext

func (o *KaasVersionParams) WithContext(ctx context.Context) *KaasVersionParams

WithContext adds the context to the kaas version params

func (*KaasVersionParams) WithDefaults

func (o *KaasVersionParams) WithDefaults() *KaasVersionParams

WithDefaults hydrates default values in the kaas version params (not the query body).

All values with no default are reset to their zero value.

func (*KaasVersionParams) WithEnvironmentID

func (o *KaasVersionParams) WithEnvironmentID(environmentID int64) *KaasVersionParams

WithEnvironmentID adds the environmentID to the kaas version params

func (*KaasVersionParams) WithHTTPClient

func (o *KaasVersionParams) WithHTTPClient(client *http.Client) *KaasVersionParams

WithHTTPClient adds the HTTPClient to the kaas version params

func (*KaasVersionParams) WithTimeout

func (o *KaasVersionParams) WithTimeout(timeout time.Duration) *KaasVersionParams

WithTimeout adds the timeout to the kaas version params

func (*KaasVersionParams) WriteToRequest

func (o *KaasVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type KaasVersionReader

type KaasVersionReader struct {
	// contains filtered or unexported fields
}

KaasVersionReader is a Reader for the KaasVersion structure.

func (*KaasVersionReader) ReadResponse

func (o *KaasVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type KaasVersionServiceUnavailable

type KaasVersionServiceUnavailable struct {
}

KaasVersionServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewKaasVersionServiceUnavailable

func NewKaasVersionServiceUnavailable() *KaasVersionServiceUnavailable

NewKaasVersionServiceUnavailable creates a KaasVersionServiceUnavailable with default headers values

func (*KaasVersionServiceUnavailable) Code

Code gets the status code for the kaas version service unavailable response

func (*KaasVersionServiceUnavailable) Error

func (*KaasVersionServiceUnavailable) IsClientError

func (o *KaasVersionServiceUnavailable) IsClientError() bool

IsClientError returns true when this kaas version service unavailable response has a 4xx status code

func (*KaasVersionServiceUnavailable) IsCode

func (o *KaasVersionServiceUnavailable) IsCode(code int) bool

IsCode returns true when this kaas version service unavailable response a status code equal to that given

func (*KaasVersionServiceUnavailable) IsRedirect

func (o *KaasVersionServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this kaas version service unavailable response has a 3xx status code

func (*KaasVersionServiceUnavailable) IsServerError

func (o *KaasVersionServiceUnavailable) IsServerError() bool

IsServerError returns true when this kaas version service unavailable response has a 5xx status code

func (*KaasVersionServiceUnavailable) IsSuccess

func (o *KaasVersionServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this kaas version service unavailable response has a 2xx status code

func (*KaasVersionServiceUnavailable) String

type Microk8sGetAddonsBadRequest

type Microk8sGetAddonsBadRequest struct {
}

Microk8sGetAddonsBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewMicrok8sGetAddonsBadRequest

func NewMicrok8sGetAddonsBadRequest() *Microk8sGetAddonsBadRequest

NewMicrok8sGetAddonsBadRequest creates a Microk8sGetAddonsBadRequest with default headers values

func (*Microk8sGetAddonsBadRequest) Code

func (o *Microk8sGetAddonsBadRequest) Code() int

Code gets the status code for the microk8s get addons bad request response

func (*Microk8sGetAddonsBadRequest) Error

func (*Microk8sGetAddonsBadRequest) IsClientError

func (o *Microk8sGetAddonsBadRequest) IsClientError() bool

IsClientError returns true when this microk8s get addons bad request response has a 4xx status code

func (*Microk8sGetAddonsBadRequest) IsCode

func (o *Microk8sGetAddonsBadRequest) IsCode(code int) bool

IsCode returns true when this microk8s get addons bad request response a status code equal to that given

func (*Microk8sGetAddonsBadRequest) IsRedirect

func (o *Microk8sGetAddonsBadRequest) IsRedirect() bool

IsRedirect returns true when this microk8s get addons bad request response has a 3xx status code

func (*Microk8sGetAddonsBadRequest) IsServerError

func (o *Microk8sGetAddonsBadRequest) IsServerError() bool

IsServerError returns true when this microk8s get addons bad request response has a 5xx status code

func (*Microk8sGetAddonsBadRequest) IsSuccess

func (o *Microk8sGetAddonsBadRequest) IsSuccess() bool

IsSuccess returns true when this microk8s get addons bad request response has a 2xx status code

func (*Microk8sGetAddonsBadRequest) String

func (o *Microk8sGetAddonsBadRequest) String() string

type Microk8sGetAddonsForbidden

type Microk8sGetAddonsForbidden struct {
}

Microk8sGetAddonsForbidden describes a response with status code 403, with default header values.

Permission denied

func NewMicrok8sGetAddonsForbidden

func NewMicrok8sGetAddonsForbidden() *Microk8sGetAddonsForbidden

NewMicrok8sGetAddonsForbidden creates a Microk8sGetAddonsForbidden with default headers values

func (*Microk8sGetAddonsForbidden) Code

func (o *Microk8sGetAddonsForbidden) Code() int

Code gets the status code for the microk8s get addons forbidden response

func (*Microk8sGetAddonsForbidden) Error

func (*Microk8sGetAddonsForbidden) IsClientError

func (o *Microk8sGetAddonsForbidden) IsClientError() bool

IsClientError returns true when this microk8s get addons forbidden response has a 4xx status code

func (*Microk8sGetAddonsForbidden) IsCode

func (o *Microk8sGetAddonsForbidden) IsCode(code int) bool

IsCode returns true when this microk8s get addons forbidden response a status code equal to that given

func (*Microk8sGetAddonsForbidden) IsRedirect

func (o *Microk8sGetAddonsForbidden) IsRedirect() bool

IsRedirect returns true when this microk8s get addons forbidden response has a 3xx status code

func (*Microk8sGetAddonsForbidden) IsServerError

func (o *Microk8sGetAddonsForbidden) IsServerError() bool

IsServerError returns true when this microk8s get addons forbidden response has a 5xx status code

func (*Microk8sGetAddonsForbidden) IsSuccess

func (o *Microk8sGetAddonsForbidden) IsSuccess() bool

IsSuccess returns true when this microk8s get addons forbidden response has a 2xx status code

func (*Microk8sGetAddonsForbidden) String

func (o *Microk8sGetAddonsForbidden) String() string

type Microk8sGetAddonsInternalServerError

type Microk8sGetAddonsInternalServerError struct {
}

Microk8sGetAddonsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMicrok8sGetAddonsInternalServerError

func NewMicrok8sGetAddonsInternalServerError() *Microk8sGetAddonsInternalServerError

NewMicrok8sGetAddonsInternalServerError creates a Microk8sGetAddonsInternalServerError with default headers values

func (*Microk8sGetAddonsInternalServerError) Code

Code gets the status code for the microk8s get addons internal server error response

func (*Microk8sGetAddonsInternalServerError) Error

func (*Microk8sGetAddonsInternalServerError) IsClientError

func (o *Microk8sGetAddonsInternalServerError) IsClientError() bool

IsClientError returns true when this microk8s get addons internal server error response has a 4xx status code

func (*Microk8sGetAddonsInternalServerError) IsCode

IsCode returns true when this microk8s get addons internal server error response a status code equal to that given

func (*Microk8sGetAddonsInternalServerError) IsRedirect

IsRedirect returns true when this microk8s get addons internal server error response has a 3xx status code

func (*Microk8sGetAddonsInternalServerError) IsServerError

func (o *Microk8sGetAddonsInternalServerError) IsServerError() bool

IsServerError returns true when this microk8s get addons internal server error response has a 5xx status code

func (*Microk8sGetAddonsInternalServerError) IsSuccess

IsSuccess returns true when this microk8s get addons internal server error response has a 2xx status code

func (*Microk8sGetAddonsInternalServerError) String

type Microk8sGetAddonsOK

type Microk8sGetAddonsOK struct {
}

Microk8sGetAddonsOK describes a response with status code 200, with default header values.

Success

func NewMicrok8sGetAddonsOK

func NewMicrok8sGetAddonsOK() *Microk8sGetAddonsOK

NewMicrok8sGetAddonsOK creates a Microk8sGetAddonsOK with default headers values

func (*Microk8sGetAddonsOK) Code

func (o *Microk8sGetAddonsOK) Code() int

Code gets the status code for the microk8s get addons o k response

func (*Microk8sGetAddonsOK) Error

func (o *Microk8sGetAddonsOK) Error() string

func (*Microk8sGetAddonsOK) IsClientError

func (o *Microk8sGetAddonsOK) IsClientError() bool

IsClientError returns true when this microk8s get addons o k response has a 4xx status code

func (*Microk8sGetAddonsOK) IsCode

func (o *Microk8sGetAddonsOK) IsCode(code int) bool

IsCode returns true when this microk8s get addons o k response a status code equal to that given

func (*Microk8sGetAddonsOK) IsRedirect

func (o *Microk8sGetAddonsOK) IsRedirect() bool

IsRedirect returns true when this microk8s get addons o k response has a 3xx status code

func (*Microk8sGetAddonsOK) IsServerError

func (o *Microk8sGetAddonsOK) IsServerError() bool

IsServerError returns true when this microk8s get addons o k response has a 5xx status code

func (*Microk8sGetAddonsOK) IsSuccess

func (o *Microk8sGetAddonsOK) IsSuccess() bool

IsSuccess returns true when this microk8s get addons o k response has a 2xx status code

func (*Microk8sGetAddonsOK) String

func (o *Microk8sGetAddonsOK) String() string

type Microk8sGetAddonsParams

type Microk8sGetAddonsParams struct {

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Microk8sGetAddonsParams contains all the parameters to send to the API endpoint

for the microk8s get addons operation.

Typically these are written to a http.Request.

func NewMicrok8sGetAddonsParams

func NewMicrok8sGetAddonsParams() *Microk8sGetAddonsParams

NewMicrok8sGetAddonsParams creates a new Microk8sGetAddonsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMicrok8sGetAddonsParamsWithContext

func NewMicrok8sGetAddonsParamsWithContext(ctx context.Context) *Microk8sGetAddonsParams

NewMicrok8sGetAddonsParamsWithContext creates a new Microk8sGetAddonsParams object with the ability to set a context for a request.

func NewMicrok8sGetAddonsParamsWithHTTPClient

func NewMicrok8sGetAddonsParamsWithHTTPClient(client *http.Client) *Microk8sGetAddonsParams

NewMicrok8sGetAddonsParamsWithHTTPClient creates a new Microk8sGetAddonsParams object with the ability to set a custom HTTPClient for a request.

func NewMicrok8sGetAddonsParamsWithTimeout

func NewMicrok8sGetAddonsParamsWithTimeout(timeout time.Duration) *Microk8sGetAddonsParams

NewMicrok8sGetAddonsParamsWithTimeout creates a new Microk8sGetAddonsParams object with the ability to set a timeout on a request.

func (*Microk8sGetAddonsParams) SetContext

func (o *Microk8sGetAddonsParams) SetContext(ctx context.Context)

SetContext adds the context to the microk8s get addons params

func (*Microk8sGetAddonsParams) SetDefaults

func (o *Microk8sGetAddonsParams) SetDefaults()

SetDefaults hydrates default values in the microk8s get addons params (not the query body).

All values with no default are reset to their zero value.

func (*Microk8sGetAddonsParams) SetEnvironmentID

func (o *Microk8sGetAddonsParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the microk8s get addons params

func (*Microk8sGetAddonsParams) SetHTTPClient

func (o *Microk8sGetAddonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the microk8s get addons params

func (*Microk8sGetAddonsParams) SetTimeout

func (o *Microk8sGetAddonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the microk8s get addons params

func (*Microk8sGetAddonsParams) WithContext

WithContext adds the context to the microk8s get addons params

func (*Microk8sGetAddonsParams) WithDefaults

WithDefaults hydrates default values in the microk8s get addons params (not the query body).

All values with no default are reset to their zero value.

func (*Microk8sGetAddonsParams) WithEnvironmentID

func (o *Microk8sGetAddonsParams) WithEnvironmentID(environmentID int64) *Microk8sGetAddonsParams

WithEnvironmentID adds the environmentID to the microk8s get addons params

func (*Microk8sGetAddonsParams) WithHTTPClient

func (o *Microk8sGetAddonsParams) WithHTTPClient(client *http.Client) *Microk8sGetAddonsParams

WithHTTPClient adds the HTTPClient to the microk8s get addons params

func (*Microk8sGetAddonsParams) WithTimeout

WithTimeout adds the timeout to the microk8s get addons params

func (*Microk8sGetAddonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Microk8sGetAddonsReader

type Microk8sGetAddonsReader struct {
	// contains filtered or unexported fields
}

Microk8sGetAddonsReader is a Reader for the Microk8sGetAddons structure.

func (*Microk8sGetAddonsReader) ReadResponse

func (o *Microk8sGetAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Microk8sGetAddonsServiceUnavailable

type Microk8sGetAddonsServiceUnavailable struct {
}

Microk8sGetAddonsServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewMicrok8sGetAddonsServiceUnavailable

func NewMicrok8sGetAddonsServiceUnavailable() *Microk8sGetAddonsServiceUnavailable

NewMicrok8sGetAddonsServiceUnavailable creates a Microk8sGetAddonsServiceUnavailable with default headers values

func (*Microk8sGetAddonsServiceUnavailable) Code

Code gets the status code for the microk8s get addons service unavailable response

func (*Microk8sGetAddonsServiceUnavailable) Error

func (*Microk8sGetAddonsServiceUnavailable) IsClientError

func (o *Microk8sGetAddonsServiceUnavailable) IsClientError() bool

IsClientError returns true when this microk8s get addons service unavailable response has a 4xx status code

func (*Microk8sGetAddonsServiceUnavailable) IsCode

IsCode returns true when this microk8s get addons service unavailable response a status code equal to that given

func (*Microk8sGetAddonsServiceUnavailable) IsRedirect

func (o *Microk8sGetAddonsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this microk8s get addons service unavailable response has a 3xx status code

func (*Microk8sGetAddonsServiceUnavailable) IsServerError

func (o *Microk8sGetAddonsServiceUnavailable) IsServerError() bool

IsServerError returns true when this microk8s get addons service unavailable response has a 5xx status code

func (*Microk8sGetAddonsServiceUnavailable) IsSuccess

IsSuccess returns true when this microk8s get addons service unavailable response has a 2xx status code

func (*Microk8sGetAddonsServiceUnavailable) String

type Microk8sGetNodeStatusBadRequest

type Microk8sGetNodeStatusBadRequest struct {
}

Microk8sGetNodeStatusBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewMicrok8sGetNodeStatusBadRequest

func NewMicrok8sGetNodeStatusBadRequest() *Microk8sGetNodeStatusBadRequest

NewMicrok8sGetNodeStatusBadRequest creates a Microk8sGetNodeStatusBadRequest with default headers values

func (*Microk8sGetNodeStatusBadRequest) Code

Code gets the status code for the microk8s get node status bad request response

func (*Microk8sGetNodeStatusBadRequest) Error

func (*Microk8sGetNodeStatusBadRequest) IsClientError

func (o *Microk8sGetNodeStatusBadRequest) IsClientError() bool

IsClientError returns true when this microk8s get node status bad request response has a 4xx status code

func (*Microk8sGetNodeStatusBadRequest) IsCode

func (o *Microk8sGetNodeStatusBadRequest) IsCode(code int) bool

IsCode returns true when this microk8s get node status bad request response a status code equal to that given

func (*Microk8sGetNodeStatusBadRequest) IsRedirect

func (o *Microk8sGetNodeStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this microk8s get node status bad request response has a 3xx status code

func (*Microk8sGetNodeStatusBadRequest) IsServerError

func (o *Microk8sGetNodeStatusBadRequest) IsServerError() bool

IsServerError returns true when this microk8s get node status bad request response has a 5xx status code

func (*Microk8sGetNodeStatusBadRequest) IsSuccess

func (o *Microk8sGetNodeStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this microk8s get node status bad request response has a 2xx status code

func (*Microk8sGetNodeStatusBadRequest) String

type Microk8sGetNodeStatusForbidden

type Microk8sGetNodeStatusForbidden struct {
}

Microk8sGetNodeStatusForbidden describes a response with status code 403, with default header values.

Permission denied

func NewMicrok8sGetNodeStatusForbidden

func NewMicrok8sGetNodeStatusForbidden() *Microk8sGetNodeStatusForbidden

NewMicrok8sGetNodeStatusForbidden creates a Microk8sGetNodeStatusForbidden with default headers values

func (*Microk8sGetNodeStatusForbidden) Code

Code gets the status code for the microk8s get node status forbidden response

func (*Microk8sGetNodeStatusForbidden) Error

func (*Microk8sGetNodeStatusForbidden) IsClientError

func (o *Microk8sGetNodeStatusForbidden) IsClientError() bool

IsClientError returns true when this microk8s get node status forbidden response has a 4xx status code

func (*Microk8sGetNodeStatusForbidden) IsCode

func (o *Microk8sGetNodeStatusForbidden) IsCode(code int) bool

IsCode returns true when this microk8s get node status forbidden response a status code equal to that given

func (*Microk8sGetNodeStatusForbidden) IsRedirect

func (o *Microk8sGetNodeStatusForbidden) IsRedirect() bool

IsRedirect returns true when this microk8s get node status forbidden response has a 3xx status code

func (*Microk8sGetNodeStatusForbidden) IsServerError

func (o *Microk8sGetNodeStatusForbidden) IsServerError() bool

IsServerError returns true when this microk8s get node status forbidden response has a 5xx status code

func (*Microk8sGetNodeStatusForbidden) IsSuccess

func (o *Microk8sGetNodeStatusForbidden) IsSuccess() bool

IsSuccess returns true when this microk8s get node status forbidden response has a 2xx status code

func (*Microk8sGetNodeStatusForbidden) String

type Microk8sGetNodeStatusInternalServerError

type Microk8sGetNodeStatusInternalServerError struct {
}

Microk8sGetNodeStatusInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMicrok8sGetNodeStatusInternalServerError

func NewMicrok8sGetNodeStatusInternalServerError() *Microk8sGetNodeStatusInternalServerError

NewMicrok8sGetNodeStatusInternalServerError creates a Microk8sGetNodeStatusInternalServerError with default headers values

func (*Microk8sGetNodeStatusInternalServerError) Code

Code gets the status code for the microk8s get node status internal server error response

func (*Microk8sGetNodeStatusInternalServerError) Error

func (*Microk8sGetNodeStatusInternalServerError) IsClientError

IsClientError returns true when this microk8s get node status internal server error response has a 4xx status code

func (*Microk8sGetNodeStatusInternalServerError) IsCode

IsCode returns true when this microk8s get node status internal server error response a status code equal to that given

func (*Microk8sGetNodeStatusInternalServerError) IsRedirect

IsRedirect returns true when this microk8s get node status internal server error response has a 3xx status code

func (*Microk8sGetNodeStatusInternalServerError) IsServerError

IsServerError returns true when this microk8s get node status internal server error response has a 5xx status code

func (*Microk8sGetNodeStatusInternalServerError) IsSuccess

IsSuccess returns true when this microk8s get node status internal server error response has a 2xx status code

func (*Microk8sGetNodeStatusInternalServerError) String

type Microk8sGetNodeStatusOK

type Microk8sGetNodeStatusOK struct {
}

Microk8sGetNodeStatusOK describes a response with status code 200, with default header values.

Success

func NewMicrok8sGetNodeStatusOK

func NewMicrok8sGetNodeStatusOK() *Microk8sGetNodeStatusOK

NewMicrok8sGetNodeStatusOK creates a Microk8sGetNodeStatusOK with default headers values

func (*Microk8sGetNodeStatusOK) Code

func (o *Microk8sGetNodeStatusOK) Code() int

Code gets the status code for the microk8s get node status o k response

func (*Microk8sGetNodeStatusOK) Error

func (o *Microk8sGetNodeStatusOK) Error() string

func (*Microk8sGetNodeStatusOK) IsClientError

func (o *Microk8sGetNodeStatusOK) IsClientError() bool

IsClientError returns true when this microk8s get node status o k response has a 4xx status code

func (*Microk8sGetNodeStatusOK) IsCode

func (o *Microk8sGetNodeStatusOK) IsCode(code int) bool

IsCode returns true when this microk8s get node status o k response a status code equal to that given

func (*Microk8sGetNodeStatusOK) IsRedirect

func (o *Microk8sGetNodeStatusOK) IsRedirect() bool

IsRedirect returns true when this microk8s get node status o k response has a 3xx status code

func (*Microk8sGetNodeStatusOK) IsServerError

func (o *Microk8sGetNodeStatusOK) IsServerError() bool

IsServerError returns true when this microk8s get node status o k response has a 5xx status code

func (*Microk8sGetNodeStatusOK) IsSuccess

func (o *Microk8sGetNodeStatusOK) IsSuccess() bool

IsSuccess returns true when this microk8s get node status o k response has a 2xx status code

func (*Microk8sGetNodeStatusOK) String

func (o *Microk8sGetNodeStatusOK) String() string

type Microk8sGetNodeStatusParams

type Microk8sGetNodeStatusParams struct {

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	/* NodeIP.

	   The external node ip of the control plane node.
	*/
	NodeIP string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Microk8sGetNodeStatusParams contains all the parameters to send to the API endpoint

for the microk8s get node status operation.

Typically these are written to a http.Request.

func NewMicrok8sGetNodeStatusParams

func NewMicrok8sGetNodeStatusParams() *Microk8sGetNodeStatusParams

NewMicrok8sGetNodeStatusParams creates a new Microk8sGetNodeStatusParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMicrok8sGetNodeStatusParamsWithContext

func NewMicrok8sGetNodeStatusParamsWithContext(ctx context.Context) *Microk8sGetNodeStatusParams

NewMicrok8sGetNodeStatusParamsWithContext creates a new Microk8sGetNodeStatusParams object with the ability to set a context for a request.

func NewMicrok8sGetNodeStatusParamsWithHTTPClient

func NewMicrok8sGetNodeStatusParamsWithHTTPClient(client *http.Client) *Microk8sGetNodeStatusParams

NewMicrok8sGetNodeStatusParamsWithHTTPClient creates a new Microk8sGetNodeStatusParams object with the ability to set a custom HTTPClient for a request.

func NewMicrok8sGetNodeStatusParamsWithTimeout

func NewMicrok8sGetNodeStatusParamsWithTimeout(timeout time.Duration) *Microk8sGetNodeStatusParams

NewMicrok8sGetNodeStatusParamsWithTimeout creates a new Microk8sGetNodeStatusParams object with the ability to set a timeout on a request.

func (*Microk8sGetNodeStatusParams) SetContext

func (o *Microk8sGetNodeStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) SetDefaults

func (o *Microk8sGetNodeStatusParams) SetDefaults()

SetDefaults hydrates default values in the microk8s get node status params (not the query body).

All values with no default are reset to their zero value.

func (*Microk8sGetNodeStatusParams) SetEnvironmentID

func (o *Microk8sGetNodeStatusParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) SetHTTPClient

func (o *Microk8sGetNodeStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) SetNodeIP

func (o *Microk8sGetNodeStatusParams) SetNodeIP(nodeIP string)

SetNodeIP adds the nodeIp to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) SetTimeout

func (o *Microk8sGetNodeStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) WithContext

WithContext adds the context to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) WithDefaults

WithDefaults hydrates default values in the microk8s get node status params (not the query body).

All values with no default are reset to their zero value.

func (*Microk8sGetNodeStatusParams) WithEnvironmentID

func (o *Microk8sGetNodeStatusParams) WithEnvironmentID(environmentID int64) *Microk8sGetNodeStatusParams

WithEnvironmentID adds the environmentID to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) WithNodeIP

WithNodeIP adds the nodeIP to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) WithTimeout

WithTimeout adds the timeout to the microk8s get node status params

func (*Microk8sGetNodeStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Microk8sGetNodeStatusReader

type Microk8sGetNodeStatusReader struct {
	// contains filtered or unexported fields
}

Microk8sGetNodeStatusReader is a Reader for the Microk8sGetNodeStatus structure.

func (*Microk8sGetNodeStatusReader) ReadResponse

func (o *Microk8sGetNodeStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Microk8sGetNodeStatusServiceUnavailable

type Microk8sGetNodeStatusServiceUnavailable struct {
}

Microk8sGetNodeStatusServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewMicrok8sGetNodeStatusServiceUnavailable

func NewMicrok8sGetNodeStatusServiceUnavailable() *Microk8sGetNodeStatusServiceUnavailable

NewMicrok8sGetNodeStatusServiceUnavailable creates a Microk8sGetNodeStatusServiceUnavailable with default headers values

func (*Microk8sGetNodeStatusServiceUnavailable) Code

Code gets the status code for the microk8s get node status service unavailable response

func (*Microk8sGetNodeStatusServiceUnavailable) Error

func (*Microk8sGetNodeStatusServiceUnavailable) IsClientError

func (o *Microk8sGetNodeStatusServiceUnavailable) IsClientError() bool

IsClientError returns true when this microk8s get node status service unavailable response has a 4xx status code

func (*Microk8sGetNodeStatusServiceUnavailable) IsCode

IsCode returns true when this microk8s get node status service unavailable response a status code equal to that given

func (*Microk8sGetNodeStatusServiceUnavailable) IsRedirect

IsRedirect returns true when this microk8s get node status service unavailable response has a 3xx status code

func (*Microk8sGetNodeStatusServiceUnavailable) IsServerError

func (o *Microk8sGetNodeStatusServiceUnavailable) IsServerError() bool

IsServerError returns true when this microk8s get node status service unavailable response has a 5xx status code

func (*Microk8sGetNodeStatusServiceUnavailable) IsSuccess

IsSuccess returns true when this microk8s get node status service unavailable response has a 2xx status code

func (*Microk8sGetNodeStatusServiceUnavailable) String

type Microk8sUpdateAddonsBadRequest

type Microk8sUpdateAddonsBadRequest struct {
}

Microk8sUpdateAddonsBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewMicrok8sUpdateAddonsBadRequest

func NewMicrok8sUpdateAddonsBadRequest() *Microk8sUpdateAddonsBadRequest

NewMicrok8sUpdateAddonsBadRequest creates a Microk8sUpdateAddonsBadRequest with default headers values

func (*Microk8sUpdateAddonsBadRequest) Code

Code gets the status code for the microk8s update addons bad request response

func (*Microk8sUpdateAddonsBadRequest) Error

func (*Microk8sUpdateAddonsBadRequest) IsClientError

func (o *Microk8sUpdateAddonsBadRequest) IsClientError() bool

IsClientError returns true when this microk8s update addons bad request response has a 4xx status code

func (*Microk8sUpdateAddonsBadRequest) IsCode

func (o *Microk8sUpdateAddonsBadRequest) IsCode(code int) bool

IsCode returns true when this microk8s update addons bad request response a status code equal to that given

func (*Microk8sUpdateAddonsBadRequest) IsRedirect

func (o *Microk8sUpdateAddonsBadRequest) IsRedirect() bool

IsRedirect returns true when this microk8s update addons bad request response has a 3xx status code

func (*Microk8sUpdateAddonsBadRequest) IsServerError

func (o *Microk8sUpdateAddonsBadRequest) IsServerError() bool

IsServerError returns true when this microk8s update addons bad request response has a 5xx status code

func (*Microk8sUpdateAddonsBadRequest) IsSuccess

func (o *Microk8sUpdateAddonsBadRequest) IsSuccess() bool

IsSuccess returns true when this microk8s update addons bad request response has a 2xx status code

func (*Microk8sUpdateAddonsBadRequest) String

type Microk8sUpdateAddonsForbidden

type Microk8sUpdateAddonsForbidden struct {
}

Microk8sUpdateAddonsForbidden describes a response with status code 403, with default header values.

Permission denied

func NewMicrok8sUpdateAddonsForbidden

func NewMicrok8sUpdateAddonsForbidden() *Microk8sUpdateAddonsForbidden

NewMicrok8sUpdateAddonsForbidden creates a Microk8sUpdateAddonsForbidden with default headers values

func (*Microk8sUpdateAddonsForbidden) Code

Code gets the status code for the microk8s update addons forbidden response

func (*Microk8sUpdateAddonsForbidden) Error

func (*Microk8sUpdateAddonsForbidden) IsClientError

func (o *Microk8sUpdateAddonsForbidden) IsClientError() bool

IsClientError returns true when this microk8s update addons forbidden response has a 4xx status code

func (*Microk8sUpdateAddonsForbidden) IsCode

func (o *Microk8sUpdateAddonsForbidden) IsCode(code int) bool

IsCode returns true when this microk8s update addons forbidden response a status code equal to that given

func (*Microk8sUpdateAddonsForbidden) IsRedirect

func (o *Microk8sUpdateAddonsForbidden) IsRedirect() bool

IsRedirect returns true when this microk8s update addons forbidden response has a 3xx status code

func (*Microk8sUpdateAddonsForbidden) IsServerError

func (o *Microk8sUpdateAddonsForbidden) IsServerError() bool

IsServerError returns true when this microk8s update addons forbidden response has a 5xx status code

func (*Microk8sUpdateAddonsForbidden) IsSuccess

func (o *Microk8sUpdateAddonsForbidden) IsSuccess() bool

IsSuccess returns true when this microk8s update addons forbidden response has a 2xx status code

func (*Microk8sUpdateAddonsForbidden) String

type Microk8sUpdateAddonsInternalServerError

type Microk8sUpdateAddonsInternalServerError struct {
}

Microk8sUpdateAddonsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMicrok8sUpdateAddonsInternalServerError

func NewMicrok8sUpdateAddonsInternalServerError() *Microk8sUpdateAddonsInternalServerError

NewMicrok8sUpdateAddonsInternalServerError creates a Microk8sUpdateAddonsInternalServerError with default headers values

func (*Microk8sUpdateAddonsInternalServerError) Code

Code gets the status code for the microk8s update addons internal server error response

func (*Microk8sUpdateAddonsInternalServerError) Error

func (*Microk8sUpdateAddonsInternalServerError) IsClientError

func (o *Microk8sUpdateAddonsInternalServerError) IsClientError() bool

IsClientError returns true when this microk8s update addons internal server error response has a 4xx status code

func (*Microk8sUpdateAddonsInternalServerError) IsCode

IsCode returns true when this microk8s update addons internal server error response a status code equal to that given

func (*Microk8sUpdateAddonsInternalServerError) IsRedirect

IsRedirect returns true when this microk8s update addons internal server error response has a 3xx status code

func (*Microk8sUpdateAddonsInternalServerError) IsServerError

func (o *Microk8sUpdateAddonsInternalServerError) IsServerError() bool

IsServerError returns true when this microk8s update addons internal server error response has a 5xx status code

func (*Microk8sUpdateAddonsInternalServerError) IsSuccess

IsSuccess returns true when this microk8s update addons internal server error response has a 2xx status code

func (*Microk8sUpdateAddonsInternalServerError) String

type Microk8sUpdateAddonsOK

type Microk8sUpdateAddonsOK struct {
}

Microk8sUpdateAddonsOK describes a response with status code 200, with default header values.

Success

func NewMicrok8sUpdateAddonsOK

func NewMicrok8sUpdateAddonsOK() *Microk8sUpdateAddonsOK

NewMicrok8sUpdateAddonsOK creates a Microk8sUpdateAddonsOK with default headers values

func (*Microk8sUpdateAddonsOK) Code

func (o *Microk8sUpdateAddonsOK) Code() int

Code gets the status code for the microk8s update addons o k response

func (*Microk8sUpdateAddonsOK) Error

func (o *Microk8sUpdateAddonsOK) Error() string

func (*Microk8sUpdateAddonsOK) IsClientError

func (o *Microk8sUpdateAddonsOK) IsClientError() bool

IsClientError returns true when this microk8s update addons o k response has a 4xx status code

func (*Microk8sUpdateAddonsOK) IsCode

func (o *Microk8sUpdateAddonsOK) IsCode(code int) bool

IsCode returns true when this microk8s update addons o k response a status code equal to that given

func (*Microk8sUpdateAddonsOK) IsRedirect

func (o *Microk8sUpdateAddonsOK) IsRedirect() bool

IsRedirect returns true when this microk8s update addons o k response has a 3xx status code

func (*Microk8sUpdateAddonsOK) IsServerError

func (o *Microk8sUpdateAddonsOK) IsServerError() bool

IsServerError returns true when this microk8s update addons o k response has a 5xx status code

func (*Microk8sUpdateAddonsOK) IsSuccess

func (o *Microk8sUpdateAddonsOK) IsSuccess() bool

IsSuccess returns true when this microk8s update addons o k response has a 2xx status code

func (*Microk8sUpdateAddonsOK) String

func (o *Microk8sUpdateAddonsOK) String() string

type Microk8sUpdateAddonsParams

type Microk8sUpdateAddonsParams struct {

	/* Addons.

	   The list of addons to install in the cluster.
	*/
	Addons *models.ProvidersMicrok8sUpdateAddonsPayload

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Microk8sUpdateAddonsParams contains all the parameters to send to the API endpoint

for the microk8s update addons operation.

Typically these are written to a http.Request.

func NewMicrok8sUpdateAddonsParams

func NewMicrok8sUpdateAddonsParams() *Microk8sUpdateAddonsParams

NewMicrok8sUpdateAddonsParams creates a new Microk8sUpdateAddonsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMicrok8sUpdateAddonsParamsWithContext

func NewMicrok8sUpdateAddonsParamsWithContext(ctx context.Context) *Microk8sUpdateAddonsParams

NewMicrok8sUpdateAddonsParamsWithContext creates a new Microk8sUpdateAddonsParams object with the ability to set a context for a request.

func NewMicrok8sUpdateAddonsParamsWithHTTPClient

func NewMicrok8sUpdateAddonsParamsWithHTTPClient(client *http.Client) *Microk8sUpdateAddonsParams

NewMicrok8sUpdateAddonsParamsWithHTTPClient creates a new Microk8sUpdateAddonsParams object with the ability to set a custom HTTPClient for a request.

func NewMicrok8sUpdateAddonsParamsWithTimeout

func NewMicrok8sUpdateAddonsParamsWithTimeout(timeout time.Duration) *Microk8sUpdateAddonsParams

NewMicrok8sUpdateAddonsParamsWithTimeout creates a new Microk8sUpdateAddonsParams object with the ability to set a timeout on a request.

func (*Microk8sUpdateAddonsParams) SetAddons

SetAddons adds the addons to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) SetContext

func (o *Microk8sUpdateAddonsParams) SetContext(ctx context.Context)

SetContext adds the context to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) SetDefaults

func (o *Microk8sUpdateAddonsParams) SetDefaults()

SetDefaults hydrates default values in the microk8s update addons params (not the query body).

All values with no default are reset to their zero value.

func (*Microk8sUpdateAddonsParams) SetEnvironmentID

func (o *Microk8sUpdateAddonsParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) SetHTTPClient

func (o *Microk8sUpdateAddonsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) SetTimeout

func (o *Microk8sUpdateAddonsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) WithAddons

WithAddons adds the addons to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) WithContext

WithContext adds the context to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) WithDefaults

WithDefaults hydrates default values in the microk8s update addons params (not the query body).

All values with no default are reset to their zero value.

func (*Microk8sUpdateAddonsParams) WithEnvironmentID

func (o *Microk8sUpdateAddonsParams) WithEnvironmentID(environmentID int64) *Microk8sUpdateAddonsParams

WithEnvironmentID adds the environmentID to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) WithTimeout

WithTimeout adds the timeout to the microk8s update addons params

func (*Microk8sUpdateAddonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Microk8sUpdateAddonsReader

type Microk8sUpdateAddonsReader struct {
	// contains filtered or unexported fields
}

Microk8sUpdateAddonsReader is a Reader for the Microk8sUpdateAddons structure.

func (*Microk8sUpdateAddonsReader) ReadResponse

func (o *Microk8sUpdateAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Microk8sUpdateAddonsServiceUnavailable

type Microk8sUpdateAddonsServiceUnavailable struct {
}

Microk8sUpdateAddonsServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewMicrok8sUpdateAddonsServiceUnavailable

func NewMicrok8sUpdateAddonsServiceUnavailable() *Microk8sUpdateAddonsServiceUnavailable

NewMicrok8sUpdateAddonsServiceUnavailable creates a Microk8sUpdateAddonsServiceUnavailable with default headers values

func (*Microk8sUpdateAddonsServiceUnavailable) Code

Code gets the status code for the microk8s update addons service unavailable response

func (*Microk8sUpdateAddonsServiceUnavailable) Error

func (*Microk8sUpdateAddonsServiceUnavailable) IsClientError

func (o *Microk8sUpdateAddonsServiceUnavailable) IsClientError() bool

IsClientError returns true when this microk8s update addons service unavailable response has a 4xx status code

func (*Microk8sUpdateAddonsServiceUnavailable) IsCode

IsCode returns true when this microk8s update addons service unavailable response a status code equal to that given

func (*Microk8sUpdateAddonsServiceUnavailable) IsRedirect

IsRedirect returns true when this microk8s update addons service unavailable response has a 3xx status code

func (*Microk8sUpdateAddonsServiceUnavailable) IsServerError

func (o *Microk8sUpdateAddonsServiceUnavailable) IsServerError() bool

IsServerError returns true when this microk8s update addons service unavailable response has a 5xx status code

func (*Microk8sUpdateAddonsServiceUnavailable) IsSuccess

IsSuccess returns true when this microk8s update addons service unavailable response has a 2xx status code

func (*Microk8sUpdateAddonsServiceUnavailable) String

type ProviderInfoBadRequest

type ProviderInfoBadRequest struct {
}

ProviderInfoBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewProviderInfoBadRequest

func NewProviderInfoBadRequest() *ProviderInfoBadRequest

NewProviderInfoBadRequest creates a ProviderInfoBadRequest with default headers values

func (*ProviderInfoBadRequest) Code

func (o *ProviderInfoBadRequest) Code() int

Code gets the status code for the provider info bad request response

func (*ProviderInfoBadRequest) Error

func (o *ProviderInfoBadRequest) Error() string

func (*ProviderInfoBadRequest) IsClientError

func (o *ProviderInfoBadRequest) IsClientError() bool

IsClientError returns true when this provider info bad request response has a 4xx status code

func (*ProviderInfoBadRequest) IsCode

func (o *ProviderInfoBadRequest) IsCode(code int) bool

IsCode returns true when this provider info bad request response a status code equal to that given

func (*ProviderInfoBadRequest) IsRedirect

func (o *ProviderInfoBadRequest) IsRedirect() bool

IsRedirect returns true when this provider info bad request response has a 3xx status code

func (*ProviderInfoBadRequest) IsServerError

func (o *ProviderInfoBadRequest) IsServerError() bool

IsServerError returns true when this provider info bad request response has a 5xx status code

func (*ProviderInfoBadRequest) IsSuccess

func (o *ProviderInfoBadRequest) IsSuccess() bool

IsSuccess returns true when this provider info bad request response has a 2xx status code

func (*ProviderInfoBadRequest) String

func (o *ProviderInfoBadRequest) String() string

type ProviderInfoInternalServerError

type ProviderInfoInternalServerError struct {
}

ProviderInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewProviderInfoInternalServerError

func NewProviderInfoInternalServerError() *ProviderInfoInternalServerError

NewProviderInfoInternalServerError creates a ProviderInfoInternalServerError with default headers values

func (*ProviderInfoInternalServerError) Code

Code gets the status code for the provider info internal server error response

func (*ProviderInfoInternalServerError) Error

func (*ProviderInfoInternalServerError) IsClientError

func (o *ProviderInfoInternalServerError) IsClientError() bool

IsClientError returns true when this provider info internal server error response has a 4xx status code

func (*ProviderInfoInternalServerError) IsCode

func (o *ProviderInfoInternalServerError) IsCode(code int) bool

IsCode returns true when this provider info internal server error response a status code equal to that given

func (*ProviderInfoInternalServerError) IsRedirect

func (o *ProviderInfoInternalServerError) IsRedirect() bool

IsRedirect returns true when this provider info internal server error response has a 3xx status code

func (*ProviderInfoInternalServerError) IsServerError

func (o *ProviderInfoInternalServerError) IsServerError() bool

IsServerError returns true when this provider info internal server error response has a 5xx status code

func (*ProviderInfoInternalServerError) IsSuccess

func (o *ProviderInfoInternalServerError) IsSuccess() bool

IsSuccess returns true when this provider info internal server error response has a 2xx status code

func (*ProviderInfoInternalServerError) String

type ProviderInfoOK

type ProviderInfoOK struct {
}

ProviderInfoOK describes a response with status code 200, with default header values.

Success

func NewProviderInfoOK

func NewProviderInfoOK() *ProviderInfoOK

NewProviderInfoOK creates a ProviderInfoOK with default headers values

func (*ProviderInfoOK) Code

func (o *ProviderInfoOK) Code() int

Code gets the status code for the provider info o k response

func (*ProviderInfoOK) Error

func (o *ProviderInfoOK) Error() string

func (*ProviderInfoOK) IsClientError

func (o *ProviderInfoOK) IsClientError() bool

IsClientError returns true when this provider info o k response has a 4xx status code

func (*ProviderInfoOK) IsCode

func (o *ProviderInfoOK) IsCode(code int) bool

IsCode returns true when this provider info o k response a status code equal to that given

func (*ProviderInfoOK) IsRedirect

func (o *ProviderInfoOK) IsRedirect() bool

IsRedirect returns true when this provider info o k response has a 3xx status code

func (*ProviderInfoOK) IsServerError

func (o *ProviderInfoOK) IsServerError() bool

IsServerError returns true when this provider info o k response has a 5xx status code

func (*ProviderInfoOK) IsSuccess

func (o *ProviderInfoOK) IsSuccess() bool

IsSuccess returns true when this provider info o k response has a 2xx status code

func (*ProviderInfoOK) String

func (o *ProviderInfoOK) String() string

type ProviderInfoParams

type ProviderInfoParams struct {

	/* Force.

	   If true, get the up-to-date information (instead of cached information).
	*/
	Force *bool

	/* Provider.

	   Provider
	*/
	Provider string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProviderInfoParams contains all the parameters to send to the API endpoint

for the provider info operation.

Typically these are written to a http.Request.

func NewProviderInfoParams

func NewProviderInfoParams() *ProviderInfoParams

NewProviderInfoParams creates a new ProviderInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProviderInfoParamsWithContext

func NewProviderInfoParamsWithContext(ctx context.Context) *ProviderInfoParams

NewProviderInfoParamsWithContext creates a new ProviderInfoParams object with the ability to set a context for a request.

func NewProviderInfoParamsWithHTTPClient

func NewProviderInfoParamsWithHTTPClient(client *http.Client) *ProviderInfoParams

NewProviderInfoParamsWithHTTPClient creates a new ProviderInfoParams object with the ability to set a custom HTTPClient for a request.

func NewProviderInfoParamsWithTimeout

func NewProviderInfoParamsWithTimeout(timeout time.Duration) *ProviderInfoParams

NewProviderInfoParamsWithTimeout creates a new ProviderInfoParams object with the ability to set a timeout on a request.

func (*ProviderInfoParams) SetContext

func (o *ProviderInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the provider info params

func (*ProviderInfoParams) SetDefaults

func (o *ProviderInfoParams) SetDefaults()

SetDefaults hydrates default values in the provider info params (not the query body).

All values with no default are reset to their zero value.

func (*ProviderInfoParams) SetForce

func (o *ProviderInfoParams) SetForce(force *bool)

SetForce adds the force to the provider info params

func (*ProviderInfoParams) SetHTTPClient

func (o *ProviderInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the provider info params

func (*ProviderInfoParams) SetProvider

func (o *ProviderInfoParams) SetProvider(provider string)

SetProvider adds the provider to the provider info params

func (*ProviderInfoParams) SetTimeout

func (o *ProviderInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the provider info params

func (*ProviderInfoParams) WithContext

WithContext adds the context to the provider info params

func (*ProviderInfoParams) WithDefaults

func (o *ProviderInfoParams) WithDefaults() *ProviderInfoParams

WithDefaults hydrates default values in the provider info params (not the query body).

All values with no default are reset to their zero value.

func (*ProviderInfoParams) WithForce

func (o *ProviderInfoParams) WithForce(force *bool) *ProviderInfoParams

WithForce adds the force to the provider info params

func (*ProviderInfoParams) WithHTTPClient

func (o *ProviderInfoParams) WithHTTPClient(client *http.Client) *ProviderInfoParams

WithHTTPClient adds the HTTPClient to the provider info params

func (*ProviderInfoParams) WithProvider

func (o *ProviderInfoParams) WithProvider(provider string) *ProviderInfoParams

WithProvider adds the provider to the provider info params

func (*ProviderInfoParams) WithTimeout

func (o *ProviderInfoParams) WithTimeout(timeout time.Duration) *ProviderInfoParams

WithTimeout adds the timeout to the provider info params

func (*ProviderInfoParams) WriteToRequest

func (o *ProviderInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProviderInfoReader

type ProviderInfoReader struct {
	// contains filtered or unexported fields
}

ProviderInfoReader is a Reader for the ProviderInfo structure.

func (*ProviderInfoReader) ReadResponse

func (o *ProviderInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProviderInfoServiceUnavailable

type ProviderInfoServiceUnavailable struct {
}

ProviderInfoServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewProviderInfoServiceUnavailable

func NewProviderInfoServiceUnavailable() *ProviderInfoServiceUnavailable

NewProviderInfoServiceUnavailable creates a ProviderInfoServiceUnavailable with default headers values

func (*ProviderInfoServiceUnavailable) Code

Code gets the status code for the provider info service unavailable response

func (*ProviderInfoServiceUnavailable) Error

func (*ProviderInfoServiceUnavailable) IsClientError

func (o *ProviderInfoServiceUnavailable) IsClientError() bool

IsClientError returns true when this provider info service unavailable response has a 4xx status code

func (*ProviderInfoServiceUnavailable) IsCode

func (o *ProviderInfoServiceUnavailable) IsCode(code int) bool

IsCode returns true when this provider info service unavailable response a status code equal to that given

func (*ProviderInfoServiceUnavailable) IsRedirect

func (o *ProviderInfoServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this provider info service unavailable response has a 3xx status code

func (*ProviderInfoServiceUnavailable) IsServerError

func (o *ProviderInfoServiceUnavailable) IsServerError() bool

IsServerError returns true when this provider info service unavailable response has a 5xx status code

func (*ProviderInfoServiceUnavailable) IsSuccess

func (o *ProviderInfoServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this provider info service unavailable response has a 2xx status code

func (*ProviderInfoServiceUnavailable) String

type ProvisionClusterAmazonBadRequest

type ProvisionClusterAmazonBadRequest struct {
}

ProvisionClusterAmazonBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewProvisionClusterAmazonBadRequest

func NewProvisionClusterAmazonBadRequest() *ProvisionClusterAmazonBadRequest

NewProvisionClusterAmazonBadRequest creates a ProvisionClusterAmazonBadRequest with default headers values

func (*ProvisionClusterAmazonBadRequest) Code

Code gets the status code for the provision cluster amazon bad request response

func (*ProvisionClusterAmazonBadRequest) Error

func (*ProvisionClusterAmazonBadRequest) IsClientError

func (o *ProvisionClusterAmazonBadRequest) IsClientError() bool

IsClientError returns true when this provision cluster amazon bad request response has a 4xx status code

func (*ProvisionClusterAmazonBadRequest) IsCode

func (o *ProvisionClusterAmazonBadRequest) IsCode(code int) bool

IsCode returns true when this provision cluster amazon bad request response a status code equal to that given

func (*ProvisionClusterAmazonBadRequest) IsRedirect

func (o *ProvisionClusterAmazonBadRequest) IsRedirect() bool

IsRedirect returns true when this provision cluster amazon bad request response has a 3xx status code

func (*ProvisionClusterAmazonBadRequest) IsServerError

func (o *ProvisionClusterAmazonBadRequest) IsServerError() bool

IsServerError returns true when this provision cluster amazon bad request response has a 5xx status code

func (*ProvisionClusterAmazonBadRequest) IsSuccess

func (o *ProvisionClusterAmazonBadRequest) IsSuccess() bool

IsSuccess returns true when this provision cluster amazon bad request response has a 2xx status code

func (*ProvisionClusterAmazonBadRequest) String

type ProvisionClusterAmazonInternalServerError

type ProvisionClusterAmazonInternalServerError struct {
}

ProvisionClusterAmazonInternalServerError describes a response with status code 500, with default header values.

Server error

func NewProvisionClusterAmazonInternalServerError

func NewProvisionClusterAmazonInternalServerError() *ProvisionClusterAmazonInternalServerError

NewProvisionClusterAmazonInternalServerError creates a ProvisionClusterAmazonInternalServerError with default headers values

func (*ProvisionClusterAmazonInternalServerError) Code

Code gets the status code for the provision cluster amazon internal server error response

func (*ProvisionClusterAmazonInternalServerError) Error

func (*ProvisionClusterAmazonInternalServerError) IsClientError

IsClientError returns true when this provision cluster amazon internal server error response has a 4xx status code

func (*ProvisionClusterAmazonInternalServerError) IsCode

IsCode returns true when this provision cluster amazon internal server error response a status code equal to that given

func (*ProvisionClusterAmazonInternalServerError) IsRedirect

IsRedirect returns true when this provision cluster amazon internal server error response has a 3xx status code

func (*ProvisionClusterAmazonInternalServerError) IsServerError

IsServerError returns true when this provision cluster amazon internal server error response has a 5xx status code

func (*ProvisionClusterAmazonInternalServerError) IsSuccess

IsSuccess returns true when this provision cluster amazon internal server error response has a 2xx status code

func (*ProvisionClusterAmazonInternalServerError) String

type ProvisionClusterAmazonOK

type ProvisionClusterAmazonOK struct {
	Payload *models.PortainereeEndpoint
}

ProvisionClusterAmazonOK describes a response with status code 200, with default header values.

Success

func NewProvisionClusterAmazonOK

func NewProvisionClusterAmazonOK() *ProvisionClusterAmazonOK

NewProvisionClusterAmazonOK creates a ProvisionClusterAmazonOK with default headers values

func (*ProvisionClusterAmazonOK) Code

func (o *ProvisionClusterAmazonOK) Code() int

Code gets the status code for the provision cluster amazon o k response

func (*ProvisionClusterAmazonOK) Error

func (o *ProvisionClusterAmazonOK) Error() string

func (*ProvisionClusterAmazonOK) GetPayload

func (*ProvisionClusterAmazonOK) IsClientError

func (o *ProvisionClusterAmazonOK) IsClientError() bool

IsClientError returns true when this provision cluster amazon o k response has a 4xx status code

func (*ProvisionClusterAmazonOK) IsCode

func (o *ProvisionClusterAmazonOK) IsCode(code int) bool

IsCode returns true when this provision cluster amazon o k response a status code equal to that given

func (*ProvisionClusterAmazonOK) IsRedirect

func (o *ProvisionClusterAmazonOK) IsRedirect() bool

IsRedirect returns true when this provision cluster amazon o k response has a 3xx status code

func (*ProvisionClusterAmazonOK) IsServerError

func (o *ProvisionClusterAmazonOK) IsServerError() bool

IsServerError returns true when this provision cluster amazon o k response has a 5xx status code

func (*ProvisionClusterAmazonOK) IsSuccess

func (o *ProvisionClusterAmazonOK) IsSuccess() bool

IsSuccess returns true when this provision cluster amazon o k response has a 2xx status code

func (*ProvisionClusterAmazonOK) String

func (o *ProvisionClusterAmazonOK) String() string

type ProvisionClusterAmazonParams

type ProvisionClusterAmazonParams struct {

	/* Body.

	   KaaS cluster provisioning details
	*/
	Body *models.ProvidersAmazonProvisionPayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProvisionClusterAmazonParams contains all the parameters to send to the API endpoint

for the provision cluster amazon operation.

Typically these are written to a http.Request.

func NewProvisionClusterAmazonParams

func NewProvisionClusterAmazonParams() *ProvisionClusterAmazonParams

NewProvisionClusterAmazonParams creates a new ProvisionClusterAmazonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProvisionClusterAmazonParamsWithContext

func NewProvisionClusterAmazonParamsWithContext(ctx context.Context) *ProvisionClusterAmazonParams

NewProvisionClusterAmazonParamsWithContext creates a new ProvisionClusterAmazonParams object with the ability to set a context for a request.

func NewProvisionClusterAmazonParamsWithHTTPClient

func NewProvisionClusterAmazonParamsWithHTTPClient(client *http.Client) *ProvisionClusterAmazonParams

NewProvisionClusterAmazonParamsWithHTTPClient creates a new ProvisionClusterAmazonParams object with the ability to set a custom HTTPClient for a request.

func NewProvisionClusterAmazonParamsWithTimeout

func NewProvisionClusterAmazonParamsWithTimeout(timeout time.Duration) *ProvisionClusterAmazonParams

NewProvisionClusterAmazonParamsWithTimeout creates a new ProvisionClusterAmazonParams object with the ability to set a timeout on a request.

func (*ProvisionClusterAmazonParams) SetBody

SetBody adds the body to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) SetContext

func (o *ProvisionClusterAmazonParams) SetContext(ctx context.Context)

SetContext adds the context to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) SetDefaults

func (o *ProvisionClusterAmazonParams) SetDefaults()

SetDefaults hydrates default values in the provision cluster amazon params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterAmazonParams) SetHTTPClient

func (o *ProvisionClusterAmazonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) SetTimeout

func (o *ProvisionClusterAmazonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) WithBody

WithBody adds the body to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) WithContext

WithContext adds the context to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) WithDefaults

WithDefaults hydrates default values in the provision cluster amazon params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterAmazonParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) WithTimeout

WithTimeout adds the timeout to the provision cluster amazon params

func (*ProvisionClusterAmazonParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProvisionClusterAmazonReader

type ProvisionClusterAmazonReader struct {
	// contains filtered or unexported fields
}

ProvisionClusterAmazonReader is a Reader for the ProvisionClusterAmazon structure.

func (*ProvisionClusterAmazonReader) ReadResponse

func (o *ProvisionClusterAmazonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProvisionClusterAmazonServiceUnavailable

type ProvisionClusterAmazonServiceUnavailable struct {
}

ProvisionClusterAmazonServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewProvisionClusterAmazonServiceUnavailable

func NewProvisionClusterAmazonServiceUnavailable() *ProvisionClusterAmazonServiceUnavailable

NewProvisionClusterAmazonServiceUnavailable creates a ProvisionClusterAmazonServiceUnavailable with default headers values

func (*ProvisionClusterAmazonServiceUnavailable) Code

Code gets the status code for the provision cluster amazon service unavailable response

func (*ProvisionClusterAmazonServiceUnavailable) Error

func (*ProvisionClusterAmazonServiceUnavailable) IsClientError

IsClientError returns true when this provision cluster amazon service unavailable response has a 4xx status code

func (*ProvisionClusterAmazonServiceUnavailable) IsCode

IsCode returns true when this provision cluster amazon service unavailable response a status code equal to that given

func (*ProvisionClusterAmazonServiceUnavailable) IsRedirect

IsRedirect returns true when this provision cluster amazon service unavailable response has a 3xx status code

func (*ProvisionClusterAmazonServiceUnavailable) IsServerError

IsServerError returns true when this provision cluster amazon service unavailable response has a 5xx status code

func (*ProvisionClusterAmazonServiceUnavailable) IsSuccess

IsSuccess returns true when this provision cluster amazon service unavailable response has a 2xx status code

func (*ProvisionClusterAmazonServiceUnavailable) String

type ProvisionClusterAzureBadRequest

type ProvisionClusterAzureBadRequest struct {
}

ProvisionClusterAzureBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewProvisionClusterAzureBadRequest

func NewProvisionClusterAzureBadRequest() *ProvisionClusterAzureBadRequest

NewProvisionClusterAzureBadRequest creates a ProvisionClusterAzureBadRequest with default headers values

func (*ProvisionClusterAzureBadRequest) Code

Code gets the status code for the provision cluster azure bad request response

func (*ProvisionClusterAzureBadRequest) Error

func (*ProvisionClusterAzureBadRequest) IsClientError

func (o *ProvisionClusterAzureBadRequest) IsClientError() bool

IsClientError returns true when this provision cluster azure bad request response has a 4xx status code

func (*ProvisionClusterAzureBadRequest) IsCode

func (o *ProvisionClusterAzureBadRequest) IsCode(code int) bool

IsCode returns true when this provision cluster azure bad request response a status code equal to that given

func (*ProvisionClusterAzureBadRequest) IsRedirect

func (o *ProvisionClusterAzureBadRequest) IsRedirect() bool

IsRedirect returns true when this provision cluster azure bad request response has a 3xx status code

func (*ProvisionClusterAzureBadRequest) IsServerError

func (o *ProvisionClusterAzureBadRequest) IsServerError() bool

IsServerError returns true when this provision cluster azure bad request response has a 5xx status code

func (*ProvisionClusterAzureBadRequest) IsSuccess

func (o *ProvisionClusterAzureBadRequest) IsSuccess() bool

IsSuccess returns true when this provision cluster azure bad request response has a 2xx status code

func (*ProvisionClusterAzureBadRequest) String

type ProvisionClusterAzureInternalServerError

type ProvisionClusterAzureInternalServerError struct {
}

ProvisionClusterAzureInternalServerError describes a response with status code 500, with default header values.

Server error

func NewProvisionClusterAzureInternalServerError

func NewProvisionClusterAzureInternalServerError() *ProvisionClusterAzureInternalServerError

NewProvisionClusterAzureInternalServerError creates a ProvisionClusterAzureInternalServerError with default headers values

func (*ProvisionClusterAzureInternalServerError) Code

Code gets the status code for the provision cluster azure internal server error response

func (*ProvisionClusterAzureInternalServerError) Error

func (*ProvisionClusterAzureInternalServerError) IsClientError

IsClientError returns true when this provision cluster azure internal server error response has a 4xx status code

func (*ProvisionClusterAzureInternalServerError) IsCode

IsCode returns true when this provision cluster azure internal server error response a status code equal to that given

func (*ProvisionClusterAzureInternalServerError) IsRedirect

IsRedirect returns true when this provision cluster azure internal server error response has a 3xx status code

func (*ProvisionClusterAzureInternalServerError) IsServerError

IsServerError returns true when this provision cluster azure internal server error response has a 5xx status code

func (*ProvisionClusterAzureInternalServerError) IsSuccess

IsSuccess returns true when this provision cluster azure internal server error response has a 2xx status code

func (*ProvisionClusterAzureInternalServerError) String

type ProvisionClusterAzureOK

type ProvisionClusterAzureOK struct {
	Payload *models.PortainereeEndpoint
}

ProvisionClusterAzureOK describes a response with status code 200, with default header values.

Success

func NewProvisionClusterAzureOK

func NewProvisionClusterAzureOK() *ProvisionClusterAzureOK

NewProvisionClusterAzureOK creates a ProvisionClusterAzureOK with default headers values

func (*ProvisionClusterAzureOK) Code

func (o *ProvisionClusterAzureOK) Code() int

Code gets the status code for the provision cluster azure o k response

func (*ProvisionClusterAzureOK) Error

func (o *ProvisionClusterAzureOK) Error() string

func (*ProvisionClusterAzureOK) GetPayload

func (*ProvisionClusterAzureOK) IsClientError

func (o *ProvisionClusterAzureOK) IsClientError() bool

IsClientError returns true when this provision cluster azure o k response has a 4xx status code

func (*ProvisionClusterAzureOK) IsCode

func (o *ProvisionClusterAzureOK) IsCode(code int) bool

IsCode returns true when this provision cluster azure o k response a status code equal to that given

func (*ProvisionClusterAzureOK) IsRedirect

func (o *ProvisionClusterAzureOK) IsRedirect() bool

IsRedirect returns true when this provision cluster azure o k response has a 3xx status code

func (*ProvisionClusterAzureOK) IsServerError

func (o *ProvisionClusterAzureOK) IsServerError() bool

IsServerError returns true when this provision cluster azure o k response has a 5xx status code

func (*ProvisionClusterAzureOK) IsSuccess

func (o *ProvisionClusterAzureOK) IsSuccess() bool

IsSuccess returns true when this provision cluster azure o k response has a 2xx status code

func (*ProvisionClusterAzureOK) String

func (o *ProvisionClusterAzureOK) String() string

type ProvisionClusterAzureParams

type ProvisionClusterAzureParams struct {

	/* Body.

	   KaaS cluster provisioning details
	*/
	Body *models.ProvidersAzureProvisionPayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProvisionClusterAzureParams contains all the parameters to send to the API endpoint

for the provision cluster azure operation.

Typically these are written to a http.Request.

func NewProvisionClusterAzureParams

func NewProvisionClusterAzureParams() *ProvisionClusterAzureParams

NewProvisionClusterAzureParams creates a new ProvisionClusterAzureParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProvisionClusterAzureParamsWithContext

func NewProvisionClusterAzureParamsWithContext(ctx context.Context) *ProvisionClusterAzureParams

NewProvisionClusterAzureParamsWithContext creates a new ProvisionClusterAzureParams object with the ability to set a context for a request.

func NewProvisionClusterAzureParamsWithHTTPClient

func NewProvisionClusterAzureParamsWithHTTPClient(client *http.Client) *ProvisionClusterAzureParams

NewProvisionClusterAzureParamsWithHTTPClient creates a new ProvisionClusterAzureParams object with the ability to set a custom HTTPClient for a request.

func NewProvisionClusterAzureParamsWithTimeout

func NewProvisionClusterAzureParamsWithTimeout(timeout time.Duration) *ProvisionClusterAzureParams

NewProvisionClusterAzureParamsWithTimeout creates a new ProvisionClusterAzureParams object with the ability to set a timeout on a request.

func (*ProvisionClusterAzureParams) SetBody

SetBody adds the body to the provision cluster azure params

func (*ProvisionClusterAzureParams) SetContext

func (o *ProvisionClusterAzureParams) SetContext(ctx context.Context)

SetContext adds the context to the provision cluster azure params

func (*ProvisionClusterAzureParams) SetDefaults

func (o *ProvisionClusterAzureParams) SetDefaults()

SetDefaults hydrates default values in the provision cluster azure params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterAzureParams) SetHTTPClient

func (o *ProvisionClusterAzureParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the provision cluster azure params

func (*ProvisionClusterAzureParams) SetTimeout

func (o *ProvisionClusterAzureParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the provision cluster azure params

func (*ProvisionClusterAzureParams) WithBody

WithBody adds the body to the provision cluster azure params

func (*ProvisionClusterAzureParams) WithContext

WithContext adds the context to the provision cluster azure params

func (*ProvisionClusterAzureParams) WithDefaults

WithDefaults hydrates default values in the provision cluster azure params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterAzureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the provision cluster azure params

func (*ProvisionClusterAzureParams) WithTimeout

WithTimeout adds the timeout to the provision cluster azure params

func (*ProvisionClusterAzureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProvisionClusterAzureReader

type ProvisionClusterAzureReader struct {
	// contains filtered or unexported fields
}

ProvisionClusterAzureReader is a Reader for the ProvisionClusterAzure structure.

func (*ProvisionClusterAzureReader) ReadResponse

func (o *ProvisionClusterAzureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProvisionClusterAzureServiceUnavailable

type ProvisionClusterAzureServiceUnavailable struct {
}

ProvisionClusterAzureServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewProvisionClusterAzureServiceUnavailable

func NewProvisionClusterAzureServiceUnavailable() *ProvisionClusterAzureServiceUnavailable

NewProvisionClusterAzureServiceUnavailable creates a ProvisionClusterAzureServiceUnavailable with default headers values

func (*ProvisionClusterAzureServiceUnavailable) Code

Code gets the status code for the provision cluster azure service unavailable response

func (*ProvisionClusterAzureServiceUnavailable) Error

func (*ProvisionClusterAzureServiceUnavailable) IsClientError

func (o *ProvisionClusterAzureServiceUnavailable) IsClientError() bool

IsClientError returns true when this provision cluster azure service unavailable response has a 4xx status code

func (*ProvisionClusterAzureServiceUnavailable) IsCode

IsCode returns true when this provision cluster azure service unavailable response a status code equal to that given

func (*ProvisionClusterAzureServiceUnavailable) IsRedirect

IsRedirect returns true when this provision cluster azure service unavailable response has a 3xx status code

func (*ProvisionClusterAzureServiceUnavailable) IsServerError

func (o *ProvisionClusterAzureServiceUnavailable) IsServerError() bool

IsServerError returns true when this provision cluster azure service unavailable response has a 5xx status code

func (*ProvisionClusterAzureServiceUnavailable) IsSuccess

IsSuccess returns true when this provision cluster azure service unavailable response has a 2xx status code

func (*ProvisionClusterAzureServiceUnavailable) String

type ProvisionClusterBadRequest

type ProvisionClusterBadRequest struct {
}

ProvisionClusterBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewProvisionClusterBadRequest

func NewProvisionClusterBadRequest() *ProvisionClusterBadRequest

NewProvisionClusterBadRequest creates a ProvisionClusterBadRequest with default headers values

func (*ProvisionClusterBadRequest) Code

func (o *ProvisionClusterBadRequest) Code() int

Code gets the status code for the provision cluster bad request response

func (*ProvisionClusterBadRequest) Error

func (*ProvisionClusterBadRequest) IsClientError

func (o *ProvisionClusterBadRequest) IsClientError() bool

IsClientError returns true when this provision cluster bad request response has a 4xx status code

func (*ProvisionClusterBadRequest) IsCode

func (o *ProvisionClusterBadRequest) IsCode(code int) bool

IsCode returns true when this provision cluster bad request response a status code equal to that given

func (*ProvisionClusterBadRequest) IsRedirect

func (o *ProvisionClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this provision cluster bad request response has a 3xx status code

func (*ProvisionClusterBadRequest) IsServerError

func (o *ProvisionClusterBadRequest) IsServerError() bool

IsServerError returns true when this provision cluster bad request response has a 5xx status code

func (*ProvisionClusterBadRequest) IsSuccess

func (o *ProvisionClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this provision cluster bad request response has a 2xx status code

func (*ProvisionClusterBadRequest) String

func (o *ProvisionClusterBadRequest) String() string

type ProvisionClusterGKEBadRequest

type ProvisionClusterGKEBadRequest struct {
}

ProvisionClusterGKEBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewProvisionClusterGKEBadRequest

func NewProvisionClusterGKEBadRequest() *ProvisionClusterGKEBadRequest

NewProvisionClusterGKEBadRequest creates a ProvisionClusterGKEBadRequest with default headers values

func (*ProvisionClusterGKEBadRequest) Code

Code gets the status code for the provision cluster g k e bad request response

func (*ProvisionClusterGKEBadRequest) Error

func (*ProvisionClusterGKEBadRequest) IsClientError

func (o *ProvisionClusterGKEBadRequest) IsClientError() bool

IsClientError returns true when this provision cluster g k e bad request response has a 4xx status code

func (*ProvisionClusterGKEBadRequest) IsCode

func (o *ProvisionClusterGKEBadRequest) IsCode(code int) bool

IsCode returns true when this provision cluster g k e bad request response a status code equal to that given

func (*ProvisionClusterGKEBadRequest) IsRedirect

func (o *ProvisionClusterGKEBadRequest) IsRedirect() bool

IsRedirect returns true when this provision cluster g k e bad request response has a 3xx status code

func (*ProvisionClusterGKEBadRequest) IsServerError

func (o *ProvisionClusterGKEBadRequest) IsServerError() bool

IsServerError returns true when this provision cluster g k e bad request response has a 5xx status code

func (*ProvisionClusterGKEBadRequest) IsSuccess

func (o *ProvisionClusterGKEBadRequest) IsSuccess() bool

IsSuccess returns true when this provision cluster g k e bad request response has a 2xx status code

func (*ProvisionClusterGKEBadRequest) String

type ProvisionClusterGKEInternalServerError

type ProvisionClusterGKEInternalServerError struct {
}

ProvisionClusterGKEInternalServerError describes a response with status code 500, with default header values.

Server error

func NewProvisionClusterGKEInternalServerError

func NewProvisionClusterGKEInternalServerError() *ProvisionClusterGKEInternalServerError

NewProvisionClusterGKEInternalServerError creates a ProvisionClusterGKEInternalServerError with default headers values

func (*ProvisionClusterGKEInternalServerError) Code

Code gets the status code for the provision cluster g k e internal server error response

func (*ProvisionClusterGKEInternalServerError) Error

func (*ProvisionClusterGKEInternalServerError) IsClientError

func (o *ProvisionClusterGKEInternalServerError) IsClientError() bool

IsClientError returns true when this provision cluster g k e internal server error response has a 4xx status code

func (*ProvisionClusterGKEInternalServerError) IsCode

IsCode returns true when this provision cluster g k e internal server error response a status code equal to that given

func (*ProvisionClusterGKEInternalServerError) IsRedirect

IsRedirect returns true when this provision cluster g k e internal server error response has a 3xx status code

func (*ProvisionClusterGKEInternalServerError) IsServerError

func (o *ProvisionClusterGKEInternalServerError) IsServerError() bool

IsServerError returns true when this provision cluster g k e internal server error response has a 5xx status code

func (*ProvisionClusterGKEInternalServerError) IsSuccess

IsSuccess returns true when this provision cluster g k e internal server error response has a 2xx status code

func (*ProvisionClusterGKEInternalServerError) String

type ProvisionClusterGKEOK

type ProvisionClusterGKEOK struct {
	Payload *models.PortainereeEndpoint
}

ProvisionClusterGKEOK describes a response with status code 200, with default header values.

Success

func NewProvisionClusterGKEOK

func NewProvisionClusterGKEOK() *ProvisionClusterGKEOK

NewProvisionClusterGKEOK creates a ProvisionClusterGKEOK with default headers values

func (*ProvisionClusterGKEOK) Code

func (o *ProvisionClusterGKEOK) Code() int

Code gets the status code for the provision cluster g k e o k response

func (*ProvisionClusterGKEOK) Error

func (o *ProvisionClusterGKEOK) Error() string

func (*ProvisionClusterGKEOK) GetPayload

func (*ProvisionClusterGKEOK) IsClientError

func (o *ProvisionClusterGKEOK) IsClientError() bool

IsClientError returns true when this provision cluster g k e o k response has a 4xx status code

func (*ProvisionClusterGKEOK) IsCode

func (o *ProvisionClusterGKEOK) IsCode(code int) bool

IsCode returns true when this provision cluster g k e o k response a status code equal to that given

func (*ProvisionClusterGKEOK) IsRedirect

func (o *ProvisionClusterGKEOK) IsRedirect() bool

IsRedirect returns true when this provision cluster g k e o k response has a 3xx status code

func (*ProvisionClusterGKEOK) IsServerError

func (o *ProvisionClusterGKEOK) IsServerError() bool

IsServerError returns true when this provision cluster g k e o k response has a 5xx status code

func (*ProvisionClusterGKEOK) IsSuccess

func (o *ProvisionClusterGKEOK) IsSuccess() bool

IsSuccess returns true when this provision cluster g k e o k response has a 2xx status code

func (*ProvisionClusterGKEOK) String

func (o *ProvisionClusterGKEOK) String() string

type ProvisionClusterGKEParams

type ProvisionClusterGKEParams struct {

	/* Body.

	   KaaS cluster provisioning details
	*/
	Body *models.ProvidersGKEProvisionPayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProvisionClusterGKEParams contains all the parameters to send to the API endpoint

for the provision cluster g k e operation.

Typically these are written to a http.Request.

func NewProvisionClusterGKEParams

func NewProvisionClusterGKEParams() *ProvisionClusterGKEParams

NewProvisionClusterGKEParams creates a new ProvisionClusterGKEParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProvisionClusterGKEParamsWithContext

func NewProvisionClusterGKEParamsWithContext(ctx context.Context) *ProvisionClusterGKEParams

NewProvisionClusterGKEParamsWithContext creates a new ProvisionClusterGKEParams object with the ability to set a context for a request.

func NewProvisionClusterGKEParamsWithHTTPClient

func NewProvisionClusterGKEParamsWithHTTPClient(client *http.Client) *ProvisionClusterGKEParams

NewProvisionClusterGKEParamsWithHTTPClient creates a new ProvisionClusterGKEParams object with the ability to set a custom HTTPClient for a request.

func NewProvisionClusterGKEParamsWithTimeout

func NewProvisionClusterGKEParamsWithTimeout(timeout time.Duration) *ProvisionClusterGKEParams

NewProvisionClusterGKEParamsWithTimeout creates a new ProvisionClusterGKEParams object with the ability to set a timeout on a request.

func (*ProvisionClusterGKEParams) SetBody

SetBody adds the body to the provision cluster g k e params

func (*ProvisionClusterGKEParams) SetContext

func (o *ProvisionClusterGKEParams) SetContext(ctx context.Context)

SetContext adds the context to the provision cluster g k e params

func (*ProvisionClusterGKEParams) SetDefaults

func (o *ProvisionClusterGKEParams) SetDefaults()

SetDefaults hydrates default values in the provision cluster g k e params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterGKEParams) SetHTTPClient

func (o *ProvisionClusterGKEParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the provision cluster g k e params

func (*ProvisionClusterGKEParams) SetTimeout

func (o *ProvisionClusterGKEParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the provision cluster g k e params

func (*ProvisionClusterGKEParams) WithBody

WithBody adds the body to the provision cluster g k e params

func (*ProvisionClusterGKEParams) WithContext

WithContext adds the context to the provision cluster g k e params

func (*ProvisionClusterGKEParams) WithDefaults

WithDefaults hydrates default values in the provision cluster g k e params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterGKEParams) WithHTTPClient

func (o *ProvisionClusterGKEParams) WithHTTPClient(client *http.Client) *ProvisionClusterGKEParams

WithHTTPClient adds the HTTPClient to the provision cluster g k e params

func (*ProvisionClusterGKEParams) WithTimeout

WithTimeout adds the timeout to the provision cluster g k e params

func (*ProvisionClusterGKEParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProvisionClusterGKEReader

type ProvisionClusterGKEReader struct {
	// contains filtered or unexported fields
}

ProvisionClusterGKEReader is a Reader for the ProvisionClusterGKE structure.

func (*ProvisionClusterGKEReader) ReadResponse

func (o *ProvisionClusterGKEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProvisionClusterGKEServiceUnavailable

type ProvisionClusterGKEServiceUnavailable struct {
}

ProvisionClusterGKEServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewProvisionClusterGKEServiceUnavailable

func NewProvisionClusterGKEServiceUnavailable() *ProvisionClusterGKEServiceUnavailable

NewProvisionClusterGKEServiceUnavailable creates a ProvisionClusterGKEServiceUnavailable with default headers values

func (*ProvisionClusterGKEServiceUnavailable) Code

Code gets the status code for the provision cluster g k e service unavailable response

func (*ProvisionClusterGKEServiceUnavailable) Error

func (*ProvisionClusterGKEServiceUnavailable) IsClientError

func (o *ProvisionClusterGKEServiceUnavailable) IsClientError() bool

IsClientError returns true when this provision cluster g k e service unavailable response has a 4xx status code

func (*ProvisionClusterGKEServiceUnavailable) IsCode

IsCode returns true when this provision cluster g k e service unavailable response a status code equal to that given

func (*ProvisionClusterGKEServiceUnavailable) IsRedirect

IsRedirect returns true when this provision cluster g k e service unavailable response has a 3xx status code

func (*ProvisionClusterGKEServiceUnavailable) IsServerError

func (o *ProvisionClusterGKEServiceUnavailable) IsServerError() bool

IsServerError returns true when this provision cluster g k e service unavailable response has a 5xx status code

func (*ProvisionClusterGKEServiceUnavailable) IsSuccess

IsSuccess returns true when this provision cluster g k e service unavailable response has a 2xx status code

func (*ProvisionClusterGKEServiceUnavailable) String

type ProvisionClusterInternalServerError

type ProvisionClusterInternalServerError struct {
}

ProvisionClusterInternalServerError describes a response with status code 500, with default header values.

Server error

func NewProvisionClusterInternalServerError

func NewProvisionClusterInternalServerError() *ProvisionClusterInternalServerError

NewProvisionClusterInternalServerError creates a ProvisionClusterInternalServerError with default headers values

func (*ProvisionClusterInternalServerError) Code

Code gets the status code for the provision cluster internal server error response

func (*ProvisionClusterInternalServerError) Error

func (*ProvisionClusterInternalServerError) IsClientError

func (o *ProvisionClusterInternalServerError) IsClientError() bool

IsClientError returns true when this provision cluster internal server error response has a 4xx status code

func (*ProvisionClusterInternalServerError) IsCode

IsCode returns true when this provision cluster internal server error response a status code equal to that given

func (*ProvisionClusterInternalServerError) IsRedirect

func (o *ProvisionClusterInternalServerError) IsRedirect() bool

IsRedirect returns true when this provision cluster internal server error response has a 3xx status code

func (*ProvisionClusterInternalServerError) IsServerError

func (o *ProvisionClusterInternalServerError) IsServerError() bool

IsServerError returns true when this provision cluster internal server error response has a 5xx status code

func (*ProvisionClusterInternalServerError) IsSuccess

IsSuccess returns true when this provision cluster internal server error response has a 2xx status code

func (*ProvisionClusterInternalServerError) String

type ProvisionClusterOK

type ProvisionClusterOK struct {
	Payload *models.PortainereeEndpoint
}

ProvisionClusterOK describes a response with status code 200, with default header values.

Success

func NewProvisionClusterOK

func NewProvisionClusterOK() *ProvisionClusterOK

NewProvisionClusterOK creates a ProvisionClusterOK with default headers values

func (*ProvisionClusterOK) Code

func (o *ProvisionClusterOK) Code() int

Code gets the status code for the provision cluster o k response

func (*ProvisionClusterOK) Error

func (o *ProvisionClusterOK) Error() string

func (*ProvisionClusterOK) GetPayload

func (*ProvisionClusterOK) IsClientError

func (o *ProvisionClusterOK) IsClientError() bool

IsClientError returns true when this provision cluster o k response has a 4xx status code

func (*ProvisionClusterOK) IsCode

func (o *ProvisionClusterOK) IsCode(code int) bool

IsCode returns true when this provision cluster o k response a status code equal to that given

func (*ProvisionClusterOK) IsRedirect

func (o *ProvisionClusterOK) IsRedirect() bool

IsRedirect returns true when this provision cluster o k response has a 3xx status code

func (*ProvisionClusterOK) IsServerError

func (o *ProvisionClusterOK) IsServerError() bool

IsServerError returns true when this provision cluster o k response has a 5xx status code

func (*ProvisionClusterOK) IsSuccess

func (o *ProvisionClusterOK) IsSuccess() bool

IsSuccess returns true when this provision cluster o k response has a 2xx status code

func (*ProvisionClusterOK) String

func (o *ProvisionClusterOK) String() string

type ProvisionClusterParams

type ProvisionClusterParams struct {

	/* Body.

	   KaaS cluster provisioning details
	*/
	Body *models.ProvidersDefaultProvisionPayload

	/* Provider.

	   Provider
	*/
	Provider string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProvisionClusterParams contains all the parameters to send to the API endpoint

for the provision cluster operation.

Typically these are written to a http.Request.

func NewProvisionClusterParams

func NewProvisionClusterParams() *ProvisionClusterParams

NewProvisionClusterParams creates a new ProvisionClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProvisionClusterParamsWithContext

func NewProvisionClusterParamsWithContext(ctx context.Context) *ProvisionClusterParams

NewProvisionClusterParamsWithContext creates a new ProvisionClusterParams object with the ability to set a context for a request.

func NewProvisionClusterParamsWithHTTPClient

func NewProvisionClusterParamsWithHTTPClient(client *http.Client) *ProvisionClusterParams

NewProvisionClusterParamsWithHTTPClient creates a new ProvisionClusterParams object with the ability to set a custom HTTPClient for a request.

func NewProvisionClusterParamsWithTimeout

func NewProvisionClusterParamsWithTimeout(timeout time.Duration) *ProvisionClusterParams

NewProvisionClusterParamsWithTimeout creates a new ProvisionClusterParams object with the ability to set a timeout on a request.

func (*ProvisionClusterParams) SetBody

SetBody adds the body to the provision cluster params

func (*ProvisionClusterParams) SetContext

func (o *ProvisionClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the provision cluster params

func (*ProvisionClusterParams) SetDefaults

func (o *ProvisionClusterParams) SetDefaults()

SetDefaults hydrates default values in the provision cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterParams) SetHTTPClient

func (o *ProvisionClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the provision cluster params

func (*ProvisionClusterParams) SetProvider

func (o *ProvisionClusterParams) SetProvider(provider string)

SetProvider adds the provider to the provision cluster params

func (*ProvisionClusterParams) SetTimeout

func (o *ProvisionClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the provision cluster params

func (*ProvisionClusterParams) WithBody

WithBody adds the body to the provision cluster params

func (*ProvisionClusterParams) WithContext

WithContext adds the context to the provision cluster params

func (*ProvisionClusterParams) WithDefaults

WithDefaults hydrates default values in the provision cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ProvisionClusterParams) WithHTTPClient

func (o *ProvisionClusterParams) WithHTTPClient(client *http.Client) *ProvisionClusterParams

WithHTTPClient adds the HTTPClient to the provision cluster params

func (*ProvisionClusterParams) WithProvider

func (o *ProvisionClusterParams) WithProvider(provider string) *ProvisionClusterParams

WithProvider adds the provider to the provision cluster params

func (*ProvisionClusterParams) WithTimeout

WithTimeout adds the timeout to the provision cluster params

func (*ProvisionClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProvisionClusterReader

type ProvisionClusterReader struct {
	// contains filtered or unexported fields
}

ProvisionClusterReader is a Reader for the ProvisionCluster structure.

func (*ProvisionClusterReader) ReadResponse

func (o *ProvisionClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProvisionClusterServiceUnavailable

type ProvisionClusterServiceUnavailable struct {
}

ProvisionClusterServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewProvisionClusterServiceUnavailable

func NewProvisionClusterServiceUnavailable() *ProvisionClusterServiceUnavailable

NewProvisionClusterServiceUnavailable creates a ProvisionClusterServiceUnavailable with default headers values

func (*ProvisionClusterServiceUnavailable) Code

Code gets the status code for the provision cluster service unavailable response

func (*ProvisionClusterServiceUnavailable) Error

func (*ProvisionClusterServiceUnavailable) IsClientError

func (o *ProvisionClusterServiceUnavailable) IsClientError() bool

IsClientError returns true when this provision cluster service unavailable response has a 4xx status code

func (*ProvisionClusterServiceUnavailable) IsCode

IsCode returns true when this provision cluster service unavailable response a status code equal to that given

func (*ProvisionClusterServiceUnavailable) IsRedirect

func (o *ProvisionClusterServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this provision cluster service unavailable response has a 3xx status code

func (*ProvisionClusterServiceUnavailable) IsServerError

func (o *ProvisionClusterServiceUnavailable) IsServerError() bool

IsServerError returns true when this provision cluster service unavailable response has a 5xx status code

func (*ProvisionClusterServiceUnavailable) IsSuccess

IsSuccess returns true when this provision cluster service unavailable response has a 2xx status code

func (*ProvisionClusterServiceUnavailable) String

type RemoveNodesBadRequest

type RemoveNodesBadRequest struct {
}

RemoveNodesBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewRemoveNodesBadRequest

func NewRemoveNodesBadRequest() *RemoveNodesBadRequest

NewRemoveNodesBadRequest creates a RemoveNodesBadRequest with default headers values

func (*RemoveNodesBadRequest) Code

func (o *RemoveNodesBadRequest) Code() int

Code gets the status code for the remove nodes bad request response

func (*RemoveNodesBadRequest) Error

func (o *RemoveNodesBadRequest) Error() string

func (*RemoveNodesBadRequest) IsClientError

func (o *RemoveNodesBadRequest) IsClientError() bool

IsClientError returns true when this remove nodes bad request response has a 4xx status code

func (*RemoveNodesBadRequest) IsCode

func (o *RemoveNodesBadRequest) IsCode(code int) bool

IsCode returns true when this remove nodes bad request response a status code equal to that given

func (*RemoveNodesBadRequest) IsRedirect

func (o *RemoveNodesBadRequest) IsRedirect() bool

IsRedirect returns true when this remove nodes bad request response has a 3xx status code

func (*RemoveNodesBadRequest) IsServerError

func (o *RemoveNodesBadRequest) IsServerError() bool

IsServerError returns true when this remove nodes bad request response has a 5xx status code

func (*RemoveNodesBadRequest) IsSuccess

func (o *RemoveNodesBadRequest) IsSuccess() bool

IsSuccess returns true when this remove nodes bad request response has a 2xx status code

func (*RemoveNodesBadRequest) String

func (o *RemoveNodesBadRequest) String() string

type RemoveNodesForbidden

type RemoveNodesForbidden struct {
}

RemoveNodesForbidden describes a response with status code 403, with default header values.

Permission denied

func NewRemoveNodesForbidden

func NewRemoveNodesForbidden() *RemoveNodesForbidden

NewRemoveNodesForbidden creates a RemoveNodesForbidden with default headers values

func (*RemoveNodesForbidden) Code

func (o *RemoveNodesForbidden) Code() int

Code gets the status code for the remove nodes forbidden response

func (*RemoveNodesForbidden) Error

func (o *RemoveNodesForbidden) Error() string

func (*RemoveNodesForbidden) IsClientError

func (o *RemoveNodesForbidden) IsClientError() bool

IsClientError returns true when this remove nodes forbidden response has a 4xx status code

func (*RemoveNodesForbidden) IsCode

func (o *RemoveNodesForbidden) IsCode(code int) bool

IsCode returns true when this remove nodes forbidden response a status code equal to that given

func (*RemoveNodesForbidden) IsRedirect

func (o *RemoveNodesForbidden) IsRedirect() bool

IsRedirect returns true when this remove nodes forbidden response has a 3xx status code

func (*RemoveNodesForbidden) IsServerError

func (o *RemoveNodesForbidden) IsServerError() bool

IsServerError returns true when this remove nodes forbidden response has a 5xx status code

func (*RemoveNodesForbidden) IsSuccess

func (o *RemoveNodesForbidden) IsSuccess() bool

IsSuccess returns true when this remove nodes forbidden response has a 2xx status code

func (*RemoveNodesForbidden) String

func (o *RemoveNodesForbidden) String() string

type RemoveNodesInternalServerError

type RemoveNodesInternalServerError struct {
}

RemoveNodesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveNodesInternalServerError

func NewRemoveNodesInternalServerError() *RemoveNodesInternalServerError

NewRemoveNodesInternalServerError creates a RemoveNodesInternalServerError with default headers values

func (*RemoveNodesInternalServerError) Code

Code gets the status code for the remove nodes internal server error response

func (*RemoveNodesInternalServerError) Error

func (*RemoveNodesInternalServerError) IsClientError

func (o *RemoveNodesInternalServerError) IsClientError() bool

IsClientError returns true when this remove nodes internal server error response has a 4xx status code

func (*RemoveNodesInternalServerError) IsCode

func (o *RemoveNodesInternalServerError) IsCode(code int) bool

IsCode returns true when this remove nodes internal server error response a status code equal to that given

func (*RemoveNodesInternalServerError) IsRedirect

func (o *RemoveNodesInternalServerError) IsRedirect() bool

IsRedirect returns true when this remove nodes internal server error response has a 3xx status code

func (*RemoveNodesInternalServerError) IsServerError

func (o *RemoveNodesInternalServerError) IsServerError() bool

IsServerError returns true when this remove nodes internal server error response has a 5xx status code

func (*RemoveNodesInternalServerError) IsSuccess

func (o *RemoveNodesInternalServerError) IsSuccess() bool

IsSuccess returns true when this remove nodes internal server error response has a 2xx status code

func (*RemoveNodesInternalServerError) String

type RemoveNodesOK

type RemoveNodesOK struct {
}

RemoveNodesOK describes a response with status code 200, with default header values.

Success

func NewRemoveNodesOK

func NewRemoveNodesOK() *RemoveNodesOK

NewRemoveNodesOK creates a RemoveNodesOK with default headers values

func (*RemoveNodesOK) Code

func (o *RemoveNodesOK) Code() int

Code gets the status code for the remove nodes o k response

func (*RemoveNodesOK) Error

func (o *RemoveNodesOK) Error() string

func (*RemoveNodesOK) IsClientError

func (o *RemoveNodesOK) IsClientError() bool

IsClientError returns true when this remove nodes o k response has a 4xx status code

func (*RemoveNodesOK) IsCode

func (o *RemoveNodesOK) IsCode(code int) bool

IsCode returns true when this remove nodes o k response a status code equal to that given

func (*RemoveNodesOK) IsRedirect

func (o *RemoveNodesOK) IsRedirect() bool

IsRedirect returns true when this remove nodes o k response has a 3xx status code

func (*RemoveNodesOK) IsServerError

func (o *RemoveNodesOK) IsServerError() bool

IsServerError returns true when this remove nodes o k response has a 5xx status code

func (*RemoveNodesOK) IsSuccess

func (o *RemoveNodesOK) IsSuccess() bool

IsSuccess returns true when this remove nodes o k response has a 2xx status code

func (*RemoveNodesOK) String

func (o *RemoveNodesOK) String() string

type RemoveNodesParams

type RemoveNodesParams struct {

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveNodesParams contains all the parameters to send to the API endpoint

for the remove nodes operation.

Typically these are written to a http.Request.

func NewRemoveNodesParams

func NewRemoveNodesParams() *RemoveNodesParams

NewRemoveNodesParams creates a new RemoveNodesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveNodesParamsWithContext

func NewRemoveNodesParamsWithContext(ctx context.Context) *RemoveNodesParams

NewRemoveNodesParamsWithContext creates a new RemoveNodesParams object with the ability to set a context for a request.

func NewRemoveNodesParamsWithHTTPClient

func NewRemoveNodesParamsWithHTTPClient(client *http.Client) *RemoveNodesParams

NewRemoveNodesParamsWithHTTPClient creates a new RemoveNodesParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveNodesParamsWithTimeout

func NewRemoveNodesParamsWithTimeout(timeout time.Duration) *RemoveNodesParams

NewRemoveNodesParamsWithTimeout creates a new RemoveNodesParams object with the ability to set a timeout on a request.

func (*RemoveNodesParams) SetContext

func (o *RemoveNodesParams) SetContext(ctx context.Context)

SetContext adds the context to the remove nodes params

func (*RemoveNodesParams) SetDefaults

func (o *RemoveNodesParams) SetDefaults()

SetDefaults hydrates default values in the remove nodes params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveNodesParams) SetEnvironmentID

func (o *RemoveNodesParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the remove nodes params

func (*RemoveNodesParams) SetHTTPClient

func (o *RemoveNodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove nodes params

func (*RemoveNodesParams) SetTimeout

func (o *RemoveNodesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove nodes params

func (*RemoveNodesParams) WithContext

func (o *RemoveNodesParams) WithContext(ctx context.Context) *RemoveNodesParams

WithContext adds the context to the remove nodes params

func (*RemoveNodesParams) WithDefaults

func (o *RemoveNodesParams) WithDefaults() *RemoveNodesParams

WithDefaults hydrates default values in the remove nodes params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveNodesParams) WithEnvironmentID

func (o *RemoveNodesParams) WithEnvironmentID(environmentID int64) *RemoveNodesParams

WithEnvironmentID adds the environmentID to the remove nodes params

func (*RemoveNodesParams) WithHTTPClient

func (o *RemoveNodesParams) WithHTTPClient(client *http.Client) *RemoveNodesParams

WithHTTPClient adds the HTTPClient to the remove nodes params

func (*RemoveNodesParams) WithTimeout

func (o *RemoveNodesParams) WithTimeout(timeout time.Duration) *RemoveNodesParams

WithTimeout adds the timeout to the remove nodes params

func (*RemoveNodesParams) WriteToRequest

func (o *RemoveNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveNodesReader

type RemoveNodesReader struct {
	// contains filtered or unexported fields
}

RemoveNodesReader is a Reader for the RemoveNodes structure.

func (*RemoveNodesReader) ReadResponse

func (o *RemoveNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveNodesServiceUnavailable

type RemoveNodesServiceUnavailable struct {
}

RemoveNodesServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewRemoveNodesServiceUnavailable

func NewRemoveNodesServiceUnavailable() *RemoveNodesServiceUnavailable

NewRemoveNodesServiceUnavailable creates a RemoveNodesServiceUnavailable with default headers values

func (*RemoveNodesServiceUnavailable) Code

Code gets the status code for the remove nodes service unavailable response

func (*RemoveNodesServiceUnavailable) Error

func (*RemoveNodesServiceUnavailable) IsClientError

func (o *RemoveNodesServiceUnavailable) IsClientError() bool

IsClientError returns true when this remove nodes service unavailable response has a 4xx status code

func (*RemoveNodesServiceUnavailable) IsCode

func (o *RemoveNodesServiceUnavailable) IsCode(code int) bool

IsCode returns true when this remove nodes service unavailable response a status code equal to that given

func (*RemoveNodesServiceUnavailable) IsRedirect

func (o *RemoveNodesServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this remove nodes service unavailable response has a 3xx status code

func (*RemoveNodesServiceUnavailable) IsServerError

func (o *RemoveNodesServiceUnavailable) IsServerError() bool

IsServerError returns true when this remove nodes service unavailable response has a 5xx status code

func (*RemoveNodesServiceUnavailable) IsSuccess

func (o *RemoveNodesServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this remove nodes service unavailable response has a 2xx status code

func (*RemoveNodesServiceUnavailable) String

type TestSSHBadRequest

type TestSSHBadRequest struct {
}

TestSSHBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewTestSSHBadRequest

func NewTestSSHBadRequest() *TestSSHBadRequest

NewTestSSHBadRequest creates a TestSSHBadRequest with default headers values

func (*TestSSHBadRequest) Code

func (o *TestSSHBadRequest) Code() int

Code gets the status code for the test Ssh bad request response

func (*TestSSHBadRequest) Error

func (o *TestSSHBadRequest) Error() string

func (*TestSSHBadRequest) IsClientError

func (o *TestSSHBadRequest) IsClientError() bool

IsClientError returns true when this test Ssh bad request response has a 4xx status code

func (*TestSSHBadRequest) IsCode

func (o *TestSSHBadRequest) IsCode(code int) bool

IsCode returns true when this test Ssh bad request response a status code equal to that given

func (*TestSSHBadRequest) IsRedirect

func (o *TestSSHBadRequest) IsRedirect() bool

IsRedirect returns true when this test Ssh bad request response has a 3xx status code

func (*TestSSHBadRequest) IsServerError

func (o *TestSSHBadRequest) IsServerError() bool

IsServerError returns true when this test Ssh bad request response has a 5xx status code

func (*TestSSHBadRequest) IsSuccess

func (o *TestSSHBadRequest) IsSuccess() bool

IsSuccess returns true when this test Ssh bad request response has a 2xx status code

func (*TestSSHBadRequest) String

func (o *TestSSHBadRequest) String() string

type TestSSHInternalServerError

type TestSSHInternalServerError struct {
}

TestSSHInternalServerError describes a response with status code 500, with default header values.

Server error

func NewTestSSHInternalServerError

func NewTestSSHInternalServerError() *TestSSHInternalServerError

NewTestSSHInternalServerError creates a TestSSHInternalServerError with default headers values

func (*TestSSHInternalServerError) Code

func (o *TestSSHInternalServerError) Code() int

Code gets the status code for the test Ssh internal server error response

func (*TestSSHInternalServerError) Error

func (*TestSSHInternalServerError) IsClientError

func (o *TestSSHInternalServerError) IsClientError() bool

IsClientError returns true when this test Ssh internal server error response has a 4xx status code

func (*TestSSHInternalServerError) IsCode

func (o *TestSSHInternalServerError) IsCode(code int) bool

IsCode returns true when this test Ssh internal server error response a status code equal to that given

func (*TestSSHInternalServerError) IsRedirect

func (o *TestSSHInternalServerError) IsRedirect() bool

IsRedirect returns true when this test Ssh internal server error response has a 3xx status code

func (*TestSSHInternalServerError) IsServerError

func (o *TestSSHInternalServerError) IsServerError() bool

IsServerError returns true when this test Ssh internal server error response has a 5xx status code

func (*TestSSHInternalServerError) IsSuccess

func (o *TestSSHInternalServerError) IsSuccess() bool

IsSuccess returns true when this test Ssh internal server error response has a 2xx status code

func (*TestSSHInternalServerError) String

func (o *TestSSHInternalServerError) String() string

type TestSSHOK

type TestSSHOK struct {
	Payload []*models.SshtestSSHTestResult
}

TestSSHOK describes a response with status code 200, with default header values.

Success

func NewTestSSHOK

func NewTestSSHOK() *TestSSHOK

NewTestSSHOK creates a TestSSHOK with default headers values

func (*TestSSHOK) Code

func (o *TestSSHOK) Code() int

Code gets the status code for the test Ssh o k response

func (*TestSSHOK) Error

func (o *TestSSHOK) Error() string

func (*TestSSHOK) GetPayload

func (o *TestSSHOK) GetPayload() []*models.SshtestSSHTestResult

func (*TestSSHOK) IsClientError

func (o *TestSSHOK) IsClientError() bool

IsClientError returns true when this test Ssh o k response has a 4xx status code

func (*TestSSHOK) IsCode

func (o *TestSSHOK) IsCode(code int) bool

IsCode returns true when this test Ssh o k response a status code equal to that given

func (*TestSSHOK) IsRedirect

func (o *TestSSHOK) IsRedirect() bool

IsRedirect returns true when this test Ssh o k response has a 3xx status code

func (*TestSSHOK) IsServerError

func (o *TestSSHOK) IsServerError() bool

IsServerError returns true when this test Ssh o k response has a 5xx status code

func (*TestSSHOK) IsSuccess

func (o *TestSSHOK) IsSuccess() bool

IsSuccess returns true when this test Ssh o k response has a 2xx status code

func (*TestSSHOK) String

func (o *TestSSHOK) String() string

type TestSSHParams

type TestSSHParams struct {

	/* Body.

	   Node IPs and credential ID
	*/
	Body *models.ProvidersMicrok8sTestSSHPayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TestSSHParams contains all the parameters to send to the API endpoint

for the test SSH operation.

Typically these are written to a http.Request.

func NewTestSSHParams

func NewTestSSHParams() *TestSSHParams

NewTestSSHParams creates a new TestSSHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTestSSHParamsWithContext

func NewTestSSHParamsWithContext(ctx context.Context) *TestSSHParams

NewTestSSHParamsWithContext creates a new TestSSHParams object with the ability to set a context for a request.

func NewTestSSHParamsWithHTTPClient

func NewTestSSHParamsWithHTTPClient(client *http.Client) *TestSSHParams

NewTestSSHParamsWithHTTPClient creates a new TestSSHParams object with the ability to set a custom HTTPClient for a request.

func NewTestSSHParamsWithTimeout

func NewTestSSHParamsWithTimeout(timeout time.Duration) *TestSSHParams

NewTestSSHParamsWithTimeout creates a new TestSSHParams object with the ability to set a timeout on a request.

func (*TestSSHParams) SetBody

SetBody adds the body to the test SSH params

func (*TestSSHParams) SetContext

func (o *TestSSHParams) SetContext(ctx context.Context)

SetContext adds the context to the test SSH params

func (*TestSSHParams) SetDefaults

func (o *TestSSHParams) SetDefaults()

SetDefaults hydrates default values in the test SSH params (not the query body).

All values with no default are reset to their zero value.

func (*TestSSHParams) SetHTTPClient

func (o *TestSSHParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the test SSH params

func (*TestSSHParams) SetTimeout

func (o *TestSSHParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the test SSH params

func (*TestSSHParams) WithBody

WithBody adds the body to the test SSH params

func (*TestSSHParams) WithContext

func (o *TestSSHParams) WithContext(ctx context.Context) *TestSSHParams

WithContext adds the context to the test SSH params

func (*TestSSHParams) WithDefaults

func (o *TestSSHParams) WithDefaults() *TestSSHParams

WithDefaults hydrates default values in the test SSH params (not the query body).

All values with no default are reset to their zero value.

func (*TestSSHParams) WithHTTPClient

func (o *TestSSHParams) WithHTTPClient(client *http.Client) *TestSSHParams

WithHTTPClient adds the HTTPClient to the test SSH params

func (*TestSSHParams) WithTimeout

func (o *TestSSHParams) WithTimeout(timeout time.Duration) *TestSSHParams

WithTimeout adds the timeout to the test SSH params

func (*TestSSHParams) WriteToRequest

func (o *TestSSHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TestSSHReader

type TestSSHReader struct {
	// contains filtered or unexported fields
}

TestSSHReader is a Reader for the TestSSH structure.

func (*TestSSHReader) ReadResponse

func (o *TestSSHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TestSSHServiceUnavailable

type TestSSHServiceUnavailable struct {
}

TestSSHServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewTestSSHServiceUnavailable

func NewTestSSHServiceUnavailable() *TestSSHServiceUnavailable

NewTestSSHServiceUnavailable creates a TestSSHServiceUnavailable with default headers values

func (*TestSSHServiceUnavailable) Code

func (o *TestSSHServiceUnavailable) Code() int

Code gets the status code for the test Ssh service unavailable response

func (*TestSSHServiceUnavailable) Error

func (o *TestSSHServiceUnavailable) Error() string

func (*TestSSHServiceUnavailable) IsClientError

func (o *TestSSHServiceUnavailable) IsClientError() bool

IsClientError returns true when this test Ssh service unavailable response has a 4xx status code

func (*TestSSHServiceUnavailable) IsCode

func (o *TestSSHServiceUnavailable) IsCode(code int) bool

IsCode returns true when this test Ssh service unavailable response a status code equal to that given

func (*TestSSHServiceUnavailable) IsRedirect

func (o *TestSSHServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this test Ssh service unavailable response has a 3xx status code

func (*TestSSHServiceUnavailable) IsServerError

func (o *TestSSHServiceUnavailable) IsServerError() bool

IsServerError returns true when this test Ssh service unavailable response has a 5xx status code

func (*TestSSHServiceUnavailable) IsSuccess

func (o *TestSSHServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this test Ssh service unavailable response has a 2xx status code

func (*TestSSHServiceUnavailable) String

func (o *TestSSHServiceUnavailable) String() string

type UpgradeBadRequest

type UpgradeBadRequest struct {
}

UpgradeBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUpgradeBadRequest

func NewUpgradeBadRequest() *UpgradeBadRequest

NewUpgradeBadRequest creates a UpgradeBadRequest with default headers values

func (*UpgradeBadRequest) Code

func (o *UpgradeBadRequest) Code() int

Code gets the status code for the upgrade bad request response

func (*UpgradeBadRequest) Error

func (o *UpgradeBadRequest) Error() string

func (*UpgradeBadRequest) IsClientError

func (o *UpgradeBadRequest) IsClientError() bool

IsClientError returns true when this upgrade bad request response has a 4xx status code

func (*UpgradeBadRequest) IsCode

func (o *UpgradeBadRequest) IsCode(code int) bool

IsCode returns true when this upgrade bad request response a status code equal to that given

func (*UpgradeBadRequest) IsRedirect

func (o *UpgradeBadRequest) IsRedirect() bool

IsRedirect returns true when this upgrade bad request response has a 3xx status code

func (*UpgradeBadRequest) IsServerError

func (o *UpgradeBadRequest) IsServerError() bool

IsServerError returns true when this upgrade bad request response has a 5xx status code

func (*UpgradeBadRequest) IsSuccess

func (o *UpgradeBadRequest) IsSuccess() bool

IsSuccess returns true when this upgrade bad request response has a 2xx status code

func (*UpgradeBadRequest) String

func (o *UpgradeBadRequest) String() string

type UpgradeForbidden

type UpgradeForbidden struct {
}

UpgradeForbidden describes a response with status code 403, with default header values.

Permission denied

func NewUpgradeForbidden

func NewUpgradeForbidden() *UpgradeForbidden

NewUpgradeForbidden creates a UpgradeForbidden with default headers values

func (*UpgradeForbidden) Code

func (o *UpgradeForbidden) Code() int

Code gets the status code for the upgrade forbidden response

func (*UpgradeForbidden) Error

func (o *UpgradeForbidden) Error() string

func (*UpgradeForbidden) IsClientError

func (o *UpgradeForbidden) IsClientError() bool

IsClientError returns true when this upgrade forbidden response has a 4xx status code

func (*UpgradeForbidden) IsCode

func (o *UpgradeForbidden) IsCode(code int) bool

IsCode returns true when this upgrade forbidden response a status code equal to that given

func (*UpgradeForbidden) IsRedirect

func (o *UpgradeForbidden) IsRedirect() bool

IsRedirect returns true when this upgrade forbidden response has a 3xx status code

func (*UpgradeForbidden) IsServerError

func (o *UpgradeForbidden) IsServerError() bool

IsServerError returns true when this upgrade forbidden response has a 5xx status code

func (*UpgradeForbidden) IsSuccess

func (o *UpgradeForbidden) IsSuccess() bool

IsSuccess returns true when this upgrade forbidden response has a 2xx status code

func (*UpgradeForbidden) String

func (o *UpgradeForbidden) String() string

type UpgradeInternalServerError

type UpgradeInternalServerError struct {
}

UpgradeInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpgradeInternalServerError

func NewUpgradeInternalServerError() *UpgradeInternalServerError

NewUpgradeInternalServerError creates a UpgradeInternalServerError with default headers values

func (*UpgradeInternalServerError) Code

func (o *UpgradeInternalServerError) Code() int

Code gets the status code for the upgrade internal server error response

func (*UpgradeInternalServerError) Error

func (*UpgradeInternalServerError) IsClientError

func (o *UpgradeInternalServerError) IsClientError() bool

IsClientError returns true when this upgrade internal server error response has a 4xx status code

func (*UpgradeInternalServerError) IsCode

func (o *UpgradeInternalServerError) IsCode(code int) bool

IsCode returns true when this upgrade internal server error response a status code equal to that given

func (*UpgradeInternalServerError) IsRedirect

func (o *UpgradeInternalServerError) IsRedirect() bool

IsRedirect returns true when this upgrade internal server error response has a 3xx status code

func (*UpgradeInternalServerError) IsServerError

func (o *UpgradeInternalServerError) IsServerError() bool

IsServerError returns true when this upgrade internal server error response has a 5xx status code

func (*UpgradeInternalServerError) IsSuccess

func (o *UpgradeInternalServerError) IsSuccess() bool

IsSuccess returns true when this upgrade internal server error response has a 2xx status code

func (*UpgradeInternalServerError) String

func (o *UpgradeInternalServerError) String() string

type UpgradeOK

type UpgradeOK struct {
}

UpgradeOK describes a response with status code 200, with default header values.

Success

func NewUpgradeOK

func NewUpgradeOK() *UpgradeOK

NewUpgradeOK creates a UpgradeOK with default headers values

func (*UpgradeOK) Code

func (o *UpgradeOK) Code() int

Code gets the status code for the upgrade o k response

func (*UpgradeOK) Error

func (o *UpgradeOK) Error() string

func (*UpgradeOK) IsClientError

func (o *UpgradeOK) IsClientError() bool

IsClientError returns true when this upgrade o k response has a 4xx status code

func (*UpgradeOK) IsCode

func (o *UpgradeOK) IsCode(code int) bool

IsCode returns true when this upgrade o k response a status code equal to that given

func (*UpgradeOK) IsRedirect

func (o *UpgradeOK) IsRedirect() bool

IsRedirect returns true when this upgrade o k response has a 3xx status code

func (*UpgradeOK) IsServerError

func (o *UpgradeOK) IsServerError() bool

IsServerError returns true when this upgrade o k response has a 5xx status code

func (*UpgradeOK) IsSuccess

func (o *UpgradeOK) IsSuccess() bool

IsSuccess returns true when this upgrade o k response has a 2xx status code

func (*UpgradeOK) String

func (o *UpgradeOK) String() string

type UpgradeParams

type UpgradeParams struct {

	/* EnvironmentID.

	   Environment(Endpoint) identifier
	*/
	EnvironmentID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpgradeParams contains all the parameters to send to the API endpoint

for the upgrade operation.

Typically these are written to a http.Request.

func NewUpgradeParams

func NewUpgradeParams() *UpgradeParams

NewUpgradeParams creates a new UpgradeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpgradeParamsWithContext

func NewUpgradeParamsWithContext(ctx context.Context) *UpgradeParams

NewUpgradeParamsWithContext creates a new UpgradeParams object with the ability to set a context for a request.

func NewUpgradeParamsWithHTTPClient

func NewUpgradeParamsWithHTTPClient(client *http.Client) *UpgradeParams

NewUpgradeParamsWithHTTPClient creates a new UpgradeParams object with the ability to set a custom HTTPClient for a request.

func NewUpgradeParamsWithTimeout

func NewUpgradeParamsWithTimeout(timeout time.Duration) *UpgradeParams

NewUpgradeParamsWithTimeout creates a new UpgradeParams object with the ability to set a timeout on a request.

func (*UpgradeParams) SetContext

func (o *UpgradeParams) SetContext(ctx context.Context)

SetContext adds the context to the upgrade params

func (*UpgradeParams) SetDefaults

func (o *UpgradeParams) SetDefaults()

SetDefaults hydrates default values in the upgrade params (not the query body).

All values with no default are reset to their zero value.

func (*UpgradeParams) SetEnvironmentID

func (o *UpgradeParams) SetEnvironmentID(environmentID int64)

SetEnvironmentID adds the environmentId to the upgrade params

func (*UpgradeParams) SetHTTPClient

func (o *UpgradeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upgrade params

func (*UpgradeParams) SetTimeout

func (o *UpgradeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upgrade params

func (*UpgradeParams) WithContext

func (o *UpgradeParams) WithContext(ctx context.Context) *UpgradeParams

WithContext adds the context to the upgrade params

func (*UpgradeParams) WithDefaults

func (o *UpgradeParams) WithDefaults() *UpgradeParams

WithDefaults hydrates default values in the upgrade params (not the query body).

All values with no default are reset to their zero value.

func (*UpgradeParams) WithEnvironmentID

func (o *UpgradeParams) WithEnvironmentID(environmentID int64) *UpgradeParams

WithEnvironmentID adds the environmentID to the upgrade params

func (*UpgradeParams) WithHTTPClient

func (o *UpgradeParams) WithHTTPClient(client *http.Client) *UpgradeParams

WithHTTPClient adds the HTTPClient to the upgrade params

func (*UpgradeParams) WithTimeout

func (o *UpgradeParams) WithTimeout(timeout time.Duration) *UpgradeParams

WithTimeout adds the timeout to the upgrade params

func (*UpgradeParams) WriteToRequest

func (o *UpgradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpgradeReader

type UpgradeReader struct {
	// contains filtered or unexported fields
}

UpgradeReader is a Reader for the Upgrade structure.

func (*UpgradeReader) ReadResponse

func (o *UpgradeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpgradeServiceUnavailable

type UpgradeServiceUnavailable struct {
}

UpgradeServiceUnavailable describes a response with status code 503, with default header values.

Missing configuration

func NewUpgradeServiceUnavailable

func NewUpgradeServiceUnavailable() *UpgradeServiceUnavailable

NewUpgradeServiceUnavailable creates a UpgradeServiceUnavailable with default headers values

func (*UpgradeServiceUnavailable) Code

func (o *UpgradeServiceUnavailable) Code() int

Code gets the status code for the upgrade service unavailable response

func (*UpgradeServiceUnavailable) Error

func (o *UpgradeServiceUnavailable) Error() string

func (*UpgradeServiceUnavailable) IsClientError

func (o *UpgradeServiceUnavailable) IsClientError() bool

IsClientError returns true when this upgrade service unavailable response has a 4xx status code

func (*UpgradeServiceUnavailable) IsCode

func (o *UpgradeServiceUnavailable) IsCode(code int) bool

IsCode returns true when this upgrade service unavailable response a status code equal to that given

func (*UpgradeServiceUnavailable) IsRedirect

func (o *UpgradeServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this upgrade service unavailable response has a 3xx status code

func (*UpgradeServiceUnavailable) IsServerError

func (o *UpgradeServiceUnavailable) IsServerError() bool

IsServerError returns true when this upgrade service unavailable response has a 5xx status code

func (*UpgradeServiceUnavailable) IsSuccess

func (o *UpgradeServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this upgrade service unavailable response has a 2xx status code

func (*UpgradeServiceUnavailable) String

func (o *UpgradeServiceUnavailable) String() string

Jump to

Keyboard shortcuts

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