Documentation ¶
Index ¶
- type BackupAddBadRequest
- type BackupAddConflict
- type BackupAddCreated
- type BackupAddParams
- func (o *BackupAddParams) SetBackupItem(backupItem *models.Backup)
- func (o *BackupAddParams) SetContext(ctx context.Context)
- func (o *BackupAddParams) SetDefaults()
- func (o *BackupAddParams) SetHTTPClient(client *http.Client)
- func (o *BackupAddParams) SetTimeout(timeout time.Duration)
- func (o *BackupAddParams) WithBackupItem(backupItem *models.Backup) *BackupAddParams
- func (o *BackupAddParams) WithContext(ctx context.Context) *BackupAddParams
- func (o *BackupAddParams) WithDefaults() *BackupAddParams
- func (o *BackupAddParams) WithHTTPClient(client *http.Client) *BackupAddParams
- func (o *BackupAddParams) WithTimeout(timeout time.Duration) *BackupAddParams
- func (o *BackupAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupAddReader
- type BackupAddServiceUnavailable
- type BackupAddUnauthorized
- type BackupAddUnprocessableEntity
- type BackupDeleteBadRequest
- type BackupDeleteForbidden
- type BackupDeleteNotFound
- type BackupDeleteOK
- type BackupDeleteParams
- func (o *BackupDeleteParams) SetBackupID(backupID string)
- func (o *BackupDeleteParams) SetContext(ctx context.Context)
- func (o *BackupDeleteParams) SetDefaults()
- func (o *BackupDeleteParams) SetHTTPClient(client *http.Client)
- func (o *BackupDeleteParams) SetTimeout(timeout time.Duration)
- func (o *BackupDeleteParams) WithBackupID(backupID string) *BackupDeleteParams
- func (o *BackupDeleteParams) WithContext(ctx context.Context) *BackupDeleteParams
- func (o *BackupDeleteParams) WithDefaults() *BackupDeleteParams
- func (o *BackupDeleteParams) WithHTTPClient(client *http.Client) *BackupDeleteParams
- func (o *BackupDeleteParams) WithTimeout(timeout time.Duration) *BackupDeleteParams
- func (o *BackupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupDeleteReader
- type BackupDeleteServiceUnavailable
- type BackupDeleteUnauthorized
- type BackupDeleteUnprocessableEntity
- type BackupListBadRequest
- type BackupListForbidden
- type BackupListOK
- type BackupListParams
- func (o *BackupListParams) SetContext(ctx context.Context)
- func (o *BackupListParams) SetDefaults()
- func (o *BackupListParams) SetHTTPClient(client *http.Client)
- func (o *BackupListParams) SetServiceID(serviceID *string)
- func (o *BackupListParams) SetTimeout(timeout time.Duration)
- func (o *BackupListParams) WithContext(ctx context.Context) *BackupListParams
- func (o *BackupListParams) WithDefaults() *BackupListParams
- func (o *BackupListParams) WithHTTPClient(client *http.Client) *BackupListParams
- func (o *BackupListParams) WithServiceID(serviceID *string) *BackupListParams
- func (o *BackupListParams) WithTimeout(timeout time.Duration) *BackupListParams
- func (o *BackupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupListReader
- type BackupListServiceUnavailable
- type BackupListUnauthorized
- type BackupListUnprocessableEntity
- type Client
- func (a *Client) BackupAdd(params *BackupAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupAddCreated, error)
- func (a *Client) BackupDelete(params *BackupDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupDeleteOK, error)
- func (a *Client) BackupList(params *BackupListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupAddBadRequest ¶
BackupAddBadRequest describes a response with status code 400, with default header values.
invalid input, object invalid
func NewBackupAddBadRequest ¶
func NewBackupAddBadRequest() *BackupAddBadRequest
NewBackupAddBadRequest creates a BackupAddBadRequest with default headers values
func (*BackupAddBadRequest) Error ¶
func (o *BackupAddBadRequest) Error() string
func (*BackupAddBadRequest) GetPayload ¶
func (o *BackupAddBadRequest) GetPayload() *models.Error
type BackupAddConflict ¶
type BackupAddConflict struct { }
BackupAddConflict describes a response with status code 409, with default header values.
item already exists
func NewBackupAddConflict ¶
func NewBackupAddConflict() *BackupAddConflict
NewBackupAddConflict creates a BackupAddConflict with default headers values
func (*BackupAddConflict) Error ¶
func (o *BackupAddConflict) Error() string
type BackupAddCreated ¶
BackupAddCreated describes a response with status code 201, with default header values.
item created
func NewBackupAddCreated ¶
func NewBackupAddCreated() *BackupAddCreated
NewBackupAddCreated creates a BackupAddCreated with default headers values
func (*BackupAddCreated) Error ¶
func (o *BackupAddCreated) Error() string
func (*BackupAddCreated) GetPayload ¶
func (o *BackupAddCreated) GetPayload() *models.Backup
type BackupAddParams ¶
type BackupAddParams struct { /* BackupItem. backup item */ BackupItem *models.Backup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupAddParams contains all the parameters to send to the API endpoint
for the backup add operation. Typically these are written to a http.Request.
func NewBackupAddParams ¶
func NewBackupAddParams() *BackupAddParams
NewBackupAddParams creates a new BackupAddParams 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 NewBackupAddParamsWithContext ¶
func NewBackupAddParamsWithContext(ctx context.Context) *BackupAddParams
NewBackupAddParamsWithContext creates a new BackupAddParams object with the ability to set a context for a request.
func NewBackupAddParamsWithHTTPClient ¶
func NewBackupAddParamsWithHTTPClient(client *http.Client) *BackupAddParams
NewBackupAddParamsWithHTTPClient creates a new BackupAddParams object with the ability to set a custom HTTPClient for a request.
func NewBackupAddParamsWithTimeout ¶
func NewBackupAddParamsWithTimeout(timeout time.Duration) *BackupAddParams
NewBackupAddParamsWithTimeout creates a new BackupAddParams object with the ability to set a timeout on a request.
func (*BackupAddParams) SetBackupItem ¶
func (o *BackupAddParams) SetBackupItem(backupItem *models.Backup)
SetBackupItem adds the backupItem to the backup add params
func (*BackupAddParams) SetContext ¶
func (o *BackupAddParams) SetContext(ctx context.Context)
SetContext adds the context to the backup add params
func (*BackupAddParams) SetDefaults ¶
func (o *BackupAddParams) SetDefaults()
SetDefaults hydrates default values in the backup add params (not the query body).
All values with no default are reset to their zero value.
func (*BackupAddParams) SetHTTPClient ¶
func (o *BackupAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup add params
func (*BackupAddParams) SetTimeout ¶
func (o *BackupAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup add params
func (*BackupAddParams) WithBackupItem ¶
func (o *BackupAddParams) WithBackupItem(backupItem *models.Backup) *BackupAddParams
WithBackupItem adds the backupItem to the backup add params
func (*BackupAddParams) WithContext ¶
func (o *BackupAddParams) WithContext(ctx context.Context) *BackupAddParams
WithContext adds the context to the backup add params
func (*BackupAddParams) WithDefaults ¶
func (o *BackupAddParams) WithDefaults() *BackupAddParams
WithDefaults hydrates default values in the backup add params (not the query body).
All values with no default are reset to their zero value.
func (*BackupAddParams) WithHTTPClient ¶
func (o *BackupAddParams) WithHTTPClient(client *http.Client) *BackupAddParams
WithHTTPClient adds the HTTPClient to the backup add params
func (*BackupAddParams) WithTimeout ¶
func (o *BackupAddParams) WithTimeout(timeout time.Duration) *BackupAddParams
WithTimeout adds the timeout to the backup add params
func (*BackupAddParams) WriteToRequest ¶
func (o *BackupAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupAddReader ¶
type BackupAddReader struct {
// contains filtered or unexported fields
}
BackupAddReader is a Reader for the BackupAdd structure.
func (*BackupAddReader) ReadResponse ¶
func (o *BackupAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupAddServiceUnavailable ¶
type BackupAddServiceUnavailable struct {
}BackupAddServiceUnavailable describes a response with status code 503, with default header values.
internal server error
func NewBackupAddServiceUnavailable ¶
func NewBackupAddServiceUnavailable() *BackupAddServiceUnavailable
NewBackupAddServiceUnavailable creates a BackupAddServiceUnavailable with default headers values
func (*BackupAddServiceUnavailable) Error ¶
func (o *BackupAddServiceUnavailable) Error() string
func (*BackupAddServiceUnavailable) GetPayload ¶
func (o *BackupAddServiceUnavailable) GetPayload() *models.Error
type BackupAddUnauthorized ¶
type BackupAddUnauthorized struct { }
BackupAddUnauthorized describes a response with status code 401, with default header values.
bad authentication
func NewBackupAddUnauthorized ¶
func NewBackupAddUnauthorized() *BackupAddUnauthorized
NewBackupAddUnauthorized creates a BackupAddUnauthorized with default headers values
func (*BackupAddUnauthorized) Error ¶
func (o *BackupAddUnauthorized) Error() string
type BackupAddUnprocessableEntity ¶
BackupAddUnprocessableEntity describes a response with status code 422, with default header values.
bad validation
func NewBackupAddUnprocessableEntity ¶
func NewBackupAddUnprocessableEntity() *BackupAddUnprocessableEntity
NewBackupAddUnprocessableEntity creates a BackupAddUnprocessableEntity with default headers values
func (*BackupAddUnprocessableEntity) Error ¶
func (o *BackupAddUnprocessableEntity) Error() string
func (*BackupAddUnprocessableEntity) GetPayload ¶
func (o *BackupAddUnprocessableEntity) GetPayload() *models.Error
type BackupDeleteBadRequest ¶
BackupDeleteBadRequest describes a response with status code 400, with default header values.
invalid input, object invalid
func NewBackupDeleteBadRequest ¶
func NewBackupDeleteBadRequest() *BackupDeleteBadRequest
NewBackupDeleteBadRequest creates a BackupDeleteBadRequest with default headers values
func (*BackupDeleteBadRequest) Error ¶
func (o *BackupDeleteBadRequest) Error() string
func (*BackupDeleteBadRequest) GetPayload ¶
func (o *BackupDeleteBadRequest) GetPayload() *models.Error
type BackupDeleteForbidden ¶
type BackupDeleteForbidden struct { }
BackupDeleteForbidden describes a response with status code 403, with default header values.
bad permissions
func NewBackupDeleteForbidden ¶
func NewBackupDeleteForbidden() *BackupDeleteForbidden
NewBackupDeleteForbidden creates a BackupDeleteForbidden with default headers values
func (*BackupDeleteForbidden) Error ¶
func (o *BackupDeleteForbidden) Error() string
type BackupDeleteNotFound ¶
BackupDeleteNotFound describes a response with status code 404, with default header values.
item not found
func NewBackupDeleteNotFound ¶
func NewBackupDeleteNotFound() *BackupDeleteNotFound
NewBackupDeleteNotFound creates a BackupDeleteNotFound with default headers values
func (*BackupDeleteNotFound) Error ¶
func (o *BackupDeleteNotFound) Error() string
func (*BackupDeleteNotFound) GetPayload ¶
func (o *BackupDeleteNotFound) GetPayload() *models.Error
type BackupDeleteOK ¶
type BackupDeleteOK struct { }
BackupDeleteOK describes a response with status code 200, with default header values.
item deleted
func NewBackupDeleteOK ¶
func NewBackupDeleteOK() *BackupDeleteOK
NewBackupDeleteOK creates a BackupDeleteOK with default headers values
func (*BackupDeleteOK) Error ¶
func (o *BackupDeleteOK) Error() string
type BackupDeleteParams ¶
type BackupDeleteParams struct { /* BackupID. backup Resource ID */ BackupID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupDeleteParams contains all the parameters to send to the API endpoint
for the backup delete operation. Typically these are written to a http.Request.
func NewBackupDeleteParams ¶
func NewBackupDeleteParams() *BackupDeleteParams
NewBackupDeleteParams creates a new BackupDeleteParams 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 NewBackupDeleteParamsWithContext ¶
func NewBackupDeleteParamsWithContext(ctx context.Context) *BackupDeleteParams
NewBackupDeleteParamsWithContext creates a new BackupDeleteParams object with the ability to set a context for a request.
func NewBackupDeleteParamsWithHTTPClient ¶
func NewBackupDeleteParamsWithHTTPClient(client *http.Client) *BackupDeleteParams
NewBackupDeleteParamsWithHTTPClient creates a new BackupDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewBackupDeleteParamsWithTimeout ¶
func NewBackupDeleteParamsWithTimeout(timeout time.Duration) *BackupDeleteParams
NewBackupDeleteParamsWithTimeout creates a new BackupDeleteParams object with the ability to set a timeout on a request.
func (*BackupDeleteParams) SetBackupID ¶
func (o *BackupDeleteParams) SetBackupID(backupID string)
SetBackupID adds the backupId to the backup delete params
func (*BackupDeleteParams) SetContext ¶
func (o *BackupDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the backup delete params
func (*BackupDeleteParams) SetDefaults ¶
func (o *BackupDeleteParams) SetDefaults()
SetDefaults hydrates default values in the backup delete params (not the query body).
All values with no default are reset to their zero value.
func (*BackupDeleteParams) SetHTTPClient ¶
func (o *BackupDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup delete params
func (*BackupDeleteParams) SetTimeout ¶
func (o *BackupDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup delete params
func (*BackupDeleteParams) WithBackupID ¶
func (o *BackupDeleteParams) WithBackupID(backupID string) *BackupDeleteParams
WithBackupID adds the backupID to the backup delete params
func (*BackupDeleteParams) WithContext ¶
func (o *BackupDeleteParams) WithContext(ctx context.Context) *BackupDeleteParams
WithContext adds the context to the backup delete params
func (*BackupDeleteParams) WithDefaults ¶
func (o *BackupDeleteParams) WithDefaults() *BackupDeleteParams
WithDefaults hydrates default values in the backup delete params (not the query body).
All values with no default are reset to their zero value.
func (*BackupDeleteParams) WithHTTPClient ¶
func (o *BackupDeleteParams) WithHTTPClient(client *http.Client) *BackupDeleteParams
WithHTTPClient adds the HTTPClient to the backup delete params
func (*BackupDeleteParams) WithTimeout ¶
func (o *BackupDeleteParams) WithTimeout(timeout time.Duration) *BackupDeleteParams
WithTimeout adds the timeout to the backup delete params
func (*BackupDeleteParams) WriteToRequest ¶
func (o *BackupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupDeleteReader ¶
type BackupDeleteReader struct {
// contains filtered or unexported fields
}
BackupDeleteReader is a Reader for the BackupDelete structure.
func (*BackupDeleteReader) ReadResponse ¶
func (o *BackupDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupDeleteServiceUnavailable ¶
type BackupDeleteServiceUnavailable struct {
}BackupDeleteServiceUnavailable describes a response with status code 503, with default header values.
internal server error
func NewBackupDeleteServiceUnavailable ¶
func NewBackupDeleteServiceUnavailable() *BackupDeleteServiceUnavailable
NewBackupDeleteServiceUnavailable creates a BackupDeleteServiceUnavailable with default headers values
func (*BackupDeleteServiceUnavailable) Error ¶
func (o *BackupDeleteServiceUnavailable) Error() string
func (*BackupDeleteServiceUnavailable) GetPayload ¶
func (o *BackupDeleteServiceUnavailable) GetPayload() *models.Error
type BackupDeleteUnauthorized ¶
type BackupDeleteUnauthorized struct { }
BackupDeleteUnauthorized describes a response with status code 401, with default header values.
bad authentication
func NewBackupDeleteUnauthorized ¶
func NewBackupDeleteUnauthorized() *BackupDeleteUnauthorized
NewBackupDeleteUnauthorized creates a BackupDeleteUnauthorized with default headers values
func (*BackupDeleteUnauthorized) Error ¶
func (o *BackupDeleteUnauthorized) Error() string
type BackupDeleteUnprocessableEntity ¶
type BackupDeleteUnprocessableEntity struct { }
BackupDeleteUnprocessableEntity describes a response with status code 422, with default header values.
bad validation
func NewBackupDeleteUnprocessableEntity ¶
func NewBackupDeleteUnprocessableEntity() *BackupDeleteUnprocessableEntity
NewBackupDeleteUnprocessableEntity creates a BackupDeleteUnprocessableEntity with default headers values
func (*BackupDeleteUnprocessableEntity) Error ¶
func (o *BackupDeleteUnprocessableEntity) Error() string
type BackupListBadRequest ¶
BackupListBadRequest describes a response with status code 400, with default header values.
bad input parameter
func NewBackupListBadRequest ¶
func NewBackupListBadRequest() *BackupListBadRequest
NewBackupListBadRequest creates a BackupListBadRequest with default headers values
func (*BackupListBadRequest) Error ¶
func (o *BackupListBadRequest) Error() string
func (*BackupListBadRequest) GetPayload ¶
func (o *BackupListBadRequest) GetPayload() *models.Error
type BackupListForbidden ¶
type BackupListForbidden struct { }
BackupListForbidden describes a response with status code 403, with default header values.
bad permissions
func NewBackupListForbidden ¶
func NewBackupListForbidden() *BackupListForbidden
NewBackupListForbidden creates a BackupListForbidden with default headers values
func (*BackupListForbidden) Error ¶
func (o *BackupListForbidden) Error() string
type BackupListOK ¶
BackupListOK describes a response with status code 200, with default header values.
search results matching criteria
func NewBackupListOK ¶
func NewBackupListOK() *BackupListOK
NewBackupListOK creates a BackupListOK with default headers values
func (*BackupListOK) Error ¶
func (o *BackupListOK) Error() string
func (*BackupListOK) GetPayload ¶
func (o *BackupListOK) GetPayload() models.Backups
type BackupListParams ¶
type BackupListParams struct { /* ServiceID. service Resource ID to query backups/restores by */ ServiceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupListParams contains all the parameters to send to the API endpoint
for the backup list operation. Typically these are written to a http.Request.
func NewBackupListParams ¶
func NewBackupListParams() *BackupListParams
NewBackupListParams creates a new BackupListParams 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 NewBackupListParamsWithContext ¶
func NewBackupListParamsWithContext(ctx context.Context) *BackupListParams
NewBackupListParamsWithContext creates a new BackupListParams object with the ability to set a context for a request.
func NewBackupListParamsWithHTTPClient ¶
func NewBackupListParamsWithHTTPClient(client *http.Client) *BackupListParams
NewBackupListParamsWithHTTPClient creates a new BackupListParams object with the ability to set a custom HTTPClient for a request.
func NewBackupListParamsWithTimeout ¶
func NewBackupListParamsWithTimeout(timeout time.Duration) *BackupListParams
NewBackupListParamsWithTimeout creates a new BackupListParams object with the ability to set a timeout on a request.
func (*BackupListParams) SetContext ¶
func (o *BackupListParams) SetContext(ctx context.Context)
SetContext adds the context to the backup list params
func (*BackupListParams) SetDefaults ¶
func (o *BackupListParams) SetDefaults()
SetDefaults hydrates default values in the backup list params (not the query body).
All values with no default are reset to their zero value.
func (*BackupListParams) SetHTTPClient ¶
func (o *BackupListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup list params
func (*BackupListParams) SetServiceID ¶
func (o *BackupListParams) SetServiceID(serviceID *string)
SetServiceID adds the serviceId to the backup list params
func (*BackupListParams) SetTimeout ¶
func (o *BackupListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup list params
func (*BackupListParams) WithContext ¶
func (o *BackupListParams) WithContext(ctx context.Context) *BackupListParams
WithContext adds the context to the backup list params
func (*BackupListParams) WithDefaults ¶
func (o *BackupListParams) WithDefaults() *BackupListParams
WithDefaults hydrates default values in the backup list params (not the query body).
All values with no default are reset to their zero value.
func (*BackupListParams) WithHTTPClient ¶
func (o *BackupListParams) WithHTTPClient(client *http.Client) *BackupListParams
WithHTTPClient adds the HTTPClient to the backup list params
func (*BackupListParams) WithServiceID ¶
func (o *BackupListParams) WithServiceID(serviceID *string) *BackupListParams
WithServiceID adds the serviceID to the backup list params
func (*BackupListParams) WithTimeout ¶
func (o *BackupListParams) WithTimeout(timeout time.Duration) *BackupListParams
WithTimeout adds the timeout to the backup list params
func (*BackupListParams) WriteToRequest ¶
func (o *BackupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupListReader ¶
type BackupListReader struct {
// contains filtered or unexported fields
}
BackupListReader is a Reader for the BackupList structure.
func (*BackupListReader) ReadResponse ¶
func (o *BackupListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupListServiceUnavailable ¶
type BackupListServiceUnavailable struct {
}BackupListServiceUnavailable describes a response with status code 503, with default header values.
internal server error
func NewBackupListServiceUnavailable ¶
func NewBackupListServiceUnavailable() *BackupListServiceUnavailable
NewBackupListServiceUnavailable creates a BackupListServiceUnavailable with default headers values
func (*BackupListServiceUnavailable) Error ¶
func (o *BackupListServiceUnavailable) Error() string
func (*BackupListServiceUnavailable) GetPayload ¶
func (o *BackupListServiceUnavailable) GetPayload() *models.Error
type BackupListUnauthorized ¶
type BackupListUnauthorized struct { }
BackupListUnauthorized describes a response with status code 401, with default header values.
bad authentication
func NewBackupListUnauthorized ¶
func NewBackupListUnauthorized() *BackupListUnauthorized
NewBackupListUnauthorized creates a BackupListUnauthorized with default headers values
func (*BackupListUnauthorized) Error ¶
func (o *BackupListUnauthorized) Error() string
type BackupListUnprocessableEntity ¶
BackupListUnprocessableEntity describes a response with status code 422, with default header values.
bad validation
func NewBackupListUnprocessableEntity ¶
func NewBackupListUnprocessableEntity() *BackupListUnprocessableEntity
NewBackupListUnprocessableEntity creates a BackupListUnprocessableEntity with default headers values
func (*BackupListUnprocessableEntity) Error ¶
func (o *BackupListUnprocessableEntity) Error() string
func (*BackupListUnprocessableEntity) GetPayload ¶
func (o *BackupListUnprocessableEntity) GetPayload() *models.Error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for backup API
func (*Client) BackupAdd ¶
func (a *Client) BackupAdd(params *BackupAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupAddCreated, error)
BackupAdd creates backup object
Create backup object
func (*Client) BackupDelete ¶
func (a *Client) BackupDelete(params *BackupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupDeleteOK, error)
BackupDelete deletes a backup item
Deletes a backup object
func (*Client) BackupList ¶
func (a *Client) BackupList(params *BackupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupListOK, error)
BackupList lists backups
List backup objects
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 { BackupAdd(params *BackupAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupAddCreated, error) BackupDelete(params *BackupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupDeleteOK, error) BackupList(params *BackupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupListOK, 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.