backup

package
v0.0.0-...-a27efb4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// GetBackupOfClusterOKBodyStatusPENDING captures enum value "PENDING"
	GetBackupOfClusterOKBodyStatusPENDING string = "PENDING"

	// GetBackupOfClusterOKBodyStatusRUNNING captures enum value "RUNNING"
	GetBackupOfClusterOKBodyStatusRUNNING string = "RUNNING"

	// GetBackupOfClusterOKBodyStatusFAILED captures enum value "FAILED"
	GetBackupOfClusterOKBodyStatusFAILED string = "FAILED"

	// GetBackupOfClusterOKBodyStatusSUCCESS captures enum value "SUCCESS"
	GetBackupOfClusterOKBodyStatusSUCCESS string = "SUCCESS"
)
View Source
const (

	// GetBackupOfClusterOKBodyTypeMANUAL captures enum value "MANUAL"
	GetBackupOfClusterOKBodyTypeMANUAL string = "MANUAL"

	// GetBackupOfClusterOKBodyTypeAUTO captures enum value "AUTO"
	GetBackupOfClusterOKBodyTypeAUTO string = "AUTO"
)
View Source
const (

	// ListBackUpOfClusterOKBodyItemsItems0StatusPENDING captures enum value "PENDING"
	ListBackUpOfClusterOKBodyItemsItems0StatusPENDING string = "PENDING"

	// ListBackUpOfClusterOKBodyItemsItems0StatusRUNNING captures enum value "RUNNING"
	ListBackUpOfClusterOKBodyItemsItems0StatusRUNNING string = "RUNNING"

	// ListBackUpOfClusterOKBodyItemsItems0StatusFAILED captures enum value "FAILED"
	ListBackUpOfClusterOKBodyItemsItems0StatusFAILED string = "FAILED"

	// ListBackUpOfClusterOKBodyItemsItems0StatusSUCCESS captures enum value "SUCCESS"
	ListBackUpOfClusterOKBodyItemsItems0StatusSUCCESS string = "SUCCESS"
)
View Source
const (

	// ListBackUpOfClusterOKBodyItemsItems0TypeMANUAL captures enum value "MANUAL"
	ListBackUpOfClusterOKBodyItemsItems0TypeMANUAL string = "MANUAL"

	// ListBackUpOfClusterOKBodyItemsItems0TypeAUTO captures enum value "AUTO"
	ListBackUpOfClusterOKBodyItemsItems0TypeAUTO string = "AUTO"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for backup API

func (*Client) CreateBackup

func (a *Client) CreateBackup(params *CreateBackupParams, opts ...ClientOption) (*CreateBackupOK, error)
CreateBackup creates a backup for a cluster

- For TiDB Dedicated clusters, you can create as many manual backups as you need.

- For TiDB Serverless clusters, you cannot create backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.

func (*Client) DeleteBackup

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

DeleteBackup deletes a backup for a cluster

For TiDB Serverless clusters, you cannot manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.

func (*Client) GetBackupOfCluster

func (a *Client) GetBackupOfCluster(params *GetBackupOfClusterParams, opts ...ClientOption) (*GetBackupOfClusterOK, error)

GetBackupOfCluster gets a backup for a cluster

For TiDB Serverless clusters, you cannot manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.

func (*Client) ListBackUpOfCluster

func (a *Client) ListBackUpOfCluster(params *ListBackUpOfClusterParams, opts ...ClientOption) (*ListBackUpOfClusterOK, error)

ListBackUpOfCluster lists all backups for a cluster

For TiDB Serverless clusters, you cannot manage backups via API. You can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as backups.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateBackup(params *CreateBackupParams, opts ...ClientOption) (*CreateBackupOK, error)

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

	GetBackupOfCluster(params *GetBackupOfClusterParams, opts ...ClientOption) (*GetBackupOfClusterOK, error)

	ListBackUpOfCluster(params *ListBackUpOfClusterParams, opts ...ClientOption) (*ListBackUpOfClusterOK, 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 backup API client.

type CreateBackupBadRequest

type CreateBackupBadRequest struct {
	Payload *CreateBackupBadRequestBody
}

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

A request field is invalid.

func NewCreateBackupBadRequest

func NewCreateBackupBadRequest() *CreateBackupBadRequest

NewCreateBackupBadRequest creates a CreateBackupBadRequest with default headers values

func (*CreateBackupBadRequest) Code

func (o *CreateBackupBadRequest) Code() int

Code gets the status code for the create backup bad request response

func (*CreateBackupBadRequest) Error

func (o *CreateBackupBadRequest) Error() string

func (*CreateBackupBadRequest) GetPayload

func (*CreateBackupBadRequest) IsClientError

func (o *CreateBackupBadRequest) IsClientError() bool

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

func (*CreateBackupBadRequest) IsCode

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

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

func (*CreateBackupBadRequest) IsRedirect

func (o *CreateBackupBadRequest) IsRedirect() bool

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

func (*CreateBackupBadRequest) IsServerError

func (o *CreateBackupBadRequest) IsServerError() bool

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

func (*CreateBackupBadRequest) IsSuccess

func (o *CreateBackupBadRequest) IsSuccess() bool

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

func (*CreateBackupBadRequest) String

func (o *CreateBackupBadRequest) String() string

type CreateBackupBadRequestBody

type CreateBackupBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateBackupBadRequestBody create backup bad request body swagger:model CreateBackupBadRequestBody

func (*CreateBackupBadRequestBody) ContextValidate

func (o *CreateBackupBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup bad request body based on context it is used

func (*CreateBackupBadRequestBody) MarshalBinary

func (o *CreateBackupBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupBadRequestBody) UnmarshalBinary

func (o *CreateBackupBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupBadRequestBody) Validate

func (o *CreateBackupBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this create backup bad request body

type CreateBackupBody

type CreateBackupBody struct {

	// The description of the backup. It helps you add additional information to the backup. Allows up to 256 characters.
	// Example: backup-1
	Description *string `json:"description,omitempty"`

	// Specify the name for a manual backup. It is recommended that you use a unique name, so that it is easy to distinguish the backup when you query the backups.
	// Example: backup-1
	// Required: true
	Name *string `json:"name"`
}

CreateBackupBody CreateBackupReq // // This request for creating a MANUAL type backup. swagger:model CreateBackupBody

func (*CreateBackupBody) ContextValidate

func (o *CreateBackupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup body based on context it is used

func (*CreateBackupBody) MarshalBinary

func (o *CreateBackupBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupBody) UnmarshalBinary

func (o *CreateBackupBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupBody) Validate

func (o *CreateBackupBody) Validate(formats strfmt.Registry) error

Validate validates this create backup body

type CreateBackupDefault

type CreateBackupDefault struct {
	Payload *CreateBackupDefaultBody
	// contains filtered or unexported fields
}

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

An unexpected error response.

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 (*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 CreateBackupDefaultBody

type CreateBackupDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*CreateBackupDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

CreateBackupDefaultBody create backup default body swagger:model CreateBackupDefaultBody

func (*CreateBackupDefaultBody) ContextValidate

func (o *CreateBackupDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create backup default body based on the context it is used

func (*CreateBackupDefaultBody) MarshalBinary

func (o *CreateBackupDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupDefaultBody) UnmarshalBinary

func (o *CreateBackupDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupDefaultBody) Validate

func (o *CreateBackupDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this create backup default body

type CreateBackupDefaultBodyDetailsItems0

type CreateBackupDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

CreateBackupDefaultBodyDetailsItems0 create backup default body details items0 swagger:model CreateBackupDefaultBodyDetailsItems0

func (*CreateBackupDefaultBodyDetailsItems0) ContextValidate

func (o *CreateBackupDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup default body details items0 based on context it is used

func (*CreateBackupDefaultBodyDetailsItems0) MarshalBinary

func (o *CreateBackupDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupDefaultBodyDetailsItems0) UnmarshalBinary

func (o *CreateBackupDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupDefaultBodyDetailsItems0) Validate

Validate validates this create backup default body details items0

type CreateBackupForbidden

type CreateBackupForbidden struct {
	Payload *CreateBackupForbiddenBody
}

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

The API key does not have permission to access the resource.

func NewCreateBackupForbidden

func NewCreateBackupForbidden() *CreateBackupForbidden

NewCreateBackupForbidden creates a CreateBackupForbidden with default headers values

func (*CreateBackupForbidden) Code

func (o *CreateBackupForbidden) Code() int

Code gets the status code for the create backup forbidden response

func (*CreateBackupForbidden) Error

func (o *CreateBackupForbidden) Error() string

func (*CreateBackupForbidden) GetPayload

func (*CreateBackupForbidden) IsClientError

func (o *CreateBackupForbidden) IsClientError() bool

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

func (*CreateBackupForbidden) IsCode

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

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

func (*CreateBackupForbidden) IsRedirect

func (o *CreateBackupForbidden) IsRedirect() bool

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

func (*CreateBackupForbidden) IsServerError

func (o *CreateBackupForbidden) IsServerError() bool

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

func (*CreateBackupForbidden) IsSuccess

func (o *CreateBackupForbidden) IsSuccess() bool

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

func (*CreateBackupForbidden) String

func (o *CreateBackupForbidden) String() string

type CreateBackupForbiddenBody

type CreateBackupForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateBackupForbiddenBody create backup forbidden body swagger:model CreateBackupForbiddenBody

func (*CreateBackupForbiddenBody) ContextValidate

func (o *CreateBackupForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup forbidden body based on context it is used

func (*CreateBackupForbiddenBody) MarshalBinary

func (o *CreateBackupForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupForbiddenBody) UnmarshalBinary

func (o *CreateBackupForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupForbiddenBody) Validate

func (o *CreateBackupForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this create backup forbidden body

type CreateBackupInternalServerError

type CreateBackupInternalServerError struct {
	Payload *CreateBackupInternalServerErrorBody
}

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

Server error.

func NewCreateBackupInternalServerError

func NewCreateBackupInternalServerError() *CreateBackupInternalServerError

NewCreateBackupInternalServerError creates a CreateBackupInternalServerError with default headers values

func (*CreateBackupInternalServerError) Code

Code gets the status code for the create backup internal server error response

func (*CreateBackupInternalServerError) Error

func (*CreateBackupInternalServerError) GetPayload

func (*CreateBackupInternalServerError) IsClientError

func (o *CreateBackupInternalServerError) IsClientError() bool

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

func (*CreateBackupInternalServerError) IsCode

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

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

func (*CreateBackupInternalServerError) IsRedirect

func (o *CreateBackupInternalServerError) IsRedirect() bool

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

func (*CreateBackupInternalServerError) IsServerError

func (o *CreateBackupInternalServerError) IsServerError() bool

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

func (*CreateBackupInternalServerError) IsSuccess

func (o *CreateBackupInternalServerError) IsSuccess() bool

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

func (*CreateBackupInternalServerError) String

type CreateBackupInternalServerErrorBody

type CreateBackupInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateBackupInternalServerErrorBody create backup internal server error body swagger:model CreateBackupInternalServerErrorBody

func (*CreateBackupInternalServerErrorBody) ContextValidate

func (o *CreateBackupInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup internal server error body based on context it is used

func (*CreateBackupInternalServerErrorBody) MarshalBinary

func (o *CreateBackupInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupInternalServerErrorBody) UnmarshalBinary

func (o *CreateBackupInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupInternalServerErrorBody) Validate

Validate validates this create backup internal server error body

type CreateBackupNotFound

type CreateBackupNotFound struct {
	Payload *CreateBackupNotFoundBody
}

CreateBackupNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewCreateBackupNotFound

func NewCreateBackupNotFound() *CreateBackupNotFound

NewCreateBackupNotFound creates a CreateBackupNotFound with default headers values

func (*CreateBackupNotFound) Code

func (o *CreateBackupNotFound) Code() int

Code gets the status code for the create backup not found response

func (*CreateBackupNotFound) Error

func (o *CreateBackupNotFound) Error() string

func (*CreateBackupNotFound) GetPayload

func (*CreateBackupNotFound) IsClientError

func (o *CreateBackupNotFound) IsClientError() bool

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

func (*CreateBackupNotFound) IsCode

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

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

func (*CreateBackupNotFound) IsRedirect

func (o *CreateBackupNotFound) IsRedirect() bool

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

func (*CreateBackupNotFound) IsServerError

func (o *CreateBackupNotFound) IsServerError() bool

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

func (*CreateBackupNotFound) IsSuccess

func (o *CreateBackupNotFound) IsSuccess() bool

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

func (*CreateBackupNotFound) String

func (o *CreateBackupNotFound) String() string

type CreateBackupNotFoundBody

type CreateBackupNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateBackupNotFoundBody create backup not found body swagger:model CreateBackupNotFoundBody

func (*CreateBackupNotFoundBody) ContextValidate

func (o *CreateBackupNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup not found body based on context it is used

func (*CreateBackupNotFoundBody) MarshalBinary

func (o *CreateBackupNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupNotFoundBody) UnmarshalBinary

func (o *CreateBackupNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupNotFoundBody) Validate

func (o *CreateBackupNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this create backup not found body

type CreateBackupOK

type CreateBackupOK struct {
	Payload *CreateBackupOKBody
}

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

A successful response.

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() *CreateBackupOKBody

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 CreateBackupOKBody

type CreateBackupOKBody struct {

	// The ID of the backup.
	// Example: 1
	ID string `json:"id,omitempty"`
}

CreateBackupOKBody CreateBackupResp // // This response for creating a MANUAL type backup. swagger:model CreateBackupOKBody

func (*CreateBackupOKBody) ContextValidate

func (o *CreateBackupOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup o k body based on context it is used

func (*CreateBackupOKBody) MarshalBinary

func (o *CreateBackupOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupOKBody) UnmarshalBinary

func (o *CreateBackupOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupOKBody) Validate

func (o *CreateBackupOKBody) Validate(formats strfmt.Registry) error

Validate validates this create backup o k body

type CreateBackupParams

type CreateBackupParams struct {

	// Body.
	Body CreateBackupBody

	/* ClusterID.

	   The ID of your cluster that you want to take a manual backup. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	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) SetBody

func (o *CreateBackupParams) SetBody(body CreateBackupBody)

SetBody adds the body to the create backup params

func (*CreateBackupParams) SetClusterID

func (o *CreateBackupParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create backup params

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) SetProjectID

func (o *CreateBackupParams) SetProjectID(projectID string)

SetProjectID adds the projectId 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) WithBody

WithBody adds the body to the create backup params

func (*CreateBackupParams) WithClusterID

func (o *CreateBackupParams) WithClusterID(clusterID string) *CreateBackupParams

WithClusterID adds the clusterID 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) WithProjectID

func (o *CreateBackupParams) WithProjectID(projectID string) *CreateBackupParams

WithProjectID adds the projectID 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 CreateBackupTooManyRequests

type CreateBackupTooManyRequests struct {
	Payload *CreateBackupTooManyRequestsBody
}

CreateBackupTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewCreateBackupTooManyRequests

func NewCreateBackupTooManyRequests() *CreateBackupTooManyRequests

NewCreateBackupTooManyRequests creates a CreateBackupTooManyRequests with default headers values

func (*CreateBackupTooManyRequests) Code

func (o *CreateBackupTooManyRequests) Code() int

Code gets the status code for the create backup too many requests response

func (*CreateBackupTooManyRequests) Error

func (*CreateBackupTooManyRequests) GetPayload

func (*CreateBackupTooManyRequests) IsClientError

func (o *CreateBackupTooManyRequests) IsClientError() bool

IsClientError returns true when this create backup too many requests response has a 4xx status code

func (*CreateBackupTooManyRequests) IsCode

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

IsCode returns true when this create backup too many requests response a status code equal to that given

func (*CreateBackupTooManyRequests) IsRedirect

func (o *CreateBackupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create backup too many requests response has a 3xx status code

func (*CreateBackupTooManyRequests) IsServerError

func (o *CreateBackupTooManyRequests) IsServerError() bool

IsServerError returns true when this create backup too many requests response has a 5xx status code

func (*CreateBackupTooManyRequests) IsSuccess

func (o *CreateBackupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create backup too many requests response has a 2xx status code

func (*CreateBackupTooManyRequests) String

func (o *CreateBackupTooManyRequests) String() string

type CreateBackupTooManyRequestsBody

type CreateBackupTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateBackupTooManyRequestsBody create backup too many requests body swagger:model CreateBackupTooManyRequestsBody

func (*CreateBackupTooManyRequestsBody) ContextValidate

func (o *CreateBackupTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create backup too many requests body based on context it is used

func (*CreateBackupTooManyRequestsBody) MarshalBinary

func (o *CreateBackupTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBackupTooManyRequestsBody) UnmarshalBinary

func (o *CreateBackupTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBackupTooManyRequestsBody) Validate

Validate validates this create backup too many requests body

type CreateBackupUnauthorized

type CreateBackupUnauthorized struct {
	Payload interface{}
}

CreateBackupUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewCreateBackupUnauthorized

func NewCreateBackupUnauthorized() *CreateBackupUnauthorized

NewCreateBackupUnauthorized creates a CreateBackupUnauthorized with default headers values

func (*CreateBackupUnauthorized) Code

func (o *CreateBackupUnauthorized) Code() int

Code gets the status code for the create backup unauthorized response

func (*CreateBackupUnauthorized) Error

func (o *CreateBackupUnauthorized) Error() string

func (*CreateBackupUnauthorized) GetPayload

func (o *CreateBackupUnauthorized) GetPayload() interface{}

func (*CreateBackupUnauthorized) IsClientError

func (o *CreateBackupUnauthorized) IsClientError() bool

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

func (*CreateBackupUnauthorized) IsCode

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

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

func (*CreateBackupUnauthorized) IsRedirect

func (o *CreateBackupUnauthorized) IsRedirect() bool

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

func (*CreateBackupUnauthorized) IsServerError

func (o *CreateBackupUnauthorized) IsServerError() bool

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

func (*CreateBackupUnauthorized) IsSuccess

func (o *CreateBackupUnauthorized) IsSuccess() bool

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

func (*CreateBackupUnauthorized) String

func (o *CreateBackupUnauthorized) String() string

type DeleteBackupBadRequest

type DeleteBackupBadRequest struct {
	Payload *DeleteBackupBadRequestBody
}

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

A request field is invalid.

func NewDeleteBackupBadRequest

func NewDeleteBackupBadRequest() *DeleteBackupBadRequest

NewDeleteBackupBadRequest creates a DeleteBackupBadRequest with default headers values

func (*DeleteBackupBadRequest) Code

func (o *DeleteBackupBadRequest) Code() int

Code gets the status code for the delete backup bad request response

func (*DeleteBackupBadRequest) Error

func (o *DeleteBackupBadRequest) Error() string

func (*DeleteBackupBadRequest) GetPayload

func (*DeleteBackupBadRequest) IsClientError

func (o *DeleteBackupBadRequest) IsClientError() bool

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

func (*DeleteBackupBadRequest) IsCode

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

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

func (*DeleteBackupBadRequest) IsRedirect

func (o *DeleteBackupBadRequest) IsRedirect() bool

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

func (*DeleteBackupBadRequest) IsServerError

func (o *DeleteBackupBadRequest) IsServerError() bool

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

func (*DeleteBackupBadRequest) IsSuccess

func (o *DeleteBackupBadRequest) IsSuccess() bool

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

func (*DeleteBackupBadRequest) String

func (o *DeleteBackupBadRequest) String() string

type DeleteBackupBadRequestBody

type DeleteBackupBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteBackupBadRequestBody delete backup bad request body swagger:model DeleteBackupBadRequestBody

func (*DeleteBackupBadRequestBody) ContextValidate

func (o *DeleteBackupBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete backup bad request body based on context it is used

func (*DeleteBackupBadRequestBody) MarshalBinary

func (o *DeleteBackupBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupBadRequestBody) UnmarshalBinary

func (o *DeleteBackupBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupBadRequestBody) Validate

func (o *DeleteBackupBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this delete backup bad request body

type DeleteBackupDefault

type DeleteBackupDefault struct {
	Payload *DeleteBackupDefaultBody
	// contains filtered or unexported fields
}

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

An unexpected error response.

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 (*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 DeleteBackupDefaultBody

type DeleteBackupDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*DeleteBackupDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

DeleteBackupDefaultBody delete backup default body swagger:model DeleteBackupDefaultBody

func (*DeleteBackupDefaultBody) ContextValidate

func (o *DeleteBackupDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete backup default body based on the context it is used

func (*DeleteBackupDefaultBody) MarshalBinary

func (o *DeleteBackupDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupDefaultBody) UnmarshalBinary

func (o *DeleteBackupDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupDefaultBody) Validate

func (o *DeleteBackupDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this delete backup default body

type DeleteBackupDefaultBodyDetailsItems0

type DeleteBackupDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

DeleteBackupDefaultBodyDetailsItems0 delete backup default body details items0 swagger:model DeleteBackupDefaultBodyDetailsItems0

func (*DeleteBackupDefaultBodyDetailsItems0) ContextValidate

func (o *DeleteBackupDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete backup default body details items0 based on context it is used

func (*DeleteBackupDefaultBodyDetailsItems0) MarshalBinary

func (o *DeleteBackupDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupDefaultBodyDetailsItems0) UnmarshalBinary

func (o *DeleteBackupDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupDefaultBodyDetailsItems0) Validate

Validate validates this delete backup default body details items0

type DeleteBackupForbidden

type DeleteBackupForbidden struct {
	Payload *DeleteBackupForbiddenBody
}

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

The API key does not have permission to access the resource.

func NewDeleteBackupForbidden

func NewDeleteBackupForbidden() *DeleteBackupForbidden

NewDeleteBackupForbidden creates a DeleteBackupForbidden with default headers values

func (*DeleteBackupForbidden) Code

func (o *DeleteBackupForbidden) Code() int

Code gets the status code for the delete backup forbidden response

func (*DeleteBackupForbidden) Error

func (o *DeleteBackupForbidden) Error() string

func (*DeleteBackupForbidden) GetPayload

func (*DeleteBackupForbidden) IsClientError

func (o *DeleteBackupForbidden) IsClientError() bool

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

func (*DeleteBackupForbidden) IsCode

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

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

func (*DeleteBackupForbidden) IsRedirect

func (o *DeleteBackupForbidden) IsRedirect() bool

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

func (*DeleteBackupForbidden) IsServerError

func (o *DeleteBackupForbidden) IsServerError() bool

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

func (*DeleteBackupForbidden) IsSuccess

func (o *DeleteBackupForbidden) IsSuccess() bool

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

func (*DeleteBackupForbidden) String

func (o *DeleteBackupForbidden) String() string

type DeleteBackupForbiddenBody

type DeleteBackupForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteBackupForbiddenBody delete backup forbidden body swagger:model DeleteBackupForbiddenBody

func (*DeleteBackupForbiddenBody) ContextValidate

func (o *DeleteBackupForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete backup forbidden body based on context it is used

func (*DeleteBackupForbiddenBody) MarshalBinary

func (o *DeleteBackupForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupForbiddenBody) UnmarshalBinary

func (o *DeleteBackupForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupForbiddenBody) Validate

func (o *DeleteBackupForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this delete backup forbidden body

type DeleteBackupInternalServerError

type DeleteBackupInternalServerError struct {
	Payload *DeleteBackupInternalServerErrorBody
}

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

Server error.

func NewDeleteBackupInternalServerError

func NewDeleteBackupInternalServerError() *DeleteBackupInternalServerError

NewDeleteBackupInternalServerError creates a DeleteBackupInternalServerError with default headers values

func (*DeleteBackupInternalServerError) Code

Code gets the status code for the delete backup internal server error response

func (*DeleteBackupInternalServerError) Error

func (*DeleteBackupInternalServerError) GetPayload

func (*DeleteBackupInternalServerError) IsClientError

func (o *DeleteBackupInternalServerError) IsClientError() bool

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

func (*DeleteBackupInternalServerError) IsCode

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

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

func (*DeleteBackupInternalServerError) IsRedirect

func (o *DeleteBackupInternalServerError) IsRedirect() bool

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

func (*DeleteBackupInternalServerError) IsServerError

func (o *DeleteBackupInternalServerError) IsServerError() bool

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

func (*DeleteBackupInternalServerError) IsSuccess

func (o *DeleteBackupInternalServerError) IsSuccess() bool

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

func (*DeleteBackupInternalServerError) String

type DeleteBackupInternalServerErrorBody

type DeleteBackupInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteBackupInternalServerErrorBody delete backup internal server error body swagger:model DeleteBackupInternalServerErrorBody

func (*DeleteBackupInternalServerErrorBody) ContextValidate

func (o *DeleteBackupInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete backup internal server error body based on context it is used

func (*DeleteBackupInternalServerErrorBody) MarshalBinary

func (o *DeleteBackupInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupInternalServerErrorBody) UnmarshalBinary

func (o *DeleteBackupInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupInternalServerErrorBody) Validate

Validate validates this delete backup internal server error body

type DeleteBackupNotFound

type DeleteBackupNotFound struct {
	Payload *DeleteBackupNotFoundBody
}

DeleteBackupNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewDeleteBackupNotFound

func NewDeleteBackupNotFound() *DeleteBackupNotFound

NewDeleteBackupNotFound creates a DeleteBackupNotFound with default headers values

func (*DeleteBackupNotFound) Code

func (o *DeleteBackupNotFound) Code() int

Code gets the status code for the delete backup not found response

func (*DeleteBackupNotFound) Error

func (o *DeleteBackupNotFound) Error() string

func (*DeleteBackupNotFound) GetPayload

func (*DeleteBackupNotFound) IsClientError

func (o *DeleteBackupNotFound) IsClientError() bool

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

func (*DeleteBackupNotFound) IsCode

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

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

func (*DeleteBackupNotFound) IsRedirect

func (o *DeleteBackupNotFound) IsRedirect() bool

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

func (*DeleteBackupNotFound) IsServerError

func (o *DeleteBackupNotFound) IsServerError() bool

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

func (*DeleteBackupNotFound) IsSuccess

func (o *DeleteBackupNotFound) IsSuccess() bool

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

func (*DeleteBackupNotFound) String

func (o *DeleteBackupNotFound) String() string

type DeleteBackupNotFoundBody

type DeleteBackupNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteBackupNotFoundBody delete backup not found body swagger:model DeleteBackupNotFoundBody

func (*DeleteBackupNotFoundBody) ContextValidate

func (o *DeleteBackupNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete backup not found body based on context it is used

func (*DeleteBackupNotFoundBody) MarshalBinary

func (o *DeleteBackupNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupNotFoundBody) UnmarshalBinary

func (o *DeleteBackupNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupNotFoundBody) Validate

func (o *DeleteBackupNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this delete backup not found body

type DeleteBackupOK

type DeleteBackupOK struct {
	Payload interface{}
}

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

A successful response.

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() interface{}

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 {

	/* BackupID.

	   The ID of the backup. You can get the backup ID from the response of [List all backups for a cluster](#tag/Project/operation/ListBackUpOfCluster).

	   Format: uint64
	*/
	BackupID string

	/* ClusterID.

	   The ID of your cluster. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	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) SetBackupID

func (o *DeleteBackupParams) SetBackupID(backupID string)

SetBackupID adds the backupId to the delete backup params

func (*DeleteBackupParams) SetClusterID

func (o *DeleteBackupParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete backup params

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) SetProjectID

func (o *DeleteBackupParams) SetProjectID(projectID string)

SetProjectID adds the projectId 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) WithBackupID

func (o *DeleteBackupParams) WithBackupID(backupID string) *DeleteBackupParams

WithBackupID adds the backupID to the delete backup params

func (*DeleteBackupParams) WithClusterID

func (o *DeleteBackupParams) WithClusterID(clusterID string) *DeleteBackupParams

WithClusterID adds the clusterID 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) WithProjectID

func (o *DeleteBackupParams) WithProjectID(projectID string) *DeleteBackupParams

WithProjectID adds the projectID 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 DeleteBackupTooManyRequests

type DeleteBackupTooManyRequests struct {
	Payload *DeleteBackupTooManyRequestsBody
}

DeleteBackupTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewDeleteBackupTooManyRequests

func NewDeleteBackupTooManyRequests() *DeleteBackupTooManyRequests

NewDeleteBackupTooManyRequests creates a DeleteBackupTooManyRequests with default headers values

func (*DeleteBackupTooManyRequests) Code

func (o *DeleteBackupTooManyRequests) Code() int

Code gets the status code for the delete backup too many requests response

func (*DeleteBackupTooManyRequests) Error

func (*DeleteBackupTooManyRequests) GetPayload

func (*DeleteBackupTooManyRequests) IsClientError

func (o *DeleteBackupTooManyRequests) IsClientError() bool

IsClientError returns true when this delete backup too many requests response has a 4xx status code

func (*DeleteBackupTooManyRequests) IsCode

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

IsCode returns true when this delete backup too many requests response a status code equal to that given

func (*DeleteBackupTooManyRequests) IsRedirect

func (o *DeleteBackupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete backup too many requests response has a 3xx status code

func (*DeleteBackupTooManyRequests) IsServerError

func (o *DeleteBackupTooManyRequests) IsServerError() bool

IsServerError returns true when this delete backup too many requests response has a 5xx status code

func (*DeleteBackupTooManyRequests) IsSuccess

func (o *DeleteBackupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete backup too many requests response has a 2xx status code

func (*DeleteBackupTooManyRequests) String

func (o *DeleteBackupTooManyRequests) String() string

type DeleteBackupTooManyRequestsBody

type DeleteBackupTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteBackupTooManyRequestsBody delete backup too many requests body swagger:model DeleteBackupTooManyRequestsBody

func (*DeleteBackupTooManyRequestsBody) ContextValidate

func (o *DeleteBackupTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete backup too many requests body based on context it is used

func (*DeleteBackupTooManyRequestsBody) MarshalBinary

func (o *DeleteBackupTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteBackupTooManyRequestsBody) UnmarshalBinary

func (o *DeleteBackupTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteBackupTooManyRequestsBody) Validate

Validate validates this delete backup too many requests body

type DeleteBackupUnauthorized

type DeleteBackupUnauthorized struct {
	Payload interface{}
}

DeleteBackupUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewDeleteBackupUnauthorized

func NewDeleteBackupUnauthorized() *DeleteBackupUnauthorized

NewDeleteBackupUnauthorized creates a DeleteBackupUnauthorized with default headers values

func (*DeleteBackupUnauthorized) Code

func (o *DeleteBackupUnauthorized) Code() int

Code gets the status code for the delete backup unauthorized response

func (*DeleteBackupUnauthorized) Error

func (o *DeleteBackupUnauthorized) Error() string

func (*DeleteBackupUnauthorized) GetPayload

func (o *DeleteBackupUnauthorized) GetPayload() interface{}

func (*DeleteBackupUnauthorized) IsClientError

func (o *DeleteBackupUnauthorized) IsClientError() bool

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

func (*DeleteBackupUnauthorized) IsCode

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

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

func (*DeleteBackupUnauthorized) IsRedirect

func (o *DeleteBackupUnauthorized) IsRedirect() bool

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

func (*DeleteBackupUnauthorized) IsServerError

func (o *DeleteBackupUnauthorized) IsServerError() bool

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

func (*DeleteBackupUnauthorized) IsSuccess

func (o *DeleteBackupUnauthorized) IsSuccess() bool

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

func (*DeleteBackupUnauthorized) String

func (o *DeleteBackupUnauthorized) String() string

type GetBackupOfClusterBadRequest

type GetBackupOfClusterBadRequest struct {
	Payload *GetBackupOfClusterBadRequestBody
}

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

A request field is invalid.

func NewGetBackupOfClusterBadRequest

func NewGetBackupOfClusterBadRequest() *GetBackupOfClusterBadRequest

NewGetBackupOfClusterBadRequest creates a GetBackupOfClusterBadRequest with default headers values

func (*GetBackupOfClusterBadRequest) Code

Code gets the status code for the get backup of cluster bad request response

func (*GetBackupOfClusterBadRequest) Error

func (*GetBackupOfClusterBadRequest) GetPayload

func (*GetBackupOfClusterBadRequest) IsClientError

func (o *GetBackupOfClusterBadRequest) IsClientError() bool

IsClientError returns true when this get backup of cluster bad request response has a 4xx status code

func (*GetBackupOfClusterBadRequest) IsCode

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

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

func (*GetBackupOfClusterBadRequest) IsRedirect

func (o *GetBackupOfClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this get backup of cluster bad request response has a 3xx status code

func (*GetBackupOfClusterBadRequest) IsServerError

func (o *GetBackupOfClusterBadRequest) IsServerError() bool

IsServerError returns true when this get backup of cluster bad request response has a 5xx status code

func (*GetBackupOfClusterBadRequest) IsSuccess

func (o *GetBackupOfClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this get backup of cluster bad request response has a 2xx status code

func (*GetBackupOfClusterBadRequest) String

type GetBackupOfClusterBadRequestBody

type GetBackupOfClusterBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetBackupOfClusterBadRequestBody get backup of cluster bad request body swagger:model GetBackupOfClusterBadRequestBody

func (*GetBackupOfClusterBadRequestBody) ContextValidate

func (o *GetBackupOfClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get backup of cluster bad request body based on context it is used

func (*GetBackupOfClusterBadRequestBody) MarshalBinary

func (o *GetBackupOfClusterBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterBadRequestBody) UnmarshalBinary

func (o *GetBackupOfClusterBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterBadRequestBody) Validate

Validate validates this get backup of cluster bad request body

type GetBackupOfClusterDefault

type GetBackupOfClusterDefault struct {
	Payload *GetBackupOfClusterDefaultBody
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewGetBackupOfClusterDefault

func NewGetBackupOfClusterDefault(code int) *GetBackupOfClusterDefault

NewGetBackupOfClusterDefault creates a GetBackupOfClusterDefault with default headers values

func (*GetBackupOfClusterDefault) Code

func (o *GetBackupOfClusterDefault) Code() int

Code gets the status code for the get backup of cluster default response

func (*GetBackupOfClusterDefault) Error

func (o *GetBackupOfClusterDefault) Error() string

func (*GetBackupOfClusterDefault) GetPayload

func (*GetBackupOfClusterDefault) IsClientError

func (o *GetBackupOfClusterDefault) IsClientError() bool

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

func (*GetBackupOfClusterDefault) IsCode

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

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

func (*GetBackupOfClusterDefault) IsRedirect

func (o *GetBackupOfClusterDefault) IsRedirect() bool

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

func (*GetBackupOfClusterDefault) IsServerError

func (o *GetBackupOfClusterDefault) IsServerError() bool

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

func (*GetBackupOfClusterDefault) IsSuccess

func (o *GetBackupOfClusterDefault) IsSuccess() bool

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

func (*GetBackupOfClusterDefault) String

func (o *GetBackupOfClusterDefault) String() string

type GetBackupOfClusterDefaultBody

type GetBackupOfClusterDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*GetBackupOfClusterDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

GetBackupOfClusterDefaultBody get backup of cluster default body swagger:model GetBackupOfClusterDefaultBody

func (*GetBackupOfClusterDefaultBody) ContextValidate

func (o *GetBackupOfClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get backup of cluster default body based on the context it is used

func (*GetBackupOfClusterDefaultBody) MarshalBinary

func (o *GetBackupOfClusterDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterDefaultBody) UnmarshalBinary

func (o *GetBackupOfClusterDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterDefaultBody) Validate

func (o *GetBackupOfClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this get backup of cluster default body

type GetBackupOfClusterDefaultBodyDetailsItems0

type GetBackupOfClusterDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

GetBackupOfClusterDefaultBodyDetailsItems0 get backup of cluster default body details items0 swagger:model GetBackupOfClusterDefaultBodyDetailsItems0

func (*GetBackupOfClusterDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this get backup of cluster default body details items0 based on context it is used

func (*GetBackupOfClusterDefaultBodyDetailsItems0) MarshalBinary

func (o *GetBackupOfClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterDefaultBodyDetailsItems0) UnmarshalBinary

func (o *GetBackupOfClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterDefaultBodyDetailsItems0) Validate

Validate validates this get backup of cluster default body details items0

type GetBackupOfClusterForbidden

type GetBackupOfClusterForbidden struct {
	Payload *GetBackupOfClusterForbiddenBody
}

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

The API key does not have permission to access the resource.

func NewGetBackupOfClusterForbidden

func NewGetBackupOfClusterForbidden() *GetBackupOfClusterForbidden

NewGetBackupOfClusterForbidden creates a GetBackupOfClusterForbidden with default headers values

func (*GetBackupOfClusterForbidden) Code

func (o *GetBackupOfClusterForbidden) Code() int

Code gets the status code for the get backup of cluster forbidden response

func (*GetBackupOfClusterForbidden) Error

func (*GetBackupOfClusterForbidden) GetPayload

func (*GetBackupOfClusterForbidden) IsClientError

func (o *GetBackupOfClusterForbidden) IsClientError() bool

IsClientError returns true when this get backup of cluster forbidden response has a 4xx status code

func (*GetBackupOfClusterForbidden) IsCode

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

IsCode returns true when this get backup of cluster forbidden response a status code equal to that given

func (*GetBackupOfClusterForbidden) IsRedirect

func (o *GetBackupOfClusterForbidden) IsRedirect() bool

IsRedirect returns true when this get backup of cluster forbidden response has a 3xx status code

func (*GetBackupOfClusterForbidden) IsServerError

func (o *GetBackupOfClusterForbidden) IsServerError() bool

IsServerError returns true when this get backup of cluster forbidden response has a 5xx status code

func (*GetBackupOfClusterForbidden) IsSuccess

func (o *GetBackupOfClusterForbidden) IsSuccess() bool

IsSuccess returns true when this get backup of cluster forbidden response has a 2xx status code

func (*GetBackupOfClusterForbidden) String

func (o *GetBackupOfClusterForbidden) String() string

type GetBackupOfClusterForbiddenBody

type GetBackupOfClusterForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetBackupOfClusterForbiddenBody get backup of cluster forbidden body swagger:model GetBackupOfClusterForbiddenBody

func (*GetBackupOfClusterForbiddenBody) ContextValidate

func (o *GetBackupOfClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get backup of cluster forbidden body based on context it is used

func (*GetBackupOfClusterForbiddenBody) MarshalBinary

func (o *GetBackupOfClusterForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterForbiddenBody) UnmarshalBinary

func (o *GetBackupOfClusterForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterForbiddenBody) Validate

Validate validates this get backup of cluster forbidden body

type GetBackupOfClusterInternalServerError

type GetBackupOfClusterInternalServerError struct {
	Payload *GetBackupOfClusterInternalServerErrorBody
}

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

Server error.

func NewGetBackupOfClusterInternalServerError

func NewGetBackupOfClusterInternalServerError() *GetBackupOfClusterInternalServerError

NewGetBackupOfClusterInternalServerError creates a GetBackupOfClusterInternalServerError with default headers values

func (*GetBackupOfClusterInternalServerError) Code

Code gets the status code for the get backup of cluster internal server error response

func (*GetBackupOfClusterInternalServerError) Error

func (*GetBackupOfClusterInternalServerError) GetPayload

func (*GetBackupOfClusterInternalServerError) IsClientError

func (o *GetBackupOfClusterInternalServerError) IsClientError() bool

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

func (*GetBackupOfClusterInternalServerError) IsCode

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

func (*GetBackupOfClusterInternalServerError) IsRedirect

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

func (*GetBackupOfClusterInternalServerError) IsServerError

func (o *GetBackupOfClusterInternalServerError) IsServerError() bool

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

func (*GetBackupOfClusterInternalServerError) IsSuccess

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

func (*GetBackupOfClusterInternalServerError) String

type GetBackupOfClusterInternalServerErrorBody

type GetBackupOfClusterInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetBackupOfClusterInternalServerErrorBody get backup of cluster internal server error body swagger:model GetBackupOfClusterInternalServerErrorBody

func (*GetBackupOfClusterInternalServerErrorBody) ContextValidate

ContextValidate validates this get backup of cluster internal server error body based on context it is used

func (*GetBackupOfClusterInternalServerErrorBody) MarshalBinary

func (o *GetBackupOfClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterInternalServerErrorBody) UnmarshalBinary

func (o *GetBackupOfClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterInternalServerErrorBody) Validate

Validate validates this get backup of cluster internal server error body

type GetBackupOfClusterNotFound

type GetBackupOfClusterNotFound struct {
	Payload *GetBackupOfClusterNotFoundBody
}

GetBackupOfClusterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewGetBackupOfClusterNotFound

func NewGetBackupOfClusterNotFound() *GetBackupOfClusterNotFound

NewGetBackupOfClusterNotFound creates a GetBackupOfClusterNotFound with default headers values

func (*GetBackupOfClusterNotFound) Code

func (o *GetBackupOfClusterNotFound) Code() int

Code gets the status code for the get backup of cluster not found response

func (*GetBackupOfClusterNotFound) Error

func (*GetBackupOfClusterNotFound) GetPayload

func (*GetBackupOfClusterNotFound) IsClientError

func (o *GetBackupOfClusterNotFound) IsClientError() bool

IsClientError returns true when this get backup of cluster not found response has a 4xx status code

func (*GetBackupOfClusterNotFound) IsCode

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

IsCode returns true when this get backup of cluster not found response a status code equal to that given

func (*GetBackupOfClusterNotFound) IsRedirect

func (o *GetBackupOfClusterNotFound) IsRedirect() bool

IsRedirect returns true when this get backup of cluster not found response has a 3xx status code

func (*GetBackupOfClusterNotFound) IsServerError

func (o *GetBackupOfClusterNotFound) IsServerError() bool

IsServerError returns true when this get backup of cluster not found response has a 5xx status code

func (*GetBackupOfClusterNotFound) IsSuccess

func (o *GetBackupOfClusterNotFound) IsSuccess() bool

IsSuccess returns true when this get backup of cluster not found response has a 2xx status code

func (*GetBackupOfClusterNotFound) String

func (o *GetBackupOfClusterNotFound) String() string

type GetBackupOfClusterNotFoundBody

type GetBackupOfClusterNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetBackupOfClusterNotFoundBody get backup of cluster not found body swagger:model GetBackupOfClusterNotFoundBody

func (*GetBackupOfClusterNotFoundBody) ContextValidate

func (o *GetBackupOfClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get backup of cluster not found body based on context it is used

func (*GetBackupOfClusterNotFoundBody) MarshalBinary

func (o *GetBackupOfClusterNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterNotFoundBody) UnmarshalBinary

func (o *GetBackupOfClusterNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterNotFoundBody) Validate

func (o *GetBackupOfClusterNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get backup of cluster not found body

type GetBackupOfClusterOK

type GetBackupOfClusterOK struct {
	Payload *GetBackupOfClusterOKBody
}

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

A successful response.

func NewGetBackupOfClusterOK

func NewGetBackupOfClusterOK() *GetBackupOfClusterOK

NewGetBackupOfClusterOK creates a GetBackupOfClusterOK with default headers values

func (*GetBackupOfClusterOK) Code

func (o *GetBackupOfClusterOK) Code() int

Code gets the status code for the get backup of cluster o k response

func (*GetBackupOfClusterOK) Error

func (o *GetBackupOfClusterOK) Error() string

func (*GetBackupOfClusterOK) GetPayload

func (*GetBackupOfClusterOK) IsClientError

func (o *GetBackupOfClusterOK) IsClientError() bool

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

func (*GetBackupOfClusterOK) IsCode

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

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

func (*GetBackupOfClusterOK) IsRedirect

func (o *GetBackupOfClusterOK) IsRedirect() bool

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

func (*GetBackupOfClusterOK) IsServerError

func (o *GetBackupOfClusterOK) IsServerError() bool

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

func (*GetBackupOfClusterOK) IsSuccess

func (o *GetBackupOfClusterOK) IsSuccess() bool

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

func (*GetBackupOfClusterOK) String

func (o *GetBackupOfClusterOK) String() string

type GetBackupOfClusterOKBody

type GetBackupOfClusterOKBody struct {

	// The creation time of the backup in UTC. The time format follows the [ISO8601](http://en.wikipedia.org/wiki/ISO_8601) standard, which is `YYYY-MM-DD` (year-month-day) + T +`HH:MM:SS` (hour-minutes-seconds) + Z. For example, `2020-01-01T00:00:00Z`.
	// Example: 2020-01-01T00:00:00Z
	// Format: date-time
	CreateTimestamp strfmt.DateTime `json:"create_timestamp,omitempty"`

	// The description of the backup. It is specified by the user when taking a manual type backup. It helps you add additional information to the backup.
	// Example: backup for cluster upgrade in 2022/06/07
	Description string `json:"description,omitempty"`

	// The ID of the backup.
	// Example: 1
	ID string `json:"id,omitempty"`

	// The name of the backup.
	// Example: backup-1
	Name string `json:"name,omitempty"`

	// The bytes of the backup.
	// Example: 102400
	Size string `json:"size,omitempty"`

	// The status of backup.
	// Example: SUCCESS
	// Enum: [PENDING RUNNING FAILED SUCCESS]
	Status string `json:"status,omitempty"`

	// The type of backup. TiDB Cloud only supports manual and auto backup. For more information, see [TiDB Cloud Documentation](https://docs.pingcap.com/tidbcloud/backup-and-restore#backup).
	// Example: MANUAL
	// Enum: [MANUAL AUTO]
	Type string `json:"type,omitempty"`
}

GetBackupOfClusterOKBody GetBackupOfClusterResp // // This response for getting backup of a cluster. swagger:model GetBackupOfClusterOKBody

func (*GetBackupOfClusterOKBody) ContextValidate

func (o *GetBackupOfClusterOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get backup of cluster o k body based on context it is used

func (*GetBackupOfClusterOKBody) MarshalBinary

func (o *GetBackupOfClusterOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterOKBody) UnmarshalBinary

func (o *GetBackupOfClusterOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterOKBody) Validate

func (o *GetBackupOfClusterOKBody) Validate(formats strfmt.Registry) error

Validate validates this get backup of cluster o k body

type GetBackupOfClusterParams

type GetBackupOfClusterParams struct {

	/* BackupID.

	   The ID of the backup.

	   Format: uint64
	*/
	BackupID string

	/* ClusterID.

	   The ID of your cluster. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

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

GetBackupOfClusterParams contains all the parameters to send to the API endpoint

for the get backup of cluster operation.

Typically these are written to a http.Request.

func NewGetBackupOfClusterParams

func NewGetBackupOfClusterParams() *GetBackupOfClusterParams

NewGetBackupOfClusterParams creates a new GetBackupOfClusterParams 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 NewGetBackupOfClusterParamsWithContext

func NewGetBackupOfClusterParamsWithContext(ctx context.Context) *GetBackupOfClusterParams

NewGetBackupOfClusterParamsWithContext creates a new GetBackupOfClusterParams object with the ability to set a context for a request.

func NewGetBackupOfClusterParamsWithHTTPClient

func NewGetBackupOfClusterParamsWithHTTPClient(client *http.Client) *GetBackupOfClusterParams

NewGetBackupOfClusterParamsWithHTTPClient creates a new GetBackupOfClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupOfClusterParamsWithTimeout

func NewGetBackupOfClusterParamsWithTimeout(timeout time.Duration) *GetBackupOfClusterParams

NewGetBackupOfClusterParamsWithTimeout creates a new GetBackupOfClusterParams object with the ability to set a timeout on a request.

func (*GetBackupOfClusterParams) SetBackupID

func (o *GetBackupOfClusterParams) SetBackupID(backupID string)

SetBackupID adds the backupId to the get backup of cluster params

func (*GetBackupOfClusterParams) SetClusterID

func (o *GetBackupOfClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get backup of cluster params

func (*GetBackupOfClusterParams) SetContext

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

SetContext adds the context to the get backup of cluster params

func (*GetBackupOfClusterParams) SetDefaults

func (o *GetBackupOfClusterParams) SetDefaults()

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

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

func (*GetBackupOfClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup of cluster params

func (*GetBackupOfClusterParams) SetProjectID

func (o *GetBackupOfClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get backup of cluster params

func (*GetBackupOfClusterParams) SetTimeout

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

SetTimeout adds the timeout to the get backup of cluster params

func (*GetBackupOfClusterParams) WithBackupID

func (o *GetBackupOfClusterParams) WithBackupID(backupID string) *GetBackupOfClusterParams

WithBackupID adds the backupID to the get backup of cluster params

func (*GetBackupOfClusterParams) WithClusterID

func (o *GetBackupOfClusterParams) WithClusterID(clusterID string) *GetBackupOfClusterParams

WithClusterID adds the clusterID to the get backup of cluster params

func (*GetBackupOfClusterParams) WithContext

WithContext adds the context to the get backup of cluster params

func (*GetBackupOfClusterParams) WithDefaults

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

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

func (*GetBackupOfClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get backup of cluster params

func (*GetBackupOfClusterParams) WithProjectID

func (o *GetBackupOfClusterParams) WithProjectID(projectID string) *GetBackupOfClusterParams

WithProjectID adds the projectID to the get backup of cluster params

func (*GetBackupOfClusterParams) WithTimeout

WithTimeout adds the timeout to the get backup of cluster params

func (*GetBackupOfClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupOfClusterReader

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

GetBackupOfClusterReader is a Reader for the GetBackupOfCluster structure.

func (*GetBackupOfClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupOfClusterTooManyRequests

type GetBackupOfClusterTooManyRequests struct {
	Payload *GetBackupOfClusterTooManyRequestsBody
}

GetBackupOfClusterTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewGetBackupOfClusterTooManyRequests

func NewGetBackupOfClusterTooManyRequests() *GetBackupOfClusterTooManyRequests

NewGetBackupOfClusterTooManyRequests creates a GetBackupOfClusterTooManyRequests with default headers values

func (*GetBackupOfClusterTooManyRequests) Code

Code gets the status code for the get backup of cluster too many requests response

func (*GetBackupOfClusterTooManyRequests) Error

func (*GetBackupOfClusterTooManyRequests) GetPayload

func (*GetBackupOfClusterTooManyRequests) IsClientError

func (o *GetBackupOfClusterTooManyRequests) IsClientError() bool

IsClientError returns true when this get backup of cluster too many requests response has a 4xx status code

func (*GetBackupOfClusterTooManyRequests) IsCode

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

IsCode returns true when this get backup of cluster too many requests response a status code equal to that given

func (*GetBackupOfClusterTooManyRequests) IsRedirect

func (o *GetBackupOfClusterTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get backup of cluster too many requests response has a 3xx status code

func (*GetBackupOfClusterTooManyRequests) IsServerError

func (o *GetBackupOfClusterTooManyRequests) IsServerError() bool

IsServerError returns true when this get backup of cluster too many requests response has a 5xx status code

func (*GetBackupOfClusterTooManyRequests) IsSuccess

func (o *GetBackupOfClusterTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get backup of cluster too many requests response has a 2xx status code

func (*GetBackupOfClusterTooManyRequests) String

type GetBackupOfClusterTooManyRequestsBody

type GetBackupOfClusterTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetBackupOfClusterTooManyRequestsBody get backup of cluster too many requests body swagger:model GetBackupOfClusterTooManyRequestsBody

func (*GetBackupOfClusterTooManyRequestsBody) ContextValidate

func (o *GetBackupOfClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get backup of cluster too many requests body based on context it is used

func (*GetBackupOfClusterTooManyRequestsBody) MarshalBinary

func (o *GetBackupOfClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBackupOfClusterTooManyRequestsBody) UnmarshalBinary

func (o *GetBackupOfClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBackupOfClusterTooManyRequestsBody) Validate

Validate validates this get backup of cluster too many requests body

type GetBackupOfClusterUnauthorized

type GetBackupOfClusterUnauthorized struct {
	Payload interface{}
}

GetBackupOfClusterUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewGetBackupOfClusterUnauthorized

func NewGetBackupOfClusterUnauthorized() *GetBackupOfClusterUnauthorized

NewGetBackupOfClusterUnauthorized creates a GetBackupOfClusterUnauthorized with default headers values

func (*GetBackupOfClusterUnauthorized) Code

Code gets the status code for the get backup of cluster unauthorized response

func (*GetBackupOfClusterUnauthorized) Error

func (*GetBackupOfClusterUnauthorized) GetPayload

func (o *GetBackupOfClusterUnauthorized) GetPayload() interface{}

func (*GetBackupOfClusterUnauthorized) IsClientError

func (o *GetBackupOfClusterUnauthorized) IsClientError() bool

IsClientError returns true when this get backup of cluster unauthorized response has a 4xx status code

func (*GetBackupOfClusterUnauthorized) IsCode

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

IsCode returns true when this get backup of cluster unauthorized response a status code equal to that given

func (*GetBackupOfClusterUnauthorized) IsRedirect

func (o *GetBackupOfClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this get backup of cluster unauthorized response has a 3xx status code

func (*GetBackupOfClusterUnauthorized) IsServerError

func (o *GetBackupOfClusterUnauthorized) IsServerError() bool

IsServerError returns true when this get backup of cluster unauthorized response has a 5xx status code

func (*GetBackupOfClusterUnauthorized) IsSuccess

func (o *GetBackupOfClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this get backup of cluster unauthorized response has a 2xx status code

func (*GetBackupOfClusterUnauthorized) String

type ListBackUpOfClusterBadRequest

type ListBackUpOfClusterBadRequest struct {
	Payload *ListBackUpOfClusterBadRequestBody
}

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

A request field is invalid.

func NewListBackUpOfClusterBadRequest

func NewListBackUpOfClusterBadRequest() *ListBackUpOfClusterBadRequest

NewListBackUpOfClusterBadRequest creates a ListBackUpOfClusterBadRequest with default headers values

func (*ListBackUpOfClusterBadRequest) Code

Code gets the status code for the list back up of cluster bad request response

func (*ListBackUpOfClusterBadRequest) Error

func (*ListBackUpOfClusterBadRequest) GetPayload

func (*ListBackUpOfClusterBadRequest) IsClientError

func (o *ListBackUpOfClusterBadRequest) IsClientError() bool

IsClientError returns true when this list back up of cluster bad request response has a 4xx status code

func (*ListBackUpOfClusterBadRequest) IsCode

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

IsCode returns true when this list back up of cluster bad request response a status code equal to that given

func (*ListBackUpOfClusterBadRequest) IsRedirect

func (o *ListBackUpOfClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this list back up of cluster bad request response has a 3xx status code

func (*ListBackUpOfClusterBadRequest) IsServerError

func (o *ListBackUpOfClusterBadRequest) IsServerError() bool

IsServerError returns true when this list back up of cluster bad request response has a 5xx status code

func (*ListBackUpOfClusterBadRequest) IsSuccess

func (o *ListBackUpOfClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this list back up of cluster bad request response has a 2xx status code

func (*ListBackUpOfClusterBadRequest) String

type ListBackUpOfClusterBadRequestBody

type ListBackUpOfClusterBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListBackUpOfClusterBadRequestBody list back up of cluster bad request body swagger:model ListBackUpOfClusterBadRequestBody

func (*ListBackUpOfClusterBadRequestBody) ContextValidate

func (o *ListBackUpOfClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list back up of cluster bad request body based on context it is used

func (*ListBackUpOfClusterBadRequestBody) MarshalBinary

func (o *ListBackUpOfClusterBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterBadRequestBody) UnmarshalBinary

func (o *ListBackUpOfClusterBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterBadRequestBody) Validate

Validate validates this list back up of cluster bad request body

type ListBackUpOfClusterDefault

type ListBackUpOfClusterDefault struct {
	Payload *ListBackUpOfClusterDefaultBody
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewListBackUpOfClusterDefault

func NewListBackUpOfClusterDefault(code int) *ListBackUpOfClusterDefault

NewListBackUpOfClusterDefault creates a ListBackUpOfClusterDefault with default headers values

func (*ListBackUpOfClusterDefault) Code

func (o *ListBackUpOfClusterDefault) Code() int

Code gets the status code for the list back up of cluster default response

func (*ListBackUpOfClusterDefault) Error

func (*ListBackUpOfClusterDefault) GetPayload

func (*ListBackUpOfClusterDefault) IsClientError

func (o *ListBackUpOfClusterDefault) IsClientError() bool

IsClientError returns true when this list back up of cluster default response has a 4xx status code

func (*ListBackUpOfClusterDefault) IsCode

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

IsCode returns true when this list back up of cluster default response a status code equal to that given

func (*ListBackUpOfClusterDefault) IsRedirect

func (o *ListBackUpOfClusterDefault) IsRedirect() bool

IsRedirect returns true when this list back up of cluster default response has a 3xx status code

func (*ListBackUpOfClusterDefault) IsServerError

func (o *ListBackUpOfClusterDefault) IsServerError() bool

IsServerError returns true when this list back up of cluster default response has a 5xx status code

func (*ListBackUpOfClusterDefault) IsSuccess

func (o *ListBackUpOfClusterDefault) IsSuccess() bool

IsSuccess returns true when this list back up of cluster default response has a 2xx status code

func (*ListBackUpOfClusterDefault) String

func (o *ListBackUpOfClusterDefault) String() string

type ListBackUpOfClusterDefaultBody

type ListBackUpOfClusterDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ListBackUpOfClusterDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

ListBackUpOfClusterDefaultBody list back up of cluster default body swagger:model ListBackUpOfClusterDefaultBody

func (*ListBackUpOfClusterDefaultBody) ContextValidate

func (o *ListBackUpOfClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list back up of cluster default body based on the context it is used

func (*ListBackUpOfClusterDefaultBody) MarshalBinary

func (o *ListBackUpOfClusterDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterDefaultBody) UnmarshalBinary

func (o *ListBackUpOfClusterDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterDefaultBody) Validate

func (o *ListBackUpOfClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this list back up of cluster default body

type ListBackUpOfClusterDefaultBodyDetailsItems0

type ListBackUpOfClusterDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ListBackUpOfClusterDefaultBodyDetailsItems0 list back up of cluster default body details items0 swagger:model ListBackUpOfClusterDefaultBodyDetailsItems0

func (*ListBackUpOfClusterDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this list back up of cluster default body details items0 based on context it is used

func (*ListBackUpOfClusterDefaultBodyDetailsItems0) MarshalBinary

func (o *ListBackUpOfClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterDefaultBodyDetailsItems0) UnmarshalBinary

func (o *ListBackUpOfClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterDefaultBodyDetailsItems0) Validate

Validate validates this list back up of cluster default body details items0

type ListBackUpOfClusterForbidden

type ListBackUpOfClusterForbidden struct {
	Payload *ListBackUpOfClusterForbiddenBody
}

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

The API key does not have permission to access the resource.

func NewListBackUpOfClusterForbidden

func NewListBackUpOfClusterForbidden() *ListBackUpOfClusterForbidden

NewListBackUpOfClusterForbidden creates a ListBackUpOfClusterForbidden with default headers values

func (*ListBackUpOfClusterForbidden) Code

Code gets the status code for the list back up of cluster forbidden response

func (*ListBackUpOfClusterForbidden) Error

func (*ListBackUpOfClusterForbidden) GetPayload

func (*ListBackUpOfClusterForbidden) IsClientError

func (o *ListBackUpOfClusterForbidden) IsClientError() bool

IsClientError returns true when this list back up of cluster forbidden response has a 4xx status code

func (*ListBackUpOfClusterForbidden) IsCode

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

IsCode returns true when this list back up of cluster forbidden response a status code equal to that given

func (*ListBackUpOfClusterForbidden) IsRedirect

func (o *ListBackUpOfClusterForbidden) IsRedirect() bool

IsRedirect returns true when this list back up of cluster forbidden response has a 3xx status code

func (*ListBackUpOfClusterForbidden) IsServerError

func (o *ListBackUpOfClusterForbidden) IsServerError() bool

IsServerError returns true when this list back up of cluster forbidden response has a 5xx status code

func (*ListBackUpOfClusterForbidden) IsSuccess

func (o *ListBackUpOfClusterForbidden) IsSuccess() bool

IsSuccess returns true when this list back up of cluster forbidden response has a 2xx status code

func (*ListBackUpOfClusterForbidden) String

type ListBackUpOfClusterForbiddenBody

type ListBackUpOfClusterForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListBackUpOfClusterForbiddenBody list back up of cluster forbidden body swagger:model ListBackUpOfClusterForbiddenBody

func (*ListBackUpOfClusterForbiddenBody) ContextValidate

func (o *ListBackUpOfClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list back up of cluster forbidden body based on context it is used

func (*ListBackUpOfClusterForbiddenBody) MarshalBinary

func (o *ListBackUpOfClusterForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterForbiddenBody) UnmarshalBinary

func (o *ListBackUpOfClusterForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterForbiddenBody) Validate

Validate validates this list back up of cluster forbidden body

type ListBackUpOfClusterInternalServerError

type ListBackUpOfClusterInternalServerError struct {
	Payload *ListBackUpOfClusterInternalServerErrorBody
}

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

Server error.

func NewListBackUpOfClusterInternalServerError

func NewListBackUpOfClusterInternalServerError() *ListBackUpOfClusterInternalServerError

NewListBackUpOfClusterInternalServerError creates a ListBackUpOfClusterInternalServerError with default headers values

func (*ListBackUpOfClusterInternalServerError) Code

Code gets the status code for the list back up of cluster internal server error response

func (*ListBackUpOfClusterInternalServerError) Error

func (*ListBackUpOfClusterInternalServerError) GetPayload

func (*ListBackUpOfClusterInternalServerError) IsClientError

func (o *ListBackUpOfClusterInternalServerError) IsClientError() bool

IsClientError returns true when this list back up of cluster internal server error response has a 4xx status code

func (*ListBackUpOfClusterInternalServerError) IsCode

IsCode returns true when this list back up of cluster internal server error response a status code equal to that given

func (*ListBackUpOfClusterInternalServerError) IsRedirect

IsRedirect returns true when this list back up of cluster internal server error response has a 3xx status code

func (*ListBackUpOfClusterInternalServerError) IsServerError

func (o *ListBackUpOfClusterInternalServerError) IsServerError() bool

IsServerError returns true when this list back up of cluster internal server error response has a 5xx status code

func (*ListBackUpOfClusterInternalServerError) IsSuccess

IsSuccess returns true when this list back up of cluster internal server error response has a 2xx status code

func (*ListBackUpOfClusterInternalServerError) String

type ListBackUpOfClusterInternalServerErrorBody

type ListBackUpOfClusterInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListBackUpOfClusterInternalServerErrorBody list back up of cluster internal server error body swagger:model ListBackUpOfClusterInternalServerErrorBody

func (*ListBackUpOfClusterInternalServerErrorBody) ContextValidate

ContextValidate validates this list back up of cluster internal server error body based on context it is used

func (*ListBackUpOfClusterInternalServerErrorBody) MarshalBinary

func (o *ListBackUpOfClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterInternalServerErrorBody) UnmarshalBinary

func (o *ListBackUpOfClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterInternalServerErrorBody) Validate

Validate validates this list back up of cluster internal server error body

type ListBackUpOfClusterNotFound

type ListBackUpOfClusterNotFound struct {
	Payload *ListBackUpOfClusterNotFoundBody
}

ListBackUpOfClusterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewListBackUpOfClusterNotFound

func NewListBackUpOfClusterNotFound() *ListBackUpOfClusterNotFound

NewListBackUpOfClusterNotFound creates a ListBackUpOfClusterNotFound with default headers values

func (*ListBackUpOfClusterNotFound) Code

func (o *ListBackUpOfClusterNotFound) Code() int

Code gets the status code for the list back up of cluster not found response

func (*ListBackUpOfClusterNotFound) Error

func (*ListBackUpOfClusterNotFound) GetPayload

func (*ListBackUpOfClusterNotFound) IsClientError

func (o *ListBackUpOfClusterNotFound) IsClientError() bool

IsClientError returns true when this list back up of cluster not found response has a 4xx status code

func (*ListBackUpOfClusterNotFound) IsCode

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

IsCode returns true when this list back up of cluster not found response a status code equal to that given

func (*ListBackUpOfClusterNotFound) IsRedirect

func (o *ListBackUpOfClusterNotFound) IsRedirect() bool

IsRedirect returns true when this list back up of cluster not found response has a 3xx status code

func (*ListBackUpOfClusterNotFound) IsServerError

func (o *ListBackUpOfClusterNotFound) IsServerError() bool

IsServerError returns true when this list back up of cluster not found response has a 5xx status code

func (*ListBackUpOfClusterNotFound) IsSuccess

func (o *ListBackUpOfClusterNotFound) IsSuccess() bool

IsSuccess returns true when this list back up of cluster not found response has a 2xx status code

func (*ListBackUpOfClusterNotFound) String

func (o *ListBackUpOfClusterNotFound) String() string

type ListBackUpOfClusterNotFoundBody

type ListBackUpOfClusterNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListBackUpOfClusterNotFoundBody list back up of cluster not found body swagger:model ListBackUpOfClusterNotFoundBody

func (*ListBackUpOfClusterNotFoundBody) ContextValidate

func (o *ListBackUpOfClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list back up of cluster not found body based on context it is used

func (*ListBackUpOfClusterNotFoundBody) MarshalBinary

func (o *ListBackUpOfClusterNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterNotFoundBody) UnmarshalBinary

func (o *ListBackUpOfClusterNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterNotFoundBody) Validate

Validate validates this list back up of cluster not found body

type ListBackUpOfClusterOK

type ListBackUpOfClusterOK struct {
	Payload *ListBackUpOfClusterOKBody
}

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

A successful response.

func NewListBackUpOfClusterOK

func NewListBackUpOfClusterOK() *ListBackUpOfClusterOK

NewListBackUpOfClusterOK creates a ListBackUpOfClusterOK with default headers values

func (*ListBackUpOfClusterOK) Code

func (o *ListBackUpOfClusterOK) Code() int

Code gets the status code for the list back up of cluster o k response

func (*ListBackUpOfClusterOK) Error

func (o *ListBackUpOfClusterOK) Error() string

func (*ListBackUpOfClusterOK) GetPayload

func (*ListBackUpOfClusterOK) IsClientError

func (o *ListBackUpOfClusterOK) IsClientError() bool

IsClientError returns true when this list back up of cluster o k response has a 4xx status code

func (*ListBackUpOfClusterOK) IsCode

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

IsCode returns true when this list back up of cluster o k response a status code equal to that given

func (*ListBackUpOfClusterOK) IsRedirect

func (o *ListBackUpOfClusterOK) IsRedirect() bool

IsRedirect returns true when this list back up of cluster o k response has a 3xx status code

func (*ListBackUpOfClusterOK) IsServerError

func (o *ListBackUpOfClusterOK) IsServerError() bool

IsServerError returns true when this list back up of cluster o k response has a 5xx status code

func (*ListBackUpOfClusterOK) IsSuccess

func (o *ListBackUpOfClusterOK) IsSuccess() bool

IsSuccess returns true when this list back up of cluster o k response has a 2xx status code

func (*ListBackUpOfClusterOK) String

func (o *ListBackUpOfClusterOK) String() string

type ListBackUpOfClusterOKBody

type ListBackUpOfClusterOKBody struct {

	// The items of all backups.
	Items []*ListBackUpOfClusterOKBodyItemsItems0 `json:"items"`

	// The total number of backups in the project.
	// Example: 10
	Total int64 `json:"total,omitempty"`
}

ListBackUpOfClusterOKBody ListBackupOfClusterResp // // The response for listing backups of a cluster. swagger:model ListBackUpOfClusterOKBody

func (*ListBackUpOfClusterOKBody) ContextValidate

func (o *ListBackUpOfClusterOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list back up of cluster o k body based on the context it is used

func (*ListBackUpOfClusterOKBody) MarshalBinary

func (o *ListBackUpOfClusterOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterOKBody) UnmarshalBinary

func (o *ListBackUpOfClusterOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterOKBody) Validate

func (o *ListBackUpOfClusterOKBody) Validate(formats strfmt.Registry) error

Validate validates this list back up of cluster o k body

type ListBackUpOfClusterOKBodyItemsItems0

type ListBackUpOfClusterOKBodyItemsItems0 struct {

	// The creation time of the backup in UTC. The time format follows the [ISO8601](http://en.wikipedia.org/wiki/ISO_8601) standard, which is `YYYY-MM-DD` (year-month-day) + T +`HH:MM:SS` (hour-minutes-seconds) + Z. For example, `2020-01-01T00:00:00Z`.
	// Example: 2020-01-01T00:00:00Z
	// Format: date-time
	CreateTimestamp strfmt.DateTime `json:"create_timestamp,omitempty"`

	// The description of the backup. It is specified by the user when taking a manual type backup. It helps you add additional information to the backup.
	// Example: backup for cluster upgrade in 2022/06/07
	Description string `json:"description,omitempty"`

	// The ID of the backup. It is generated by TiDB Cloud.
	// Example: 1
	ID string `json:"id,omitempty"`

	// The name of the backup.
	// Example: backup-1
	Name string `json:"name,omitempty"`

	// The bytes of the backup.
	// Example: 102400
	Size string `json:"size,omitempty"`

	// The status of backup.
	// Example: SUCCESS
	// Enum: [PENDING RUNNING FAILED SUCCESS]
	Status string `json:"status,omitempty"`

	// The type of backup. TiDB Cloud only supports manual and auto backup. For more information, see [TiDB Cloud Documentation](https://docs.pingcap.com/tidbcloud/backup-and-restore#backup).
	// Example: MANUAL
	// Enum: [MANUAL AUTO]
	Type string `json:"type,omitempty"`
}

ListBackUpOfClusterOKBodyItemsItems0 ListBackupItem // // The item of backup list. swagger:model ListBackUpOfClusterOKBodyItemsItems0

func (*ListBackUpOfClusterOKBodyItemsItems0) ContextValidate

func (o *ListBackUpOfClusterOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list back up of cluster o k body items items0 based on context it is used

func (*ListBackUpOfClusterOKBodyItemsItems0) MarshalBinary

func (o *ListBackUpOfClusterOKBodyItemsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterOKBodyItemsItems0) UnmarshalBinary

func (o *ListBackUpOfClusterOKBodyItemsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterOKBodyItemsItems0) Validate

Validate validates this list back up of cluster o k body items items0

type ListBackUpOfClusterParams

type ListBackUpOfClusterParams struct {

	/* ClusterID.

	   The ID of your cluster. You can get the cluster ID from the response of [Get all clusters in a project](#tag/Cluster/operation/ListClustersOfProject).

	   Format: uint64
	*/
	ClusterID string

	/* Page.

	   The number of pages.

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* PageSize.

	   The size of a page.

	   Format: int32
	   Default: 10
	*/
	PageSize *int32

	/* ProjectID.

	   The ID of your project. You can get the project ID from the response of [List all accessible projects.](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

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

ListBackUpOfClusterParams contains all the parameters to send to the API endpoint

for the list back up of cluster operation.

Typically these are written to a http.Request.

func NewListBackUpOfClusterParams

func NewListBackUpOfClusterParams() *ListBackUpOfClusterParams

NewListBackUpOfClusterParams creates a new ListBackUpOfClusterParams 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 NewListBackUpOfClusterParamsWithContext

func NewListBackUpOfClusterParamsWithContext(ctx context.Context) *ListBackUpOfClusterParams

NewListBackUpOfClusterParamsWithContext creates a new ListBackUpOfClusterParams object with the ability to set a context for a request.

func NewListBackUpOfClusterParamsWithHTTPClient

func NewListBackUpOfClusterParamsWithHTTPClient(client *http.Client) *ListBackUpOfClusterParams

NewListBackUpOfClusterParamsWithHTTPClient creates a new ListBackUpOfClusterParams object with the ability to set a custom HTTPClient for a request.

func NewListBackUpOfClusterParamsWithTimeout

func NewListBackUpOfClusterParamsWithTimeout(timeout time.Duration) *ListBackUpOfClusterParams

NewListBackUpOfClusterParamsWithTimeout creates a new ListBackUpOfClusterParams object with the ability to set a timeout on a request.

func (*ListBackUpOfClusterParams) SetClusterID

func (o *ListBackUpOfClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list back up of cluster params

func (*ListBackUpOfClusterParams) SetContext

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

SetContext adds the context to the list back up of cluster params

func (*ListBackUpOfClusterParams) SetDefaults

func (o *ListBackUpOfClusterParams) SetDefaults()

SetDefaults hydrates default values in the list back up of cluster params (not the query body).

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

func (*ListBackUpOfClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list back up of cluster params

func (*ListBackUpOfClusterParams) SetPage

func (o *ListBackUpOfClusterParams) SetPage(page *int32)

SetPage adds the page to the list back up of cluster params

func (*ListBackUpOfClusterParams) SetPageSize

func (o *ListBackUpOfClusterParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the list back up of cluster params

func (*ListBackUpOfClusterParams) SetProjectID

func (o *ListBackUpOfClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list back up of cluster params

func (*ListBackUpOfClusterParams) SetTimeout

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

SetTimeout adds the timeout to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithClusterID

func (o *ListBackUpOfClusterParams) WithClusterID(clusterID string) *ListBackUpOfClusterParams

WithClusterID adds the clusterID to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithContext

WithContext adds the context to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithDefaults

WithDefaults hydrates default values in the list back up of cluster params (not the query body).

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

func (*ListBackUpOfClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithPage

WithPage adds the page to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithPageSize

func (o *ListBackUpOfClusterParams) WithPageSize(pageSize *int32) *ListBackUpOfClusterParams

WithPageSize adds the pageSize to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithProjectID

func (o *ListBackUpOfClusterParams) WithProjectID(projectID string) *ListBackUpOfClusterParams

WithProjectID adds the projectID to the list back up of cluster params

func (*ListBackUpOfClusterParams) WithTimeout

WithTimeout adds the timeout to the list back up of cluster params

func (*ListBackUpOfClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListBackUpOfClusterReader

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

ListBackUpOfClusterReader is a Reader for the ListBackUpOfCluster structure.

func (*ListBackUpOfClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBackUpOfClusterTooManyRequests

type ListBackUpOfClusterTooManyRequests struct {
	Payload *ListBackUpOfClusterTooManyRequestsBody
}

ListBackUpOfClusterTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewListBackUpOfClusterTooManyRequests

func NewListBackUpOfClusterTooManyRequests() *ListBackUpOfClusterTooManyRequests

NewListBackUpOfClusterTooManyRequests creates a ListBackUpOfClusterTooManyRequests with default headers values

func (*ListBackUpOfClusterTooManyRequests) Code

Code gets the status code for the list back up of cluster too many requests response

func (*ListBackUpOfClusterTooManyRequests) Error

func (*ListBackUpOfClusterTooManyRequests) GetPayload

func (*ListBackUpOfClusterTooManyRequests) IsClientError

func (o *ListBackUpOfClusterTooManyRequests) IsClientError() bool

IsClientError returns true when this list back up of cluster too many requests response has a 4xx status code

func (*ListBackUpOfClusterTooManyRequests) IsCode

IsCode returns true when this list back up of cluster too many requests response a status code equal to that given

func (*ListBackUpOfClusterTooManyRequests) IsRedirect

func (o *ListBackUpOfClusterTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list back up of cluster too many requests response has a 3xx status code

func (*ListBackUpOfClusterTooManyRequests) IsServerError

func (o *ListBackUpOfClusterTooManyRequests) IsServerError() bool

IsServerError returns true when this list back up of cluster too many requests response has a 5xx status code

func (*ListBackUpOfClusterTooManyRequests) IsSuccess

IsSuccess returns true when this list back up of cluster too many requests response has a 2xx status code

func (*ListBackUpOfClusterTooManyRequests) String

type ListBackUpOfClusterTooManyRequestsBody

type ListBackUpOfClusterTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListBackUpOfClusterTooManyRequestsBody list back up of cluster too many requests body swagger:model ListBackUpOfClusterTooManyRequestsBody

func (*ListBackUpOfClusterTooManyRequestsBody) ContextValidate

ContextValidate validates this list back up of cluster too many requests body based on context it is used

func (*ListBackUpOfClusterTooManyRequestsBody) MarshalBinary

func (o *ListBackUpOfClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListBackUpOfClusterTooManyRequestsBody) UnmarshalBinary

func (o *ListBackUpOfClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListBackUpOfClusterTooManyRequestsBody) Validate

Validate validates this list back up of cluster too many requests body

type ListBackUpOfClusterUnauthorized

type ListBackUpOfClusterUnauthorized struct {
	Payload interface{}
}

ListBackUpOfClusterUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewListBackUpOfClusterUnauthorized

func NewListBackUpOfClusterUnauthorized() *ListBackUpOfClusterUnauthorized

NewListBackUpOfClusterUnauthorized creates a ListBackUpOfClusterUnauthorized with default headers values

func (*ListBackUpOfClusterUnauthorized) Code

Code gets the status code for the list back up of cluster unauthorized response

func (*ListBackUpOfClusterUnauthorized) Error

func (*ListBackUpOfClusterUnauthorized) GetPayload

func (o *ListBackUpOfClusterUnauthorized) GetPayload() interface{}

func (*ListBackUpOfClusterUnauthorized) IsClientError

func (o *ListBackUpOfClusterUnauthorized) IsClientError() bool

IsClientError returns true when this list back up of cluster unauthorized response has a 4xx status code

func (*ListBackUpOfClusterUnauthorized) IsCode

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

IsCode returns true when this list back up of cluster unauthorized response a status code equal to that given

func (*ListBackUpOfClusterUnauthorized) IsRedirect

func (o *ListBackUpOfClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this list back up of cluster unauthorized response has a 3xx status code

func (*ListBackUpOfClusterUnauthorized) IsServerError

func (o *ListBackUpOfClusterUnauthorized) IsServerError() bool

IsServerError returns true when this list back up of cluster unauthorized response has a 5xx status code

func (*ListBackUpOfClusterUnauthorized) IsSuccess

func (o *ListBackUpOfClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this list back up of cluster unauthorized response has a 2xx status code

func (*ListBackUpOfClusterUnauthorized) String

Jump to

Keyboard shortcuts

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