Documentation
¶
Index ¶
- type AddNodesBadRequest
- func (o *AddNodesBadRequest) Code() int
- func (o *AddNodesBadRequest) Error() string
- func (o *AddNodesBadRequest) IsClientError() bool
- func (o *AddNodesBadRequest) IsCode(code int) bool
- func (o *AddNodesBadRequest) IsRedirect() bool
- func (o *AddNodesBadRequest) IsServerError() bool
- func (o *AddNodesBadRequest) IsSuccess() bool
- func (o *AddNodesBadRequest) String() string
- type AddNodesForbidden
- func (o *AddNodesForbidden) Code() int
- func (o *AddNodesForbidden) Error() string
- func (o *AddNodesForbidden) IsClientError() bool
- func (o *AddNodesForbidden) IsCode(code int) bool
- func (o *AddNodesForbidden) IsRedirect() bool
- func (o *AddNodesForbidden) IsServerError() bool
- func (o *AddNodesForbidden) IsSuccess() bool
- func (o *AddNodesForbidden) String() string
- type AddNodesInternalServerError
- func (o *AddNodesInternalServerError) Code() int
- func (o *AddNodesInternalServerError) Error() string
- func (o *AddNodesInternalServerError) IsClientError() bool
- func (o *AddNodesInternalServerError) IsCode(code int) bool
- func (o *AddNodesInternalServerError) IsRedirect() bool
- func (o *AddNodesInternalServerError) IsServerError() bool
- func (o *AddNodesInternalServerError) IsSuccess() bool
- func (o *AddNodesInternalServerError) String() string
- type AddNodesOK
- func (o *AddNodesOK) Code() int
- func (o *AddNodesOK) Error() string
- func (o *AddNodesOK) IsClientError() bool
- func (o *AddNodesOK) IsCode(code int) bool
- func (o *AddNodesOK) IsRedirect() bool
- func (o *AddNodesOK) IsServerError() bool
- func (o *AddNodesOK) IsSuccess() bool
- func (o *AddNodesOK) String() string
- type AddNodesParams
- func (o *AddNodesParams) SetContext(ctx context.Context)
- func (o *AddNodesParams) SetDefaults()
- func (o *AddNodesParams) SetEnvironmentID(environmentID int64)
- func (o *AddNodesParams) SetHTTPClient(client *http.Client)
- func (o *AddNodesParams) SetTimeout(timeout time.Duration)
- func (o *AddNodesParams) WithContext(ctx context.Context) *AddNodesParams
- func (o *AddNodesParams) WithDefaults() *AddNodesParams
- func (o *AddNodesParams) WithEnvironmentID(environmentID int64) *AddNodesParams
- func (o *AddNodesParams) WithHTTPClient(client *http.Client) *AddNodesParams
- func (o *AddNodesParams) WithTimeout(timeout time.Duration) *AddNodesParams
- func (o *AddNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddNodesReader
- type AddNodesServiceUnavailable
- func (o *AddNodesServiceUnavailable) Code() int
- func (o *AddNodesServiceUnavailable) Error() string
- func (o *AddNodesServiceUnavailable) IsClientError() bool
- func (o *AddNodesServiceUnavailable) IsCode(code int) bool
- func (o *AddNodesServiceUnavailable) IsRedirect() bool
- func (o *AddNodesServiceUnavailable) IsServerError() bool
- func (o *AddNodesServiceUnavailable) IsSuccess() bool
- func (o *AddNodesServiceUnavailable) String() string
- type Client
- func (a *Client) AddNodes(params *AddNodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddNodesOK, error)
- func (a *Client) KaasVersion(params *KaasVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*KaasVersionOK, error)
- func (a *Client) Microk8sGetAddons(params *Microk8sGetAddonsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*Microk8sGetAddonsOK, error)
- func (a *Client) Microk8sGetNodeStatus(params *Microk8sGetNodeStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*Microk8sGetNodeStatusOK, error)
- func (a *Client) Microk8sUpdateAddons(params *Microk8sUpdateAddonsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*Microk8sUpdateAddonsOK, error)
- func (a *Client) ProviderInfo(params *ProviderInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProviderInfoOK, error)
- func (a *Client) ProvisionCluster(params *ProvisionClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProvisionClusterOK, error)
- func (a *Client) ProvisionClusterAmazon(params *ProvisionClusterAmazonParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProvisionClusterAmazonOK, error)
- func (a *Client) ProvisionClusterAzure(params *ProvisionClusterAzureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProvisionClusterAzureOK, error)
- func (a *Client) ProvisionClusterGKE(params *ProvisionClusterGKEParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProvisionClusterGKEOK, error)
- func (a *Client) RemoveNodes(params *RemoveNodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveNodesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestSSH(params *TestSSHParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TestSSHOK, error)
- func (a *Client) Upgrade(params *UpgradeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeOK, error)
- type ClientOption
- type ClientService
- type KaasVersionBadRequest
- func (o *KaasVersionBadRequest) Code() int
- func (o *KaasVersionBadRequest) Error() string
- func (o *KaasVersionBadRequest) IsClientError() bool
- func (o *KaasVersionBadRequest) IsCode(code int) bool
- func (o *KaasVersionBadRequest) IsRedirect() bool
- func (o *KaasVersionBadRequest) IsServerError() bool
- func (o *KaasVersionBadRequest) IsSuccess() bool
- func (o *KaasVersionBadRequest) String() string
- type KaasVersionForbidden
- func (o *KaasVersionForbidden) Code() int
- func (o *KaasVersionForbidden) Error() string
- func (o *KaasVersionForbidden) IsClientError() bool
- func (o *KaasVersionForbidden) IsCode(code int) bool
- func (o *KaasVersionForbidden) IsRedirect() bool
- func (o *KaasVersionForbidden) IsServerError() bool
- func (o *KaasVersionForbidden) IsSuccess() bool
- func (o *KaasVersionForbidden) String() string
- type KaasVersionInternalServerError
- func (o *KaasVersionInternalServerError) Code() int
- func (o *KaasVersionInternalServerError) Error() string
- func (o *KaasVersionInternalServerError) IsClientError() bool
- func (o *KaasVersionInternalServerError) IsCode(code int) bool
- func (o *KaasVersionInternalServerError) IsRedirect() bool
- func (o *KaasVersionInternalServerError) IsServerError() bool
- func (o *KaasVersionInternalServerError) IsSuccess() bool
- func (o *KaasVersionInternalServerError) String() string
- type KaasVersionOK
- func (o *KaasVersionOK) Code() int
- func (o *KaasVersionOK) Error() string
- func (o *KaasVersionOK) IsClientError() bool
- func (o *KaasVersionOK) IsCode(code int) bool
- func (o *KaasVersionOK) IsRedirect() bool
- func (o *KaasVersionOK) IsServerError() bool
- func (o *KaasVersionOK) IsSuccess() bool
- func (o *KaasVersionOK) String() string
- type KaasVersionParams
- func (o *KaasVersionParams) SetContext(ctx context.Context)
- func (o *KaasVersionParams) SetDefaults()
- func (o *KaasVersionParams) SetEnvironmentID(environmentID int64)
- func (o *KaasVersionParams) SetHTTPClient(client *http.Client)
- func (o *KaasVersionParams) SetTimeout(timeout time.Duration)
- func (o *KaasVersionParams) WithContext(ctx context.Context) *KaasVersionParams
- func (o *KaasVersionParams) WithDefaults() *KaasVersionParams
- func (o *KaasVersionParams) WithEnvironmentID(environmentID int64) *KaasVersionParams
- func (o *KaasVersionParams) WithHTTPClient(client *http.Client) *KaasVersionParams
- func (o *KaasVersionParams) WithTimeout(timeout time.Duration) *KaasVersionParams
- func (o *KaasVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KaasVersionReader
- type KaasVersionServiceUnavailable
- func (o *KaasVersionServiceUnavailable) Code() int
- func (o *KaasVersionServiceUnavailable) Error() string
- func (o *KaasVersionServiceUnavailable) IsClientError() bool
- func (o *KaasVersionServiceUnavailable) IsCode(code int) bool
- func (o *KaasVersionServiceUnavailable) IsRedirect() bool
- func (o *KaasVersionServiceUnavailable) IsServerError() bool
- func (o *KaasVersionServiceUnavailable) IsSuccess() bool
- func (o *KaasVersionServiceUnavailable) String() string
- type Microk8sGetAddonsBadRequest
- func (o *Microk8sGetAddonsBadRequest) Code() int
- func (o *Microk8sGetAddonsBadRequest) Error() string
- func (o *Microk8sGetAddonsBadRequest) IsClientError() bool
- func (o *Microk8sGetAddonsBadRequest) IsCode(code int) bool
- func (o *Microk8sGetAddonsBadRequest) IsRedirect() bool
- func (o *Microk8sGetAddonsBadRequest) IsServerError() bool
- func (o *Microk8sGetAddonsBadRequest) IsSuccess() bool
- func (o *Microk8sGetAddonsBadRequest) String() string
- type Microk8sGetAddonsForbidden
- func (o *Microk8sGetAddonsForbidden) Code() int
- func (o *Microk8sGetAddonsForbidden) Error() string
- func (o *Microk8sGetAddonsForbidden) IsClientError() bool
- func (o *Microk8sGetAddonsForbidden) IsCode(code int) bool
- func (o *Microk8sGetAddonsForbidden) IsRedirect() bool
- func (o *Microk8sGetAddonsForbidden) IsServerError() bool
- func (o *Microk8sGetAddonsForbidden) IsSuccess() bool
- func (o *Microk8sGetAddonsForbidden) String() string
- type Microk8sGetAddonsInternalServerError
- func (o *Microk8sGetAddonsInternalServerError) Code() int
- func (o *Microk8sGetAddonsInternalServerError) Error() string
- func (o *Microk8sGetAddonsInternalServerError) IsClientError() bool
- func (o *Microk8sGetAddonsInternalServerError) IsCode(code int) bool
- func (o *Microk8sGetAddonsInternalServerError) IsRedirect() bool
- func (o *Microk8sGetAddonsInternalServerError) IsServerError() bool
- func (o *Microk8sGetAddonsInternalServerError) IsSuccess() bool
- func (o *Microk8sGetAddonsInternalServerError) String() string
- type Microk8sGetAddonsOK
- func (o *Microk8sGetAddonsOK) Code() int
- func (o *Microk8sGetAddonsOK) Error() string
- func (o *Microk8sGetAddonsOK) IsClientError() bool
- func (o *Microk8sGetAddonsOK) IsCode(code int) bool
- func (o *Microk8sGetAddonsOK) IsRedirect() bool
- func (o *Microk8sGetAddonsOK) IsServerError() bool
- func (o *Microk8sGetAddonsOK) IsSuccess() bool
- func (o *Microk8sGetAddonsOK) String() string
- type Microk8sGetAddonsParams
- func NewMicrok8sGetAddonsParams() *Microk8sGetAddonsParams
- func NewMicrok8sGetAddonsParamsWithContext(ctx context.Context) *Microk8sGetAddonsParams
- func NewMicrok8sGetAddonsParamsWithHTTPClient(client *http.Client) *Microk8sGetAddonsParams
- func NewMicrok8sGetAddonsParamsWithTimeout(timeout time.Duration) *Microk8sGetAddonsParams
- func (o *Microk8sGetAddonsParams) SetContext(ctx context.Context)
- func (o *Microk8sGetAddonsParams) SetDefaults()
- func (o *Microk8sGetAddonsParams) SetEnvironmentID(environmentID int64)
- func (o *Microk8sGetAddonsParams) SetHTTPClient(client *http.Client)
- func (o *Microk8sGetAddonsParams) SetTimeout(timeout time.Duration)
- func (o *Microk8sGetAddonsParams) WithContext(ctx context.Context) *Microk8sGetAddonsParams
- func (o *Microk8sGetAddonsParams) WithDefaults() *Microk8sGetAddonsParams
- func (o *Microk8sGetAddonsParams) WithEnvironmentID(environmentID int64) *Microk8sGetAddonsParams
- func (o *Microk8sGetAddonsParams) WithHTTPClient(client *http.Client) *Microk8sGetAddonsParams
- func (o *Microk8sGetAddonsParams) WithTimeout(timeout time.Duration) *Microk8sGetAddonsParams
- func (o *Microk8sGetAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Microk8sGetAddonsReader
- type Microk8sGetAddonsServiceUnavailable
- func (o *Microk8sGetAddonsServiceUnavailable) Code() int
- func (o *Microk8sGetAddonsServiceUnavailable) Error() string
- func (o *Microk8sGetAddonsServiceUnavailable) IsClientError() bool
- func (o *Microk8sGetAddonsServiceUnavailable) IsCode(code int) bool
- func (o *Microk8sGetAddonsServiceUnavailable) IsRedirect() bool
- func (o *Microk8sGetAddonsServiceUnavailable) IsServerError() bool
- func (o *Microk8sGetAddonsServiceUnavailable) IsSuccess() bool
- func (o *Microk8sGetAddonsServiceUnavailable) String() string
- type Microk8sGetNodeStatusBadRequest
- func (o *Microk8sGetNodeStatusBadRequest) Code() int
- func (o *Microk8sGetNodeStatusBadRequest) Error() string
- func (o *Microk8sGetNodeStatusBadRequest) IsClientError() bool
- func (o *Microk8sGetNodeStatusBadRequest) IsCode(code int) bool
- func (o *Microk8sGetNodeStatusBadRequest) IsRedirect() bool
- func (o *Microk8sGetNodeStatusBadRequest) IsServerError() bool
- func (o *Microk8sGetNodeStatusBadRequest) IsSuccess() bool
- func (o *Microk8sGetNodeStatusBadRequest) String() string
- type Microk8sGetNodeStatusForbidden
- func (o *Microk8sGetNodeStatusForbidden) Code() int
- func (o *Microk8sGetNodeStatusForbidden) Error() string
- func (o *Microk8sGetNodeStatusForbidden) IsClientError() bool
- func (o *Microk8sGetNodeStatusForbidden) IsCode(code int) bool
- func (o *Microk8sGetNodeStatusForbidden) IsRedirect() bool
- func (o *Microk8sGetNodeStatusForbidden) IsServerError() bool
- func (o *Microk8sGetNodeStatusForbidden) IsSuccess() bool
- func (o *Microk8sGetNodeStatusForbidden) String() string
- type Microk8sGetNodeStatusInternalServerError
- func (o *Microk8sGetNodeStatusInternalServerError) Code() int
- func (o *Microk8sGetNodeStatusInternalServerError) Error() string
- func (o *Microk8sGetNodeStatusInternalServerError) IsClientError() bool
- func (o *Microk8sGetNodeStatusInternalServerError) IsCode(code int) bool
- func (o *Microk8sGetNodeStatusInternalServerError) IsRedirect() bool
- func (o *Microk8sGetNodeStatusInternalServerError) IsServerError() bool
- func (o *Microk8sGetNodeStatusInternalServerError) IsSuccess() bool
- func (o *Microk8sGetNodeStatusInternalServerError) String() string
- type Microk8sGetNodeStatusOK
- func (o *Microk8sGetNodeStatusOK) Code() int
- func (o *Microk8sGetNodeStatusOK) Error() string
- func (o *Microk8sGetNodeStatusOK) IsClientError() bool
- func (o *Microk8sGetNodeStatusOK) IsCode(code int) bool
- func (o *Microk8sGetNodeStatusOK) IsRedirect() bool
- func (o *Microk8sGetNodeStatusOK) IsServerError() bool
- func (o *Microk8sGetNodeStatusOK) IsSuccess() bool
- func (o *Microk8sGetNodeStatusOK) String() string
- type Microk8sGetNodeStatusParams
- func NewMicrok8sGetNodeStatusParams() *Microk8sGetNodeStatusParams
- func NewMicrok8sGetNodeStatusParamsWithContext(ctx context.Context) *Microk8sGetNodeStatusParams
- func NewMicrok8sGetNodeStatusParamsWithHTTPClient(client *http.Client) *Microk8sGetNodeStatusParams
- func NewMicrok8sGetNodeStatusParamsWithTimeout(timeout time.Duration) *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) SetContext(ctx context.Context)
- func (o *Microk8sGetNodeStatusParams) SetDefaults()
- func (o *Microk8sGetNodeStatusParams) SetEnvironmentID(environmentID int64)
- func (o *Microk8sGetNodeStatusParams) SetHTTPClient(client *http.Client)
- func (o *Microk8sGetNodeStatusParams) SetNodeIP(nodeIP string)
- func (o *Microk8sGetNodeStatusParams) SetTimeout(timeout time.Duration)
- func (o *Microk8sGetNodeStatusParams) WithContext(ctx context.Context) *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) WithDefaults() *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) WithEnvironmentID(environmentID int64) *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) WithHTTPClient(client *http.Client) *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) WithNodeIP(nodeIP string) *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) WithTimeout(timeout time.Duration) *Microk8sGetNodeStatusParams
- func (o *Microk8sGetNodeStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Microk8sGetNodeStatusReader
- type Microk8sGetNodeStatusServiceUnavailable
- func (o *Microk8sGetNodeStatusServiceUnavailable) Code() int
- func (o *Microk8sGetNodeStatusServiceUnavailable) Error() string
- func (o *Microk8sGetNodeStatusServiceUnavailable) IsClientError() bool
- func (o *Microk8sGetNodeStatusServiceUnavailable) IsCode(code int) bool
- func (o *Microk8sGetNodeStatusServiceUnavailable) IsRedirect() bool
- func (o *Microk8sGetNodeStatusServiceUnavailable) IsServerError() bool
- func (o *Microk8sGetNodeStatusServiceUnavailable) IsSuccess() bool
- func (o *Microk8sGetNodeStatusServiceUnavailable) String() string
- type Microk8sUpdateAddonsBadRequest
- func (o *Microk8sUpdateAddonsBadRequest) Code() int
- func (o *Microk8sUpdateAddonsBadRequest) Error() string
- func (o *Microk8sUpdateAddonsBadRequest) IsClientError() bool
- func (o *Microk8sUpdateAddonsBadRequest) IsCode(code int) bool
- func (o *Microk8sUpdateAddonsBadRequest) IsRedirect() bool
- func (o *Microk8sUpdateAddonsBadRequest) IsServerError() bool
- func (o *Microk8sUpdateAddonsBadRequest) IsSuccess() bool
- func (o *Microk8sUpdateAddonsBadRequest) String() string
- type Microk8sUpdateAddonsForbidden
- func (o *Microk8sUpdateAddonsForbidden) Code() int
- func (o *Microk8sUpdateAddonsForbidden) Error() string
- func (o *Microk8sUpdateAddonsForbidden) IsClientError() bool
- func (o *Microk8sUpdateAddonsForbidden) IsCode(code int) bool
- func (o *Microk8sUpdateAddonsForbidden) IsRedirect() bool
- func (o *Microk8sUpdateAddonsForbidden) IsServerError() bool
- func (o *Microk8sUpdateAddonsForbidden) IsSuccess() bool
- func (o *Microk8sUpdateAddonsForbidden) String() string
- type Microk8sUpdateAddonsInternalServerError
- func (o *Microk8sUpdateAddonsInternalServerError) Code() int
- func (o *Microk8sUpdateAddonsInternalServerError) Error() string
- func (o *Microk8sUpdateAddonsInternalServerError) IsClientError() bool
- func (o *Microk8sUpdateAddonsInternalServerError) IsCode(code int) bool
- func (o *Microk8sUpdateAddonsInternalServerError) IsRedirect() bool
- func (o *Microk8sUpdateAddonsInternalServerError) IsServerError() bool
- func (o *Microk8sUpdateAddonsInternalServerError) IsSuccess() bool
- func (o *Microk8sUpdateAddonsInternalServerError) String() string
- type Microk8sUpdateAddonsOK
- func (o *Microk8sUpdateAddonsOK) Code() int
- func (o *Microk8sUpdateAddonsOK) Error() string
- func (o *Microk8sUpdateAddonsOK) IsClientError() bool
- func (o *Microk8sUpdateAddonsOK) IsCode(code int) bool
- func (o *Microk8sUpdateAddonsOK) IsRedirect() bool
- func (o *Microk8sUpdateAddonsOK) IsServerError() bool
- func (o *Microk8sUpdateAddonsOK) IsSuccess() bool
- func (o *Microk8sUpdateAddonsOK) String() string
- type Microk8sUpdateAddonsParams
- func NewMicrok8sUpdateAddonsParams() *Microk8sUpdateAddonsParams
- func NewMicrok8sUpdateAddonsParamsWithContext(ctx context.Context) *Microk8sUpdateAddonsParams
- func NewMicrok8sUpdateAddonsParamsWithHTTPClient(client *http.Client) *Microk8sUpdateAddonsParams
- func NewMicrok8sUpdateAddonsParamsWithTimeout(timeout time.Duration) *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) SetAddons(addons *models.ProvidersMicrok8sUpdateAddonsPayload)
- func (o *Microk8sUpdateAddonsParams) SetContext(ctx context.Context)
- func (o *Microk8sUpdateAddonsParams) SetDefaults()
- func (o *Microk8sUpdateAddonsParams) SetEnvironmentID(environmentID int64)
- func (o *Microk8sUpdateAddonsParams) SetHTTPClient(client *http.Client)
- func (o *Microk8sUpdateAddonsParams) SetTimeout(timeout time.Duration)
- func (o *Microk8sUpdateAddonsParams) WithAddons(addons *models.ProvidersMicrok8sUpdateAddonsPayload) *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) WithContext(ctx context.Context) *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) WithDefaults() *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) WithEnvironmentID(environmentID int64) *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) WithHTTPClient(client *http.Client) *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) WithTimeout(timeout time.Duration) *Microk8sUpdateAddonsParams
- func (o *Microk8sUpdateAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Microk8sUpdateAddonsReader
- type Microk8sUpdateAddonsServiceUnavailable
- func (o *Microk8sUpdateAddonsServiceUnavailable) Code() int
- func (o *Microk8sUpdateAddonsServiceUnavailable) Error() string
- func (o *Microk8sUpdateAddonsServiceUnavailable) IsClientError() bool
- func (o *Microk8sUpdateAddonsServiceUnavailable) IsCode(code int) bool
- func (o *Microk8sUpdateAddonsServiceUnavailable) IsRedirect() bool
- func (o *Microk8sUpdateAddonsServiceUnavailable) IsServerError() bool
- func (o *Microk8sUpdateAddonsServiceUnavailable) IsSuccess() bool
- func (o *Microk8sUpdateAddonsServiceUnavailable) String() string
- type ProviderInfoBadRequest
- func (o *ProviderInfoBadRequest) Code() int
- func (o *ProviderInfoBadRequest) Error() string
- func (o *ProviderInfoBadRequest) IsClientError() bool
- func (o *ProviderInfoBadRequest) IsCode(code int) bool
- func (o *ProviderInfoBadRequest) IsRedirect() bool
- func (o *ProviderInfoBadRequest) IsServerError() bool
- func (o *ProviderInfoBadRequest) IsSuccess() bool
- func (o *ProviderInfoBadRequest) String() string
- type ProviderInfoInternalServerError
- func (o *ProviderInfoInternalServerError) Code() int
- func (o *ProviderInfoInternalServerError) Error() string
- func (o *ProviderInfoInternalServerError) IsClientError() bool
- func (o *ProviderInfoInternalServerError) IsCode(code int) bool
- func (o *ProviderInfoInternalServerError) IsRedirect() bool
- func (o *ProviderInfoInternalServerError) IsServerError() bool
- func (o *ProviderInfoInternalServerError) IsSuccess() bool
- func (o *ProviderInfoInternalServerError) String() string
- type ProviderInfoOK
- func (o *ProviderInfoOK) Code() int
- func (o *ProviderInfoOK) Error() string
- func (o *ProviderInfoOK) IsClientError() bool
- func (o *ProviderInfoOK) IsCode(code int) bool
- func (o *ProviderInfoOK) IsRedirect() bool
- func (o *ProviderInfoOK) IsServerError() bool
- func (o *ProviderInfoOK) IsSuccess() bool
- func (o *ProviderInfoOK) String() string
- type ProviderInfoParams
- func (o *ProviderInfoParams) SetContext(ctx context.Context)
- func (o *ProviderInfoParams) SetDefaults()
- func (o *ProviderInfoParams) SetForce(force *bool)
- func (o *ProviderInfoParams) SetHTTPClient(client *http.Client)
- func (o *ProviderInfoParams) SetProvider(provider string)
- func (o *ProviderInfoParams) SetTimeout(timeout time.Duration)
- func (o *ProviderInfoParams) WithContext(ctx context.Context) *ProviderInfoParams
- func (o *ProviderInfoParams) WithDefaults() *ProviderInfoParams
- func (o *ProviderInfoParams) WithForce(force *bool) *ProviderInfoParams
- func (o *ProviderInfoParams) WithHTTPClient(client *http.Client) *ProviderInfoParams
- func (o *ProviderInfoParams) WithProvider(provider string) *ProviderInfoParams
- func (o *ProviderInfoParams) WithTimeout(timeout time.Duration) *ProviderInfoParams
- func (o *ProviderInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProviderInfoReader
- type ProviderInfoServiceUnavailable
- func (o *ProviderInfoServiceUnavailable) Code() int
- func (o *ProviderInfoServiceUnavailable) Error() string
- func (o *ProviderInfoServiceUnavailable) IsClientError() bool
- func (o *ProviderInfoServiceUnavailable) IsCode(code int) bool
- func (o *ProviderInfoServiceUnavailable) IsRedirect() bool
- func (o *ProviderInfoServiceUnavailable) IsServerError() bool
- func (o *ProviderInfoServiceUnavailable) IsSuccess() bool
- func (o *ProviderInfoServiceUnavailable) String() string
- type ProvisionClusterAmazonBadRequest
- func (o *ProvisionClusterAmazonBadRequest) Code() int
- func (o *ProvisionClusterAmazonBadRequest) Error() string
- func (o *ProvisionClusterAmazonBadRequest) IsClientError() bool
- func (o *ProvisionClusterAmazonBadRequest) IsCode(code int) bool
- func (o *ProvisionClusterAmazonBadRequest) IsRedirect() bool
- func (o *ProvisionClusterAmazonBadRequest) IsServerError() bool
- func (o *ProvisionClusterAmazonBadRequest) IsSuccess() bool
- func (o *ProvisionClusterAmazonBadRequest) String() string
- type ProvisionClusterAmazonInternalServerError
- func (o *ProvisionClusterAmazonInternalServerError) Code() int
- func (o *ProvisionClusterAmazonInternalServerError) Error() string
- func (o *ProvisionClusterAmazonInternalServerError) IsClientError() bool
- func (o *ProvisionClusterAmazonInternalServerError) IsCode(code int) bool
- func (o *ProvisionClusterAmazonInternalServerError) IsRedirect() bool
- func (o *ProvisionClusterAmazonInternalServerError) IsServerError() bool
- func (o *ProvisionClusterAmazonInternalServerError) IsSuccess() bool
- func (o *ProvisionClusterAmazonInternalServerError) String() string
- type ProvisionClusterAmazonOK
- func (o *ProvisionClusterAmazonOK) Code() int
- func (o *ProvisionClusterAmazonOK) Error() string
- func (o *ProvisionClusterAmazonOK) GetPayload() *models.PortainereeEndpoint
- func (o *ProvisionClusterAmazonOK) IsClientError() bool
- func (o *ProvisionClusterAmazonOK) IsCode(code int) bool
- func (o *ProvisionClusterAmazonOK) IsRedirect() bool
- func (o *ProvisionClusterAmazonOK) IsServerError() bool
- func (o *ProvisionClusterAmazonOK) IsSuccess() bool
- func (o *ProvisionClusterAmazonOK) String() string
- type ProvisionClusterAmazonParams
- func NewProvisionClusterAmazonParams() *ProvisionClusterAmazonParams
- func NewProvisionClusterAmazonParamsWithContext(ctx context.Context) *ProvisionClusterAmazonParams
- func NewProvisionClusterAmazonParamsWithHTTPClient(client *http.Client) *ProvisionClusterAmazonParams
- func NewProvisionClusterAmazonParamsWithTimeout(timeout time.Duration) *ProvisionClusterAmazonParams
- func (o *ProvisionClusterAmazonParams) SetBody(body *models.ProvidersAmazonProvisionPayload)
- func (o *ProvisionClusterAmazonParams) SetContext(ctx context.Context)
- func (o *ProvisionClusterAmazonParams) SetDefaults()
- func (o *ProvisionClusterAmazonParams) SetHTTPClient(client *http.Client)
- func (o *ProvisionClusterAmazonParams) SetTimeout(timeout time.Duration)
- func (o *ProvisionClusterAmazonParams) WithBody(body *models.ProvidersAmazonProvisionPayload) *ProvisionClusterAmazonParams
- func (o *ProvisionClusterAmazonParams) WithContext(ctx context.Context) *ProvisionClusterAmazonParams
- func (o *ProvisionClusterAmazonParams) WithDefaults() *ProvisionClusterAmazonParams
- func (o *ProvisionClusterAmazonParams) WithHTTPClient(client *http.Client) *ProvisionClusterAmazonParams
- func (o *ProvisionClusterAmazonParams) WithTimeout(timeout time.Duration) *ProvisionClusterAmazonParams
- func (o *ProvisionClusterAmazonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProvisionClusterAmazonReader
- type ProvisionClusterAmazonServiceUnavailable
- func (o *ProvisionClusterAmazonServiceUnavailable) Code() int
- func (o *ProvisionClusterAmazonServiceUnavailable) Error() string
- func (o *ProvisionClusterAmazonServiceUnavailable) IsClientError() bool
- func (o *ProvisionClusterAmazonServiceUnavailable) IsCode(code int) bool
- func (o *ProvisionClusterAmazonServiceUnavailable) IsRedirect() bool
- func (o *ProvisionClusterAmazonServiceUnavailable) IsServerError() bool
- func (o *ProvisionClusterAmazonServiceUnavailable) IsSuccess() bool
- func (o *ProvisionClusterAmazonServiceUnavailable) String() string
- type ProvisionClusterAzureBadRequest
- func (o *ProvisionClusterAzureBadRequest) Code() int
- func (o *ProvisionClusterAzureBadRequest) Error() string
- func (o *ProvisionClusterAzureBadRequest) IsClientError() bool
- func (o *ProvisionClusterAzureBadRequest) IsCode(code int) bool
- func (o *ProvisionClusterAzureBadRequest) IsRedirect() bool
- func (o *ProvisionClusterAzureBadRequest) IsServerError() bool
- func (o *ProvisionClusterAzureBadRequest) IsSuccess() bool
- func (o *ProvisionClusterAzureBadRequest) String() string
- type ProvisionClusterAzureInternalServerError
- func (o *ProvisionClusterAzureInternalServerError) Code() int
- func (o *ProvisionClusterAzureInternalServerError) Error() string
- func (o *ProvisionClusterAzureInternalServerError) IsClientError() bool
- func (o *ProvisionClusterAzureInternalServerError) IsCode(code int) bool
- func (o *ProvisionClusterAzureInternalServerError) IsRedirect() bool
- func (o *ProvisionClusterAzureInternalServerError) IsServerError() bool
- func (o *ProvisionClusterAzureInternalServerError) IsSuccess() bool
- func (o *ProvisionClusterAzureInternalServerError) String() string
- type ProvisionClusterAzureOK
- func (o *ProvisionClusterAzureOK) Code() int
- func (o *ProvisionClusterAzureOK) Error() string
- func (o *ProvisionClusterAzureOK) GetPayload() *models.PortainereeEndpoint
- func (o *ProvisionClusterAzureOK) IsClientError() bool
- func (o *ProvisionClusterAzureOK) IsCode(code int) bool
- func (o *ProvisionClusterAzureOK) IsRedirect() bool
- func (o *ProvisionClusterAzureOK) IsServerError() bool
- func (o *ProvisionClusterAzureOK) IsSuccess() bool
- func (o *ProvisionClusterAzureOK) String() string
- type ProvisionClusterAzureParams
- func NewProvisionClusterAzureParams() *ProvisionClusterAzureParams
- func NewProvisionClusterAzureParamsWithContext(ctx context.Context) *ProvisionClusterAzureParams
- func NewProvisionClusterAzureParamsWithHTTPClient(client *http.Client) *ProvisionClusterAzureParams
- func NewProvisionClusterAzureParamsWithTimeout(timeout time.Duration) *ProvisionClusterAzureParams
- func (o *ProvisionClusterAzureParams) SetBody(body *models.ProvidersAzureProvisionPayload)
- func (o *ProvisionClusterAzureParams) SetContext(ctx context.Context)
- func (o *ProvisionClusterAzureParams) SetDefaults()
- func (o *ProvisionClusterAzureParams) SetHTTPClient(client *http.Client)
- func (o *ProvisionClusterAzureParams) SetTimeout(timeout time.Duration)
- func (o *ProvisionClusterAzureParams) WithBody(body *models.ProvidersAzureProvisionPayload) *ProvisionClusterAzureParams
- func (o *ProvisionClusterAzureParams) WithContext(ctx context.Context) *ProvisionClusterAzureParams
- func (o *ProvisionClusterAzureParams) WithDefaults() *ProvisionClusterAzureParams
- func (o *ProvisionClusterAzureParams) WithHTTPClient(client *http.Client) *ProvisionClusterAzureParams
- func (o *ProvisionClusterAzureParams) WithTimeout(timeout time.Duration) *ProvisionClusterAzureParams
- func (o *ProvisionClusterAzureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProvisionClusterAzureReader
- type ProvisionClusterAzureServiceUnavailable
- func (o *ProvisionClusterAzureServiceUnavailable) Code() int
- func (o *ProvisionClusterAzureServiceUnavailable) Error() string
- func (o *ProvisionClusterAzureServiceUnavailable) IsClientError() bool
- func (o *ProvisionClusterAzureServiceUnavailable) IsCode(code int) bool
- func (o *ProvisionClusterAzureServiceUnavailable) IsRedirect() bool
- func (o *ProvisionClusterAzureServiceUnavailable) IsServerError() bool
- func (o *ProvisionClusterAzureServiceUnavailable) IsSuccess() bool
- func (o *ProvisionClusterAzureServiceUnavailable) String() string
- type ProvisionClusterBadRequest
- func (o *ProvisionClusterBadRequest) Code() int
- func (o *ProvisionClusterBadRequest) Error() string
- func (o *ProvisionClusterBadRequest) IsClientError() bool
- func (o *ProvisionClusterBadRequest) IsCode(code int) bool
- func (o *ProvisionClusterBadRequest) IsRedirect() bool
- func (o *ProvisionClusterBadRequest) IsServerError() bool
- func (o *ProvisionClusterBadRequest) IsSuccess() bool
- func (o *ProvisionClusterBadRequest) String() string
- type ProvisionClusterGKEBadRequest
- func (o *ProvisionClusterGKEBadRequest) Code() int
- func (o *ProvisionClusterGKEBadRequest) Error() string
- func (o *ProvisionClusterGKEBadRequest) IsClientError() bool
- func (o *ProvisionClusterGKEBadRequest) IsCode(code int) bool
- func (o *ProvisionClusterGKEBadRequest) IsRedirect() bool
- func (o *ProvisionClusterGKEBadRequest) IsServerError() bool
- func (o *ProvisionClusterGKEBadRequest) IsSuccess() bool
- func (o *ProvisionClusterGKEBadRequest) String() string
- type ProvisionClusterGKEInternalServerError
- func (o *ProvisionClusterGKEInternalServerError) Code() int
- func (o *ProvisionClusterGKEInternalServerError) Error() string
- func (o *ProvisionClusterGKEInternalServerError) IsClientError() bool
- func (o *ProvisionClusterGKEInternalServerError) IsCode(code int) bool
- func (o *ProvisionClusterGKEInternalServerError) IsRedirect() bool
- func (o *ProvisionClusterGKEInternalServerError) IsServerError() bool
- func (o *ProvisionClusterGKEInternalServerError) IsSuccess() bool
- func (o *ProvisionClusterGKEInternalServerError) String() string
- type ProvisionClusterGKEOK
- func (o *ProvisionClusterGKEOK) Code() int
- func (o *ProvisionClusterGKEOK) Error() string
- func (o *ProvisionClusterGKEOK) GetPayload() *models.PortainereeEndpoint
- func (o *ProvisionClusterGKEOK) IsClientError() bool
- func (o *ProvisionClusterGKEOK) IsCode(code int) bool
- func (o *ProvisionClusterGKEOK) IsRedirect() bool
- func (o *ProvisionClusterGKEOK) IsServerError() bool
- func (o *ProvisionClusterGKEOK) IsSuccess() bool
- func (o *ProvisionClusterGKEOK) String() string
- type ProvisionClusterGKEParams
- func NewProvisionClusterGKEParams() *ProvisionClusterGKEParams
- func NewProvisionClusterGKEParamsWithContext(ctx context.Context) *ProvisionClusterGKEParams
- func NewProvisionClusterGKEParamsWithHTTPClient(client *http.Client) *ProvisionClusterGKEParams
- func NewProvisionClusterGKEParamsWithTimeout(timeout time.Duration) *ProvisionClusterGKEParams
- func (o *ProvisionClusterGKEParams) SetBody(body *models.ProvidersGKEProvisionPayload)
- func (o *ProvisionClusterGKEParams) SetContext(ctx context.Context)
- func (o *ProvisionClusterGKEParams) SetDefaults()
- func (o *ProvisionClusterGKEParams) SetHTTPClient(client *http.Client)
- func (o *ProvisionClusterGKEParams) SetTimeout(timeout time.Duration)
- func (o *ProvisionClusterGKEParams) WithBody(body *models.ProvidersGKEProvisionPayload) *ProvisionClusterGKEParams
- func (o *ProvisionClusterGKEParams) WithContext(ctx context.Context) *ProvisionClusterGKEParams
- func (o *ProvisionClusterGKEParams) WithDefaults() *ProvisionClusterGKEParams
- func (o *ProvisionClusterGKEParams) WithHTTPClient(client *http.Client) *ProvisionClusterGKEParams
- func (o *ProvisionClusterGKEParams) WithTimeout(timeout time.Duration) *ProvisionClusterGKEParams
- func (o *ProvisionClusterGKEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProvisionClusterGKEReader
- type ProvisionClusterGKEServiceUnavailable
- func (o *ProvisionClusterGKEServiceUnavailable) Code() int
- func (o *ProvisionClusterGKEServiceUnavailable) Error() string
- func (o *ProvisionClusterGKEServiceUnavailable) IsClientError() bool
- func (o *ProvisionClusterGKEServiceUnavailable) IsCode(code int) bool
- func (o *ProvisionClusterGKEServiceUnavailable) IsRedirect() bool
- func (o *ProvisionClusterGKEServiceUnavailable) IsServerError() bool
- func (o *ProvisionClusterGKEServiceUnavailable) IsSuccess() bool
- func (o *ProvisionClusterGKEServiceUnavailable) String() string
- type ProvisionClusterInternalServerError
- func (o *ProvisionClusterInternalServerError) Code() int
- func (o *ProvisionClusterInternalServerError) Error() string
- func (o *ProvisionClusterInternalServerError) IsClientError() bool
- func (o *ProvisionClusterInternalServerError) IsCode(code int) bool
- func (o *ProvisionClusterInternalServerError) IsRedirect() bool
- func (o *ProvisionClusterInternalServerError) IsServerError() bool
- func (o *ProvisionClusterInternalServerError) IsSuccess() bool
- func (o *ProvisionClusterInternalServerError) String() string
- type ProvisionClusterOK
- func (o *ProvisionClusterOK) Code() int
- func (o *ProvisionClusterOK) Error() string
- func (o *ProvisionClusterOK) GetPayload() *models.PortainereeEndpoint
- func (o *ProvisionClusterOK) IsClientError() bool
- func (o *ProvisionClusterOK) IsCode(code int) bool
- func (o *ProvisionClusterOK) IsRedirect() bool
- func (o *ProvisionClusterOK) IsServerError() bool
- func (o *ProvisionClusterOK) IsSuccess() bool
- func (o *ProvisionClusterOK) String() string
- type ProvisionClusterParams
- func NewProvisionClusterParams() *ProvisionClusterParams
- func NewProvisionClusterParamsWithContext(ctx context.Context) *ProvisionClusterParams
- func NewProvisionClusterParamsWithHTTPClient(client *http.Client) *ProvisionClusterParams
- func NewProvisionClusterParamsWithTimeout(timeout time.Duration) *ProvisionClusterParams
- func (o *ProvisionClusterParams) SetBody(body *models.ProvidersDefaultProvisionPayload)
- func (o *ProvisionClusterParams) SetContext(ctx context.Context)
- func (o *ProvisionClusterParams) SetDefaults()
- func (o *ProvisionClusterParams) SetHTTPClient(client *http.Client)
- func (o *ProvisionClusterParams) SetProvider(provider string)
- func (o *ProvisionClusterParams) SetTimeout(timeout time.Duration)
- func (o *ProvisionClusterParams) WithBody(body *models.ProvidersDefaultProvisionPayload) *ProvisionClusterParams
- func (o *ProvisionClusterParams) WithContext(ctx context.Context) *ProvisionClusterParams
- func (o *ProvisionClusterParams) WithDefaults() *ProvisionClusterParams
- func (o *ProvisionClusterParams) WithHTTPClient(client *http.Client) *ProvisionClusterParams
- func (o *ProvisionClusterParams) WithProvider(provider string) *ProvisionClusterParams
- func (o *ProvisionClusterParams) WithTimeout(timeout time.Duration) *ProvisionClusterParams
- func (o *ProvisionClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProvisionClusterReader
- type ProvisionClusterServiceUnavailable
- func (o *ProvisionClusterServiceUnavailable) Code() int
- func (o *ProvisionClusterServiceUnavailable) Error() string
- func (o *ProvisionClusterServiceUnavailable) IsClientError() bool
- func (o *ProvisionClusterServiceUnavailable) IsCode(code int) bool
- func (o *ProvisionClusterServiceUnavailable) IsRedirect() bool
- func (o *ProvisionClusterServiceUnavailable) IsServerError() bool
- func (o *ProvisionClusterServiceUnavailable) IsSuccess() bool
- func (o *ProvisionClusterServiceUnavailable) String() string
- type RemoveNodesBadRequest
- func (o *RemoveNodesBadRequest) Code() int
- func (o *RemoveNodesBadRequest) Error() string
- func (o *RemoveNodesBadRequest) IsClientError() bool
- func (o *RemoveNodesBadRequest) IsCode(code int) bool
- func (o *RemoveNodesBadRequest) IsRedirect() bool
- func (o *RemoveNodesBadRequest) IsServerError() bool
- func (o *RemoveNodesBadRequest) IsSuccess() bool
- func (o *RemoveNodesBadRequest) String() string
- type RemoveNodesForbidden
- func (o *RemoveNodesForbidden) Code() int
- func (o *RemoveNodesForbidden) Error() string
- func (o *RemoveNodesForbidden) IsClientError() bool
- func (o *RemoveNodesForbidden) IsCode(code int) bool
- func (o *RemoveNodesForbidden) IsRedirect() bool
- func (o *RemoveNodesForbidden) IsServerError() bool
- func (o *RemoveNodesForbidden) IsSuccess() bool
- func (o *RemoveNodesForbidden) String() string
- type RemoveNodesInternalServerError
- func (o *RemoveNodesInternalServerError) Code() int
- func (o *RemoveNodesInternalServerError) Error() string
- func (o *RemoveNodesInternalServerError) IsClientError() bool
- func (o *RemoveNodesInternalServerError) IsCode(code int) bool
- func (o *RemoveNodesInternalServerError) IsRedirect() bool
- func (o *RemoveNodesInternalServerError) IsServerError() bool
- func (o *RemoveNodesInternalServerError) IsSuccess() bool
- func (o *RemoveNodesInternalServerError) String() string
- type RemoveNodesOK
- func (o *RemoveNodesOK) Code() int
- func (o *RemoveNodesOK) Error() string
- func (o *RemoveNodesOK) IsClientError() bool
- func (o *RemoveNodesOK) IsCode(code int) bool
- func (o *RemoveNodesOK) IsRedirect() bool
- func (o *RemoveNodesOK) IsServerError() bool
- func (o *RemoveNodesOK) IsSuccess() bool
- func (o *RemoveNodesOK) String() string
- type RemoveNodesParams
- func (o *RemoveNodesParams) SetContext(ctx context.Context)
- func (o *RemoveNodesParams) SetDefaults()
- func (o *RemoveNodesParams) SetEnvironmentID(environmentID int64)
- func (o *RemoveNodesParams) SetHTTPClient(client *http.Client)
- func (o *RemoveNodesParams) SetTimeout(timeout time.Duration)
- func (o *RemoveNodesParams) WithContext(ctx context.Context) *RemoveNodesParams
- func (o *RemoveNodesParams) WithDefaults() *RemoveNodesParams
- func (o *RemoveNodesParams) WithEnvironmentID(environmentID int64) *RemoveNodesParams
- func (o *RemoveNodesParams) WithHTTPClient(client *http.Client) *RemoveNodesParams
- func (o *RemoveNodesParams) WithTimeout(timeout time.Duration) *RemoveNodesParams
- func (o *RemoveNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveNodesReader
- type RemoveNodesServiceUnavailable
- func (o *RemoveNodesServiceUnavailable) Code() int
- func (o *RemoveNodesServiceUnavailable) Error() string
- func (o *RemoveNodesServiceUnavailable) IsClientError() bool
- func (o *RemoveNodesServiceUnavailable) IsCode(code int) bool
- func (o *RemoveNodesServiceUnavailable) IsRedirect() bool
- func (o *RemoveNodesServiceUnavailable) IsServerError() bool
- func (o *RemoveNodesServiceUnavailable) IsSuccess() bool
- func (o *RemoveNodesServiceUnavailable) String() string
- type TestSSHBadRequest
- func (o *TestSSHBadRequest) Code() int
- func (o *TestSSHBadRequest) Error() string
- func (o *TestSSHBadRequest) IsClientError() bool
- func (o *TestSSHBadRequest) IsCode(code int) bool
- func (o *TestSSHBadRequest) IsRedirect() bool
- func (o *TestSSHBadRequest) IsServerError() bool
- func (o *TestSSHBadRequest) IsSuccess() bool
- func (o *TestSSHBadRequest) String() string
- type TestSSHInternalServerError
- func (o *TestSSHInternalServerError) Code() int
- func (o *TestSSHInternalServerError) Error() string
- func (o *TestSSHInternalServerError) IsClientError() bool
- func (o *TestSSHInternalServerError) IsCode(code int) bool
- func (o *TestSSHInternalServerError) IsRedirect() bool
- func (o *TestSSHInternalServerError) IsServerError() bool
- func (o *TestSSHInternalServerError) IsSuccess() bool
- func (o *TestSSHInternalServerError) String() string
- type TestSSHOK
- func (o *TestSSHOK) Code() int
- func (o *TestSSHOK) Error() string
- func (o *TestSSHOK) GetPayload() []*models.SshtestSSHTestResult
- func (o *TestSSHOK) IsClientError() bool
- func (o *TestSSHOK) IsCode(code int) bool
- func (o *TestSSHOK) IsRedirect() bool
- func (o *TestSSHOK) IsServerError() bool
- func (o *TestSSHOK) IsSuccess() bool
- func (o *TestSSHOK) String() string
- type TestSSHParams
- func (o *TestSSHParams) SetBody(body *models.ProvidersMicrok8sTestSSHPayload)
- func (o *TestSSHParams) SetContext(ctx context.Context)
- func (o *TestSSHParams) SetDefaults()
- func (o *TestSSHParams) SetHTTPClient(client *http.Client)
- func (o *TestSSHParams) SetTimeout(timeout time.Duration)
- func (o *TestSSHParams) WithBody(body *models.ProvidersMicrok8sTestSSHPayload) *TestSSHParams
- func (o *TestSSHParams) WithContext(ctx context.Context) *TestSSHParams
- func (o *TestSSHParams) WithDefaults() *TestSSHParams
- func (o *TestSSHParams) WithHTTPClient(client *http.Client) *TestSSHParams
- func (o *TestSSHParams) WithTimeout(timeout time.Duration) *TestSSHParams
- func (o *TestSSHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestSSHReader
- type TestSSHServiceUnavailable
- func (o *TestSSHServiceUnavailable) Code() int
- func (o *TestSSHServiceUnavailable) Error() string
- func (o *TestSSHServiceUnavailable) IsClientError() bool
- func (o *TestSSHServiceUnavailable) IsCode(code int) bool
- func (o *TestSSHServiceUnavailable) IsRedirect() bool
- func (o *TestSSHServiceUnavailable) IsServerError() bool
- func (o *TestSSHServiceUnavailable) IsSuccess() bool
- func (o *TestSSHServiceUnavailable) String() string
- type UpgradeBadRequest
- func (o *UpgradeBadRequest) Code() int
- func (o *UpgradeBadRequest) Error() string
- func (o *UpgradeBadRequest) IsClientError() bool
- func (o *UpgradeBadRequest) IsCode(code int) bool
- func (o *UpgradeBadRequest) IsRedirect() bool
- func (o *UpgradeBadRequest) IsServerError() bool
- func (o *UpgradeBadRequest) IsSuccess() bool
- func (o *UpgradeBadRequest) String() string
- type UpgradeForbidden
- func (o *UpgradeForbidden) Code() int
- func (o *UpgradeForbidden) Error() string
- func (o *UpgradeForbidden) IsClientError() bool
- func (o *UpgradeForbidden) IsCode(code int) bool
- func (o *UpgradeForbidden) IsRedirect() bool
- func (o *UpgradeForbidden) IsServerError() bool
- func (o *UpgradeForbidden) IsSuccess() bool
- func (o *UpgradeForbidden) String() string
- type UpgradeInternalServerError
- func (o *UpgradeInternalServerError) Code() int
- func (o *UpgradeInternalServerError) Error() string
- func (o *UpgradeInternalServerError) IsClientError() bool
- func (o *UpgradeInternalServerError) IsCode(code int) bool
- func (o *UpgradeInternalServerError) IsRedirect() bool
- func (o *UpgradeInternalServerError) IsServerError() bool
- func (o *UpgradeInternalServerError) IsSuccess() bool
- func (o *UpgradeInternalServerError) String() string
- type UpgradeOK
- func (o *UpgradeOK) Code() int
- func (o *UpgradeOK) Error() string
- func (o *UpgradeOK) IsClientError() bool
- func (o *UpgradeOK) IsCode(code int) bool
- func (o *UpgradeOK) IsRedirect() bool
- func (o *UpgradeOK) IsServerError() bool
- func (o *UpgradeOK) IsSuccess() bool
- func (o *UpgradeOK) String() string
- type UpgradeParams
- func (o *UpgradeParams) SetContext(ctx context.Context)
- func (o *UpgradeParams) SetDefaults()
- func (o *UpgradeParams) SetEnvironmentID(environmentID int64)
- func (o *UpgradeParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeParams) WithContext(ctx context.Context) *UpgradeParams
- func (o *UpgradeParams) WithDefaults() *UpgradeParams
- func (o *UpgradeParams) WithEnvironmentID(environmentID int64) *UpgradeParams
- func (o *UpgradeParams) WithHTTPClient(client *http.Client) *UpgradeParams
- func (o *UpgradeParams) WithTimeout(timeout time.Duration) *UpgradeParams
- func (o *UpgradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeReader
- type UpgradeServiceUnavailable
- func (o *UpgradeServiceUnavailable) Code() int
- func (o *UpgradeServiceUnavailable) Error() string
- func (o *UpgradeServiceUnavailable) IsClientError() bool
- func (o *UpgradeServiceUnavailable) IsCode(code int) bool
- func (o *UpgradeServiceUnavailable) IsRedirect() bool
- func (o *UpgradeServiceUnavailable) IsServerError() bool
- func (o *UpgradeServiceUnavailable) IsSuccess() bool
- func (o *UpgradeServiceUnavailable) String() string
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 (o *AddNodesInternalServerError) Error() string
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 (o *AddNodesServiceUnavailable) Error() string
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 ¶
func (o *KaasVersionInternalServerError) Code() int
Code gets the status code for the kaas version internal server error response
func (*KaasVersionInternalServerError) Error ¶
func (o *KaasVersionInternalServerError) Error() string
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 ¶
func (o *KaasVersionInternalServerError) String() 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 ¶
func (o *KaasVersionServiceUnavailable) Code() int
Code gets the status code for the kaas version service unavailable response
func (*KaasVersionServiceUnavailable) Error ¶
func (o *KaasVersionServiceUnavailable) Error() string
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 ¶
func (o *KaasVersionServiceUnavailable) String() 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 (o *Microk8sGetAddonsBadRequest) Error() string
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 (o *Microk8sGetAddonsForbidden) Error() string
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 ¶
func (o *Microk8sGetAddonsInternalServerError) Code() int
Code gets the status code for the microk8s get addons internal server error response
func (*Microk8sGetAddonsInternalServerError) Error ¶
func (o *Microk8sGetAddonsInternalServerError) Error() string
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 ¶
func (o *Microk8sGetAddonsInternalServerError) IsCode(code int) bool
IsCode returns true when this microk8s get addons internal server error response a status code equal to that given
func (*Microk8sGetAddonsInternalServerError) IsRedirect ¶
func (o *Microk8sGetAddonsInternalServerError) IsRedirect() bool
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 ¶
func (o *Microk8sGetAddonsInternalServerError) IsSuccess() bool
IsSuccess returns true when this microk8s get addons internal server error response has a 2xx status code
func (*Microk8sGetAddonsInternalServerError) String ¶
func (o *Microk8sGetAddonsInternalServerError) String() 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 ¶
func (o *Microk8sGetAddonsParams) WithContext(ctx context.Context) *Microk8sGetAddonsParams
WithContext adds the context to the microk8s get addons params
func (*Microk8sGetAddonsParams) WithDefaults ¶
func (o *Microk8sGetAddonsParams) WithDefaults() *Microk8sGetAddonsParams
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 ¶
func (o *Microk8sGetAddonsParams) WithTimeout(timeout time.Duration) *Microk8sGetAddonsParams
WithTimeout adds the timeout to the microk8s get addons params
func (*Microk8sGetAddonsParams) WriteToRequest ¶
func (o *Microk8sGetAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *Microk8sGetAddonsServiceUnavailable) Code() int
Code gets the status code for the microk8s get addons service unavailable response
func (*Microk8sGetAddonsServiceUnavailable) Error ¶
func (o *Microk8sGetAddonsServiceUnavailable) Error() string
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 ¶
func (o *Microk8sGetAddonsServiceUnavailable) IsCode(code int) bool
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 ¶
func (o *Microk8sGetAddonsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this microk8s get addons service unavailable response has a 2xx status code
func (*Microk8sGetAddonsServiceUnavailable) String ¶
func (o *Microk8sGetAddonsServiceUnavailable) String() 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 ¶
func (o *Microk8sGetNodeStatusBadRequest) Code() int
Code gets the status code for the microk8s get node status bad request response
func (*Microk8sGetNodeStatusBadRequest) Error ¶
func (o *Microk8sGetNodeStatusBadRequest) Error() string
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 ¶
func (o *Microk8sGetNodeStatusBadRequest) String() 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 ¶
func (o *Microk8sGetNodeStatusForbidden) Code() int
Code gets the status code for the microk8s get node status forbidden response
func (*Microk8sGetNodeStatusForbidden) Error ¶
func (o *Microk8sGetNodeStatusForbidden) Error() string
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 ¶
func (o *Microk8sGetNodeStatusForbidden) String() 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 ¶
func (o *Microk8sGetNodeStatusInternalServerError) Code() int
Code gets the status code for the microk8s get node status internal server error response
func (*Microk8sGetNodeStatusInternalServerError) Error ¶
func (o *Microk8sGetNodeStatusInternalServerError) Error() string
func (*Microk8sGetNodeStatusInternalServerError) IsClientError ¶
func (o *Microk8sGetNodeStatusInternalServerError) IsClientError() bool
IsClientError returns true when this microk8s get node status internal server error response has a 4xx status code
func (*Microk8sGetNodeStatusInternalServerError) IsCode ¶
func (o *Microk8sGetNodeStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this microk8s get node status internal server error response a status code equal to that given
func (*Microk8sGetNodeStatusInternalServerError) IsRedirect ¶
func (o *Microk8sGetNodeStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this microk8s get node status internal server error response has a 3xx status code
func (*Microk8sGetNodeStatusInternalServerError) IsServerError ¶
func (o *Microk8sGetNodeStatusInternalServerError) IsServerError() bool
IsServerError returns true when this microk8s get node status internal server error response has a 5xx status code
func (*Microk8sGetNodeStatusInternalServerError) IsSuccess ¶
func (o *Microk8sGetNodeStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this microk8s get node status internal server error response has a 2xx status code
func (*Microk8sGetNodeStatusInternalServerError) String ¶
func (o *Microk8sGetNodeStatusInternalServerError) String() 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 ¶
func (o *Microk8sGetNodeStatusParams) WithContext(ctx context.Context) *Microk8sGetNodeStatusParams
WithContext adds the context to the microk8s get node status params
func (*Microk8sGetNodeStatusParams) WithDefaults ¶
func (o *Microk8sGetNodeStatusParams) WithDefaults() *Microk8sGetNodeStatusParams
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 ¶
func (o *Microk8sGetNodeStatusParams) WithHTTPClient(client *http.Client) *Microk8sGetNodeStatusParams
WithHTTPClient adds the HTTPClient to the microk8s get node status params
func (*Microk8sGetNodeStatusParams) WithNodeIP ¶
func (o *Microk8sGetNodeStatusParams) WithNodeIP(nodeIP string) *Microk8sGetNodeStatusParams
WithNodeIP adds the nodeIP to the microk8s get node status params
func (*Microk8sGetNodeStatusParams) WithTimeout ¶
func (o *Microk8sGetNodeStatusParams) WithTimeout(timeout time.Duration) *Microk8sGetNodeStatusParams
WithTimeout adds the timeout to the microk8s get node status params
func (*Microk8sGetNodeStatusParams) WriteToRequest ¶
func (o *Microk8sGetNodeStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *Microk8sGetNodeStatusServiceUnavailable) Code() int
Code gets the status code for the microk8s get node status service unavailable response
func (*Microk8sGetNodeStatusServiceUnavailable) Error ¶
func (o *Microk8sGetNodeStatusServiceUnavailable) Error() string
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 ¶
func (o *Microk8sGetNodeStatusServiceUnavailable) IsCode(code int) bool
IsCode returns true when this microk8s get node status service unavailable response a status code equal to that given
func (*Microk8sGetNodeStatusServiceUnavailable) IsRedirect ¶
func (o *Microk8sGetNodeStatusServiceUnavailable) IsRedirect() bool
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 ¶
func (o *Microk8sGetNodeStatusServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this microk8s get node status service unavailable response has a 2xx status code
func (*Microk8sGetNodeStatusServiceUnavailable) String ¶
func (o *Microk8sGetNodeStatusServiceUnavailable) String() 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 ¶
func (o *Microk8sUpdateAddonsBadRequest) Code() int
Code gets the status code for the microk8s update addons bad request response
func (*Microk8sUpdateAddonsBadRequest) Error ¶
func (o *Microk8sUpdateAddonsBadRequest) Error() string
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 ¶
func (o *Microk8sUpdateAddonsBadRequest) String() 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 ¶
func (o *Microk8sUpdateAddonsForbidden) Code() int
Code gets the status code for the microk8s update addons forbidden response
func (*Microk8sUpdateAddonsForbidden) Error ¶
func (o *Microk8sUpdateAddonsForbidden) Error() string
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 ¶
func (o *Microk8sUpdateAddonsForbidden) String() 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 ¶
func (o *Microk8sUpdateAddonsInternalServerError) Code() int
Code gets the status code for the microk8s update addons internal server error response
func (*Microk8sUpdateAddonsInternalServerError) Error ¶
func (o *Microk8sUpdateAddonsInternalServerError) Error() string
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 ¶
func (o *Microk8sUpdateAddonsInternalServerError) IsCode(code int) bool
IsCode returns true when this microk8s update addons internal server error response a status code equal to that given
func (*Microk8sUpdateAddonsInternalServerError) IsRedirect ¶
func (o *Microk8sUpdateAddonsInternalServerError) IsRedirect() bool
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 ¶
func (o *Microk8sUpdateAddonsInternalServerError) IsSuccess() bool
IsSuccess returns true when this microk8s update addons internal server error response has a 2xx status code
func (*Microk8sUpdateAddonsInternalServerError) String ¶
func (o *Microk8sUpdateAddonsInternalServerError) String() 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 ¶
func (o *Microk8sUpdateAddonsParams) SetAddons(addons *models.ProvidersMicrok8sUpdateAddonsPayload)
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 ¶
func (o *Microk8sUpdateAddonsParams) WithAddons(addons *models.ProvidersMicrok8sUpdateAddonsPayload) *Microk8sUpdateAddonsParams
WithAddons adds the addons to the microk8s update addons params
func (*Microk8sUpdateAddonsParams) WithContext ¶
func (o *Microk8sUpdateAddonsParams) WithContext(ctx context.Context) *Microk8sUpdateAddonsParams
WithContext adds the context to the microk8s update addons params
func (*Microk8sUpdateAddonsParams) WithDefaults ¶
func (o *Microk8sUpdateAddonsParams) WithDefaults() *Microk8sUpdateAddonsParams
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 ¶
func (o *Microk8sUpdateAddonsParams) WithHTTPClient(client *http.Client) *Microk8sUpdateAddonsParams
WithHTTPClient adds the HTTPClient to the microk8s update addons params
func (*Microk8sUpdateAddonsParams) WithTimeout ¶
func (o *Microk8sUpdateAddonsParams) WithTimeout(timeout time.Duration) *Microk8sUpdateAddonsParams
WithTimeout adds the timeout to the microk8s update addons params
func (*Microk8sUpdateAddonsParams) WriteToRequest ¶
func (o *Microk8sUpdateAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *Microk8sUpdateAddonsServiceUnavailable) Code() int
Code gets the status code for the microk8s update addons service unavailable response
func (*Microk8sUpdateAddonsServiceUnavailable) Error ¶
func (o *Microk8sUpdateAddonsServiceUnavailable) Error() string
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 ¶
func (o *Microk8sUpdateAddonsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this microk8s update addons service unavailable response a status code equal to that given
func (*Microk8sUpdateAddonsServiceUnavailable) IsRedirect ¶
func (o *Microk8sUpdateAddonsServiceUnavailable) IsRedirect() bool
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 ¶
func (o *Microk8sUpdateAddonsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this microk8s update addons service unavailable response has a 2xx status code
func (*Microk8sUpdateAddonsServiceUnavailable) String ¶
func (o *Microk8sUpdateAddonsServiceUnavailable) String() 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 ¶
func (o *ProviderInfoInternalServerError) Code() int
Code gets the status code for the provider info internal server error response
func (*ProviderInfoInternalServerError) Error ¶
func (o *ProviderInfoInternalServerError) Error() string
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 ¶
func (o *ProviderInfoInternalServerError) String() 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 ¶
func (o *ProviderInfoParams) WithContext(ctx context.Context) *ProviderInfoParams
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 ¶
func (o *ProviderInfoServiceUnavailable) Code() int
Code gets the status code for the provider info service unavailable response
func (*ProviderInfoServiceUnavailable) Error ¶
func (o *ProviderInfoServiceUnavailable) Error() string
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 ¶
func (o *ProviderInfoServiceUnavailable) String() 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 ¶
func (o *ProvisionClusterAmazonBadRequest) Code() int
Code gets the status code for the provision cluster amazon bad request response
func (*ProvisionClusterAmazonBadRequest) Error ¶
func (o *ProvisionClusterAmazonBadRequest) Error() string
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 ¶
func (o *ProvisionClusterAmazonBadRequest) String() 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 ¶
func (o *ProvisionClusterAmazonInternalServerError) Code() int
Code gets the status code for the provision cluster amazon internal server error response
func (*ProvisionClusterAmazonInternalServerError) Error ¶
func (o *ProvisionClusterAmazonInternalServerError) Error() string
func (*ProvisionClusterAmazonInternalServerError) IsClientError ¶
func (o *ProvisionClusterAmazonInternalServerError) IsClientError() bool
IsClientError returns true when this provision cluster amazon internal server error response has a 4xx status code
func (*ProvisionClusterAmazonInternalServerError) IsCode ¶
func (o *ProvisionClusterAmazonInternalServerError) IsCode(code int) bool
IsCode returns true when this provision cluster amazon internal server error response a status code equal to that given
func (*ProvisionClusterAmazonInternalServerError) IsRedirect ¶
func (o *ProvisionClusterAmazonInternalServerError) IsRedirect() bool
IsRedirect returns true when this provision cluster amazon internal server error response has a 3xx status code
func (*ProvisionClusterAmazonInternalServerError) IsServerError ¶
func (o *ProvisionClusterAmazonInternalServerError) IsServerError() bool
IsServerError returns true when this provision cluster amazon internal server error response has a 5xx status code
func (*ProvisionClusterAmazonInternalServerError) IsSuccess ¶
func (o *ProvisionClusterAmazonInternalServerError) IsSuccess() bool
IsSuccess returns true when this provision cluster amazon internal server error response has a 2xx status code
func (*ProvisionClusterAmazonInternalServerError) String ¶
func (o *ProvisionClusterAmazonInternalServerError) String() 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 (o *ProvisionClusterAmazonOK) GetPayload() *models.PortainereeEndpoint
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 ¶
func (o *ProvisionClusterAmazonParams) SetBody(body *models.ProvidersAmazonProvisionPayload)
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 ¶
func (o *ProvisionClusterAmazonParams) WithBody(body *models.ProvidersAmazonProvisionPayload) *ProvisionClusterAmazonParams
WithBody adds the body to the provision cluster amazon params
func (*ProvisionClusterAmazonParams) WithContext ¶
func (o *ProvisionClusterAmazonParams) WithContext(ctx context.Context) *ProvisionClusterAmazonParams
WithContext adds the context to the provision cluster amazon params
func (*ProvisionClusterAmazonParams) WithDefaults ¶
func (o *ProvisionClusterAmazonParams) WithDefaults() *ProvisionClusterAmazonParams
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 ¶
func (o *ProvisionClusterAmazonParams) WithHTTPClient(client *http.Client) *ProvisionClusterAmazonParams
WithHTTPClient adds the HTTPClient to the provision cluster amazon params
func (*ProvisionClusterAmazonParams) WithTimeout ¶
func (o *ProvisionClusterAmazonParams) WithTimeout(timeout time.Duration) *ProvisionClusterAmazonParams
WithTimeout adds the timeout to the provision cluster amazon params
func (*ProvisionClusterAmazonParams) WriteToRequest ¶
func (o *ProvisionClusterAmazonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProvisionClusterAmazonServiceUnavailable) Code() int
Code gets the status code for the provision cluster amazon service unavailable response
func (*ProvisionClusterAmazonServiceUnavailable) Error ¶
func (o *ProvisionClusterAmazonServiceUnavailable) Error() string
func (*ProvisionClusterAmazonServiceUnavailable) IsClientError ¶
func (o *ProvisionClusterAmazonServiceUnavailable) IsClientError() bool
IsClientError returns true when this provision cluster amazon service unavailable response has a 4xx status code
func (*ProvisionClusterAmazonServiceUnavailable) IsCode ¶
func (o *ProvisionClusterAmazonServiceUnavailable) IsCode(code int) bool
IsCode returns true when this provision cluster amazon service unavailable response a status code equal to that given
func (*ProvisionClusterAmazonServiceUnavailable) IsRedirect ¶
func (o *ProvisionClusterAmazonServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this provision cluster amazon service unavailable response has a 3xx status code
func (*ProvisionClusterAmazonServiceUnavailable) IsServerError ¶
func (o *ProvisionClusterAmazonServiceUnavailable) IsServerError() bool
IsServerError returns true when this provision cluster amazon service unavailable response has a 5xx status code
func (*ProvisionClusterAmazonServiceUnavailable) IsSuccess ¶
func (o *ProvisionClusterAmazonServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this provision cluster amazon service unavailable response has a 2xx status code
func (*ProvisionClusterAmazonServiceUnavailable) String ¶
func (o *ProvisionClusterAmazonServiceUnavailable) String() 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 ¶
func (o *ProvisionClusterAzureBadRequest) Code() int
Code gets the status code for the provision cluster azure bad request response
func (*ProvisionClusterAzureBadRequest) Error ¶
func (o *ProvisionClusterAzureBadRequest) Error() string
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 ¶
func (o *ProvisionClusterAzureBadRequest) String() 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 ¶
func (o *ProvisionClusterAzureInternalServerError) Code() int
Code gets the status code for the provision cluster azure internal server error response
func (*ProvisionClusterAzureInternalServerError) Error ¶
func (o *ProvisionClusterAzureInternalServerError) Error() string
func (*ProvisionClusterAzureInternalServerError) IsClientError ¶
func (o *ProvisionClusterAzureInternalServerError) IsClientError() bool
IsClientError returns true when this provision cluster azure internal server error response has a 4xx status code
func (*ProvisionClusterAzureInternalServerError) IsCode ¶
func (o *ProvisionClusterAzureInternalServerError) IsCode(code int) bool
IsCode returns true when this provision cluster azure internal server error response a status code equal to that given
func (*ProvisionClusterAzureInternalServerError) IsRedirect ¶
func (o *ProvisionClusterAzureInternalServerError) IsRedirect() bool
IsRedirect returns true when this provision cluster azure internal server error response has a 3xx status code
func (*ProvisionClusterAzureInternalServerError) IsServerError ¶
func (o *ProvisionClusterAzureInternalServerError) IsServerError() bool
IsServerError returns true when this provision cluster azure internal server error response has a 5xx status code
func (*ProvisionClusterAzureInternalServerError) IsSuccess ¶
func (o *ProvisionClusterAzureInternalServerError) IsSuccess() bool
IsSuccess returns true when this provision cluster azure internal server error response has a 2xx status code
func (*ProvisionClusterAzureInternalServerError) String ¶
func (o *ProvisionClusterAzureInternalServerError) String() 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 (o *ProvisionClusterAzureOK) GetPayload() *models.PortainereeEndpoint
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 ¶
func (o *ProvisionClusterAzureParams) SetBody(body *models.ProvidersAzureProvisionPayload)
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 ¶
func (o *ProvisionClusterAzureParams) WithBody(body *models.ProvidersAzureProvisionPayload) *ProvisionClusterAzureParams
WithBody adds the body to the provision cluster azure params
func (*ProvisionClusterAzureParams) WithContext ¶
func (o *ProvisionClusterAzureParams) WithContext(ctx context.Context) *ProvisionClusterAzureParams
WithContext adds the context to the provision cluster azure params
func (*ProvisionClusterAzureParams) WithDefaults ¶
func (o *ProvisionClusterAzureParams) WithDefaults() *ProvisionClusterAzureParams
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 ¶
func (o *ProvisionClusterAzureParams) WithHTTPClient(client *http.Client) *ProvisionClusterAzureParams
WithHTTPClient adds the HTTPClient to the provision cluster azure params
func (*ProvisionClusterAzureParams) WithTimeout ¶
func (o *ProvisionClusterAzureParams) WithTimeout(timeout time.Duration) *ProvisionClusterAzureParams
WithTimeout adds the timeout to the provision cluster azure params
func (*ProvisionClusterAzureParams) WriteToRequest ¶
func (o *ProvisionClusterAzureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProvisionClusterAzureServiceUnavailable) Code() int
Code gets the status code for the provision cluster azure service unavailable response
func (*ProvisionClusterAzureServiceUnavailable) Error ¶
func (o *ProvisionClusterAzureServiceUnavailable) Error() string
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 ¶
func (o *ProvisionClusterAzureServiceUnavailable) IsCode(code int) bool
IsCode returns true when this provision cluster azure service unavailable response a status code equal to that given
func (*ProvisionClusterAzureServiceUnavailable) IsRedirect ¶
func (o *ProvisionClusterAzureServiceUnavailable) IsRedirect() bool
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 ¶
func (o *ProvisionClusterAzureServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this provision cluster azure service unavailable response has a 2xx status code
func (*ProvisionClusterAzureServiceUnavailable) String ¶
func (o *ProvisionClusterAzureServiceUnavailable) String() 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 (o *ProvisionClusterBadRequest) Error() string
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 ¶
func (o *ProvisionClusterGKEBadRequest) Code() int
Code gets the status code for the provision cluster g k e bad request response
func (*ProvisionClusterGKEBadRequest) Error ¶
func (o *ProvisionClusterGKEBadRequest) Error() string
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 ¶
func (o *ProvisionClusterGKEBadRequest) String() 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 ¶
func (o *ProvisionClusterGKEInternalServerError) Code() int
Code gets the status code for the provision cluster g k e internal server error response
func (*ProvisionClusterGKEInternalServerError) Error ¶
func (o *ProvisionClusterGKEInternalServerError) Error() string
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 ¶
func (o *ProvisionClusterGKEInternalServerError) IsCode(code int) bool
IsCode returns true when this provision cluster g k e internal server error response a status code equal to that given
func (*ProvisionClusterGKEInternalServerError) IsRedirect ¶
func (o *ProvisionClusterGKEInternalServerError) IsRedirect() bool
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 ¶
func (o *ProvisionClusterGKEInternalServerError) IsSuccess() bool
IsSuccess returns true when this provision cluster g k e internal server error response has a 2xx status code
func (*ProvisionClusterGKEInternalServerError) String ¶
func (o *ProvisionClusterGKEInternalServerError) String() 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 (o *ProvisionClusterGKEOK) GetPayload() *models.PortainereeEndpoint
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 ¶
func (o *ProvisionClusterGKEParams) SetBody(body *models.ProvidersGKEProvisionPayload)
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 ¶
func (o *ProvisionClusterGKEParams) WithBody(body *models.ProvidersGKEProvisionPayload) *ProvisionClusterGKEParams
WithBody adds the body to the provision cluster g k e params
func (*ProvisionClusterGKEParams) WithContext ¶
func (o *ProvisionClusterGKEParams) WithContext(ctx context.Context) *ProvisionClusterGKEParams
WithContext adds the context to the provision cluster g k e params
func (*ProvisionClusterGKEParams) WithDefaults ¶
func (o *ProvisionClusterGKEParams) WithDefaults() *ProvisionClusterGKEParams
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 ¶
func (o *ProvisionClusterGKEParams) WithTimeout(timeout time.Duration) *ProvisionClusterGKEParams
WithTimeout adds the timeout to the provision cluster g k e params
func (*ProvisionClusterGKEParams) WriteToRequest ¶
func (o *ProvisionClusterGKEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProvisionClusterGKEServiceUnavailable) Code() int
Code gets the status code for the provision cluster g k e service unavailable response
func (*ProvisionClusterGKEServiceUnavailable) Error ¶
func (o *ProvisionClusterGKEServiceUnavailable) Error() string
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 ¶
func (o *ProvisionClusterGKEServiceUnavailable) IsCode(code int) bool
IsCode returns true when this provision cluster g k e service unavailable response a status code equal to that given
func (*ProvisionClusterGKEServiceUnavailable) IsRedirect ¶
func (o *ProvisionClusterGKEServiceUnavailable) IsRedirect() bool
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 ¶
func (o *ProvisionClusterGKEServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this provision cluster g k e service unavailable response has a 2xx status code
func (*ProvisionClusterGKEServiceUnavailable) String ¶
func (o *ProvisionClusterGKEServiceUnavailable) String() 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 ¶
func (o *ProvisionClusterInternalServerError) Code() int
Code gets the status code for the provision cluster internal server error response
func (*ProvisionClusterInternalServerError) Error ¶
func (o *ProvisionClusterInternalServerError) Error() string
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 ¶
func (o *ProvisionClusterInternalServerError) IsCode(code int) bool
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 ¶
func (o *ProvisionClusterInternalServerError) IsSuccess() bool
IsSuccess returns true when this provision cluster internal server error response has a 2xx status code
func (*ProvisionClusterInternalServerError) String ¶
func (o *ProvisionClusterInternalServerError) String() 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 (o *ProvisionClusterOK) GetPayload() *models.PortainereeEndpoint
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 ¶
func (o *ProvisionClusterParams) SetBody(body *models.ProvidersDefaultProvisionPayload)
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 ¶
func (o *ProvisionClusterParams) WithBody(body *models.ProvidersDefaultProvisionPayload) *ProvisionClusterParams
WithBody adds the body to the provision cluster params
func (*ProvisionClusterParams) WithContext ¶
func (o *ProvisionClusterParams) WithContext(ctx context.Context) *ProvisionClusterParams
WithContext adds the context to the provision cluster params
func (*ProvisionClusterParams) WithDefaults ¶
func (o *ProvisionClusterParams) WithDefaults() *ProvisionClusterParams
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 ¶
func (o *ProvisionClusterParams) WithTimeout(timeout time.Duration) *ProvisionClusterParams
WithTimeout adds the timeout to the provision cluster params
func (*ProvisionClusterParams) WriteToRequest ¶
func (o *ProvisionClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProvisionClusterServiceUnavailable) Code() int
Code gets the status code for the provision cluster service unavailable response
func (*ProvisionClusterServiceUnavailable) Error ¶
func (o *ProvisionClusterServiceUnavailable) Error() string
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 ¶
func (o *ProvisionClusterServiceUnavailable) IsCode(code int) bool
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 ¶
func (o *ProvisionClusterServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this provision cluster service unavailable response has a 2xx status code
func (*ProvisionClusterServiceUnavailable) String ¶
func (o *ProvisionClusterServiceUnavailable) String() 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 ¶
func (o *RemoveNodesInternalServerError) Code() int
Code gets the status code for the remove nodes internal server error response
func (*RemoveNodesInternalServerError) Error ¶
func (o *RemoveNodesInternalServerError) Error() string
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 ¶
func (o *RemoveNodesInternalServerError) String() 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 ¶
func (o *RemoveNodesServiceUnavailable) Code() int
Code gets the status code for the remove nodes service unavailable response
func (*RemoveNodesServiceUnavailable) Error ¶
func (o *RemoveNodesServiceUnavailable) Error() string
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 ¶
func (o *RemoveNodesServiceUnavailable) String() 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 (o *TestSSHInternalServerError) Error() string
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) GetPayload ¶
func (o *TestSSHOK) GetPayload() []*models.SshtestSSHTestResult
func (*TestSSHOK) IsClientError ¶
IsClientError returns true when this test Ssh o k response has a 4xx status code
func (*TestSSHOK) IsCode ¶
IsCode returns true when this test Ssh o k response a status code equal to that given
func (*TestSSHOK) IsRedirect ¶
IsRedirect returns true when this test Ssh o k response has a 3xx status code
func (*TestSSHOK) IsServerError ¶
IsServerError returns true when this test Ssh o k response has a 5xx status code
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 ¶
func (o *TestSSHParams) SetBody(body *models.ProvidersMicrok8sTestSSHPayload)
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 ¶
func (o *TestSSHParams) WithBody(body *models.ProvidersMicrok8sTestSSHPayload) *TestSSHParams
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 (o *UpgradeInternalServerError) Error() string
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) IsClientError ¶
IsClientError returns true when this upgrade o k response has a 4xx status code
func (*UpgradeOK) IsCode ¶
IsCode returns true when this upgrade o k response a status code equal to that given
func (*UpgradeOK) IsRedirect ¶
IsRedirect returns true when this upgrade o k response has a 3xx status code
func (*UpgradeOK) IsServerError ¶
IsServerError returns true when this upgrade o k response has a 5xx status code
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
Source Files
¶
- add_nodes_parameters.go
- add_nodes_responses.go
- kaas_client.go
- kaas_version_parameters.go
- kaas_version_responses.go
- microk8s_get_addons_parameters.go
- microk8s_get_addons_responses.go
- microk8s_get_node_status_parameters.go
- microk8s_get_node_status_responses.go
- microk8s_update_addons_parameters.go
- microk8s_update_addons_responses.go
- provider_info_parameters.go
- provider_info_responses.go
- provision_cluster_amazon_parameters.go
- provision_cluster_amazon_responses.go
- provision_cluster_azure_parameters.go
- provision_cluster_azure_responses.go
- provision_cluster_g_k_e_parameters.go
- provision_cluster_g_k_e_responses.go
- provision_cluster_parameters.go
- provision_cluster_responses.go
- remove_nodes_parameters.go
- remove_nodes_responses.go
- test_ssh_parameters.go
- test_ssh_responses.go
- upgrade_parameters.go
- upgrade_responses.go