operations

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelBackupDefault

type CancelBackupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CancelBackupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewCancelBackupDefault

func NewCancelBackupDefault(code int) *CancelBackupDefault

NewCancelBackupDefault creates a CancelBackupDefault with default headers values

func (*CancelBackupDefault) Code

func (o *CancelBackupDefault) Code() int

Code gets the status code for the cancel backup default response

func (*CancelBackupDefault) Error

func (o *CancelBackupDefault) Error() string

func (*CancelBackupDefault) GetPayload

func (o *CancelBackupDefault) GetPayload() *models.Error

func (*CancelBackupDefault) IsClientError

func (o *CancelBackupDefault) IsClientError() bool

IsClientError returns true when this cancel backup default response has a 4xx status code

func (*CancelBackupDefault) IsCode

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

IsCode returns true when this cancel backup default response a status code equal to that given

func (*CancelBackupDefault) IsRedirect

func (o *CancelBackupDefault) IsRedirect() bool

IsRedirect returns true when this cancel backup default response has a 3xx status code

func (*CancelBackupDefault) IsServerError

func (o *CancelBackupDefault) IsServerError() bool

IsServerError returns true when this cancel backup default response has a 5xx status code

func (*CancelBackupDefault) IsSuccess

func (o *CancelBackupDefault) IsSuccess() bool

IsSuccess returns true when this cancel backup default response has a 2xx status code

func (*CancelBackupDefault) String

func (o *CancelBackupDefault) String() string

type CancelBackupOK

type CancelBackupOK struct {
	Payload models.CancelBackupResponse
}

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

Response object for Cancel Backup command.

func NewCancelBackupOK

func NewCancelBackupOK() *CancelBackupOK

NewCancelBackupOK creates a CancelBackupOK with default headers values

func (*CancelBackupOK) Code

func (o *CancelBackupOK) Code() int

Code gets the status code for the cancel backup o k response

func (*CancelBackupOK) Error

func (o *CancelBackupOK) Error() string

func (*CancelBackupOK) GetPayload

func (o *CancelBackupOK) GetPayload() models.CancelBackupResponse

func (*CancelBackupOK) IsClientError

func (o *CancelBackupOK) IsClientError() bool

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

func (*CancelBackupOK) IsCode

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

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

func (*CancelBackupOK) IsRedirect

func (o *CancelBackupOK) IsRedirect() bool

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

func (*CancelBackupOK) IsServerError

func (o *CancelBackupOK) IsServerError() bool

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

func (*CancelBackupOK) IsSuccess

func (o *CancelBackupOK) IsSuccess() bool

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

func (*CancelBackupOK) String

func (o *CancelBackupOK) String() string

type CancelBackupParams

