Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateMultiTableBackup(params *CreateMultiTableBackupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMultiTableBackupOK, error)
- func (a *Client) DeleteBackups(params *DeleteBackupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBackupsOK, error)
- func (a *Client) FetchBackupsByTaskUUID(params *FetchBackupsByTaskUUIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FetchBackupsByTaskUUIDOK, error)
- func (a *Client) ListOfBackups(params *ListOfBackupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOfBackupsOK, error)
- func (a *Client) Restore(params *RestoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopBackup(params *StopBackupParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- type ClientOption
- type ClientService
- type CreateMultiTableBackupOK
- type CreateMultiTableBackupParams
- func NewCreateMultiTableBackupParams() *CreateMultiTableBackupParams
- func NewCreateMultiTableBackupParamsWithContext(ctx context.Context) *CreateMultiTableBackupParams
- func NewCreateMultiTableBackupParamsWithHTTPClient(client *http.Client) *CreateMultiTableBackupParams
- func NewCreateMultiTableBackupParamsWithTimeout(timeout time.Duration) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) SetCUUID(cUUID strfmt.UUID)
- func (o *CreateMultiTableBackupParams) SetContext(ctx context.Context)
- func (o *CreateMultiTableBackupParams) SetDefaults()
- func (o *CreateMultiTableBackupParams) SetHTTPClient(client *http.Client)
- func (o *CreateMultiTableBackupParams) SetTableBackup(tableBackup *models.MultiTableBackupRequestParams)
- func (o *CreateMultiTableBackupParams) SetTimeout(timeout time.Duration)
- func (o *CreateMultiTableBackupParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *CreateMultiTableBackupParams) WithCUUID(cUUID strfmt.UUID) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WithContext(ctx context.Context) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WithDefaults() *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WithHTTPClient(client *http.Client) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WithTableBackup(tableBackup *models.MultiTableBackupRequestParams) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WithTimeout(timeout time.Duration) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WithUniUUID(uniUUID strfmt.UUID) *CreateMultiTableBackupParams
- func (o *CreateMultiTableBackupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMultiTableBackupReader
- type DeleteBackupsOK
- type DeleteBackupsParams
- func (o *DeleteBackupsParams) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteBackupsParams) SetContext(ctx context.Context)
- func (o *DeleteBackupsParams) SetDefaults()
- func (o *DeleteBackupsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBackupsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBackupsParams) WithCUUID(cUUID strfmt.UUID) *DeleteBackupsParams
- func (o *DeleteBackupsParams) WithContext(ctx context.Context) *DeleteBackupsParams
- func (o *DeleteBackupsParams) WithDefaults() *DeleteBackupsParams
- func (o *DeleteBackupsParams) WithHTTPClient(client *http.Client) *DeleteBackupsParams
- func (o *DeleteBackupsParams) WithTimeout(timeout time.Duration) *DeleteBackupsParams
- func (o *DeleteBackupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBackupsReader
- type FetchBackupsByTaskUUIDInternalServerError
- type FetchBackupsByTaskUUIDOK
- type FetchBackupsByTaskUUIDParams
- func NewFetchBackupsByTaskUUIDParams() *FetchBackupsByTaskUUIDParams
- func NewFetchBackupsByTaskUUIDParamsWithContext(ctx context.Context) *FetchBackupsByTaskUUIDParams
- func NewFetchBackupsByTaskUUIDParamsWithHTTPClient(client *http.Client) *FetchBackupsByTaskUUIDParams
- func NewFetchBackupsByTaskUUIDParamsWithTimeout(timeout time.Duration) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) SetCUUID(cUUID strfmt.UUID)
- func (o *FetchBackupsByTaskUUIDParams) SetContext(ctx context.Context)
- func (o *FetchBackupsByTaskUUIDParams) SetDefaults()
- func (o *FetchBackupsByTaskUUIDParams) SetHTTPClient(client *http.Client)
- func (o *FetchBackupsByTaskUUIDParams) SetTUUID(tUUID strfmt.UUID)
- func (o *FetchBackupsByTaskUUIDParams) SetTimeout(timeout time.Duration)
- func (o *FetchBackupsByTaskUUIDParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *FetchBackupsByTaskUUIDParams) WithCUUID(cUUID strfmt.UUID) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WithContext(ctx context.Context) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WithDefaults() *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WithHTTPClient(client *http.Client) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WithTUUID(tUUID strfmt.UUID) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WithTimeout(timeout time.Duration) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WithUniUUID(uniUUID strfmt.UUID) *FetchBackupsByTaskUUIDParams
- func (o *FetchBackupsByTaskUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FetchBackupsByTaskUUIDReader
- type ListOfBackupsInternalServerError
- type ListOfBackupsOK
- type ListOfBackupsParams
- func (o *ListOfBackupsParams) SetCUUID(cUUID strfmt.UUID)
- func (o *ListOfBackupsParams) SetContext(ctx context.Context)
- func (o *ListOfBackupsParams) SetDefaults()
- func (o *ListOfBackupsParams) SetHTTPClient(client *http.Client)
- func (o *ListOfBackupsParams) SetTimeout(timeout time.Duration)
- func (o *ListOfBackupsParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *ListOfBackupsParams) WithCUUID(cUUID strfmt.UUID) *ListOfBackupsParams
- func (o *ListOfBackupsParams) WithContext(ctx context.Context) *ListOfBackupsParams
- func (o *ListOfBackupsParams) WithDefaults() *ListOfBackupsParams
- func (o *ListOfBackupsParams) WithHTTPClient(client *http.Client) *ListOfBackupsParams
- func (o *ListOfBackupsParams) WithTimeout(timeout time.Duration) *ListOfBackupsParams
- func (o *ListOfBackupsParams) WithUniUUID(uniUUID strfmt.UUID) *ListOfBackupsParams
- func (o *ListOfBackupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOfBackupsReader
- type RestoreOK
- type RestoreParams
- func (o *RestoreParams) SetBackup(backup *models.BackupTableParams)
- func (o *RestoreParams) SetCUUID(cUUID strfmt.UUID)
- func (o *RestoreParams) SetContext(ctx context.Context)
- func (o *RestoreParams) SetDefaults()
- func (o *RestoreParams) SetHTTPClient(client *http.Client)
- func (o *RestoreParams) SetTimeout(timeout time.Duration)
- func (o *RestoreParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *RestoreParams) WithBackup(backup *models.BackupTableParams) *RestoreParams
- func (o *RestoreParams) WithCUUID(cUUID strfmt.UUID) *RestoreParams
- func (o *RestoreParams) WithContext(ctx context.Context) *RestoreParams
- func (o *RestoreParams) WithDefaults() *RestoreParams
- func (o *RestoreParams) WithHTTPClient(client *http.Client) *RestoreParams
- func (o *RestoreParams) WithTimeout(timeout time.Duration) *RestoreParams
- func (o *RestoreParams) WithUniUUID(uniUUID strfmt.UUID) *RestoreParams
- func (o *RestoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreReader
- type StopBackupDefault
- type StopBackupParams
- func (o *StopBackupParams) SetBackupUUID(backupUUID strfmt.UUID)
- func (o *StopBackupParams) SetCUUID(cUUID strfmt.UUID)
- func (o *StopBackupParams) SetContext(ctx context.Context)
- func (o *StopBackupParams) SetDefaults()
- func (o *StopBackupParams) SetHTTPClient(client *http.Client)
- func (o *StopBackupParams) SetTimeout(timeout time.Duration)
- func (o *StopBackupParams) WithBackupUUID(backupUUID strfmt.UUID) *StopBackupParams
- func (o *StopBackupParams) WithCUUID(cUUID strfmt.UUID) *StopBackupParams
- func (o *StopBackupParams) WithContext(ctx context.Context) *StopBackupParams
- func (o *StopBackupParams) WithDefaults() *StopBackupParams
- func (o *StopBackupParams) WithHTTPClient(client *http.Client) *StopBackupParams
- func (o *StopBackupParams) WithTimeout(timeout time.Duration) *StopBackupParams
- func (o *StopBackupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopBackupReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for backups API
func (*Client) CreateMultiTableBackup ¶
func (a *Client) CreateMultiTableBackup(params *CreateMultiTableBackupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMultiTableBackupOK, error)
CreateMultiTableBackup creates a multi table backup
func (*Client) DeleteBackups ¶
func (a *Client) DeleteBackups(params *DeleteBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBackupsOK, error)
DeleteBackups deletes backups
func (*Client) FetchBackupsByTaskUUID ¶
func (a *Client) FetchBackupsByTaskUUID(params *FetchBackupsByTaskUUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FetchBackupsByTaskUUIDOK, error)
FetchBackupsByTaskUUID lists a task s backups
func (*Client) ListOfBackups ¶
func (a *Client) ListOfBackups(params *ListOfBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOfBackupsOK, error)
ListOfBackups lists a customer s backups
func (*Client) Restore ¶
func (a *Client) Restore(params *RestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreOK, error)
Restore restores from a backup
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopBackup ¶
func (a *Client) StopBackup(params *StopBackupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
StopBackup stops a backup
Stop an in-progress backup
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListOfBackups(params *ListOfBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOfBackupsOK, error) CreateMultiTableBackup(params *CreateMultiTableBackupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMultiTableBackupOK, error) DeleteBackups(params *DeleteBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBackupsOK, error) FetchBackupsByTaskUUID(params *FetchBackupsByTaskUUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FetchBackupsByTaskUUIDOK, error) Restore(params *RestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreOK, error) StopBackup(params *StopBackupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) 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 backups API client.
type CreateMultiTableBackupOK ¶
CreateMultiTableBackupOK describes a response with status code 200, with default header values.
If requested schedule backup.
func NewCreateMultiTableBackupOK ¶
func NewCreateMultiTableBackupOK() *CreateMultiTableBackupOK
NewCreateMultiTableBackupOK creates a CreateMultiTableBackupOK with default headers values
func (*CreateMultiTableBackupOK) Error ¶
func (o *CreateMultiTableBackupOK) Error() string
func (*CreateMultiTableBackupOK) GetPayload ¶
func (o *CreateMultiTableBackupOK) GetPayload() *models.Schedule
type CreateMultiTableBackupParams ¶
type CreateMultiTableBackupParams struct { /* TableBackup. Table backup data to be created */ TableBackup *models.MultiTableBackupRequestParams // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMultiTableBackupParams contains all the parameters to send to the API endpoint
for the create multi table backup operation. Typically these are written to a http.Request.
func NewCreateMultiTableBackupParams ¶
func NewCreateMultiTableBackupParams() *CreateMultiTableBackupParams
NewCreateMultiTableBackupParams creates a new CreateMultiTableBackupParams 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 NewCreateMultiTableBackupParamsWithContext ¶
func NewCreateMultiTableBackupParamsWithContext(ctx context.Context) *CreateMultiTableBackupParams
NewCreateMultiTableBackupParamsWithContext creates a new CreateMultiTableBackupParams object with the ability to set a context for a request.
func NewCreateMultiTableBackupParamsWithHTTPClient ¶
func NewCreateMultiTableBackupParamsWithHTTPClient(client *http.Client) *CreateMultiTableBackupParams
NewCreateMultiTableBackupParamsWithHTTPClient creates a new CreateMultiTableBackupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMultiTableBackupParamsWithTimeout ¶
func NewCreateMultiTableBackupParamsWithTimeout(timeout time.Duration) *CreateMultiTableBackupParams
NewCreateMultiTableBackupParamsWithTimeout creates a new CreateMultiTableBackupParams object with the ability to set a timeout on a request.
func (*CreateMultiTableBackupParams) SetCUUID ¶
func (o *CreateMultiTableBackupParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the create multi table backup params
func (*CreateMultiTableBackupParams) SetContext ¶
func (o *CreateMultiTableBackupParams) SetContext(ctx context.Context)
SetContext adds the context to the create multi table backup params
func (*CreateMultiTableBackupParams) SetDefaults ¶
func (o *CreateMultiTableBackupParams) SetDefaults()
SetDefaults hydrates default values in the create multi table backup params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMultiTableBackupParams) SetHTTPClient ¶
func (o *CreateMultiTableBackupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create multi table backup params
func (*CreateMultiTableBackupParams) SetTableBackup ¶
func (o *CreateMultiTableBackupParams) SetTableBackup(tableBackup *models.MultiTableBackupRequestParams)
SetTableBackup adds the tableBackup to the create multi table backup params
func (*CreateMultiTableBackupParams) SetTimeout ¶
func (o *CreateMultiTableBackupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create multi table backup params
func (*CreateMultiTableBackupParams) SetUniUUID ¶
func (o *CreateMultiTableBackupParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the create multi table backup params
func (*CreateMultiTableBackupParams) WithCUUID ¶
func (o *CreateMultiTableBackupParams) WithCUUID(cUUID strfmt.UUID) *CreateMultiTableBackupParams
WithCUUID adds the cUUID to the create multi table backup params
func (*CreateMultiTableBackupParams) WithContext ¶
func (o *CreateMultiTableBackupParams) WithContext(ctx context.Context) *CreateMultiTableBackupParams
WithContext adds the context to the create multi table backup params
func (*CreateMultiTableBackupParams) WithDefaults ¶
func (o *CreateMultiTableBackupParams) WithDefaults() *CreateMultiTableBackupParams
WithDefaults hydrates default values in the create multi table backup params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMultiTableBackupParams) WithHTTPClient ¶
func (o *CreateMultiTableBackupParams) WithHTTPClient(client *http.Client) *CreateMultiTableBackupParams
WithHTTPClient adds the HTTPClient to the create multi table backup params
func (*CreateMultiTableBackupParams) WithTableBackup ¶
func (o *CreateMultiTableBackupParams) WithTableBackup(tableBackup *models.MultiTableBackupRequestParams) *CreateMultiTableBackupParams
WithTableBackup adds the tableBackup to the create multi table backup params
func (*CreateMultiTableBackupParams) WithTimeout ¶
func (o *CreateMultiTableBackupParams) WithTimeout(timeout time.Duration) *CreateMultiTableBackupParams
WithTimeout adds the timeout to the create multi table backup params
func (*CreateMultiTableBackupParams) WithUniUUID ¶
func (o *CreateMultiTableBackupParams) WithUniUUID(uniUUID strfmt.UUID) *CreateMultiTableBackupParams
WithUniUUID adds the uniUUID to the create multi table backup params
func (*CreateMultiTableBackupParams) WriteToRequest ¶
func (o *CreateMultiTableBackupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMultiTableBackupReader ¶
type CreateMultiTableBackupReader struct {
// contains filtered or unexported fields
}
CreateMultiTableBackupReader is a Reader for the CreateMultiTableBackup structure.
func (*CreateMultiTableBackupReader) ReadResponse ¶
func (o *CreateMultiTableBackupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBackupsOK ¶
DeleteBackupsOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteBackupsOK ¶
func NewDeleteBackupsOK() *DeleteBackupsOK
NewDeleteBackupsOK creates a DeleteBackupsOK with default headers values
func (*DeleteBackupsOK) Error ¶
func (o *DeleteBackupsOK) Error() string
func (*DeleteBackupsOK) GetPayload ¶
func (o *DeleteBackupsOK) GetPayload() models.YBPTasks
type DeleteBackupsParams ¶
type DeleteBackupsParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBackupsParams contains all the parameters to send to the API endpoint
for the delete backups operation. Typically these are written to a http.Request.
func NewDeleteBackupsParams ¶
func NewDeleteBackupsParams() *DeleteBackupsParams
NewDeleteBackupsParams creates a new DeleteBackupsParams 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 NewDeleteBackupsParamsWithContext ¶
func NewDeleteBackupsParamsWithContext(ctx context.Context) *DeleteBackupsParams
NewDeleteBackupsParamsWithContext creates a new DeleteBackupsParams object with the ability to set a context for a request.
func NewDeleteBackupsParamsWithHTTPClient ¶
func NewDeleteBackupsParamsWithHTTPClient(client *http.Client) *DeleteBackupsParams
NewDeleteBackupsParamsWithHTTPClient creates a new DeleteBackupsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBackupsParamsWithTimeout ¶
func NewDeleteBackupsParamsWithTimeout(timeout time.Duration) *DeleteBackupsParams
NewDeleteBackupsParamsWithTimeout creates a new DeleteBackupsParams object with the ability to set a timeout on a request.
func (*DeleteBackupsParams) SetCUUID ¶
func (o *DeleteBackupsParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the delete backups params
func (*DeleteBackupsParams) SetContext ¶
func (o *DeleteBackupsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete backups params
func (*DeleteBackupsParams) SetDefaults ¶
func (o *DeleteBackupsParams) SetDefaults()
SetDefaults hydrates default values in the delete backups params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBackupsParams) SetHTTPClient ¶
func (o *DeleteBackupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete backups params
func (*DeleteBackupsParams) SetTimeout ¶
func (o *DeleteBackupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete backups params
func (*DeleteBackupsParams) WithCUUID ¶
func (o *DeleteBackupsParams) WithCUUID(cUUID strfmt.UUID) *DeleteBackupsParams
WithCUUID adds the cUUID to the delete backups params
func (*DeleteBackupsParams) WithContext ¶
func (o *DeleteBackupsParams) WithContext(ctx context.Context) *DeleteBackupsParams
WithContext adds the context to the delete backups params
func (*DeleteBackupsParams) WithDefaults ¶
func (o *DeleteBackupsParams) WithDefaults() *DeleteBackupsParams
WithDefaults hydrates default values in the delete backups params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBackupsParams) WithHTTPClient ¶
func (o *DeleteBackupsParams) WithHTTPClient(client *http.Client) *DeleteBackupsParams
WithHTTPClient adds the HTTPClient to the delete backups params
func (*DeleteBackupsParams) WithTimeout ¶
func (o *DeleteBackupsParams) WithTimeout(timeout time.Duration) *DeleteBackupsParams
WithTimeout adds the timeout to the delete backups params
func (*DeleteBackupsParams) WriteToRequest ¶
func (o *DeleteBackupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBackupsReader ¶
type DeleteBackupsReader struct {
// contains filtered or unexported fields
}
DeleteBackupsReader is a Reader for the DeleteBackups structure.
func (*DeleteBackupsReader) ReadResponse ¶
func (o *DeleteBackupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FetchBackupsByTaskUUIDInternalServerError ¶
FetchBackupsByTaskUUIDInternalServerError describes a response with status code 500, with default header values.
If there was a server or database issue when listing the backups
func NewFetchBackupsByTaskUUIDInternalServerError ¶
func NewFetchBackupsByTaskUUIDInternalServerError() *FetchBackupsByTaskUUIDInternalServerError
NewFetchBackupsByTaskUUIDInternalServerError creates a FetchBackupsByTaskUUIDInternalServerError with default headers values
func (*FetchBackupsByTaskUUIDInternalServerError) Error ¶
func (o *FetchBackupsByTaskUUIDInternalServerError) Error() string
func (*FetchBackupsByTaskUUIDInternalServerError) GetPayload ¶
func (o *FetchBackupsByTaskUUIDInternalServerError) GetPayload() *models.YBPError
type FetchBackupsByTaskUUIDOK ¶
FetchBackupsByTaskUUIDOK describes a response with status code 200, with default header values.
successful operation
func NewFetchBackupsByTaskUUIDOK ¶
func NewFetchBackupsByTaskUUIDOK() *FetchBackupsByTaskUUIDOK
NewFetchBackupsByTaskUUIDOK creates a FetchBackupsByTaskUUIDOK with default headers values
func (*FetchBackupsByTaskUUIDOK) Error ¶
func (o *FetchBackupsByTaskUUIDOK) Error() string
func (*FetchBackupsByTaskUUIDOK) GetPayload ¶
func (o *FetchBackupsByTaskUUIDOK) GetPayload() []*models.Backup
type FetchBackupsByTaskUUIDParams ¶
type FetchBackupsByTaskUUIDParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // TUUID. // // Format: uuid TUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FetchBackupsByTaskUUIDParams contains all the parameters to send to the API endpoint
for the fetch backups by task UUID operation. Typically these are written to a http.Request.
func NewFetchBackupsByTaskUUIDParams ¶
func NewFetchBackupsByTaskUUIDParams() *FetchBackupsByTaskUUIDParams
NewFetchBackupsByTaskUUIDParams creates a new FetchBackupsByTaskUUIDParams 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 NewFetchBackupsByTaskUUIDParamsWithContext ¶
func NewFetchBackupsByTaskUUIDParamsWithContext(ctx context.Context) *FetchBackupsByTaskUUIDParams
NewFetchBackupsByTaskUUIDParamsWithContext creates a new FetchBackupsByTaskUUIDParams object with the ability to set a context for a request.
func NewFetchBackupsByTaskUUIDParamsWithHTTPClient ¶
func NewFetchBackupsByTaskUUIDParamsWithHTTPClient(client *http.Client) *FetchBackupsByTaskUUIDParams
NewFetchBackupsByTaskUUIDParamsWithHTTPClient creates a new FetchBackupsByTaskUUIDParams object with the ability to set a custom HTTPClient for a request.
func NewFetchBackupsByTaskUUIDParamsWithTimeout ¶
func NewFetchBackupsByTaskUUIDParamsWithTimeout(timeout time.Duration) *FetchBackupsByTaskUUIDParams
NewFetchBackupsByTaskUUIDParamsWithTimeout creates a new FetchBackupsByTaskUUIDParams object with the ability to set a timeout on a request.
func (*FetchBackupsByTaskUUIDParams) SetCUUID ¶
func (o *FetchBackupsByTaskUUIDParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) SetContext ¶
func (o *FetchBackupsByTaskUUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) SetDefaults ¶
func (o *FetchBackupsByTaskUUIDParams) SetDefaults()
SetDefaults hydrates default values in the fetch backups by task UUID params (not the query body).
All values with no default are reset to their zero value.
func (*FetchBackupsByTaskUUIDParams) SetHTTPClient ¶
func (o *FetchBackupsByTaskUUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) SetTUUID ¶
func (o *FetchBackupsByTaskUUIDParams) SetTUUID(tUUID strfmt.UUID)
SetTUUID adds the tUuid to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) SetTimeout ¶
func (o *FetchBackupsByTaskUUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) SetUniUUID ¶
func (o *FetchBackupsByTaskUUIDParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WithCUUID ¶
func (o *FetchBackupsByTaskUUIDParams) WithCUUID(cUUID strfmt.UUID) *FetchBackupsByTaskUUIDParams
WithCUUID adds the cUUID to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WithContext ¶
func (o *FetchBackupsByTaskUUIDParams) WithContext(ctx context.Context) *FetchBackupsByTaskUUIDParams
WithContext adds the context to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WithDefaults ¶
func (o *FetchBackupsByTaskUUIDParams) WithDefaults() *FetchBackupsByTaskUUIDParams
WithDefaults hydrates default values in the fetch backups by task UUID params (not the query body).
All values with no default are reset to their zero value.
func (*FetchBackupsByTaskUUIDParams) WithHTTPClient ¶
func (o *FetchBackupsByTaskUUIDParams) WithHTTPClient(client *http.Client) *FetchBackupsByTaskUUIDParams
WithHTTPClient adds the HTTPClient to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WithTUUID ¶
func (o *FetchBackupsByTaskUUIDParams) WithTUUID(tUUID strfmt.UUID) *FetchBackupsByTaskUUIDParams
WithTUUID adds the tUUID to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WithTimeout ¶
func (o *FetchBackupsByTaskUUIDParams) WithTimeout(timeout time.Duration) *FetchBackupsByTaskUUIDParams
WithTimeout adds the timeout to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WithUniUUID ¶
func (o *FetchBackupsByTaskUUIDParams) WithUniUUID(uniUUID strfmt.UUID) *FetchBackupsByTaskUUIDParams
WithUniUUID adds the uniUUID to the fetch backups by task UUID params
func (*FetchBackupsByTaskUUIDParams) WriteToRequest ¶
func (o *FetchBackupsByTaskUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FetchBackupsByTaskUUIDReader ¶
type FetchBackupsByTaskUUIDReader struct {
// contains filtered or unexported fields
}
FetchBackupsByTaskUUIDReader is a Reader for the FetchBackupsByTaskUUID structure.
func (*FetchBackupsByTaskUUIDReader) ReadResponse ¶
func (o *FetchBackupsByTaskUUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOfBackupsInternalServerError ¶
ListOfBackupsInternalServerError describes a response with status code 500, with default header values.
If there was a server or database issue when listing the backups
func NewListOfBackupsInternalServerError ¶
func NewListOfBackupsInternalServerError() *ListOfBackupsInternalServerError
NewListOfBackupsInternalServerError creates a ListOfBackupsInternalServerError with default headers values
func (*ListOfBackupsInternalServerError) Error ¶
func (o *ListOfBackupsInternalServerError) Error() string
func (*ListOfBackupsInternalServerError) GetPayload ¶
func (o *ListOfBackupsInternalServerError) GetPayload() *models.YBPError
type ListOfBackupsOK ¶
ListOfBackupsOK describes a response with status code 200, with default header values.
successful operation
func NewListOfBackupsOK ¶
func NewListOfBackupsOK() *ListOfBackupsOK
NewListOfBackupsOK creates a ListOfBackupsOK with default headers values
func (*ListOfBackupsOK) Error ¶
func (o *ListOfBackupsOK) Error() string
func (*ListOfBackupsOK) GetPayload ¶
func (o *ListOfBackupsOK) GetPayload() []*models.Backup
type ListOfBackupsParams ¶
type ListOfBackupsParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOfBackupsParams contains all the parameters to send to the API endpoint
for the list of backups operation. Typically these are written to a http.Request.
func NewListOfBackupsParams ¶
func NewListOfBackupsParams() *ListOfBackupsParams
NewListOfBackupsParams creates a new ListOfBackupsParams 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 NewListOfBackupsParamsWithContext ¶
func NewListOfBackupsParamsWithContext(ctx context.Context) *ListOfBackupsParams
NewListOfBackupsParamsWithContext creates a new ListOfBackupsParams object with the ability to set a context for a request.
func NewListOfBackupsParamsWithHTTPClient ¶
func NewListOfBackupsParamsWithHTTPClient(client *http.Client) *ListOfBackupsParams
NewListOfBackupsParamsWithHTTPClient creates a new ListOfBackupsParams object with the ability to set a custom HTTPClient for a request.
func NewListOfBackupsParamsWithTimeout ¶
func NewListOfBackupsParamsWithTimeout(timeout time.Duration) *ListOfBackupsParams
NewListOfBackupsParamsWithTimeout creates a new ListOfBackupsParams object with the ability to set a timeout on a request.
func (*ListOfBackupsParams) SetCUUID ¶
func (o *ListOfBackupsParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the list of backups params
func (*ListOfBackupsParams) SetContext ¶
func (o *ListOfBackupsParams) SetContext(ctx context.Context)
SetContext adds the context to the list of backups params
func (*ListOfBackupsParams) SetDefaults ¶
func (o *ListOfBackupsParams) SetDefaults()
SetDefaults hydrates default values in the list of backups params (not the query body).
All values with no default are reset to their zero value.
func (*ListOfBackupsParams) SetHTTPClient ¶
func (o *ListOfBackupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list of backups params
func (*ListOfBackupsParams) SetTimeout ¶
func (o *ListOfBackupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list of backups params
func (*ListOfBackupsParams) SetUniUUID ¶
func (o *ListOfBackupsParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the list of backups params
func (*ListOfBackupsParams) WithCUUID ¶
func (o *ListOfBackupsParams) WithCUUID(cUUID strfmt.UUID) *ListOfBackupsParams
WithCUUID adds the cUUID to the list of backups params
func (*ListOfBackupsParams) WithContext ¶
func (o *ListOfBackupsParams) WithContext(ctx context.Context) *ListOfBackupsParams
WithContext adds the context to the list of backups params
func (*ListOfBackupsParams) WithDefaults ¶
func (o *ListOfBackupsParams) WithDefaults() *ListOfBackupsParams
WithDefaults hydrates default values in the list of backups params (not the query body).
All values with no default are reset to their zero value.
func (*ListOfBackupsParams) WithHTTPClient ¶
func (o *ListOfBackupsParams) WithHTTPClient(client *http.Client) *ListOfBackupsParams
WithHTTPClient adds the HTTPClient to the list of backups params
func (*ListOfBackupsParams) WithTimeout ¶
func (o *ListOfBackupsParams) WithTimeout(timeout time.Duration) *ListOfBackupsParams
WithTimeout adds the timeout to the list of backups params
func (*ListOfBackupsParams) WithUniUUID ¶
func (o *ListOfBackupsParams) WithUniUUID(uniUUID strfmt.UUID) *ListOfBackupsParams
WithUniUUID adds the uniUUID to the list of backups params
func (*ListOfBackupsParams) WriteToRequest ¶
func (o *ListOfBackupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOfBackupsReader ¶
type ListOfBackupsReader struct {
// contains filtered or unexported fields
}
ListOfBackupsReader is a Reader for the ListOfBackups structure.
func (*ListOfBackupsReader) ReadResponse ¶
func (o *ListOfBackupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreOK ¶
RestoreOK describes a response with status code 200, with default header values.
successful operation
func NewRestoreOK ¶
func NewRestoreOK() *RestoreOK
NewRestoreOK creates a RestoreOK with default headers values
func (*RestoreOK) GetPayload ¶
type RestoreParams ¶
type RestoreParams struct { /* Backup. Parameters of the backup to be restored */ Backup *models.BackupTableParams // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreParams contains all the parameters to send to the API endpoint
for the restore operation. Typically these are written to a http.Request.
func NewRestoreParams ¶
func NewRestoreParams() *RestoreParams
NewRestoreParams creates a new RestoreParams 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 NewRestoreParamsWithContext ¶
func NewRestoreParamsWithContext(ctx context.Context) *RestoreParams
NewRestoreParamsWithContext creates a new RestoreParams object with the ability to set a context for a request.
func NewRestoreParamsWithHTTPClient ¶
func NewRestoreParamsWithHTTPClient(client *http.Client) *RestoreParams
NewRestoreParamsWithHTTPClient creates a new RestoreParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreParamsWithTimeout ¶
func NewRestoreParamsWithTimeout(timeout time.Duration) *RestoreParams
NewRestoreParamsWithTimeout creates a new RestoreParams object with the ability to set a timeout on a request.
func (*RestoreParams) SetBackup ¶
func (o *RestoreParams) SetBackup(backup *models.BackupTableParams)
SetBackup adds the backup to the restore params
func (*RestoreParams) SetCUUID ¶
func (o *RestoreParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the restore params
func (*RestoreParams) SetContext ¶
func (o *RestoreParams) SetContext(ctx context.Context)
SetContext adds the context to the restore params
func (*RestoreParams) SetDefaults ¶
func (o *RestoreParams) SetDefaults()
SetDefaults hydrates default values in the restore params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreParams) SetHTTPClient ¶
func (o *RestoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore params
func (*RestoreParams) SetTimeout ¶
func (o *RestoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore params
func (*RestoreParams) SetUniUUID ¶
func (o *RestoreParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the restore params
func (*RestoreParams) WithBackup ¶
func (o *RestoreParams) WithBackup(backup *models.BackupTableParams) *RestoreParams
WithBackup adds the backup to the restore params
func (*RestoreParams) WithCUUID ¶
func (o *RestoreParams) WithCUUID(cUUID strfmt.UUID) *RestoreParams
WithCUUID adds the cUUID to the restore params
func (*RestoreParams) WithContext ¶
func (o *RestoreParams) WithContext(ctx context.Context) *RestoreParams
WithContext adds the context to the restore params
func (*RestoreParams) WithDefaults ¶
func (o *RestoreParams) WithDefaults() *RestoreParams
WithDefaults hydrates default values in the restore params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreParams) WithHTTPClient ¶
func (o *RestoreParams) WithHTTPClient(client *http.Client) *RestoreParams
WithHTTPClient adds the HTTPClient to the restore params
func (*RestoreParams) WithTimeout ¶
func (o *RestoreParams) WithTimeout(timeout time.Duration) *RestoreParams
WithTimeout adds the timeout to the restore params
func (*RestoreParams) WithUniUUID ¶
func (o *RestoreParams) WithUniUUID(uniUUID strfmt.UUID) *RestoreParams
WithUniUUID adds the uniUUID to the restore params
func (*RestoreParams) WriteToRequest ¶
func (o *RestoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreReader ¶
type RestoreReader struct {
// contains filtered or unexported fields
}
RestoreReader is a Reader for the Restore structure.
func (*RestoreReader) ReadResponse ¶
func (o *RestoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopBackupDefault ¶
type StopBackupDefault struct {
// contains filtered or unexported fields
}
StopBackupDefault describes a response with status code -1, with default header values.
successful operation
func NewStopBackupDefault ¶
func NewStopBackupDefault(code int) *StopBackupDefault
NewStopBackupDefault creates a StopBackupDefault with default headers values
func (*StopBackupDefault) Code ¶
func (o *StopBackupDefault) Code() int
Code gets the status code for the stop backup default response
func (*StopBackupDefault) Error ¶
func (o *StopBackupDefault) Error() string
type StopBackupParams ¶
type StopBackupParams struct { // BackupUUID. // // Format: uuid BackupUUID strfmt.UUID // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopBackupParams contains all the parameters to send to the API endpoint
for the stop backup operation. Typically these are written to a http.Request.
func NewStopBackupParams ¶
func NewStopBackupParams() *StopBackupParams
NewStopBackupParams creates a new StopBackupParams 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 NewStopBackupParamsWithContext ¶
func NewStopBackupParamsWithContext(ctx context.Context) *StopBackupParams
NewStopBackupParamsWithContext creates a new StopBackupParams object with the ability to set a context for a request.
func NewStopBackupParamsWithHTTPClient ¶
func NewStopBackupParamsWithHTTPClient(client *http.Client) *StopBackupParams
NewStopBackupParamsWithHTTPClient creates a new StopBackupParams object with the ability to set a custom HTTPClient for a request.
func NewStopBackupParamsWithTimeout ¶
func NewStopBackupParamsWithTimeout(timeout time.Duration) *StopBackupParams
NewStopBackupParamsWithTimeout creates a new StopBackupParams object with the ability to set a timeout on a request.
func (*StopBackupParams) SetBackupUUID ¶
func (o *StopBackupParams) SetBackupUUID(backupUUID strfmt.UUID)
SetBackupUUID adds the backupUuid to the stop backup params
func (*StopBackupParams) SetCUUID ¶
func (o *StopBackupParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the stop backup params
func (*StopBackupParams) SetContext ¶
func (o *StopBackupParams) SetContext(ctx context.Context)
SetContext adds the context to the stop backup params
func (*StopBackupParams) SetDefaults ¶
func (o *StopBackupParams) SetDefaults()
SetDefaults hydrates default values in the stop backup params (not the query body).
All values with no default are reset to their zero value.
func (*StopBackupParams) SetHTTPClient ¶
func (o *StopBackupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop backup params
func (*StopBackupParams) SetTimeout ¶
func (o *StopBackupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop backup params
func (*StopBackupParams) WithBackupUUID ¶
func (o *StopBackupParams) WithBackupUUID(backupUUID strfmt.UUID) *StopBackupParams
WithBackupUUID adds the backupUUID to the stop backup params
func (*StopBackupParams) WithCUUID ¶
func (o *StopBackupParams) WithCUUID(cUUID strfmt.UUID) *StopBackupParams
WithCUUID adds the cUUID to the stop backup params
func (*StopBackupParams) WithContext ¶
func (o *StopBackupParams) WithContext(ctx context.Context) *StopBackupParams
WithContext adds the context to the stop backup params
func (*StopBackupParams) WithDefaults ¶
func (o *StopBackupParams) WithDefaults() *StopBackupParams
WithDefaults hydrates default values in the stop backup params (not the query body).
All values with no default are reset to their zero value.
func (*StopBackupParams) WithHTTPClient ¶
func (o *StopBackupParams) WithHTTPClient(client *http.Client) *StopBackupParams
WithHTTPClient adds the HTTPClient to the stop backup params
func (*StopBackupParams) WithTimeout ¶
func (o *StopBackupParams) WithTimeout(timeout time.Duration) *StopBackupParams
WithTimeout adds the timeout to the stop backup params
func (*StopBackupParams) WriteToRequest ¶
func (o *StopBackupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopBackupReader ¶
type StopBackupReader struct {
// contains filtered or unexported fields
}
StopBackupReader is a Reader for the StopBackup structure.
func (*StopBackupReader) ReadResponse ¶
func (o *StopBackupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- backups_client.go
- create_multi_table_backup_parameters.go
- create_multi_table_backup_responses.go
- delete_backups_parameters.go
- delete_backups_responses.go
- fetch_backups_by_task_uuid_parameters.go
- fetch_backups_by_task_uuid_responses.go
- list_of_backups_parameters.go
- list_of_backups_responses.go
- restore_parameters.go
- restore_responses.go
- stop_backup_parameters.go
- stop_backup_responses.go