type CancelBackupParams struct {

	// Input.
	Input *models.CancelBackupRequest

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

CancelBackupParams contains all the parameters to send to the API endpoint

for the cancel backup operation.

Typically these are written to a http.Request.

func NewCancelBackupParams

func NewCancelBackupParams() *CancelBackupParams

NewCancelBackupParams creates a new CancelBackupParams 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 NewCancelBackupParamsWithContext

func NewCancelBackupParamsWithContext(ctx context.Context) *CancelBackupParams

NewCancelBackupParamsWithContext creates a new CancelBackupParams object with the ability to set a context for a request.

func NewCancelBackupParamsWithHTTPClient

func NewCancelBackupParamsWithHTTPClient(client *http.Client) *CancelBackupParams

NewCancelBackupParamsWithHTTPClient creates a new CancelBackupParams object with the ability to set a custom HTTPClient for a request.

func NewCancelBackupParamsWithTimeout

func NewCancelBackupParamsWithTimeout(timeout time.Duration) *CancelBackupParams

NewCancelBackupParamsWithTimeout creates a new CancelBackupParams object with the ability to set a timeout on a request.

func (*CancelBackupParams) SetContext

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

SetContext adds the context to the cancel backup params

func (*CancelBackupParams) SetDefaults

func (o *CancelBackupParams) SetDefaults()

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

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

func (*CancelBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel backup params

func (*CancelBackupParams) SetInput

func (o *CancelBackupParams) SetInput(input *models.CancelBackupRequest)

SetInput adds the input to the cancel backup params

func (*CancelBackupParams) SetTimeout

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

SetTimeout adds the timeout to the cancel backup params

func (*CancelBackupParams) WithContext

WithContext adds the context to the cancel backup params

func (*CancelBackupParams) WithDefaults

func (o *CancelBackupParams) WithDefaults() *CancelBackupParams

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

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

func (*CancelBackupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cancel backup params

func (*CancelBackupParams) WithInput

WithInput adds the input to the cancel backup params

func (*CancelBackupParams) WithTimeout

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

WithTimeout adds the timeout to the cancel backup params

func (*CancelBackupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CancelBackupReader

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

CancelBackupReader is a Reader for the CancelBackup structure.

func (*CancelBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for operations API

func (*Client) CancelBackup

func (a *Client) CancelBackup(params *CancelBackupParams, opts ...ClientOption) (*CancelBackupOK, error)

CancelBackup cancels cloudera data engineering c d e service backup

Cancel a currently running backup operation using the associated backup ID. The operation must be in a 'pending' state.

func (*Client) CreateBackup

func (a *Client) CreateBackup(params *CreateBackupParams, opts ...ClientOption) (*CreateBackupOK, error)

CreateBackup backups cloudera data engineering c d e service

Initiates service backup and returns a backup ID, which can be used for log retrieval, restoration, deletion, and backup cancellation. Service backup includes the definition of the Service and its Virtual Clusters along with Virtual Clusters contents (jobs, resources, and credentials).

func (*Client) CreateVc

func (a *Client) CreateVc(params *CreateVcParams, opts ...ClientOption) (*CreateVcOK, error)

CreateVc creates virtual cluster

Creates a virtual cluster and returns creation response.

func (*Client) DeleteBackup

func (a *Client) DeleteBackup(params *DeleteBackupParams, opts ...ClientOption) (*DeleteBackupOK, error)

DeleteBackup deletes cloudera data engineering c d e service backup

Delete a backup using the associated backup ID.

func (*Client) DeleteVc

func (a *Client) DeleteVc(params *DeleteVcParams, opts ...ClientOption) (*DeleteVcOK, error)

DeleteVc deletes virtual cluster

Deletes a virtual cluster and returns deletion response.

func (*Client) DescribeBackup

func (a *Client) DescribeBackup(params *DescribeBackupParams, opts ...ClientOption) (*DescribeBackupOK, error)

DescribeBackup describes cloudera data engineering c d e service backup

Describe a backup using the associated backup ID.

func (*Client) DescribeService

func (a *Client) DescribeService(params *DescribeServiceParams, opts ...ClientOption) (*DescribeServiceOK, error)

DescribeService describes cloudera data engineering c d e service

Returns details of CDE service.

func (*Client) DescribeVc

func (a *Client) DescribeVc(params *DescribeVcParams, opts ...ClientOption) (*DescribeVcOK, error)

DescribeVc describes virtual cluster

Returns a description for the specified virtual cluster.

func (*Client) DisableService

func (a *Client) DisableService(params *DisableServiceParams, opts ...ClientOption) (*DisableServiceOK, error)

DisableService disables cloudera data engineering c d e service

Returns delete response.

func (*Client) EnableService

func (a *Client) EnableService(params *EnableServiceParams, opts ...ClientOption) (*EnableServiceOK, error)

EnableService enables cloudera data engineering c d e service

Returns enabling response.

func (*Client) GetBackupLogs

func (a *Client) GetBackupLogs(params *GetBackupLogsParams, opts ...ClientOption) (*GetBackupLogsOK, error)

GetBackupLogs retrieves cloudera data engineering c d e service backup logs

Retrieve backup logs using the associated backup ID.

func (*Client) GetKubeconfig

func (a *Client) GetKubeconfig(params *GetKubeconfigParams, opts ...ClientOption) (*GetKubeconfigOK, error)

GetKubeconfig gets kubeconfig for the c d e service

Returns kubeconfig.

func (*Client) GetServiceInitLogs

func (a *Client) GetServiceInitLogs(params *GetServiceInitLogsParams, opts ...ClientOption) (*GetServiceInitLogsOK, error)

GetServiceInitLogs retrieves cloudera data engineering c d e service initialization logs

Retrieve service initialization logs, if any.

func (*Client) GetUpgradeStatus added in v0.7.4

func (a *Client) GetUpgradeStatus(params *GetUpgradeStatusParams, opts ...ClientOption) (*GetUpgradeStatusOK, error)

GetUpgradeStatus gets c d e service upgrade status

The current status of the CDE Service upgrade. If all the steps are completed allStepsCompleted would be true. After a particular step triggered by upgrade-service is completed nextStep would point to the next step to take.

func (*Client) ListBackups

func (a *Client) ListBackups(params *ListBackupsParams, opts ...ClientOption) (*ListBackupsOK, error)

ListBackups lists cloudera data engineering c d e service backups

List all service backups.

func (*Client) ListServices

func (a *Client) ListServices(params *ListServicesParams, opts ...ClientOption) (*ListServicesOK, error)

ListServices lists cloudera data engineering c d e services

Returns list of cde services.

func (*Client) ListVcs

func (a *Client) ListVcs(params *ListVcsParams, opts ...ClientOption) (*ListVcsOK, error)

ListVcs lists virtual clusters

Returns a list of virtual clusters for a given CDE service.

func (*Client) RestoreService

func (a *Client) RestoreService(params *RestoreServiceParams, opts ...ClientOption) (*RestoreServiceOK, error)

RestoreService restores cloudera data engineering c d e service

Initiates the service restoration process and returns the ID of the service being restored.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateService

func (a *Client) UpdateService(params *UpdateServiceParams, opts ...ClientOption) (*UpdateServiceOK, error)

UpdateService updates cloudera data engineering c d e service

Returns update response consisting of operation ID that can be used to log update events.

func (*Client) UpdateVc

func (a *Client) UpdateVc(params *UpdateVcParams, opts ...ClientOption) (*UpdateVcOK, error)

UpdateVc updates cloudera data engineering c d e virtual cluster

Updates Cloudera Data Engineering (CDE) Virtual Cluster and returns details of updated CDE service.

func (*Client) UpgradeService added in v0.7.4

func (a *Client) UpgradeService(params *UpgradeServiceParams, opts ...ClientOption) (*UpgradeServiceOK, error)

UpgradeService triggers a particular step prepare backup upgrade resume of the upgrade framework

Trigger a particular step (prepare, backup, upgrade, resume) of the multi-step upgrade process. Use get-upgrade-status to know what is the next step to take.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	CancelBackup(params *CancelBackupParams, opts ...ClientOption) (*CancelBackupOK, error)

	CreateBackup(params *CreateBackupParams, opts ...ClientOption) (*CreateBackupOK, error)

	CreateVc(params *CreateVcParams, opts ...ClientOption) (*CreateVcOK, error)

	DeleteBackup(params *DeleteBackupParams, opts ...ClientOption) (*DeleteBackupOK, error)

	DeleteVc(params *DeleteVcParams, opts ...ClientOption) (*DeleteVcOK, error)

	DescribeBackup(params *DescribeBackupParams, opts ...ClientOption) (*DescribeBackupOK, error)

	DescribeService(params *DescribeServiceParams, opts ...ClientOption) (*DescribeServiceOK, error)

	DescribeVc(params *DescribeVcParams, opts ...ClientOption) (*DescribeVcOK, error)

	DisableService(params *DisableServiceParams, opts ...ClientOption) (*DisableServiceOK, error)

	EnableService(params *EnableServiceParams, opts ...ClientOption) (*EnableServiceOK, error)

	GetBackupLogs(params *GetBackupLogsParams, opts ...ClientOption) (*GetBackupLogsOK, error)

	GetKubeconfig(params *GetKubeconfigParams, opts ...ClientOption) (*GetKubeconfigOK, error)

	GetServiceInitLogs(params *GetServiceInitLogsParams, opts ...ClientOption) (*GetServiceInitLogsOK, error)

	GetUpgradeStatus(params *GetUpgradeStatusParams, opts ...ClientOption) (*GetUpgradeStatusOK, error)

	ListBackups(params *ListBackupsParams, opts ...ClientOption) (*ListBackupsOK, error)

	ListServices(params *ListServicesParams, opts ...ClientOption) (*ListServicesOK, error)

	ListVcs(params *ListVcsParams, opts ...ClientOption) (*ListVcsOK, error)

	RestoreService(params *RestoreServiceParams, opts ...ClientOption) (*RestoreServiceOK, error)

	UpdateService(params *UpdateServiceParams, opts ...ClientOption) (*UpdateServiceOK, error)

	UpdateVc(params *UpdateVcParams, opts ...ClientOption) (*UpdateVcOK, error)

	UpgradeService(params *UpgradeServiceParams, opts ...ClientOption) (*UpgradeServiceOK, 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 operations API client.

func NewClientWithBasicAuth

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

New creates a new operations 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 operations 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 CreateBackupDefault

type CreateBackupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateBackupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewCreateBackupDefault

func NewCreateBackupDefault(code int) *CreateBackupDefault

NewCreateBackupDefault creates a CreateBackupDefault with default headers values

func (*CreateBackupDefault) Code

func (o *CreateBackupDefault) Code() int

Code gets the status code for the create backup default response

func (*CreateBackupDefault) Error

func (o *CreateBackupDefault) Error() string

func (*CreateBackupDefault) GetPayload

func (o *CreateBackupDefault) GetPayload() *models.Error

func (*CreateBackupDefault) IsClientError

func (o *CreateBackupDefault) IsClientError() bool

IsClientError returns true when this create backup default response has a 4xx status code

func (*CreateBackupDefault) IsCode

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

IsCode returns true when this create backup default response a status code equal to that given

func (*CreateBackupDefault) IsRedirect

func (o *CreateBackupDefault) IsRedirect() bool

IsRedirect returns true when this create backup default response has a 3xx status code

func (*CreateBackupDefault) IsServerError

func (o *CreateBackupDefault) IsServerError() bool

IsServerError returns true when this create backup default response has a 5xx status code

func (*CreateBackupDefault) IsSuccess

func (o *CreateBackupDefault) IsSuccess() bool

IsSuccess returns true when this create backup default response has a 2xx status code

func (*CreateBackupDefault) String

func (o *CreateBackupDefault) String() string

type CreateBackupOK

type CreateBackupOK struct {
	Payload *models.CreateBackupResponse
}

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

Response object for Create Backup command.

func NewCreateBackupOK

func NewCreateBackupOK() *CreateBackupOK

NewCreateBackupOK creates a CreateBackupOK with default headers values

func (*CreateBackupOK) Code

func (o *CreateBackupOK) Code() int

Code gets the status code for the create backup o k response

func (*CreateBackupOK) Error

func (o *CreateBackupOK) Error() string

func (*CreateBackupOK) GetPayload

func (o *CreateBackupOK) GetPayload() *models.CreateBackupResponse

func (*CreateBackupOK) IsClientError

func (o *CreateBackupOK) IsClientError() bool

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

func (*CreateBackupOK) IsCode

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

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

func (*CreateBackupOK) IsRedirect

func (o *CreateBackupOK) IsRedirect() bool

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

func (*CreateBackupOK) IsServerError

func (o *CreateBackupOK) IsServerError() bool

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

func (*CreateBackupOK) IsSuccess

func (o *CreateBackupOK) IsSuccess() bool

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

func (*CreateBackupOK) String

func (o *CreateBackupOK) String() string

type CreateBackupParams

type CreateBackupParams struct {

	// Input.
	Input *models.CreateBackupRequest

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

CreateBackupParams contains all the parameters to send to the API endpoint

for the create backup operation.

Typically these are written to a http.Request.

func NewCreateBackupParams

func NewCreateBackupParams() *CreateBackupParams

NewCreateBackupParams creates a new CreateBackupParams 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 NewCreateBackupParamsWithContext

func NewCreateBackupParamsWithContext(ctx context.Context) *CreateBackupParams

NewCreateBackupParamsWithContext creates a new CreateBackupParams object with the ability to set a context for a request.

func NewCreateBackupParamsWithHTTPClient

func NewCreateBackupParamsWithHTTPClient(client *http.Client) *CreateBackupParams

NewCreateBackupParamsWithHTTPClient creates a new CreateBackupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBackupParamsWithTimeout

func NewCreateBackupParamsWithTimeout(timeout time.Duration) *CreateBackupParams

NewCreateBackupParamsWithTimeout creates a new CreateBackupParams object with the ability to set a timeout on a request.

func (*CreateBackupParams) SetContext

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

SetContext adds the context to the create backup params

func (*CreateBackupParams) SetDefaults

func (o *CreateBackupParams) SetDefaults()

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

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

func (*CreateBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create backup params

func (*CreateBackupParams) SetInput

func (o *CreateBackupParams) SetInput(input *models.CreateBackupRequest)

SetInput adds the input to the create backup params

func (*CreateBackupParams) SetTimeout

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

SetTimeout adds the timeout to the create backup params

func (*CreateBackupParams) WithContext

WithContext adds the context to the create backup params

func (*CreateBackupParams) WithDefaults

func (o *CreateBackupParams) WithDefaults() *CreateBackupParams

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

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

func (*CreateBackupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create backup params

func (*CreateBackupParams) WithInput

WithInput adds the input to the create backup params

func (*CreateBackupParams) WithTimeout

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

WithTimeout adds the timeout to the create backup params

func (*CreateBackupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBackupReader

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

CreateBackupReader is a Reader for the CreateBackup structure.

func (*CreateBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateVcDefault

type CreateVcDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateVcDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewCreateVcDefault

func NewCreateVcDefault(code int) *CreateVcDefault

NewCreateVcDefault creates a CreateVcDefault with default headers values

func (*CreateVcDefault) Code

func (o *CreateVcDefault) Code() int

Code gets the status code for the create vc default response

func (*CreateVcDefault) Error

func (o *CreateVcDefault) Error() string

func (*CreateVcDefault) GetPayload

func (o *CreateVcDefault) GetPayload() *models.Error

func (*CreateVcDefault) IsClientError

func (o *CreateVcDefault) IsClientError() bool

IsClientError returns true when this create vc default response has a 4xx status code

func (*CreateVcDefault) IsCode

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

IsCode returns true when this create vc default response a status code equal to that given

func (*CreateVcDefault) IsRedirect

func (o *CreateVcDefault) IsRedirect() bool

IsRedirect returns true when this create vc default response has a 3xx status code

func (*CreateVcDefault) IsServerError

func (o *CreateVcDefault) IsServerError() bool

IsServerError returns true when this create vc default response has a 5xx status code

func (*CreateVcDefault) IsSuccess

func (o *CreateVcDefault) IsSuccess() bool

IsSuccess returns true when this create vc default response has a 2xx status code

func (*CreateVcDefault) String

func (o *CreateVcDefault) String() string

type CreateVcOK

type CreateVcOK struct {
	Payload *models.CreateVcResponse
}

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

Expected response to a valid request.

func NewCreateVcOK

func NewCreateVcOK() *CreateVcOK

NewCreateVcOK creates a CreateVcOK with default headers values

func (*CreateVcOK) Code

func (o *CreateVcOK) Code() int

Code gets the status code for the create vc o k response

func (*CreateVcOK) Error

func (o *CreateVcOK) Error() string

func (*CreateVcOK) GetPayload

func (o *CreateVcOK) GetPayload() *models.CreateVcResponse

func (*CreateVcOK) IsClientError

func (o *CreateVcOK) IsClientError() bool

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

func (*CreateVcOK) IsCode

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

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

func (*CreateVcOK) IsRedirect

func (o *CreateVcOK) IsRedirect() bool

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

func (*CreateVcOK) IsServerError

func (o *CreateVcOK) IsServerError() bool

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

func (*CreateVcOK) IsSuccess

func (o *CreateVcOK) IsSuccess() bool

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

func (*CreateVcOK) String

func (o *CreateVcOK) String() string

type CreateVcParams

type CreateVcParams struct {

	// Input.
	Input *models.CreateVcRequest

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

CreateVcParams contains all the parameters to send to the API endpoint

for the create vc operation.

Typically these are written to a http.Request.

func NewCreateVcParams

func NewCreateVcParams() *CreateVcParams

NewCreateVcParams creates a new CreateVcParams 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 NewCreateVcParamsWithContext

func NewCreateVcParamsWithContext(ctx context.Context) *CreateVcParams

NewCreateVcParamsWithContext creates a new CreateVcParams object with the ability to set a context for a request.

func NewCreateVcParamsWithHTTPClient

func NewCreateVcParamsWithHTTPClient(client *http.Client) *CreateVcParams

NewCreateVcParamsWithHTTPClient creates a new CreateVcParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVcParamsWithTimeout

func NewCreateVcParamsWithTimeout(timeout time.Duration) *CreateVcParams

NewCreateVcParamsWithTimeout creates a new CreateVcParams object with the ability to set a timeout on a request.

func (*CreateVcParams) SetContext

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

SetContext adds the context to the create vc params

func (*CreateVcParams) SetDefaults

func (o *CreateVcParams) SetDefaults()

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

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

func (*CreateVcParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create vc params

func (*CreateVcParams) SetInput

func (o *CreateVcParams) SetInput(input *models.CreateVcRequest)

SetInput adds the input to the create vc params

func (*CreateVcParams) SetTimeout

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

SetTimeout adds the timeout to the create vc params

func (*CreateVcParams) WithContext

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

WithContext adds the context to the create vc params

func (*CreateVcParams) WithDefaults

func (o *CreateVcParams) WithDefaults() *CreateVcParams

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

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

func (*CreateVcParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create vc params

func (*CreateVcParams) WithInput

func (o *CreateVcParams) WithInput(input *models.CreateVcRequest) *CreateVcParams

WithInput adds the input to the create vc params

func (*CreateVcParams) WithTimeout

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

WithTimeout adds the timeout to the create vc params

func (*CreateVcParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateVcReader

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

CreateVcReader is a Reader for the CreateVc structure.

func (*CreateVcReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBackupDefault

type DeleteBackupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteBackupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDeleteBackupDefault

func NewDeleteBackupDefault(code int) *DeleteBackupDefault

NewDeleteBackupDefault creates a DeleteBackupDefault with default headers values

func (*DeleteBackupDefault) Code

func (o *DeleteBackupDefault) Code() int

Code gets the status code for the delete backup default response

func (*DeleteBackupDefault) Error

func (o *DeleteBackupDefault) Error() string

func (*DeleteBackupDefault) GetPayload

func (o *DeleteBackupDefault) GetPayload() *models.Error

func (*DeleteBackupDefault) IsClientError

func (o *DeleteBackupDefault) IsClientError() bool

IsClientError returns true when this delete backup default response has a 4xx status code

func (*DeleteBackupDefault) IsCode

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

IsCode returns true when this delete backup default response a status code equal to that given

func (*DeleteBackupDefault) IsRedirect

func (o *DeleteBackupDefault) IsRedirect() bool

IsRedirect returns true when this delete backup default response has a 3xx status code

func (*DeleteBackupDefault) IsServerError

func (o *DeleteBackupDefault) IsServerError() bool

IsServerError returns true when this delete backup default response has a 5xx status code

func (*DeleteBackupDefault) IsSuccess

func (o *DeleteBackupDefault) IsSuccess() bool

IsSuccess returns true when this delete backup default response has a 2xx status code

func (*DeleteBackupDefault) String

func (o *DeleteBackupDefault) String() string

type DeleteBackupOK

type DeleteBackupOK struct {
	Payload models.DeleteBackupResponse
}

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

Response object for Delete Backup command.

func NewDeleteBackupOK

func NewDeleteBackupOK() *DeleteBackupOK

NewDeleteBackupOK creates a DeleteBackupOK with default headers values

func (*DeleteBackupOK) Code

func (o *DeleteBackupOK) Code() int

Code gets the status code for the delete backup o k response

func (*DeleteBackupOK) Error

func (o *DeleteBackupOK) Error() string

func (*DeleteBackupOK) GetPayload

func (o *DeleteBackupOK) GetPayload() models.DeleteBackupResponse

func (*DeleteBackupOK) IsClientError

func (o *DeleteBackupOK) IsClientError() bool

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

func (*DeleteBackupOK) IsCode

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

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

func (*DeleteBackupOK) IsRedirect

func (o *DeleteBackupOK) IsRedirect() bool

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

func (*DeleteBackupOK) IsServerError

func (o *DeleteBackupOK) IsServerError() bool

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

func (*DeleteBackupOK) IsSuccess

func (o *DeleteBackupOK) IsSuccess() bool

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

func (*DeleteBackupOK) String

func (o *DeleteBackupOK) String() string

type DeleteBackupParams

type DeleteBackupParams struct {

	// Input.
	Input *models.DeleteBackupRequest

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

DeleteBackupParams contains all the parameters to send to the API endpoint

for the delete backup operation.

Typically these are written to a http.Request.

func NewDeleteBackupParams

func NewDeleteBackupParams() *DeleteBackupParams

NewDeleteBackupParams creates a new DeleteBackupParams 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 NewDeleteBackupParamsWithContext

func NewDeleteBackupParamsWithContext(ctx context.Context) *DeleteBackupParams

NewDeleteBackupParamsWithContext creates a new DeleteBackupParams object with the ability to set a context for a request.

func NewDeleteBackupParamsWithHTTPClient

func NewDeleteBackupParamsWithHTTPClient(client *http.Client) *DeleteBackupParams

NewDeleteBackupParamsWithHTTPClient creates a new DeleteBackupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBackupParamsWithTimeout

func NewDeleteBackupParamsWithTimeout(timeout time.Duration) *DeleteBackupParams

NewDeleteBackupParamsWithTimeout creates a new DeleteBackupParams object with the ability to set a timeout on a request.

func (*DeleteBackupParams) SetContext

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

SetContext adds the context to the delete backup params

func (*DeleteBackupParams) SetDefaults

func (o *DeleteBackupParams) SetDefaults()

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

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

func (*DeleteBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete backup params

func (*DeleteBackupParams) SetInput

func (o *DeleteBackupParams) SetInput(input *models.DeleteBackupRequest)

SetInput adds the input to the delete backup params

func (*DeleteBackupParams) SetTimeout

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

SetTimeout adds the timeout to the delete backup params

func (*DeleteBackupParams) WithContext

WithContext adds the context to the delete backup params

func (*DeleteBackupParams) WithDefaults

func (o *DeleteBackupParams) WithDefaults() *DeleteBackupParams

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

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

func (*DeleteBackupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete backup params

func (*DeleteBackupParams) WithInput

WithInput adds the input to the delete backup params

func (*DeleteBackupParams) WithTimeout

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

WithTimeout adds the timeout to the delete backup params

func (*DeleteBackupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBackupReader

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

DeleteBackupReader is a Reader for the DeleteBackup structure.

func (*DeleteBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVcDefault

type DeleteVcDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteVcDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDeleteVcDefault

func NewDeleteVcDefault(code int) *DeleteVcDefault

NewDeleteVcDefault creates a DeleteVcDefault with default headers values

func (*DeleteVcDefault) Code

func (o *DeleteVcDefault) Code() int

Code gets the status code for the delete vc default response

func (*DeleteVcDefault) Error

func (o *DeleteVcDefault) Error() string

func (*DeleteVcDefault) GetPayload

func (o *DeleteVcDefault) GetPayload() *models.Error

func (*DeleteVcDefault) IsClientError

func (o *DeleteVcDefault) IsClientError() bool

IsClientError returns true when this delete vc default response has a 4xx status code

func (*DeleteVcDefault) IsCode

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

IsCode returns true when this delete vc default response a status code equal to that given

func (*DeleteVcDefault) IsRedirect

func (o *DeleteVcDefault) IsRedirect() bool

IsRedirect returns true when this delete vc default response has a 3xx status code

func (*DeleteVcDefault) IsServerError

func (o *DeleteVcDefault) IsServerError() bool

IsServerError returns true when this delete vc default response has a 5xx status code

func (*DeleteVcDefault) IsSuccess

func (o *DeleteVcDefault) IsSuccess() bool

IsSuccess returns true when this delete vc default response has a 2xx status code

func (*DeleteVcDefault) String

func (o *DeleteVcDefault) String() string

type DeleteVcOK

type DeleteVcOK struct {
	Payload *models.DeleteVcResponse
}

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

Expected response to a valid request.

func NewDeleteVcOK

func NewDeleteVcOK() *DeleteVcOK

NewDeleteVcOK creates a DeleteVcOK with default headers values

func (*DeleteVcOK) Code

func (o *DeleteVcOK) Code() int

Code gets the status code for the delete vc o k response

func (*DeleteVcOK) Error

func (o *DeleteVcOK) Error() string

func (*DeleteVcOK) GetPayload

func (o *DeleteVcOK) GetPayload() *models.DeleteVcResponse

func (*DeleteVcOK) IsClientError

func (o *DeleteVcOK) IsClientError() bool

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

func (*DeleteVcOK) IsCode

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

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

func (*DeleteVcOK) IsRedirect

func (o *DeleteVcOK) IsRedirect() bool

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

func (*DeleteVcOK) IsServerError

func (o *DeleteVcOK) IsServerError() bool

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

func (*DeleteVcOK) IsSuccess

func (o *DeleteVcOK) IsSuccess() bool

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

func (*DeleteVcOK) String

func (o *DeleteVcOK) String() string

type DeleteVcParams

type DeleteVcParams struct {

	// Input.
	Input *models.DeleteVcRequest

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

DeleteVcParams contains all the parameters to send to the API endpoint

for the delete vc operation.

Typically these are written to a http.Request.

func NewDeleteVcParams

func NewDeleteVcParams() *DeleteVcParams

NewDeleteVcParams creates a new DeleteVcParams 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 NewDeleteVcParamsWithContext

func NewDeleteVcParamsWithContext(ctx context.Context) *DeleteVcParams

NewDeleteVcParamsWithContext creates a new DeleteVcParams object with the ability to set a context for a request.

func NewDeleteVcParamsWithHTTPClient

func NewDeleteVcParamsWithHTTPClient(client *http.Client) *DeleteVcParams

NewDeleteVcParamsWithHTTPClient creates a new DeleteVcParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVcParamsWithTimeout

func NewDeleteVcParamsWithTimeout(timeout time.Duration) *DeleteVcParams

NewDeleteVcParamsWithTimeout creates a new DeleteVcParams object with the ability to set a timeout on a request.

func (*DeleteVcParams) SetContext

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

SetContext adds the context to the delete vc params

func (*DeleteVcParams) SetDefaults

func (o *DeleteVcParams) SetDefaults()

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

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

func (*DeleteVcParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete vc params

func (*DeleteVcParams) SetInput

func (o *DeleteVcParams) SetInput(input *models.DeleteVcRequest)

SetInput adds the input to the delete vc params

func (*DeleteVcParams) SetTimeout

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

SetTimeout adds the timeout to the delete vc params

func (*DeleteVcParams) WithContext

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

WithContext adds the context to the delete vc params

func (*DeleteVcParams) WithDefaults

func (o *DeleteVcParams) WithDefaults() *DeleteVcParams

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

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

func (*DeleteVcParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete vc params

func (*DeleteVcParams) WithInput

func (o *DeleteVcParams) WithInput(input *models.DeleteVcRequest) *DeleteVcParams

WithInput adds the input to the delete vc params

func (*DeleteVcParams) WithTimeout

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

WithTimeout adds the timeout to the delete vc params

func (*DeleteVcParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteVcReader

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

DeleteVcReader is a Reader for the DeleteVc structure.

func (*DeleteVcReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeBackupDefault

type DescribeBackupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeBackupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDescribeBackupDefault

func NewDescribeBackupDefault(code int) *DescribeBackupDefault

NewDescribeBackupDefault creates a DescribeBackupDefault with default headers values

func (*DescribeBackupDefault) Code

func (o *DescribeBackupDefault) Code() int

Code gets the status code for the describe backup default response

func (*DescribeBackupDefault) Error

func (o *DescribeBackupDefault) Error() string

func (*DescribeBackupDefault) GetPayload

func (o *DescribeBackupDefault) GetPayload() *models.Error

func (*DescribeBackupDefault) IsClientError

func (o *DescribeBackupDefault) IsClientError() bool

IsClientError returns true when this describe backup default response has a 4xx status code

func (*DescribeBackupDefault) IsCode

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

IsCode returns true when this describe backup default response a status code equal to that given

func (*DescribeBackupDefault) IsRedirect

func (o *DescribeBackupDefault) IsRedirect() bool

IsRedirect returns true when this describe backup default response has a 3xx status code

func (*DescribeBackupDefault) IsServerError

func (o *DescribeBackupDefault) IsServerError() bool

IsServerError returns true when this describe backup default response has a 5xx status code

func (*DescribeBackupDefault) IsSuccess

func (o *DescribeBackupDefault) IsSuccess() bool

IsSuccess returns true when this describe backup default response has a 2xx status code

func (*DescribeBackupDefault) String

func (o *DescribeBackupDefault) String() string

type DescribeBackupOK

type DescribeBackupOK struct {
	Payload *models.DescribeBackupResponse
}

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

Response object for Describe Backup command.

func NewDescribeBackupOK

func NewDescribeBackupOK() *DescribeBackupOK

NewDescribeBackupOK creates a DescribeBackupOK with default headers values

func (*DescribeBackupOK) Code

func (o *DescribeBackupOK) Code() int

Code gets the status code for the describe backup o k response

func (*DescribeBackupOK) Error

func (o *DescribeBackupOK) Error() string

func (*DescribeBackupOK) GetPayload

func (*DescribeBackupOK) IsClientError

func (o *DescribeBackupOK) IsClientError() bool

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

func (*DescribeBackupOK) IsCode

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

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

func (*DescribeBackupOK) IsRedirect

func (o *DescribeBackupOK) IsRedirect() bool

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

func (*DescribeBackupOK) IsServerError

func (o *DescribeBackupOK) IsServerError() bool

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

func (*DescribeBackupOK) IsSuccess

func (o *DescribeBackupOK) IsSuccess() bool

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

func (*DescribeBackupOK) String

func (o *DescribeBackupOK) String() string

type DescribeBackupParams

type DescribeBackupParams struct {

	// Input.
	Input *models.DescribeBackupRequest

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

DescribeBackupParams contains all the parameters to send to the API endpoint

for the describe backup operation.

Typically these are written to a http.Request.

func NewDescribeBackupParams

func NewDescribeBackupParams() *DescribeBackupParams

NewDescribeBackupParams creates a new DescribeBackupParams 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 NewDescribeBackupParamsWithContext

func NewDescribeBackupParamsWithContext(ctx context.Context) *DescribeBackupParams

NewDescribeBackupParamsWithContext creates a new DescribeBackupParams object with the ability to set a context for a request.

func NewDescribeBackupParamsWithHTTPClient

func NewDescribeBackupParamsWithHTTPClient(client *http.Client) *DescribeBackupParams

NewDescribeBackupParamsWithHTTPClient creates a new DescribeBackupParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeBackupParamsWithTimeout

func NewDescribeBackupParamsWithTimeout(timeout time.Duration) *DescribeBackupParams

NewDescribeBackupParamsWithTimeout creates a new DescribeBackupParams object with the ability to set a timeout on a request.

func (*DescribeBackupParams) SetContext

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

SetContext adds the context to the describe backup params

func (*DescribeBackupParams) SetDefaults

func (o *DescribeBackupParams) SetDefaults()

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

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

func (*DescribeBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe backup params

func (*DescribeBackupParams) SetInput

SetInput adds the input to the describe backup params

func (*DescribeBackupParams) SetTimeout

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

SetTimeout adds the timeout to the describe backup params

func (*DescribeBackupParams) WithContext

WithContext adds the context to the describe backup params

func (*DescribeBackupParams) WithDefaults

func (o *DescribeBackupParams) WithDefaults() *DescribeBackupParams

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

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

func (*DescribeBackupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe backup params

func (*DescribeBackupParams) WithInput

WithInput adds the input to the describe backup params

func (*DescribeBackupParams) WithTimeout

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

WithTimeout adds the timeout to the describe backup params

func (*DescribeBackupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DescribeBackupReader

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

DescribeBackupReader is a Reader for the DescribeBackup structure.

func (*DescribeBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeServiceDefault

type DescribeServiceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeServiceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDescribeServiceDefault

func NewDescribeServiceDefault(code int) *DescribeServiceDefault

NewDescribeServiceDefault creates a DescribeServiceDefault with default headers values

func (*DescribeServiceDefault) Code

func (o *DescribeServiceDefault) Code() int

Code gets the status code for the describe service default response

func (*DescribeServiceDefault) Error

func (o *DescribeServiceDefault) Error() string

func (*DescribeServiceDefault) GetPayload

func (o *DescribeServiceDefault) GetPayload() *models.Error

func (*DescribeServiceDefault) IsClientError

func (o *DescribeServiceDefault) IsClientError() bool

IsClientError returns true when this describe service default response has a 4xx status code

func (*DescribeServiceDefault) IsCode

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

IsCode returns true when this describe service default response a status code equal to that given

func (*DescribeServiceDefault) IsRedirect

func (o *DescribeServiceDefault) IsRedirect() bool

IsRedirect returns true when this describe service default response has a 3xx status code

func (*DescribeServiceDefault) IsServerError

func (o *DescribeServiceDefault) IsServerError() bool

IsServerError returns true when this describe service default response has a 5xx status code

func (*DescribeServiceDefault) IsSuccess

func (o *DescribeServiceDefault) IsSuccess() bool

IsSuccess returns true when this describe service default response has a 2xx status code

func (*DescribeServiceDefault) String

func (o *DescribeServiceDefault) String() string

type DescribeServiceOK

type DescribeServiceOK struct {
	Payload *models.DescribeServiceResponse
}

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

Expected response to a valid request.

func NewDescribeServiceOK

func NewDescribeServiceOK() *DescribeServiceOK

NewDescribeServiceOK creates a DescribeServiceOK with default headers values

func (*DescribeServiceOK) Code

func (o *DescribeServiceOK) Code() int

Code gets the status code for the describe service o k response

func (*DescribeServiceOK) Error

func (o *DescribeServiceOK) Error() string

func (*DescribeServiceOK) GetPayload

func (*DescribeServiceOK) IsClientError

func (o *DescribeServiceOK) IsClientError() bool

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

func (*DescribeServiceOK) IsCode

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

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

func (*DescribeServiceOK) IsRedirect

func (o *DescribeServiceOK) IsRedirect() bool

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

func (*DescribeServiceOK) IsServerError

func (o *DescribeServiceOK) IsServerError() bool

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

func (*DescribeServiceOK) IsSuccess

func (o *DescribeServiceOK) IsSuccess() bool

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

func (*DescribeServiceOK) String

func (o *DescribeServiceOK) String() string

type DescribeServiceParams

type DescribeServiceParams struct {

	// Input.
	Input *models.DescribeServiceRequest

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

DescribeServiceParams contains all the parameters to send to the API endpoint

for the describe service operation.

Typically these are written to a http.Request.

func NewDescribeServiceParams

func NewDescribeServiceParams() *DescribeServiceParams

NewDescribeServiceParams creates a new DescribeServiceParams 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 NewDescribeServiceParamsWithContext

func NewDescribeServiceParamsWithContext(ctx context.Context) *DescribeServiceParams

NewDescribeServiceParamsWithContext creates a new DescribeServiceParams object with the ability to set a context for a request.

func NewDescribeServiceParamsWithHTTPClient

func NewDescribeServiceParamsWithHTTPClient(client *http.Client) *DescribeServiceParams

NewDescribeServiceParamsWithHTTPClient creates a new DescribeServiceParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeServiceParamsWithTimeout

func NewDescribeServiceParamsWithTimeout(timeout time.Duration) *DescribeServiceParams

NewDescribeServiceParamsWithTimeout creates a new DescribeServiceParams object with the ability to set a timeout on a request.

func (*DescribeServiceParams) SetContext

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

SetContext adds the context to the describe service params

func (*DescribeServiceParams) SetDefaults

func (o *DescribeServiceParams) SetDefaults()

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

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

func (*DescribeServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe service params

func (*DescribeServiceParams) SetInput

SetInput adds the input to the describe service params

func (*DescribeServiceParams) SetTimeout

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

SetTimeout adds the timeout to the describe service params

func (*DescribeServiceParams) WithContext

WithContext adds the context to the describe service params

func (*DescribeServiceParams) WithDefaults

func (o *DescribeServiceParams) WithDefaults() *DescribeServiceParams

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

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

func (*DescribeServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe service params

func (*DescribeServiceParams) WithInput

WithInput adds the input to the describe service params

func (*DescribeServiceParams) WithTimeout

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

WithTimeout adds the timeout to the describe service params

func (*DescribeServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DescribeServiceReader

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

DescribeServiceReader is a Reader for the DescribeService structure.

func (*DescribeServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeVcDefault

type DescribeVcDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeVcDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDescribeVcDefault

func NewDescribeVcDefault(code int) *DescribeVcDefault

NewDescribeVcDefault creates a DescribeVcDefault with default headers values

func (*DescribeVcDefault) Code

func (o *DescribeVcDefault) Code() int

Code gets the status code for the describe vc default response

func (*DescribeVcDefault) Error

func (o *DescribeVcDefault) Error() string

func (*DescribeVcDefault) GetPayload

func (o *DescribeVcDefault) GetPayload() *models.Error

func (*DescribeVcDefault) IsClientError

func (o *DescribeVcDefault) IsClientError() bool

IsClientError returns true when this describe vc default response has a 4xx status code

func (*DescribeVcDefault) IsCode

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

IsCode returns true when this describe vc default response a status code equal to that given

func (*DescribeVcDefault) IsRedirect

func (o *DescribeVcDefault) IsRedirect() bool

IsRedirect returns true when this describe vc default response has a 3xx status code

func (*DescribeVcDefault) IsServerError

func (o *DescribeVcDefault) IsServerError() bool

IsServerError returns true when this describe vc default response has a 5xx status code

func (*DescribeVcDefault) IsSuccess

func (o *DescribeVcDefault) IsSuccess() bool

IsSuccess returns true when this describe vc default response has a 2xx status code

func (*DescribeVcDefault) String

func (o *DescribeVcDefault) String() string

type DescribeVcOK

type DescribeVcOK struct {
	Payload *models.DescribeVcResponse
}

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

Expected response to a valid request.

func NewDescribeVcOK

func NewDescribeVcOK() *DescribeVcOK

NewDescribeVcOK creates a DescribeVcOK with default headers values

func (*DescribeVcOK) Code

func (o *DescribeVcOK) Code() int

Code gets the status code for the describe vc o k response

func (*DescribeVcOK) Error

func (o *DescribeVcOK) Error() string

func (*DescribeVcOK) GetPayload

func (o *DescribeVcOK) GetPayload() *models.DescribeVcResponse

func (*DescribeVcOK) IsClientError

func (o *DescribeVcOK) IsClientError() bool

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

func (*DescribeVcOK) IsCode

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

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

func (*DescribeVcOK) IsRedirect

func (o *DescribeVcOK) IsRedirect() bool

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

func (*DescribeVcOK) IsServerError

func (o *DescribeVcOK) IsServerError() bool

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

func (*DescribeVcOK) IsSuccess

func (o *DescribeVcOK) IsSuccess() bool

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

func (*DescribeVcOK) String

func (o *DescribeVcOK) String() string

type DescribeVcParams

type DescribeVcParams struct {

	// Input.
	Input *models.DescribeVcRequest

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

DescribeVcParams contains all the parameters to send to the API endpoint

for the describe vc operation.

Typically these are written to a http.Request.

func NewDescribeVcParams

func NewDescribeVcParams() *DescribeVcParams

NewDescribeVcParams creates a new DescribeVcParams 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 NewDescribeVcParamsWithContext

func NewDescribeVcParamsWithContext(ctx context.Context) *DescribeVcParams

NewDescribeVcParamsWithContext creates a new DescribeVcParams object with the ability to set a context for a request.

func NewDescribeVcParamsWithHTTPClient

func NewDescribeVcParamsWithHTTPClient(client *http.Client) *DescribeVcParams

NewDescribeVcParamsWithHTTPClient creates a new DescribeVcParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeVcParamsWithTimeout

func NewDescribeVcParamsWithTimeout(timeout time.Duration) *DescribeVcParams

NewDescribeVcParamsWithTimeout creates a new DescribeVcParams object with the ability to set a timeout on a request.

func (*DescribeVcParams) SetContext

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

SetContext adds the context to the describe vc params

func (*DescribeVcParams) SetDefaults

func (o *DescribeVcParams) SetDefaults()

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

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

func (*DescribeVcParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe vc params

func (*DescribeVcParams) SetInput

func (o *DescribeVcParams) SetInput(input *models.DescribeVcRequest)

SetInput adds the input to the describe vc params

func (*DescribeVcParams) SetTimeout

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

SetTimeout adds the timeout to the describe vc params

func (*DescribeVcParams) WithContext

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

WithContext adds the context to the describe vc params

func (*DescribeVcParams) WithDefaults

func (o *DescribeVcParams) WithDefaults() *DescribeVcParams

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

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

func (*DescribeVcParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe vc params

func (*DescribeVcParams) WithInput

WithInput adds the input to the describe vc params

func (*DescribeVcParams) WithTimeout

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

WithTimeout adds the timeout to the describe vc params

func (*DescribeVcParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DescribeVcReader

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

DescribeVcReader is a Reader for the DescribeVc structure.

func (*DescribeVcReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableServiceDefault

type DisableServiceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DisableServiceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDisableServiceDefault

func NewDisableServiceDefault(code int) *DisableServiceDefault

NewDisableServiceDefault creates a DisableServiceDefault with default headers values

func (*DisableServiceDefault) Code

func (o *DisableServiceDefault) Code() int

Code gets the status code for the disable service default response

func (*DisableServiceDefault) Error

func (o *DisableServiceDefault) Error() string

func (*DisableServiceDefault) GetPayload

func (o *DisableServiceDefault) GetPayload() *models.Error

func (*DisableServiceDefault) IsClientError

func (o *DisableServiceDefault) IsClientError() bool

IsClientError returns true when this disable service default response has a 4xx status code

func (*DisableServiceDefault) IsCode

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

IsCode returns true when this disable service default response a status code equal to that given

func (*DisableServiceDefault) IsRedirect

func (o *DisableServiceDefault) IsRedirect() bool

IsRedirect returns true when this disable service default response has a 3xx status code

func (*DisableServiceDefault) IsServerError

func (o *DisableServiceDefault) IsServerError() bool

IsServerError returns true when this disable service default response has a 5xx status code

func (*DisableServiceDefault) IsSuccess

func (o *DisableServiceDefault) IsSuccess() bool

IsSuccess returns true when this disable service default response has a 2xx status code

func (*DisableServiceDefault) String

func (o *DisableServiceDefault) String() string

type DisableServiceOK

type DisableServiceOK struct {
	Payload *models.DisableServiceResponse
}

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

Expected response to a valid request.

func NewDisableServiceOK

func NewDisableServiceOK() *DisableServiceOK

NewDisableServiceOK creates a DisableServiceOK with default headers values

func (*DisableServiceOK) Code

func (o *DisableServiceOK) Code() int

Code gets the status code for the disable service o k response

func (*DisableServiceOK) Error

func (o *DisableServiceOK) Error() string

func (*DisableServiceOK) GetPayload

func (*DisableServiceOK) IsClientError

func (o *DisableServiceOK) IsClientError() bool

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

func (*DisableServiceOK) IsCode

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

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

func (*DisableServiceOK) IsRedirect

func (o *DisableServiceOK) IsRedirect() bool

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

func (*DisableServiceOK) IsServerError

func (o *DisableServiceOK) IsServerError() bool

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

func (*DisableServiceOK) IsSuccess

func (o *DisableServiceOK) IsSuccess() bool

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

func (*DisableServiceOK) String

func (o *DisableServiceOK) String() string

type DisableServiceParams

type DisableServiceParams struct {

	// Input.
	Input *models.DisableServiceRequest

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

DisableServiceParams contains all the parameters to send to the API endpoint

for the disable service operation.

Typically these are written to a http.Request.

func NewDisableServiceParams

func NewDisableServiceParams() *DisableServiceParams

NewDisableServiceParams creates a new DisableServiceParams 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 NewDisableServiceParamsWithContext

func NewDisableServiceParamsWithContext(ctx context.Context) *DisableServiceParams

NewDisableServiceParamsWithContext creates a new DisableServiceParams object with the ability to set a context for a request.

func NewDisableServiceParamsWithHTTPClient

func NewDisableServiceParamsWithHTTPClient(client *http.Client) *DisableServiceParams

NewDisableServiceParamsWithHTTPClient creates a new DisableServiceParams object with the ability to set a custom HTTPClient for a request.

func NewDisableServiceParamsWithTimeout

func NewDisableServiceParamsWithTimeout(timeout time.Duration) *DisableServiceParams

NewDisableServiceParamsWithTimeout creates a new DisableServiceParams object with the ability to set a timeout on a request.

func (*DisableServiceParams) SetContext

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

SetContext adds the context to the disable service params

func (*DisableServiceParams) SetDefaults

func (o *DisableServiceParams) SetDefaults()

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

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

func (*DisableServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable service params

func (*DisableServiceParams) SetInput

SetInput adds the input to the disable service params

func (*DisableServiceParams) SetTimeout

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

SetTimeout adds the timeout to the disable service params

func (*DisableServiceParams) WithContext

WithContext adds the context to the disable service params

func (*DisableServiceParams) WithDefaults

func (o *DisableServiceParams) WithDefaults() *DisableServiceParams

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

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

func (*DisableServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable service params

func (*DisableServiceParams) WithInput

WithInput adds the input to the disable service params

func (*DisableServiceParams) WithTimeout

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

WithTimeout adds the timeout to the disable service params

func (*DisableServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisableServiceReader

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

DisableServiceReader is a Reader for the DisableService structure.

func (*DisableServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableServiceDefault

type EnableServiceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

EnableServiceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewEnableServiceDefault

func NewEnableServiceDefault(code int) *EnableServiceDefault

NewEnableServiceDefault creates a EnableServiceDefault with default headers values

func (*EnableServiceDefault) Code

func (o *EnableServiceDefault) Code() int

Code gets the status code for the enable service default response

func (*EnableServiceDefault) Error

func (o *EnableServiceDefault) Error() string

func (*EnableServiceDefault) GetPayload

func (o *EnableServiceDefault) GetPayload() *models.Error

func (*EnableServiceDefault) IsClientError

func (o *EnableServiceDefault) IsClientError() bool

IsClientError returns true when this enable service default response has a 4xx status code

func (*EnableServiceDefault) IsCode

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

IsCode returns true when this enable service default response a status code equal to that given

func (*EnableServiceDefault) IsRedirect

func (o *EnableServiceDefault) IsRedirect() bool

IsRedirect returns true when this enable service default response has a 3xx status code

func (*EnableServiceDefault) IsServerError

func (o *EnableServiceDefault) IsServerError() bool

IsServerError returns true when this enable service default response has a 5xx status code

func (*EnableServiceDefault) IsSuccess

func (o *EnableServiceDefault) IsSuccess() bool

IsSuccess returns true when this enable service default response has a 2xx status code

func (*EnableServiceDefault) String

func (o *EnableServiceDefault) String() string

type EnableServiceOK

type EnableServiceOK struct {
	Payload *models.EnableServiceResponse
}

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

Expected response to a valid request.

func NewEnableServiceOK

func NewEnableServiceOK() *EnableServiceOK

NewEnableServiceOK creates a EnableServiceOK with default headers values

func (*EnableServiceOK) Code

func (o *EnableServiceOK) Code() int

Code gets the status code for the enable service o k response

func (*EnableServiceOK) Error

func (o *EnableServiceOK) Error() string

func (*EnableServiceOK) GetPayload

func (o *EnableServiceOK) GetPayload() *models.EnableServiceResponse

func (*EnableServiceOK) IsClientError

func (o *EnableServiceOK) IsClientError() bool

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

func (*EnableServiceOK) IsCode

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

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

func (*EnableServiceOK) IsRedirect

func (o *EnableServiceOK) IsRedirect() bool

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

func (*EnableServiceOK) IsServerError

func (o *EnableServiceOK) IsServerError() bool

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

func (*EnableServiceOK) IsSuccess

func (o *EnableServiceOK) IsSuccess() bool

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

func (*EnableServiceOK) String

func (o *EnableServiceOK) String() string

type EnableServiceParams

type EnableServiceParams struct {

	// Input.
	Input *models.EnableServiceRequest

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

EnableServiceParams contains all the parameters to send to the API endpoint

for the enable service operation.

Typically these are written to a http.Request.

func NewEnableServiceParams

func NewEnableServiceParams() *EnableServiceParams

NewEnableServiceParams creates a new EnableServiceParams 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 NewEnableServiceParamsWithContext

func NewEnableServiceParamsWithContext(ctx context.Context) *EnableServiceParams

NewEnableServiceParamsWithContext creates a new EnableServiceParams object with the ability to set a context for a request.

func NewEnableServiceParamsWithHTTPClient

func NewEnableServiceParamsWithHTTPClient(client *http.Client) *EnableServiceParams

NewEnableServiceParamsWithHTTPClient creates a new EnableServiceParams object with the ability to set a custom HTTPClient for a request.

func NewEnableServiceParamsWithTimeout

func NewEnableServiceParamsWithTimeout(timeout time.Duration) *EnableServiceParams

NewEnableServiceParamsWithTimeout creates a new EnableServiceParams object with the ability to set a timeout on a request.

func (*EnableServiceParams) SetContext

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

SetContext adds the context to the enable service params

func (*EnableServiceParams) SetDefaults

func (o *EnableServiceParams) SetDefaults()

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

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

func (*EnableServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable service params

func (*EnableServiceParams) SetInput

func (o *EnableServiceParams) SetInput(input *models.EnableServiceRequest)

SetInput adds the input to the enable service params

func (*EnableServiceParams) SetTimeout

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

SetTimeout adds the timeout to the enable service params

func (*EnableServiceParams) WithContext

WithContext adds the context to the enable service params

func (*EnableServiceParams) WithDefaults

func (o *EnableServiceParams) WithDefaults() *EnableServiceParams

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

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

func (*EnableServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable service params

func (*EnableServiceParams) WithInput

WithInput adds the input to the enable service params

func (*EnableServiceParams) WithTimeout

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

WithTimeout adds the timeout to the enable service params

func (*EnableServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnableServiceReader

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

EnableServiceReader is a Reader for the EnableService structure.

func (*EnableServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupLogsDefault

type GetBackupLogsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetBackupLogsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetBackupLogsDefault

func NewGetBackupLogsDefault(code int) *GetBackupLogsDefault

NewGetBackupLogsDefault creates a GetBackupLogsDefault with default headers values

func (*GetBackupLogsDefault) Code

func (o *GetBackupLogsDefault) Code() int

Code gets the status code for the get backup logs default response

func (*GetBackupLogsDefault) Error

func (o *GetBackupLogsDefault) Error() string

func (*GetBackupLogsDefault) GetPayload

func (o *GetBackupLogsDefault) GetPayload() *models.Error

func (*GetBackupLogsDefault) IsClientError

func (o *GetBackupLogsDefault) IsClientError() bool

IsClientError returns true when this get backup logs default response has a 4xx status code

func (*GetBackupLogsDefault) IsCode

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

IsCode returns true when this get backup logs default response a status code equal to that given

func (*GetBackupLogsDefault) IsRedirect

func (o *GetBackupLogsDefault) IsRedirect() bool

IsRedirect returns true when this get backup logs default response has a 3xx status code

func (*GetBackupLogsDefault) IsServerError

func (o *GetBackupLogsDefault) IsServerError() bool

IsServerError returns true when this get backup logs default response has a 5xx status code

func (*GetBackupLogsDefault) IsSuccess

func (o *GetBackupLogsDefault) IsSuccess() bool

IsSuccess returns true when this get backup logs default response has a 2xx status code

func (*GetBackupLogsDefault) String

func (o *GetBackupLogsDefault) String() string

type GetBackupLogsOK

type GetBackupLogsOK struct {
	Payload *models.GetBackupLogsResponse
}

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

Response object for Get Backup Logs command.

func NewGetBackupLogsOK

func NewGetBackupLogsOK() *GetBackupLogsOK

NewGetBackupLogsOK creates a GetBackupLogsOK with default headers values

func (*GetBackupLogsOK) Code

func (o *GetBackupLogsOK) Code() int

Code gets the status code for the get backup logs o k response

func (*GetBackupLogsOK) Error

func (o *GetBackupLogsOK) Error() string

func (*GetBackupLogsOK) GetPayload

func (o *GetBackupLogsOK) GetPayload() *models.GetBackupLogsResponse

func (*GetBackupLogsOK) IsClientError

func (o *GetBackupLogsOK) IsClientError() bool

IsClientError returns true when this get backup logs o k response has a 4xx status code

func (*GetBackupLogsOK) IsCode

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

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

func (*GetBackupLogsOK) IsRedirect

func (o *GetBackupLogsOK) IsRedirect() bool

IsRedirect returns true when this get backup logs o k response has a 3xx status code

func (*GetBackupLogsOK) IsServerError

func (o *GetBackupLogsOK) IsServerError() bool

IsServerError returns true when this get backup logs o k response has a 5xx status code

func (*GetBackupLogsOK) IsSuccess

func (o *GetBackupLogsOK) IsSuccess() bool

IsSuccess returns true when this get backup logs o k response has a 2xx status code

func (*GetBackupLogsOK) String

func (o *GetBackupLogsOK) String() string

type GetBackupLogsParams

type GetBackupLogsParams struct {

	// Input.
	Input *models.GetBackupLogsRequest

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

GetBackupLogsParams contains all the parameters to send to the API endpoint

for the get backup logs operation.

Typically these are written to a http.Request.

func NewGetBackupLogsParams

func NewGetBackupLogsParams() *GetBackupLogsParams

NewGetBackupLogsParams creates a new GetBackupLogsParams 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 NewGetBackupLogsParamsWithContext

func NewGetBackupLogsParamsWithContext(ctx context.Context) *GetBackupLogsParams

NewGetBackupLogsParamsWithContext creates a new GetBackupLogsParams object with the ability to set a context for a request.

func NewGetBackupLogsParamsWithHTTPClient

func NewGetBackupLogsParamsWithHTTPClient(client *http.Client) *GetBackupLogsParams

NewGetBackupLogsParamsWithHTTPClient creates a new GetBackupLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupLogsParamsWithTimeout

func NewGetBackupLogsParamsWithTimeout(timeout time.Duration) *GetBackupLogsParams

NewGetBackupLogsParamsWithTimeout creates a new GetBackupLogsParams object with the ability to set a timeout on a request.

func (*GetBackupLogsParams) SetContext

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

SetContext adds the context to the get backup logs params

func (*GetBackupLogsParams) SetDefaults

func (o *GetBackupLogsParams) SetDefaults()

SetDefaults hydrates default values in the get backup logs params (not the query body).

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

func (*GetBackupLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup logs params

func (*GetBackupLogsParams) SetInput

func (o *GetBackupLogsParams) SetInput(input *models.GetBackupLogsRequest)

SetInput adds the input to the get backup logs params

func (*GetBackupLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get backup logs params

func (*GetBackupLogsParams) WithContext

WithContext adds the context to the get backup logs params

func (*GetBackupLogsParams) WithDefaults

func (o *GetBackupLogsParams) WithDefaults() *GetBackupLogsParams

WithDefaults hydrates default values in the get backup logs params (not the query body).

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

func (*GetBackupLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get backup logs params

func (*GetBackupLogsParams) WithInput

WithInput adds the input to the get backup logs params

func (*GetBackupLogsParams) WithTimeout

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

WithTimeout adds the timeout to the get backup logs params

func (*GetBackupLogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBackupLogsReader

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

GetBackupLogsReader is a Reader for the GetBackupLogs structure.

func (*GetBackupLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKubeconfigDefault

type GetKubeconfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetKubeconfigDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetKubeconfigDefault

func NewGetKubeconfigDefault(code int) *GetKubeconfigDefault

NewGetKubeconfigDefault creates a GetKubeconfigDefault with default headers values

func (*GetKubeconfigDefault) Code

func (o *GetKubeconfigDefault) Code() int

Code gets the status code for the get kubeconfig default response

func (*GetKubeconfigDefault) Error

func (o *GetKubeconfigDefault) Error() string

func (*GetKubeconfigDefault) GetPayload

func (o *GetKubeconfigDefault) GetPayload() *models.Error

func (*GetKubeconfigDefault) IsClientError

func (o *GetKubeconfigDefault) IsClientError() bool

IsClientError returns true when this get kubeconfig default response has a 4xx status code

func (*GetKubeconfigDefault) IsCode

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

IsCode returns true when this get kubeconfig default response a status code equal to that given

func (*GetKubeconfigDefault) IsRedirect

func (o *GetKubeconfigDefault) IsRedirect() bool

IsRedirect returns true when this get kubeconfig default response has a 3xx status code

func (*GetKubeconfigDefault) IsServerError

func (o *GetKubeconfigDefault) IsServerError() bool

IsServerError returns true when this get kubeconfig default response has a 5xx status code

func (*GetKubeconfigDefault) IsSuccess

func (o *GetKubeconfigDefault) IsSuccess() bool

IsSuccess returns true when this get kubeconfig default response has a 2xx status code

func (*GetKubeconfigDefault) String

func (o *GetKubeconfigDefault) String() string

type GetKubeconfigOK

type GetKubeconfigOK struct {
	Payload *models.GetKubeconfigResponse
}

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

Expected response to a valid request.

func NewGetKubeconfigOK

func NewGetKubeconfigOK() *GetKubeconfigOK

NewGetKubeconfigOK creates a GetKubeconfigOK with default headers values

func (*GetKubeconfigOK) Code

func (o *GetKubeconfigOK) Code() int

Code gets the status code for the get kubeconfig o k response

func (*GetKubeconfigOK) Error

func (o *GetKubeconfigOK) Error() string

func (*GetKubeconfigOK) GetPayload

func (o *GetKubeconfigOK) GetPayload() *models.GetKubeconfigResponse

func (*GetKubeconfigOK) IsClientError

func (o *GetKubeconfigOK) IsClientError() bool

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

func (*GetKubeconfigOK) IsCode

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

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

func (*GetKubeconfigOK) IsRedirect

func (o *GetKubeconfigOK) IsRedirect() bool

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

func (*GetKubeconfigOK) IsServerError

func (o *GetKubeconfigOK) IsServerError() bool

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

func (*GetKubeconfigOK) IsSuccess

func (o *GetKubeconfigOK) IsSuccess() bool

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

func (*GetKubeconfigOK) String

func (o *GetKubeconfigOK) String() string

type GetKubeconfigParams

type GetKubeconfigParams struct {

	// Input.
	Input *models.GetKubeconfigRequest

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

GetKubeconfigParams contains all the parameters to send to the API endpoint

for the get kubeconfig operation.

Typically these are written to a http.Request.

func NewGetKubeconfigParams

func NewGetKubeconfigParams() *GetKubeconfigParams

NewGetKubeconfigParams creates a new GetKubeconfigParams 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 NewGetKubeconfigParamsWithContext

func NewGetKubeconfigParamsWithContext(ctx context.Context) *GetKubeconfigParams

NewGetKubeconfigParamsWithContext creates a new GetKubeconfigParams object with the ability to set a context for a request.

func NewGetKubeconfigParamsWithHTTPClient

func NewGetKubeconfigParamsWithHTTPClient(client *http.Client) *GetKubeconfigParams

NewGetKubeconfigParamsWithHTTPClient creates a new GetKubeconfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetKubeconfigParamsWithTimeout

func NewGetKubeconfigParamsWithTimeout(timeout time.Duration) *GetKubeconfigParams

NewGetKubeconfigParamsWithTimeout creates a new GetKubeconfigParams object with the ability to set a timeout on a request.

func (*GetKubeconfigParams) SetContext

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

SetContext adds the context to the get kubeconfig params

func (*GetKubeconfigParams) SetDefaults

func (o *GetKubeconfigParams) SetDefaults()

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

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

func (*GetKubeconfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get kubeconfig params

func (*GetKubeconfigParams) SetInput

func (o *GetKubeconfigParams) SetInput(input *models.GetKubeconfigRequest)

SetInput adds the input to the get kubeconfig params

func (*GetKubeconfigParams) SetTimeout

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

SetTimeout adds the timeout to the get kubeconfig params

func (*GetKubeconfigParams) WithContext

WithContext adds the context to the get kubeconfig params

func (*GetKubeconfigParams) WithDefaults

func (o *GetKubeconfigParams) WithDefaults() *GetKubeconfigParams

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

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

func (*GetKubeconfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get kubeconfig params

func (*GetKubeconfigParams) WithInput

WithInput adds the input to the get kubeconfig params

func (*GetKubeconfigParams) WithTimeout

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

WithTimeout adds the timeout to the get kubeconfig params

func (*GetKubeconfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetKubeconfigReader

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

GetKubeconfigReader is a Reader for the GetKubeconfig structure.

func (*GetKubeconfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceInitLogsDefault

type GetServiceInitLogsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetServiceInitLogsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetServiceInitLogsDefault

func NewGetServiceInitLogsDefault(code int) *GetServiceInitLogsDefault

NewGetServiceInitLogsDefault creates a GetServiceInitLogsDefault with default headers values

func (*GetServiceInitLogsDefault) Code

func (o *GetServiceInitLogsDefault) Code() int

Code gets the status code for the get service init logs default response

func (*GetServiceInitLogsDefault) Error

func (o *GetServiceInitLogsDefault) Error() string

func (*GetServiceInitLogsDefault) GetPayload

func (o *GetServiceInitLogsDefault) GetPayload() *models.Error

func (*GetServiceInitLogsDefault) IsClientError

func (o *GetServiceInitLogsDefault) IsClientError() bool

IsClientError returns true when this get service init logs default response has a 4xx status code

func (*GetServiceInitLogsDefault) IsCode

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

IsCode returns true when this get service init logs default response a status code equal to that given

func (*GetServiceInitLogsDefault) IsRedirect

func (o *GetServiceInitLogsDefault) IsRedirect() bool

IsRedirect returns true when this get service init logs default response has a 3xx status code

func (*GetServiceInitLogsDefault) IsServerError

func (o *GetServiceInitLogsDefault) IsServerError() bool

IsServerError returns true when this get service init logs default response has a 5xx status code

func (*GetServiceInitLogsDefault) IsSuccess

func (o *GetServiceInitLogsDefault) IsSuccess() bool

IsSuccess returns true when this get service init logs default response has a 2xx status code

func (*GetServiceInitLogsDefault) String

func (o *GetServiceInitLogsDefault) String() string

type GetServiceInitLogsOK

type GetServiceInitLogsOK struct {
	Payload *models.GetServiceInitLogsResponse
}

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

Response object for Get Service Init Logs command.

func NewGetServiceInitLogsOK

func NewGetServiceInitLogsOK() *GetServiceInitLogsOK

NewGetServiceInitLogsOK creates a GetServiceInitLogsOK with default headers values

func (*GetServiceInitLogsOK) Code

func (o *GetServiceInitLogsOK) Code() int

Code gets the status code for the get service init logs o k response

func (*GetServiceInitLogsOK) Error

func (o *GetServiceInitLogsOK) Error() string

func (*GetServiceInitLogsOK) GetPayload

func (*GetServiceInitLogsOK) IsClientError

func (o *GetServiceInitLogsOK) IsClientError() bool

IsClientError returns true when this get service init logs o k response has a 4xx status code

func (*GetServiceInitLogsOK) IsCode

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

IsCode returns true when this get service init logs o k response a status code equal to that given

func (*GetServiceInitLogsOK) IsRedirect

func (o *GetServiceInitLogsOK) IsRedirect() bool

IsRedirect returns true when this get service init logs o k response has a 3xx status code

func (*GetServiceInitLogsOK) IsServerError

func (o *GetServiceInitLogsOK) IsServerError() bool

IsServerError returns true when this get service init logs o k response has a 5xx status code

func (*GetServiceInitLogsOK) IsSuccess

func (o *GetServiceInitLogsOK) IsSuccess() bool

IsSuccess returns true when this get service init logs o k response has a 2xx status code

func (*GetServiceInitLogsOK) String

func (o *GetServiceInitLogsOK) String() string

type GetServiceInitLogsParams

type GetServiceInitLogsParams struct {

	// Input.
	Input *models.GetServiceInitLogsRequest

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

GetServiceInitLogsParams contains all the parameters to send to the API endpoint

for the get service init logs operation.

Typically these are written to a http.Request.

func NewGetServiceInitLogsParams

func NewGetServiceInitLogsParams() *GetServiceInitLogsParams

NewGetServiceInitLogsParams creates a new GetServiceInitLogsParams 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 NewGetServiceInitLogsParamsWithContext

func NewGetServiceInitLogsParamsWithContext(ctx context.Context) *GetServiceInitLogsParams

NewGetServiceInitLogsParamsWithContext creates a new GetServiceInitLogsParams object with the ability to set a context for a request.

func NewGetServiceInitLogsParamsWithHTTPClient

func NewGetServiceInitLogsParamsWithHTTPClient(client *http.Client) *GetServiceInitLogsParams

NewGetServiceInitLogsParamsWithHTTPClient creates a new GetServiceInitLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceInitLogsParamsWithTimeout

func NewGetServiceInitLogsParamsWithTimeout(timeout time.Duration) *GetServiceInitLogsParams

NewGetServiceInitLogsParamsWithTimeout creates a new GetServiceInitLogsParams object with the ability to set a timeout on a request.

func (*GetServiceInitLogsParams) SetContext

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

SetContext adds the context to the get service init logs params

func (*GetServiceInitLogsParams) SetDefaults

func (o *GetServiceInitLogsParams) SetDefaults()

SetDefaults hydrates default values in the get service init logs params (not the query body).

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

func (*GetServiceInitLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service init logs params

func (*GetServiceInitLogsParams) SetInput

SetInput adds the input to the get service init logs params

func (*GetServiceInitLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get service init logs params

func (*GetServiceInitLogsParams) WithContext

WithContext adds the context to the get service init logs params

func (*GetServiceInitLogsParams) WithDefaults

WithDefaults hydrates default values in the get service init logs params (not the query body).

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

func (*GetServiceInitLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get service init logs params

func (*GetServiceInitLogsParams) WithInput

WithInput adds the input to the get service init logs params

func (*GetServiceInitLogsParams) WithTimeout

WithTimeout adds the timeout to the get service init logs params

func (*GetServiceInitLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceInitLogsReader

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

GetServiceInitLogsReader is a Reader for the GetServiceInitLogs structure.

func (*GetServiceInitLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUpgradeStatusDefault added in v0.7.4

type GetUpgradeStatusDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetUpgradeStatusDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetUpgradeStatusDefault added in v0.7.4

func NewGetUpgradeStatusDefault(code int) *GetUpgradeStatusDefault

NewGetUpgradeStatusDefault creates a GetUpgradeStatusDefault with default headers values

func (*GetUpgradeStatusDefault) Code added in v0.7.4

func (o *GetUpgradeStatusDefault) Code() int

Code gets the status code for the get upgrade status default response

func (*GetUpgradeStatusDefault) Error added in v0.7.4

func (o *GetUpgradeStatusDefault) Error() string

func (*GetUpgradeStatusDefault) GetPayload added in v0.7.4

func (o *GetUpgradeStatusDefault) GetPayload() *models.Error

func (*GetUpgradeStatusDefault) IsClientError added in v0.7.4

func (o *GetUpgradeStatusDefault) IsClientError() bool

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

func (*GetUpgradeStatusDefault) IsCode added in v0.7.4

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

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

func (*GetUpgradeStatusDefault) IsRedirect added in v0.7.4

func (o *GetUpgradeStatusDefault) IsRedirect() bool

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

func (*GetUpgradeStatusDefault) IsServerError added in v0.7.4

func (o *GetUpgradeStatusDefault) IsServerError() bool

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

func (*GetUpgradeStatusDefault) IsSuccess added in v0.7.4

func (o *GetUpgradeStatusDefault) IsSuccess() bool

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

func (*GetUpgradeStatusDefault) String added in v0.7.4

func (o *GetUpgradeStatusDefault) String() string

type GetUpgradeStatusOK added in v0.7.4

type GetUpgradeStatusOK struct {
	Payload *models.GetUpgradeStatusResponse
}

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

Expected response to a valid request.

func NewGetUpgradeStatusOK added in v0.7.4

func NewGetUpgradeStatusOK() *GetUpgradeStatusOK

NewGetUpgradeStatusOK creates a GetUpgradeStatusOK with default headers values

func (*GetUpgradeStatusOK) Code added in v0.7.4

func (o *GetUpgradeStatusOK) Code() int

Code gets the status code for the get upgrade status o k response

func (*GetUpgradeStatusOK) Error added in v0.7.4

func (o *GetUpgradeStatusOK) Error() string

func (*GetUpgradeStatusOK) GetPayload added in v0.7.4

func (*GetUpgradeStatusOK) IsClientError added in v0.7.4

func (o *GetUpgradeStatusOK) IsClientError() bool

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

func (*GetUpgradeStatusOK) IsCode added in v0.7.4

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

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

func (*GetUpgradeStatusOK) IsRedirect added in v0.7.4

func (o *GetUpgradeStatusOK) IsRedirect() bool

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

func (*GetUpgradeStatusOK) IsServerError added in v0.7.4

func (o *GetUpgradeStatusOK) IsServerError() bool

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

func (*GetUpgradeStatusOK) IsSuccess added in v0.7.4

func (o *GetUpgradeStatusOK) IsSuccess() bool

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

func (*GetUpgradeStatusOK) String added in v0.7.4

func (o *GetUpgradeStatusOK) String() string

type GetUpgradeStatusParams added in v0.7.4

type GetUpgradeStatusParams struct {

	// Input.
	Input *models.GetUpgradeStatusRequest

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

GetUpgradeStatusParams contains all the parameters to send to the API endpoint

for the get upgrade status operation.

Typically these are written to a http.Request.

func NewGetUpgradeStatusParams added in v0.7.4

func NewGetUpgradeStatusParams() *GetUpgradeStatusParams

NewGetUpgradeStatusParams creates a new GetUpgradeStatusParams 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 NewGetUpgradeStatusParamsWithContext added in v0.7.4

func NewGetUpgradeStatusParamsWithContext(ctx context.Context) *GetUpgradeStatusParams

NewGetUpgradeStatusParamsWithContext creates a new GetUpgradeStatusParams object with the ability to set a context for a request.

func NewGetUpgradeStatusParamsWithHTTPClient added in v0.7.4

func NewGetUpgradeStatusParamsWithHTTPClient(client *http.Client) *GetUpgradeStatusParams

NewGetUpgradeStatusParamsWithHTTPClient creates a new GetUpgradeStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetUpgradeStatusParamsWithTimeout added in v0.7.4

func NewGetUpgradeStatusParamsWithTimeout(timeout time.Duration) *GetUpgradeStatusParams

NewGetUpgradeStatusParamsWithTimeout creates a new GetUpgradeStatusParams object with the ability to set a timeout on a request.

func (*GetUpgradeStatusParams) SetContext added in v0.7.4

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

SetContext adds the context to the get upgrade status params

func (*GetUpgradeStatusParams) SetDefaults added in v0.7.4

func (o *GetUpgradeStatusParams) SetDefaults()

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

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

func (*GetUpgradeStatusParams) SetHTTPClient added in v0.7.4

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

SetHTTPClient adds the HTTPClient to the get upgrade status params

func (*GetUpgradeStatusParams) SetInput added in v0.7.4

SetInput adds the input to the get upgrade status params

func (*GetUpgradeStatusParams) SetTimeout added in v0.7.4

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

SetTimeout adds the timeout to the get upgrade status params

func (*GetUpgradeStatusParams) WithContext added in v0.7.4

WithContext adds the context to the get upgrade status params

func (*GetUpgradeStatusParams) WithDefaults added in v0.7.4

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

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

func (*GetUpgradeStatusParams) WithHTTPClient added in v0.7.4

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

WithHTTPClient adds the HTTPClient to the get upgrade status params

func (*GetUpgradeStatusParams) WithInput added in v0.7.4

WithInput adds the input to the get upgrade status params

func (*GetUpgradeStatusParams) WithTimeout added in v0.7.4

WithTimeout adds the timeout to the get upgrade status params

func (*GetUpgradeStatusParams) WriteToRequest added in v0.7.4

WriteToRequest writes these params to a swagger request

type GetUpgradeStatusReader added in v0.7.4

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

GetUpgradeStatusReader is a Reader for the GetUpgradeStatus structure.

func (*GetUpgradeStatusReader) ReadResponse added in v0.7.4

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

ReadResponse reads a server response into the received o.

type ListBackupsDefault

type ListBackupsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListBackupsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewListBackupsDefault

func NewListBackupsDefault(code int) *ListBackupsDefault

NewListBackupsDefault creates a ListBackupsDefault with default headers values

func (*ListBackupsDefault) Code

func (o *ListBackupsDefault) Code() int

Code gets the status code for the list backups default response

func (*ListBackupsDefault) Error

func (o *ListBackupsDefault) Error() string

func (*ListBackupsDefault) GetPayload

func (o *ListBackupsDefault) GetPayload() *models.Error

func (*ListBackupsDefault) IsClientError

func (o *ListBackupsDefault) IsClientError() bool

IsClientError returns true when this list backups default response has a 4xx status code

func (*ListBackupsDefault) IsCode

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

IsCode returns true when this list backups default response a status code equal to that given

func (*ListBackupsDefault) IsRedirect

func (o *ListBackupsDefault) IsRedirect() bool

IsRedirect returns true when this list backups default response has a 3xx status code

func (*ListBackupsDefault) IsServerError

func (o *ListBackupsDefault) IsServerError() bool

IsServerError returns true when this list backups default response has a 5xx status code

func (*ListBackupsDefault) IsSuccess

func (o *ListBackupsDefault) IsSuccess() bool

IsSuccess returns true when this list backups default response has a 2xx status code

func (*ListBackupsDefault) String

func (o *ListBackupsDefault) String() string

type ListBackupsOK

type ListBackupsOK struct {
	Payload *models.ListBackupsResponse
}

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

Response object for List Backups command.

func NewListBackupsOK

func NewListBackupsOK() *ListBackupsOK

NewListBackupsOK creates a ListBackupsOK with default headers values

func (*ListBackupsOK) Code

func (o *ListBackupsOK) Code() int

Code gets the status code for the list backups o k response

func (*ListBackupsOK) Error

func (o *ListBackupsOK) Error() string

func (*ListBackupsOK) GetPayload

func (o *ListBackupsOK) GetPayload() *models.ListBackupsResponse

func (*ListBackupsOK) IsClientError

func (o *ListBackupsOK) IsClientError() bool

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

func (*ListBackupsOK) IsCode

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

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

func (*ListBackupsOK) IsRedirect

func (o *ListBackupsOK) IsRedirect() bool

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

func (*ListBackupsOK) IsServerError

func (o *ListBackupsOK) IsServerError() bool

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

func (*ListBackupsOK) IsSuccess

func (o *ListBackupsOK) IsSuccess() bool

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

func (*ListBackupsOK) String

func (o *ListBackupsOK) String() string

type ListBackupsParams

type ListBackupsParams struct {

	// Input.
	Input *models.ListBackupsRequest

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

ListBackupsParams contains all the parameters to send to the API endpoint

for the list backups operation.

Typically these are written to a http.Request.

func NewListBackupsParams

func NewListBackupsParams() *ListBackupsParams

NewListBackupsParams creates a new ListBackupsParams 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 NewListBackupsParamsWithContext

func NewListBackupsParamsWithContext(ctx context.Context) *ListBackupsParams

NewListBackupsParamsWithContext creates a new ListBackupsParams object with the ability to set a context for a request.

func NewListBackupsParamsWithHTTPClient

func NewListBackupsParamsWithHTTPClient(client *http.Client) *ListBackupsParams

NewListBackupsParamsWithHTTPClient creates a new ListBackupsParams object with the ability to set a custom HTTPClient for a request.

func NewListBackupsParamsWithTimeout

func NewListBackupsParamsWithTimeout(timeout time.Duration) *ListBackupsParams

NewListBackupsParamsWithTimeout creates a new ListBackupsParams object with the ability to set a timeout on a request.

func (*ListBackupsParams) SetContext

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

SetContext adds the context to the list backups params

func (*ListBackupsParams) SetDefaults

func (o *ListBackupsParams) SetDefaults()

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

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

func (*ListBackupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list backups params

func (*ListBackupsParams) SetInput

func (o *ListBackupsParams) SetInput(input *models.ListBackupsRequest)

SetInput adds the input to the list backups params

func (*ListBackupsParams) SetTimeout

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

SetTimeout adds the timeout to the list backups params

func (*ListBackupsParams) WithContext

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

WithContext adds the context to the list backups params

func (*ListBackupsParams) WithDefaults

func (o *ListBackupsParams) WithDefaults() *ListBackupsParams

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

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

func (*ListBackupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list backups params

func (*ListBackupsParams) WithInput

WithInput adds the input to the list backups params

func (*ListBackupsParams) WithTimeout

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

WithTimeout adds the timeout to the list backups params

func (*ListBackupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListBackupsReader

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

ListBackupsReader is a Reader for the ListBackups structure.

func (*ListBackupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServicesDefault

type ListServicesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListServicesDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewListServicesDefault

func NewListServicesDefault(code int) *ListServicesDefault

NewListServicesDefault creates a ListServicesDefault with default headers values

func (*ListServicesDefault) Code

func (o *ListServicesDefault) Code() int

Code gets the status code for the list services default response

func (*ListServicesDefault) Error

func (o *ListServicesDefault) Error() string

func (*ListServicesDefault) GetPayload

func (o *ListServicesDefault) GetPayload() *models.Error

func (*ListServicesDefault) IsClientError

func (o *ListServicesDefault) IsClientError() bool

IsClientError returns true when this list services default response has a 4xx status code

func (*ListServicesDefault) IsCode

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

IsCode returns true when this list services default response a status code equal to that given

func (*ListServicesDefault) IsRedirect

func (o *ListServicesDefault) IsRedirect() bool

IsRedirect returns true when this list services default response has a 3xx status code

func (*ListServicesDefault) IsServerError

func (o *ListServicesDefault) IsServerError() bool

IsServerError returns true when this list services default response has a 5xx status code

func (*ListServicesDefault) IsSuccess

func (o *ListServicesDefault) IsSuccess() bool

IsSuccess returns true when this list services default response has a 2xx status code

func (*ListServicesDefault) String

func (o *ListServicesDefault) String() string

type ListServicesOK

type ListServicesOK struct {
	Payload *models.ListServicesResponse
}

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

Expected response to a valid request.

func NewListServicesOK

func NewListServicesOK() *ListServicesOK

NewListServicesOK creates a ListServicesOK with default headers values

func (*ListServicesOK) Code

func (o *ListServicesOK) Code() int

Code gets the status code for the list services o k response

func (*ListServicesOK) Error

func (o *ListServicesOK) Error() string

func (*ListServicesOK) GetPayload

func (o *ListServicesOK) GetPayload() *models.ListServicesResponse

func (*ListServicesOK) IsClientError

func (o *ListServicesOK) IsClientError() bool

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

func (*ListServicesOK) IsCode

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

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

func (*ListServicesOK) IsRedirect

func (o *ListServicesOK) IsRedirect() bool

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

func (*ListServicesOK) IsServerError

func (o *ListServicesOK) IsServerError() bool

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

func (*ListServicesOK) IsSuccess

func (o *ListServicesOK) IsSuccess() bool

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

func (*ListServicesOK) String

func (o *ListServicesOK) String() string

type ListServicesParams

type ListServicesParams struct {

	// Input.
	Input *models.ListServicesRequest

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

ListServicesParams contains all the parameters to send to the API endpoint

for the list services operation.

Typically these are written to a http.Request.

func NewListServicesParams

func NewListServicesParams() *ListServicesParams

NewListServicesParams creates a new ListServicesParams 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 NewListServicesParamsWithContext

func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams

NewListServicesParamsWithContext creates a new ListServicesParams object with the ability to set a context for a request.

func NewListServicesParamsWithHTTPClient

func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams

NewListServicesParamsWithHTTPClient creates a new ListServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListServicesParamsWithTimeout

func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams

NewListServicesParamsWithTimeout creates a new ListServicesParams object with the ability to set a timeout on a request.

func (*ListServicesParams) SetContext

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

SetContext adds the context to the list services params

func (*ListServicesParams) SetDefaults

func (o *ListServicesParams) SetDefaults()

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

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

func (*ListServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) SetInput

func (o *ListServicesParams) SetInput(input *models.ListServicesRequest)

SetInput adds the input to the list services params

func (*ListServicesParams) SetTimeout

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

SetTimeout adds the timeout to the list services params

func (*ListServicesParams) WithContext

WithContext adds the context to the list services params

func (*ListServicesParams) WithDefaults

func (o *ListServicesParams) WithDefaults() *ListServicesParams

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

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

func (*ListServicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) WithInput

WithInput adds the input to the list services params

func (*ListServicesParams) WithTimeout

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

WithTimeout adds the timeout to the list services params

func (*ListServicesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListServicesReader

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

ListServicesReader is a Reader for the ListServices structure.

func (*ListServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVcsDefault

type ListVcsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListVcsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewListVcsDefault

func NewListVcsDefault(code int) *ListVcsDefault

NewListVcsDefault creates a ListVcsDefault with default headers values

func (*ListVcsDefault) Code

func (o *ListVcsDefault) Code() int

Code gets the status code for the list vcs default response

func (*ListVcsDefault) Error

func (o *ListVcsDefault) Error() string

func (*ListVcsDefault) GetPayload

func (o *ListVcsDefault) GetPayload() *models.Error

func (*ListVcsDefault) IsClientError

func (o *ListVcsDefault) IsClientError() bool

IsClientError returns true when this list vcs default response has a 4xx status code

func (*ListVcsDefault) IsCode

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

IsCode returns true when this list vcs default response a status code equal to that given

func (*ListVcsDefault) IsRedirect

func (o *ListVcsDefault) IsRedirect() bool

IsRedirect returns true when this list vcs default response has a 3xx status code

func (*ListVcsDefault) IsServerError

func (o *ListVcsDefault) IsServerError() bool

IsServerError returns true when this list vcs default response has a 5xx status code

func (*ListVcsDefault) IsSuccess

func (o *ListVcsDefault) IsSuccess() bool

IsSuccess returns true when this list vcs default response has a 2xx status code

func (*ListVcsDefault) String

func (o *ListVcsDefault) String() string

type ListVcsOK

type ListVcsOK struct {
	Payload *models.ListVcsResponse
}

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

Expected response to a valid request.

func NewListVcsOK

func NewListVcsOK() *ListVcsOK

NewListVcsOK creates a ListVcsOK with default headers values

func (*ListVcsOK) Code

func (o *ListVcsOK) Code() int

Code gets the status code for the list vcs o k response

func (*ListVcsOK) Error

func (o *ListVcsOK) Error() string

func (*ListVcsOK) GetPayload

func (o *ListVcsOK) GetPayload() *models.ListVcsResponse

func (*ListVcsOK) IsClientError

func (o *ListVcsOK) IsClientError() bool

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

func (*ListVcsOK) IsCode

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

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

func (*ListVcsOK) IsRedirect

func (o *ListVcsOK) IsRedirect() bool

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

func (*ListVcsOK) IsServerError

func (o *ListVcsOK) IsServerError() bool

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

func (*ListVcsOK) IsSuccess

func (o *ListVcsOK) IsSuccess() bool

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

func (*ListVcsOK) String

func (o *ListVcsOK) String() string

type ListVcsParams

type ListVcsParams struct {

	// Input.
	Input *models.ListVcsRequest

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

ListVcsParams contains all the parameters to send to the API endpoint

for the list vcs operation.

Typically these are written to a http.Request.

func NewListVcsParams

func NewListVcsParams() *ListVcsParams

NewListVcsParams creates a new ListVcsParams 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 NewListVcsParamsWithContext

func NewListVcsParamsWithContext(ctx context.Context) *ListVcsParams

NewListVcsParamsWithContext creates a new ListVcsParams object with the ability to set a context for a request.

func NewListVcsParamsWithHTTPClient

func NewListVcsParamsWithHTTPClient(client *http.Client) *ListVcsParams

NewListVcsParamsWithHTTPClient creates a new ListVcsParams object with the ability to set a custom HTTPClient for a request.

func NewListVcsParamsWithTimeout

func NewListVcsParamsWithTimeout(timeout time.Duration) *ListVcsParams

NewListVcsParamsWithTimeout creates a new ListVcsParams object with the ability to set a timeout on a request.

func (*ListVcsParams) SetContext

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

SetContext adds the context to the list vcs params

func (*ListVcsParams) SetDefaults

func (o *ListVcsParams) SetDefaults()

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

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

func (*ListVcsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list vcs params

func (*ListVcsParams) SetInput

func (o *ListVcsParams) SetInput(input *models.ListVcsRequest)

SetInput adds the input to the list vcs params

func (*ListVcsParams) SetTimeout

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

SetTimeout adds the timeout to the list vcs params

func (*ListVcsParams) WithContext

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

WithContext adds the context to the list vcs params

func (*ListVcsParams) WithDefaults

func (o *ListVcsParams) WithDefaults() *ListVcsParams

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

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

func (*ListVcsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list vcs params

func (*ListVcsParams) WithInput

func (o *ListVcsParams) WithInput(input *models.ListVcsRequest) *ListVcsParams

WithInput adds the input to the list vcs params

func (*ListVcsParams) WithTimeout

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

WithTimeout adds the timeout to the list vcs params

func (*ListVcsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListVcsReader

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

ListVcsReader is a Reader for the ListVcs structure.

func (*ListVcsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreServiceDefault

type RestoreServiceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

RestoreServiceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewRestoreServiceDefault

func NewRestoreServiceDefault(code int) *RestoreServiceDefault

NewRestoreServiceDefault creates a RestoreServiceDefault with default headers values

func (*RestoreServiceDefault) Code

func (o *RestoreServiceDefault) Code() int

Code gets the status code for the restore service default response

func (*RestoreServiceDefault) Error

func (o *RestoreServiceDefault) Error() string

func (*RestoreServiceDefault) GetPayload

func (o *RestoreServiceDefault) GetPayload() *models.Error

func (*RestoreServiceDefault) IsClientError

func (o *RestoreServiceDefault) IsClientError() bool

IsClientError returns true when this restore service default response has a 4xx status code

func (*RestoreServiceDefault) IsCode

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

IsCode returns true when this restore service default response a status code equal to that given

func (*RestoreServiceDefault) IsRedirect

func (o *RestoreServiceDefault) IsRedirect() bool

IsRedirect returns true when this restore service default response has a 3xx status code

func (*RestoreServiceDefault) IsServerError

func (o *RestoreServiceDefault) IsServerError() bool

IsServerError returns true when this restore service default response has a 5xx status code

func (*RestoreServiceDefault) IsSuccess

func (o *RestoreServiceDefault) IsSuccess() bool

IsSuccess returns true when this restore service default response has a 2xx status code

func (*RestoreServiceDefault) String

func (o *RestoreServiceDefault) String() string

type RestoreServiceOK

type RestoreServiceOK struct {
	Payload *models.RestoreServiceResponse
}

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

Response object for Restore Service command.

func NewRestoreServiceOK

func NewRestoreServiceOK() *RestoreServiceOK

NewRestoreServiceOK creates a RestoreServiceOK with default headers values

func (*RestoreServiceOK) Code

func (o *RestoreServiceOK) Code() int

Code gets the status code for the restore service o k response

func (*RestoreServiceOK) Error

func (o *RestoreServiceOK) Error() string

func (*RestoreServiceOK) GetPayload

func (*RestoreServiceOK) IsClientError

func (o *RestoreServiceOK) IsClientError() bool

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

func (*RestoreServiceOK) IsCode

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

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

func (*RestoreServiceOK) IsRedirect

func (o *RestoreServiceOK) IsRedirect() bool

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

func (*RestoreServiceOK) IsServerError

func (o *RestoreServiceOK) IsServerError() bool

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

func (*RestoreServiceOK) IsSuccess

func (o *RestoreServiceOK) IsSuccess() bool

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

func (*RestoreServiceOK) String

func (o *RestoreServiceOK) String() string

type RestoreServiceParams

type RestoreServiceParams struct {

	// Input.
	Input *models.RestoreServiceRequest

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

RestoreServiceParams contains all the parameters to send to the API endpoint

for the restore service operation.

Typically these are written to a http.Request.

func NewRestoreServiceParams

func NewRestoreServiceParams() *RestoreServiceParams

NewRestoreServiceParams creates a new RestoreServiceParams 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 NewRestoreServiceParamsWithContext

func NewRestoreServiceParamsWithContext(ctx context.Context) *RestoreServiceParams

NewRestoreServiceParamsWithContext creates a new RestoreServiceParams object with the ability to set a context for a request.

func NewRestoreServiceParamsWithHTTPClient

func NewRestoreServiceParamsWithHTTPClient(client *http.Client) *RestoreServiceParams

NewRestoreServiceParamsWithHTTPClient creates a new RestoreServiceParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreServiceParamsWithTimeout

func NewRestoreServiceParamsWithTimeout(timeout time.Duration) *RestoreServiceParams

NewRestoreServiceParamsWithTimeout creates a new RestoreServiceParams object with the ability to set a timeout on a request.

func (*RestoreServiceParams) SetContext

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

SetContext adds the context to the restore service params

func (*RestoreServiceParams) SetDefaults

func (o *RestoreServiceParams) SetDefaults()

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

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

func (*RestoreServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore service params

func (*RestoreServiceParams) SetInput

SetInput adds the input to the restore service params

func (*RestoreServiceParams) SetTimeout

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

SetTimeout adds the timeout to the restore service params

func (*RestoreServiceParams) WithContext

WithContext adds the context to the restore service params

func (*RestoreServiceParams) WithDefaults

func (o *RestoreServiceParams) WithDefaults() *RestoreServiceParams

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

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

func (*RestoreServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore service params

func (*RestoreServiceParams) WithInput

WithInput adds the input to the restore service params

func (*RestoreServiceParams) WithTimeout

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

WithTimeout adds the timeout to the restore service params

func (*RestoreServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestoreServiceReader

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

RestoreServiceReader is a Reader for the RestoreService structure.

func (*RestoreServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServiceDefault

type UpdateServiceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpdateServiceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewUpdateServiceDefault

func NewUpdateServiceDefault(code int) *UpdateServiceDefault

NewUpdateServiceDefault creates a UpdateServiceDefault with default headers values

func (*UpdateServiceDefault) Code

func (o *UpdateServiceDefault) Code() int

Code gets the status code for the update service default response

func (*UpdateServiceDefault) Error

func (o *UpdateServiceDefault) Error() string

func (*UpdateServiceDefault) GetPayload

func (o *UpdateServiceDefault) GetPayload() *models.Error

func (*UpdateServiceDefault) IsClientError

func (o *UpdateServiceDefault) IsClientError() bool

IsClientError returns true when this update service default response has a 4xx status code

func (*UpdateServiceDefault) IsCode

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

IsCode returns true when this update service default response a status code equal to that given

func (*UpdateServiceDefault) IsRedirect

func (o *UpdateServiceDefault) IsRedirect() bool

IsRedirect returns true when this update service default response has a 3xx status code

func (*UpdateServiceDefault) IsServerError

func (o *UpdateServiceDefault) IsServerError() bool

IsServerError returns true when this update service default response has a 5xx status code

func (*UpdateServiceDefault) IsSuccess

func (o *UpdateServiceDefault) IsSuccess() bool

IsSuccess returns true when this update service default response has a 2xx status code

func (*UpdateServiceDefault) String

func (o *UpdateServiceDefault) String() string

type UpdateServiceOK

type UpdateServiceOK struct {
	Payload *models.UpdateServiceResponse
}

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

Expected response to a valid request.

func NewUpdateServiceOK

func NewUpdateServiceOK() *UpdateServiceOK

NewUpdateServiceOK creates a UpdateServiceOK with default headers values

func (*UpdateServiceOK) Code

func (o *UpdateServiceOK) Code() int

Code gets the status code for the update service o k response

func (*UpdateServiceOK) Error

func (o *UpdateServiceOK) Error() string

func (*UpdateServiceOK) GetPayload

func (o *UpdateServiceOK) GetPayload() *models.UpdateServiceResponse

func (*UpdateServiceOK) IsClientError

func (o *UpdateServiceOK) IsClientError() bool

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

func (*UpdateServiceOK) IsCode

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

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

func (*UpdateServiceOK) IsRedirect

func (o *UpdateServiceOK) IsRedirect() bool

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

func (*UpdateServiceOK) IsServerError

func (o *UpdateServiceOK) IsServerError() bool

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

func (*UpdateServiceOK) IsSuccess

func (o *UpdateServiceOK) IsSuccess() bool

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

func (*UpdateServiceOK) String

func (o *UpdateServiceOK) String() string

type UpdateServiceParams

type UpdateServiceParams struct {

	// Input.
	Input *models.UpdateServiceRequest

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

UpdateServiceParams contains all the parameters to send to the API endpoint

for the update service operation.

Typically these are written to a http.Request.

func NewUpdateServiceParams

func NewUpdateServiceParams() *UpdateServiceParams

NewUpdateServiceParams creates a new UpdateServiceParams 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 NewUpdateServiceParamsWithContext

func NewUpdateServiceParamsWithContext(ctx context.Context) *UpdateServiceParams

NewUpdateServiceParamsWithContext creates a new UpdateServiceParams object with the ability to set a context for a request.

func NewUpdateServiceParamsWithHTTPClient

func NewUpdateServiceParamsWithHTTPClient(client *http.Client) *UpdateServiceParams

NewUpdateServiceParamsWithHTTPClient creates a new UpdateServiceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServiceParamsWithTimeout

func NewUpdateServiceParamsWithTimeout(timeout time.Duration) *UpdateServiceParams

NewUpdateServiceParamsWithTimeout creates a new UpdateServiceParams object with the ability to set a timeout on a request.

func (*UpdateServiceParams) SetContext

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

SetContext adds the context to the update service params

func (*UpdateServiceParams) SetDefaults

func (o *UpdateServiceParams) SetDefaults()

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

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

func (*UpdateServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service params

func (*UpdateServiceParams) SetInput

func (o *UpdateServiceParams) SetInput(input *models.UpdateServiceRequest)

SetInput adds the input to the update service params

func (*UpdateServiceParams) SetTimeout

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

SetTimeout adds the timeout to the update service params

func (*UpdateServiceParams) WithContext

WithContext adds the context to the update service params

func (*UpdateServiceParams) WithDefaults

func (o *UpdateServiceParams) WithDefaults() *UpdateServiceParams

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

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

func (*UpdateServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update service params

func (*UpdateServiceParams) WithInput

WithInput adds the input to the update service params

func (*UpdateServiceParams) WithTimeout

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

WithTimeout adds the timeout to the update service params

func (*UpdateServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateServiceReader

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

UpdateServiceReader is a Reader for the UpdateService structure.

func (*UpdateServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateVcDefault

type UpdateVcDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpdateVcDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewUpdateVcDefault

func NewUpdateVcDefault(code int) *UpdateVcDefault

NewUpdateVcDefault creates a UpdateVcDefault with default headers values

func (*UpdateVcDefault) Code

func (o *UpdateVcDefault) Code() int

Code gets the status code for the update vc default response

func (*UpdateVcDefault) Error

func (o *UpdateVcDefault) Error() string

func (*UpdateVcDefault) GetPayload

func (o *UpdateVcDefault) GetPayload() *models.Error

func (*UpdateVcDefault) IsClientError

func (o *UpdateVcDefault) IsClientError() bool

IsClientError returns true when this update vc default response has a 4xx status code

func (*UpdateVcDefault) IsCode

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

IsCode returns true when this update vc default response a status code equal to that given

func (*UpdateVcDefault) IsRedirect

func (o *UpdateVcDefault) IsRedirect() bool

IsRedirect returns true when this update vc default response has a 3xx status code

func (*UpdateVcDefault) IsServerError

func (o *UpdateVcDefault) IsServerError() bool

IsServerError returns true when this update vc default response has a 5xx status code

func (*UpdateVcDefault) IsSuccess

func (o *UpdateVcDefault) IsSuccess() bool

IsSuccess returns true when this update vc default response has a 2xx status code

func (*UpdateVcDefault) String

func (o *UpdateVcDefault) String() string

type UpdateVcOK

type UpdateVcOK struct {
	Payload *models.UpdateVcResponse
}

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

Expected response to a valid request.

func NewUpdateVcOK

func NewUpdateVcOK() *UpdateVcOK

NewUpdateVcOK creates a UpdateVcOK with default headers values

func (*UpdateVcOK) Code

func (o *UpdateVcOK) Code() int

Code gets the status code for the update vc o k response

func (*UpdateVcOK) Error

func (o *UpdateVcOK) Error() string

func (*UpdateVcOK) GetPayload

func (o *UpdateVcOK) GetPayload() *models.UpdateVcResponse

func (*UpdateVcOK) IsClientError

func (o *UpdateVcOK) IsClientError() bool

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

func (*UpdateVcOK) IsCode

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

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

func (*UpdateVcOK) IsRedirect

func (o *UpdateVcOK) IsRedirect() bool

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

func (*UpdateVcOK) IsServerError

func (o *UpdateVcOK) IsServerError() bool

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

func (*UpdateVcOK) IsSuccess

func (o *UpdateVcOK) IsSuccess() bool

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

func (*UpdateVcOK) String

func (o *UpdateVcOK) String() string

type UpdateVcParams

type UpdateVcParams struct {

	// Input.
	Input *models.UpdateVcRequest

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

UpdateVcParams contains all the parameters to send to the API endpoint

for the update vc operation.

Typically these are written to a http.Request.

func NewUpdateVcParams

func NewUpdateVcParams() *UpdateVcParams

NewUpdateVcParams creates a new UpdateVcParams 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 NewUpdateVcParamsWithContext

func NewUpdateVcParamsWithContext(ctx context.Context) *UpdateVcParams

NewUpdateVcParamsWithContext creates a new UpdateVcParams object with the ability to set a context for a request.

func NewUpdateVcParamsWithHTTPClient

func NewUpdateVcParamsWithHTTPClient(client *http.Client) *UpdateVcParams

NewUpdateVcParamsWithHTTPClient creates a new UpdateVcParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVcParamsWithTimeout

func NewUpdateVcParamsWithTimeout(timeout time.Duration) *UpdateVcParams

NewUpdateVcParamsWithTimeout creates a new UpdateVcParams object with the ability to set a timeout on a request.

func (*UpdateVcParams) SetContext

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

SetContext adds the context to the update vc params

func (*UpdateVcParams) SetDefaults

func (o *UpdateVcParams) SetDefaults()

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

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

func (*UpdateVcParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update vc params

func (*UpdateVcParams) SetInput

func (o *UpdateVcParams) SetInput(input *models.UpdateVcRequest)

SetInput adds the input to the update vc params

func (*UpdateVcParams) SetTimeout

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

SetTimeout adds the timeout to the update vc params

func (*UpdateVcParams) WithContext

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

WithContext adds the context to the update vc params

func (*UpdateVcParams) WithDefaults

func (o *UpdateVcParams) WithDefaults() *UpdateVcParams

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

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

func (*UpdateVcParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update vc params

func (*UpdateVcParams) WithInput

func (o *UpdateVcParams) WithInput(input *models.UpdateVcRequest) *UpdateVcParams

WithInput adds the input to the update vc params

func (*UpdateVcParams) WithTimeout

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

WithTimeout adds the timeout to the update vc params

func (*UpdateVcParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateVcReader

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

UpdateVcReader is a Reader for the UpdateVc structure.

func (*UpdateVcReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpgradeServiceDefault added in v0.7.4

type UpgradeServiceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpgradeServiceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewUpgradeServiceDefault added in v0.7.4

func NewUpgradeServiceDefault(code int) *UpgradeServiceDefault

NewUpgradeServiceDefault creates a UpgradeServiceDefault with default headers values

func (*UpgradeServiceDefault) Code added in v0.7.4

func (o *UpgradeServiceDefault) Code() int

Code gets the status code for the upgrade service default response

func (*UpgradeServiceDefault) Error added in v0.7.4

func (o *UpgradeServiceDefault) Error() string

func (*UpgradeServiceDefault) GetPayload added in v0.7.4

func (o *UpgradeServiceDefault) GetPayload() *models.Error

func (*UpgradeServiceDefault) IsClientError added in v0.7.4

func (o *UpgradeServiceDefault) IsClientError() bool

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

func (*UpgradeServiceDefault) IsCode added in v0.7.4

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

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

func (*UpgradeServiceDefault) IsRedirect added in v0.7.4

func (o *UpgradeServiceDefault) IsRedirect() bool

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

func (*UpgradeServiceDefault) IsServerError added in v0.7.4

func (o *UpgradeServiceDefault) IsServerError() bool

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

func (*UpgradeServiceDefault) IsSuccess added in v0.7.4

func (o *UpgradeServiceDefault) IsSuccess() bool

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

func (*UpgradeServiceDefault) String added in v0.7.4

func (o *UpgradeServiceDefault) String() string

type UpgradeServiceOK added in v0.7.4

type UpgradeServiceOK struct {
	Payload *models.UpgradeServiceResponse
}

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

Expected response to a valid request.

func NewUpgradeServiceOK added in v0.7.4

func NewUpgradeServiceOK() *UpgradeServiceOK

NewUpgradeServiceOK creates a UpgradeServiceOK with default headers values

func (*UpgradeServiceOK) Code added in v0.7.4

func (o *UpgradeServiceOK) Code() int

Code gets the status code for the upgrade service o k response

func (*UpgradeServiceOK) Error added in v0.7.4

func (o *UpgradeServiceOK) Error() string

func (*UpgradeServiceOK) GetPayload added in v0.7.4

func (*UpgradeServiceOK) IsClientError added in v0.7.4

func (o *UpgradeServiceOK) IsClientError() bool

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

func (*UpgradeServiceOK) IsCode added in v0.7.4

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

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

func (*UpgradeServiceOK) IsRedirect added in v0.7.4

func (o *UpgradeServiceOK) IsRedirect() bool

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

func (*UpgradeServiceOK) IsServerError added in v0.7.4

func (o *UpgradeServiceOK) IsServerError() bool

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

func (*UpgradeServiceOK) IsSuccess added in v0.7.4

func (o *UpgradeServiceOK) IsSuccess() bool

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

func (*UpgradeServiceOK) String added in v0.7.4

func (o *UpgradeServiceOK) String() string

type UpgradeServiceParams added in v0.7.4

type UpgradeServiceParams struct {

	// Input.
	Input *models.UpgradeServiceRequest

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

UpgradeServiceParams contains all the parameters to send to the API endpoint

for the upgrade service operation.

Typically these are written to a http.Request.

func NewUpgradeServiceParams added in v0.7.4

func NewUpgradeServiceParams() *UpgradeServiceParams

NewUpgradeServiceParams creates a new UpgradeServiceParams 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 NewUpgradeServiceParamsWithContext added in v0.7.4

func NewUpgradeServiceParamsWithContext(ctx context.Context) *UpgradeServiceParams

NewUpgradeServiceParamsWithContext creates a new UpgradeServiceParams object with the ability to set a context for a request.

func NewUpgradeServiceParamsWithHTTPClient added in v0.7.4

func NewUpgradeServiceParamsWithHTTPClient(client *http.Client) *UpgradeServiceParams

NewUpgradeServiceParamsWithHTTPClient creates a new UpgradeServiceParams object with the ability to set a custom HTTPClient for a request.

func NewUpgradeServiceParamsWithTimeout added in v0.7.4

func NewUpgradeServiceParamsWithTimeout(timeout time.Duration) *UpgradeServiceParams

NewUpgradeServiceParamsWithTimeout creates a new UpgradeServiceParams object with the ability to set a timeout on a request.

func (*UpgradeServiceParams) SetContext added in v0.7.4

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

SetContext adds the context to the upgrade service params

func (*UpgradeServiceParams) SetDefaults added in v0.7.4

func (o *UpgradeServiceParams) SetDefaults()

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

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

func (*UpgradeServiceParams) SetHTTPClient added in v0.7.4

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

SetHTTPClient adds the HTTPClient to the upgrade service params

func (*UpgradeServiceParams) SetInput added in v0.7.4

SetInput adds the input to the upgrade service params

func (*UpgradeServiceParams) SetTimeout added in v0.7.4

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

SetTimeout adds the timeout to the upgrade service params

func (*UpgradeServiceParams) WithContext added in v0.7.4

WithContext adds the context to the upgrade service params

func (*UpgradeServiceParams) WithDefaults added in v0.7.4

func (o *UpgradeServiceParams) WithDefaults() *UpgradeServiceParams

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

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

func (*UpgradeServiceParams) WithHTTPClient added in v0.7.4

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

WithHTTPClient adds the HTTPClient to the upgrade service params

func (*UpgradeServiceParams) WithInput added in v0.7.4

WithInput adds the input to the upgrade service params

func (*UpgradeServiceParams) WithTimeout added in v0.7.4

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

WithTimeout adds the timeout to the upgrade service params

func (*UpgradeServiceParams) WriteToRequest added in v0.7.4

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

WriteToRequest writes these params to a swagger request

type UpgradeServiceReader added in v0.7.4

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

UpgradeServiceReader is a Reader for the UpgradeService structure.

func (*UpgradeServiceReader) ReadResponse added in v0.7.4

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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