Documentation
¶
Index ¶
- type BackupsCancelForbidden
- func (o *BackupsCancelForbidden) Code() int
- func (o *BackupsCancelForbidden) Error() string
- func (o *BackupsCancelForbidden) GetPayload() *models.ErrorResponse
- func (o *BackupsCancelForbidden) IsClientError() bool
- func (o *BackupsCancelForbidden) IsCode(code int) bool
- func (o *BackupsCancelForbidden) IsRedirect() bool
- func (o *BackupsCancelForbidden) IsServerError() bool
- func (o *BackupsCancelForbidden) IsSuccess() bool
- func (o *BackupsCancelForbidden) String() string
- type BackupsCancelInternalServerError
- func (o *BackupsCancelInternalServerError) Code() int
- func (o *BackupsCancelInternalServerError) Error() string
- func (o *BackupsCancelInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BackupsCancelInternalServerError) IsClientError() bool
- func (o *BackupsCancelInternalServerError) IsCode(code int) bool
- func (o *BackupsCancelInternalServerError) IsRedirect() bool
- func (o *BackupsCancelInternalServerError) IsServerError() bool
- func (o *BackupsCancelInternalServerError) IsSuccess() bool
- func (o *BackupsCancelInternalServerError) String() string
- type BackupsCancelNoContent
- func (o *BackupsCancelNoContent) Code() int
- func (o *BackupsCancelNoContent) Error() string
- func (o *BackupsCancelNoContent) IsClientError() bool
- func (o *BackupsCancelNoContent) IsCode(code int) bool
- func (o *BackupsCancelNoContent) IsRedirect() bool
- func (o *BackupsCancelNoContent) IsServerError() bool
- func (o *BackupsCancelNoContent) IsSuccess() bool
- func (o *BackupsCancelNoContent) String() string
- type BackupsCancelParams
- func (o *BackupsCancelParams) SetBackend(backend string)
- func (o *BackupsCancelParams) SetBucket(bucket *string)
- func (o *BackupsCancelParams) SetContext(ctx context.Context)
- func (o *BackupsCancelParams) SetDefaults()
- func (o *BackupsCancelParams) SetHTTPClient(client *http.Client)
- func (o *BackupsCancelParams) SetID(id string)
- func (o *BackupsCancelParams) SetPath(path *string)
- func (o *BackupsCancelParams) SetTimeout(timeout time.Duration)
- func (o *BackupsCancelParams) WithBackend(backend string) *BackupsCancelParams
- func (o *BackupsCancelParams) WithBucket(bucket *string) *BackupsCancelParams
- func (o *BackupsCancelParams) WithContext(ctx context.Context) *BackupsCancelParams
- func (o *BackupsCancelParams) WithDefaults() *BackupsCancelParams
- func (o *BackupsCancelParams) WithHTTPClient(client *http.Client) *BackupsCancelParams
- func (o *BackupsCancelParams) WithID(id string) *BackupsCancelParams
- func (o *BackupsCancelParams) WithPath(path *string) *BackupsCancelParams
- func (o *BackupsCancelParams) WithTimeout(timeout time.Duration) *BackupsCancelParams
- func (o *BackupsCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupsCancelReader
- type BackupsCancelUnauthorized
- func (o *BackupsCancelUnauthorized) Code() int
- func (o *BackupsCancelUnauthorized) Error() string
- func (o *BackupsCancelUnauthorized) IsClientError() bool
- func (o *BackupsCancelUnauthorized) IsCode(code int) bool
- func (o *BackupsCancelUnauthorized) IsRedirect() bool
- func (o *BackupsCancelUnauthorized) IsServerError() bool
- func (o *BackupsCancelUnauthorized) IsSuccess() bool
- func (o *BackupsCancelUnauthorized) String() string
- type BackupsCancelUnprocessableEntity
- func (o *BackupsCancelUnprocessableEntity) Code() int
- func (o *BackupsCancelUnprocessableEntity) Error() string
- func (o *BackupsCancelUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BackupsCancelUnprocessableEntity) IsClientError() bool
- func (o *BackupsCancelUnprocessableEntity) IsCode(code int) bool
- func (o *BackupsCancelUnprocessableEntity) IsRedirect() bool
- func (o *BackupsCancelUnprocessableEntity) IsServerError() bool
- func (o *BackupsCancelUnprocessableEntity) IsSuccess() bool
- func (o *BackupsCancelUnprocessableEntity) String() string
- type BackupsCreateForbidden
- func (o *BackupsCreateForbidden) Code() int
- func (o *BackupsCreateForbidden) Error() string
- func (o *BackupsCreateForbidden) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateForbidden) IsClientError() bool
- func (o *BackupsCreateForbidden) IsCode(code int) bool
- func (o *BackupsCreateForbidden) IsRedirect() bool
- func (o *BackupsCreateForbidden) IsServerError() bool
- func (o *BackupsCreateForbidden) IsSuccess() bool
- func (o *BackupsCreateForbidden) String() string
- type BackupsCreateInternalServerError
- func (o *BackupsCreateInternalServerError) Code() int
- func (o *BackupsCreateInternalServerError) Error() string
- func (o *BackupsCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateInternalServerError) IsClientError() bool
- func (o *BackupsCreateInternalServerError) IsCode(code int) bool
- func (o *BackupsCreateInternalServerError) IsRedirect() bool
- func (o *BackupsCreateInternalServerError) IsServerError() bool
- func (o *BackupsCreateInternalServerError) IsSuccess() bool
- func (o *BackupsCreateInternalServerError) String() string
- type BackupsCreateOK
- func (o *BackupsCreateOK) Code() int
- func (o *BackupsCreateOK) Error() string
- func (o *BackupsCreateOK) GetPayload() *models.BackupCreateResponse
- func (o *BackupsCreateOK) IsClientError() bool
- func (o *BackupsCreateOK) IsCode(code int) bool
- func (o *BackupsCreateOK) IsRedirect() bool
- func (o *BackupsCreateOK) IsServerError() bool
- func (o *BackupsCreateOK) IsSuccess() bool
- func (o *BackupsCreateOK) String() string
- type BackupsCreateParams
- func (o *BackupsCreateParams) SetBackend(backend string)
- func (o *BackupsCreateParams) SetBody(body *models.BackupCreateRequest)
- func (o *BackupsCreateParams) SetContext(ctx context.Context)
- func (o *BackupsCreateParams) SetDefaults()
- func (o *BackupsCreateParams) SetHTTPClient(client *http.Client)
- func (o *BackupsCreateParams) SetTimeout(timeout time.Duration)
- func (o *BackupsCreateParams) WithBackend(backend string) *BackupsCreateParams
- func (o *BackupsCreateParams) WithBody(body *models.BackupCreateRequest) *BackupsCreateParams
- func (o *BackupsCreateParams) WithContext(ctx context.Context) *BackupsCreateParams
- func (o *BackupsCreateParams) WithDefaults() *BackupsCreateParams
- func (o *BackupsCreateParams) WithHTTPClient(client *http.Client) *BackupsCreateParams
- func (o *BackupsCreateParams) WithTimeout(timeout time.Duration) *BackupsCreateParams
- func (o *BackupsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupsCreateReader
- type BackupsCreateStatusForbidden
- func (o *BackupsCreateStatusForbidden) Code() int
- func (o *BackupsCreateStatusForbidden) Error() string
- func (o *BackupsCreateStatusForbidden) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateStatusForbidden) IsClientError() bool
- func (o *BackupsCreateStatusForbidden) IsCode(code int) bool
- func (o *BackupsCreateStatusForbidden) IsRedirect() bool
- func (o *BackupsCreateStatusForbidden) IsServerError() bool
- func (o *BackupsCreateStatusForbidden) IsSuccess() bool
- func (o *BackupsCreateStatusForbidden) String() string
- type BackupsCreateStatusInternalServerError
- func (o *BackupsCreateStatusInternalServerError) Code() int
- func (o *BackupsCreateStatusInternalServerError) Error() string
- func (o *BackupsCreateStatusInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateStatusInternalServerError) IsClientError() bool
- func (o *BackupsCreateStatusInternalServerError) IsCode(code int) bool
- func (o *BackupsCreateStatusInternalServerError) IsRedirect() bool
- func (o *BackupsCreateStatusInternalServerError) IsServerError() bool
- func (o *BackupsCreateStatusInternalServerError) IsSuccess() bool
- func (o *BackupsCreateStatusInternalServerError) String() string
- type BackupsCreateStatusNotFound
- func (o *BackupsCreateStatusNotFound) Code() int
- func (o *BackupsCreateStatusNotFound) Error() string
- func (o *BackupsCreateStatusNotFound) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateStatusNotFound) IsClientError() bool
- func (o *BackupsCreateStatusNotFound) IsCode(code int) bool
- func (o *BackupsCreateStatusNotFound) IsRedirect() bool
- func (o *BackupsCreateStatusNotFound) IsServerError() bool
- func (o *BackupsCreateStatusNotFound) IsSuccess() bool
- func (o *BackupsCreateStatusNotFound) String() string
- type BackupsCreateStatusOK
- func (o *BackupsCreateStatusOK) Code() int
- func (o *BackupsCreateStatusOK) Error() string
- func (o *BackupsCreateStatusOK) GetPayload() *models.BackupCreateStatusResponse
- func (o *BackupsCreateStatusOK) IsClientError() bool
- func (o *BackupsCreateStatusOK) IsCode(code int) bool
- func (o *BackupsCreateStatusOK) IsRedirect() bool
- func (o *BackupsCreateStatusOK) IsServerError() bool
- func (o *BackupsCreateStatusOK) IsSuccess() bool
- func (o *BackupsCreateStatusOK) String() string
- type BackupsCreateStatusParams
- func NewBackupsCreateStatusParams() *BackupsCreateStatusParams
- func NewBackupsCreateStatusParamsWithContext(ctx context.Context) *BackupsCreateStatusParams
- func NewBackupsCreateStatusParamsWithHTTPClient(client *http.Client) *BackupsCreateStatusParams
- func NewBackupsCreateStatusParamsWithTimeout(timeout time.Duration) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) SetBackend(backend string)
- func (o *BackupsCreateStatusParams) SetBucket(bucket *string)
- func (o *BackupsCreateStatusParams) SetContext(ctx context.Context)
- func (o *BackupsCreateStatusParams) SetDefaults()
- func (o *BackupsCreateStatusParams) SetHTTPClient(client *http.Client)
- func (o *BackupsCreateStatusParams) SetID(id string)
- func (o *BackupsCreateStatusParams) SetPath(path *string)
- func (o *BackupsCreateStatusParams) SetTimeout(timeout time.Duration)
- func (o *BackupsCreateStatusParams) WithBackend(backend string) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithBucket(bucket *string) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithContext(ctx context.Context) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithDefaults() *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithHTTPClient(client *http.Client) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithID(id string) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithPath(path *string) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WithTimeout(timeout time.Duration) *BackupsCreateStatusParams
- func (o *BackupsCreateStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupsCreateStatusReader
- type BackupsCreateStatusUnauthorized
- func (o *BackupsCreateStatusUnauthorized) Code() int
- func (o *BackupsCreateStatusUnauthorized) Error() string
- func (o *BackupsCreateStatusUnauthorized) IsClientError() bool
- func (o *BackupsCreateStatusUnauthorized) IsCode(code int) bool
- func (o *BackupsCreateStatusUnauthorized) IsRedirect() bool
- func (o *BackupsCreateStatusUnauthorized) IsServerError() bool
- func (o *BackupsCreateStatusUnauthorized) IsSuccess() bool
- func (o *BackupsCreateStatusUnauthorized) String() string
- type BackupsCreateStatusUnprocessableEntity
- func (o *BackupsCreateStatusUnprocessableEntity) Code() int
- func (o *BackupsCreateStatusUnprocessableEntity) Error() string
- func (o *BackupsCreateStatusUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateStatusUnprocessableEntity) IsClientError() bool
- func (o *BackupsCreateStatusUnprocessableEntity) IsCode(code int) bool
- func (o *BackupsCreateStatusUnprocessableEntity) IsRedirect() bool
- func (o *BackupsCreateStatusUnprocessableEntity) IsServerError() bool
- func (o *BackupsCreateStatusUnprocessableEntity) IsSuccess() bool
- func (o *BackupsCreateStatusUnprocessableEntity) String() string
- type BackupsCreateUnauthorized
- func (o *BackupsCreateUnauthorized) Code() int
- func (o *BackupsCreateUnauthorized) Error() string
- func (o *BackupsCreateUnauthorized) IsClientError() bool
- func (o *BackupsCreateUnauthorized) IsCode(code int) bool
- func (o *BackupsCreateUnauthorized) IsRedirect() bool
- func (o *BackupsCreateUnauthorized) IsServerError() bool
- func (o *BackupsCreateUnauthorized) IsSuccess() bool
- func (o *BackupsCreateUnauthorized) String() string
- type BackupsCreateUnprocessableEntity
- func (o *BackupsCreateUnprocessableEntity) Code() int
- func (o *BackupsCreateUnprocessableEntity) Error() string
- func (o *BackupsCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BackupsCreateUnprocessableEntity) IsClientError() bool
- func (o *BackupsCreateUnprocessableEntity) IsCode(code int) bool
- func (o *BackupsCreateUnprocessableEntity) IsRedirect() bool
- func (o *BackupsCreateUnprocessableEntity) IsServerError() bool
- func (o *BackupsCreateUnprocessableEntity) IsSuccess() bool
- func (o *BackupsCreateUnprocessableEntity) String() string
- type BackupsListForbidden
- func (o *BackupsListForbidden) Code() int
- func (o *BackupsListForbidden) Error() string
- func (o *BackupsListForbidden) GetPayload() *models.ErrorResponse
- func (o *BackupsListForbidden) IsClientError() bool
- func (o *BackupsListForbidden) IsCode(code int) bool
- func (o *BackupsListForbidden) IsRedirect() bool
- func (o *BackupsListForbidden) IsServerError() bool
- func (o *BackupsListForbidden) IsSuccess() bool
- func (o *BackupsListForbidden) String() string
- type BackupsListInternalServerError
- func (o *BackupsListInternalServerError) Code() int
- func (o *BackupsListInternalServerError) Error() string
- func (o *BackupsListInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BackupsListInternalServerError) IsClientError() bool
- func (o *BackupsListInternalServerError) IsCode(code int) bool
- func (o *BackupsListInternalServerError) IsRedirect() bool
- func (o *BackupsListInternalServerError) IsServerError() bool
- func (o *BackupsListInternalServerError) IsSuccess() bool
- func (o *BackupsListInternalServerError) String() string
- type BackupsListOK
- func (o *BackupsListOK) Code() int
- func (o *BackupsListOK) Error() string
- func (o *BackupsListOK) GetPayload() models.BackupListResponse
- func (o *BackupsListOK) IsClientError() bool
- func (o *BackupsListOK) IsCode(code int) bool
- func (o *BackupsListOK) IsRedirect() bool
- func (o *BackupsListOK) IsServerError() bool
- func (o *BackupsListOK) IsSuccess() bool
- func (o *BackupsListOK) String() string
- type BackupsListParams
- func (o *BackupsListParams) SetBackend(backend string)
- func (o *BackupsListParams) SetContext(ctx context.Context)
- func (o *BackupsListParams) SetDefaults()
- func (o *BackupsListParams) SetHTTPClient(client *http.Client)
- func (o *BackupsListParams) SetTimeout(timeout time.Duration)
- func (o *BackupsListParams) WithBackend(backend string) *BackupsListParams
- func (o *BackupsListParams) WithContext(ctx context.Context) *BackupsListParams
- func (o *BackupsListParams) WithDefaults() *BackupsListParams
- func (o *BackupsListParams) WithHTTPClient(client *http.Client) *BackupsListParams
- func (o *BackupsListParams) WithTimeout(timeout time.Duration) *BackupsListParams
- func (o *BackupsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupsListReader
- type BackupsListUnauthorized
- func (o *BackupsListUnauthorized) Code() int
- func (o *BackupsListUnauthorized) Error() string
- func (o *BackupsListUnauthorized) IsClientError() bool
- func (o *BackupsListUnauthorized) IsCode(code int) bool
- func (o *BackupsListUnauthorized) IsRedirect() bool
- func (o *BackupsListUnauthorized) IsServerError() bool
- func (o *BackupsListUnauthorized) IsSuccess() bool
- func (o *BackupsListUnauthorized) String() string
- type BackupsListUnprocessableEntity
- func (o *BackupsListUnprocessableEntity) Code() int
- func (o *BackupsListUnprocessableEntity) Error() string
- func (o *BackupsListUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BackupsListUnprocessableEntity) IsClientError() bool
- func (o *BackupsListUnprocessableEntity) IsCode(code int) bool
- func (o *BackupsListUnprocessableEntity) IsRedirect() bool
- func (o *BackupsListUnprocessableEntity) IsServerError() bool
- func (o *BackupsListUnprocessableEntity) IsSuccess() bool
- func (o *BackupsListUnprocessableEntity) String() string
- type BackupsRestoreForbidden
- func (o *BackupsRestoreForbidden) Code() int
- func (o *BackupsRestoreForbidden) Error() string
- func (o *BackupsRestoreForbidden) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreForbidden) IsClientError() bool
- func (o *BackupsRestoreForbidden) IsCode(code int) bool
- func (o *BackupsRestoreForbidden) IsRedirect() bool
- func (o *BackupsRestoreForbidden) IsServerError() bool
- func (o *BackupsRestoreForbidden) IsSuccess() bool
- func (o *BackupsRestoreForbidden) String() string
- type BackupsRestoreInternalServerError
- func (o *BackupsRestoreInternalServerError) Code() int
- func (o *BackupsRestoreInternalServerError) Error() string
- func (o *BackupsRestoreInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreInternalServerError) IsClientError() bool
- func (o *BackupsRestoreInternalServerError) IsCode(code int) bool
- func (o *BackupsRestoreInternalServerError) IsRedirect() bool
- func (o *BackupsRestoreInternalServerError) IsServerError() bool
- func (o *BackupsRestoreInternalServerError) IsSuccess() bool
- func (o *BackupsRestoreInternalServerError) String() string
- type BackupsRestoreNotFound
- func (o *BackupsRestoreNotFound) Code() int
- func (o *BackupsRestoreNotFound) Error() string
- func (o *BackupsRestoreNotFound) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreNotFound) IsClientError() bool
- func (o *BackupsRestoreNotFound) IsCode(code int) bool
- func (o *BackupsRestoreNotFound) IsRedirect() bool
- func (o *BackupsRestoreNotFound) IsServerError() bool
- func (o *BackupsRestoreNotFound) IsSuccess() bool
- func (o *BackupsRestoreNotFound) String() string
- type BackupsRestoreOK
- func (o *BackupsRestoreOK) Code() int
- func (o *BackupsRestoreOK) Error() string
- func (o *BackupsRestoreOK) GetPayload() *models.BackupRestoreResponse
- func (o *BackupsRestoreOK) IsClientError() bool
- func (o *BackupsRestoreOK) IsCode(code int) bool
- func (o *BackupsRestoreOK) IsRedirect() bool
- func (o *BackupsRestoreOK) IsServerError() bool
- func (o *BackupsRestoreOK) IsSuccess() bool
- func (o *BackupsRestoreOK) String() string
- type BackupsRestoreParams
- func NewBackupsRestoreParams() *BackupsRestoreParams
- func NewBackupsRestoreParamsWithContext(ctx context.Context) *BackupsRestoreParams
- func NewBackupsRestoreParamsWithHTTPClient(client *http.Client) *BackupsRestoreParams
- func NewBackupsRestoreParamsWithTimeout(timeout time.Duration) *BackupsRestoreParams
- func (o *BackupsRestoreParams) SetBackend(backend string)
- func (o *BackupsRestoreParams) SetBody(body *models.BackupRestoreRequest)
- func (o *BackupsRestoreParams) SetContext(ctx context.Context)
- func (o *BackupsRestoreParams) SetDefaults()
- func (o *BackupsRestoreParams) SetHTTPClient(client *http.Client)
- func (o *BackupsRestoreParams) SetID(id string)
- func (o *BackupsRestoreParams) SetTimeout(timeout time.Duration)
- func (o *BackupsRestoreParams) WithBackend(backend string) *BackupsRestoreParams
- func (o *BackupsRestoreParams) WithBody(body *models.BackupRestoreRequest) *BackupsRestoreParams
- func (o *BackupsRestoreParams) WithContext(ctx context.Context) *BackupsRestoreParams
- func (o *BackupsRestoreParams) WithDefaults() *BackupsRestoreParams
- func (o *BackupsRestoreParams) WithHTTPClient(client *http.Client) *BackupsRestoreParams
- func (o *BackupsRestoreParams) WithID(id string) *BackupsRestoreParams
- func (o *BackupsRestoreParams) WithTimeout(timeout time.Duration) *BackupsRestoreParams
- func (o *BackupsRestoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupsRestoreReader
- type BackupsRestoreStatusForbidden
- func (o *BackupsRestoreStatusForbidden) Code() int
- func (o *BackupsRestoreStatusForbidden) Error() string
- func (o *BackupsRestoreStatusForbidden) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreStatusForbidden) IsClientError() bool
- func (o *BackupsRestoreStatusForbidden) IsCode(code int) bool
- func (o *BackupsRestoreStatusForbidden) IsRedirect() bool
- func (o *BackupsRestoreStatusForbidden) IsServerError() bool
- func (o *BackupsRestoreStatusForbidden) IsSuccess() bool
- func (o *BackupsRestoreStatusForbidden) String() string
- type BackupsRestoreStatusInternalServerError
- func (o *BackupsRestoreStatusInternalServerError) Code() int
- func (o *BackupsRestoreStatusInternalServerError) Error() string
- func (o *BackupsRestoreStatusInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreStatusInternalServerError) IsClientError() bool
- func (o *BackupsRestoreStatusInternalServerError) IsCode(code int) bool
- func (o *BackupsRestoreStatusInternalServerError) IsRedirect() bool
- func (o *BackupsRestoreStatusInternalServerError) IsServerError() bool
- func (o *BackupsRestoreStatusInternalServerError) IsSuccess() bool
- func (o *BackupsRestoreStatusInternalServerError) String() string
- type BackupsRestoreStatusNotFound
- func (o *BackupsRestoreStatusNotFound) Code() int
- func (o *BackupsRestoreStatusNotFound) Error() string
- func (o *BackupsRestoreStatusNotFound) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreStatusNotFound) IsClientError() bool
- func (o *BackupsRestoreStatusNotFound) IsCode(code int) bool
- func (o *BackupsRestoreStatusNotFound) IsRedirect() bool
- func (o *BackupsRestoreStatusNotFound) IsServerError() bool
- func (o *BackupsRestoreStatusNotFound) IsSuccess() bool
- func (o *BackupsRestoreStatusNotFound) String() string
- type BackupsRestoreStatusOK
- func (o *BackupsRestoreStatusOK) Code() int
- func (o *BackupsRestoreStatusOK) Error() string
- func (o *BackupsRestoreStatusOK) GetPayload() *models.BackupRestoreStatusResponse
- func (o *BackupsRestoreStatusOK) IsClientError() bool
- func (o *BackupsRestoreStatusOK) IsCode(code int) bool
- func (o *BackupsRestoreStatusOK) IsRedirect() bool
- func (o *BackupsRestoreStatusOK) IsServerError() bool
- func (o *BackupsRestoreStatusOK) IsSuccess() bool
- func (o *BackupsRestoreStatusOK) String() string
- type BackupsRestoreStatusParams
- func NewBackupsRestoreStatusParams() *BackupsRestoreStatusParams
- func NewBackupsRestoreStatusParamsWithContext(ctx context.Context) *BackupsRestoreStatusParams
- func NewBackupsRestoreStatusParamsWithHTTPClient(client *http.Client) *BackupsRestoreStatusParams
- func NewBackupsRestoreStatusParamsWithTimeout(timeout time.Duration) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) SetBackend(backend string)
- func (o *BackupsRestoreStatusParams) SetBucket(bucket *string)
- func (o *BackupsRestoreStatusParams) SetContext(ctx context.Context)
- func (o *BackupsRestoreStatusParams) SetDefaults()
- func (o *BackupsRestoreStatusParams) SetHTTPClient(client *http.Client)
- func (o *BackupsRestoreStatusParams) SetID(id string)
- func (o *BackupsRestoreStatusParams) SetPath(path *string)
- func (o *BackupsRestoreStatusParams) SetTimeout(timeout time.Duration)
- func (o *BackupsRestoreStatusParams) WithBackend(backend string) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithBucket(bucket *string) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithContext(ctx context.Context) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithDefaults() *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithHTTPClient(client *http.Client) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithID(id string) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithPath(path *string) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WithTimeout(timeout time.Duration) *BackupsRestoreStatusParams
- func (o *BackupsRestoreStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupsRestoreStatusReader
- type BackupsRestoreStatusUnauthorized
- func (o *BackupsRestoreStatusUnauthorized) Code() int
- func (o *BackupsRestoreStatusUnauthorized) Error() string
- func (o *BackupsRestoreStatusUnauthorized) IsClientError() bool
- func (o *BackupsRestoreStatusUnauthorized) IsCode(code int) bool
- func (o *BackupsRestoreStatusUnauthorized) IsRedirect() bool
- func (o *BackupsRestoreStatusUnauthorized) IsServerError() bool
- func (o *BackupsRestoreStatusUnauthorized) IsSuccess() bool
- func (o *BackupsRestoreStatusUnauthorized) String() string
- type BackupsRestoreUnauthorized
- func (o *BackupsRestoreUnauthorized) Code() int
- func (o *BackupsRestoreUnauthorized) Error() string
- func (o *BackupsRestoreUnauthorized) IsClientError() bool
- func (o *BackupsRestoreUnauthorized) IsCode(code int) bool
- func (o *BackupsRestoreUnauthorized) IsRedirect() bool
- func (o *BackupsRestoreUnauthorized) IsServerError() bool
- func (o *BackupsRestoreUnauthorized) IsSuccess() bool
- func (o *BackupsRestoreUnauthorized) String() string
- type BackupsRestoreUnprocessableEntity
- func (o *BackupsRestoreUnprocessableEntity) Code() int
- func (o *BackupsRestoreUnprocessableEntity) Error() string
- func (o *BackupsRestoreUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BackupsRestoreUnprocessableEntity) IsClientError() bool
- func (o *BackupsRestoreUnprocessableEntity) IsCode(code int) bool
- func (o *BackupsRestoreUnprocessableEntity) IsRedirect() bool
- func (o *BackupsRestoreUnprocessableEntity) IsServerError() bool
- func (o *BackupsRestoreUnprocessableEntity) IsSuccess() bool
- func (o *BackupsRestoreUnprocessableEntity) String() string
- type Client
- func (a *Client) BackupsCancel(params *BackupsCancelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupsCancelNoContent, error)
- func (a *Client) BackupsCreate(params *BackupsCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupsCreateOK, error)
- func (a *Client) BackupsCreateStatus(params *BackupsCreateStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupsCreateStatusOK, error)
- func (a *Client) BackupsList(params *BackupsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupsListOK, error)
- func (a *Client) BackupsRestore(params *BackupsRestoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupsRestoreOK, error)
- func (a *Client) BackupsRestoreStatus(params *BackupsRestoreStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BackupsRestoreStatusOK, 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 BackupsCancelForbidden ¶ added in v1.24.25
type BackupsCancelForbidden struct {
Payload *models.ErrorResponse
}
BackupsCancelForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBackupsCancelForbidden ¶ added in v1.24.25
func NewBackupsCancelForbidden() *BackupsCancelForbidden
NewBackupsCancelForbidden creates a BackupsCancelForbidden with default headers values
func (*BackupsCancelForbidden) Code ¶ added in v1.24.25
func (o *BackupsCancelForbidden) Code() int
Code gets the status code for the backups cancel forbidden response
func (*BackupsCancelForbidden) Error ¶ added in v1.24.25
func (o *BackupsCancelForbidden) Error() string
func (*BackupsCancelForbidden) GetPayload ¶ added in v1.24.25
func (o *BackupsCancelForbidden) GetPayload() *models.ErrorResponse
func (*BackupsCancelForbidden) IsClientError ¶ added in v1.24.25
func (o *BackupsCancelForbidden) IsClientError() bool
IsClientError returns true when this backups cancel forbidden response has a 4xx status code
func (*BackupsCancelForbidden) IsCode ¶ added in v1.24.25
func (o *BackupsCancelForbidden) IsCode(code int) bool
IsCode returns true when this backups cancel forbidden response a status code equal to that given
func (*BackupsCancelForbidden) IsRedirect ¶ added in v1.24.25
func (o *BackupsCancelForbidden) IsRedirect() bool
IsRedirect returns true when this backups cancel forbidden response has a 3xx status code
func (*BackupsCancelForbidden) IsServerError ¶ added in v1.24.25
func (o *BackupsCancelForbidden) IsServerError() bool
IsServerError returns true when this backups cancel forbidden response has a 5xx status code
func (*BackupsCancelForbidden) IsSuccess ¶ added in v1.24.25
func (o *BackupsCancelForbidden) IsSuccess() bool
IsSuccess returns true when this backups cancel forbidden response has a 2xx status code
func (*BackupsCancelForbidden) String ¶ added in v1.24.25
func (o *BackupsCancelForbidden) String() string
type BackupsCancelInternalServerError ¶ added in v1.24.25
type BackupsCancelInternalServerError struct {
Payload *models.ErrorResponse
}
BackupsCancelInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBackupsCancelInternalServerError ¶ added in v1.24.25
func NewBackupsCancelInternalServerError() *BackupsCancelInternalServerError
NewBackupsCancelInternalServerError creates a BackupsCancelInternalServerError with default headers values
func (*BackupsCancelInternalServerError) Code ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) Code() int
Code gets the status code for the backups cancel internal server error response
func (*BackupsCancelInternalServerError) Error ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) Error() string
func (*BackupsCancelInternalServerError) GetPayload ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) GetPayload() *models.ErrorResponse
func (*BackupsCancelInternalServerError) IsClientError ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) IsClientError() bool
IsClientError returns true when this backups cancel internal server error response has a 4xx status code
func (*BackupsCancelInternalServerError) IsCode ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) IsCode(code int) bool
IsCode returns true when this backups cancel internal server error response a status code equal to that given
func (*BackupsCancelInternalServerError) IsRedirect ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) IsRedirect() bool
IsRedirect returns true when this backups cancel internal server error response has a 3xx status code
func (*BackupsCancelInternalServerError) IsServerError ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) IsServerError() bool
IsServerError returns true when this backups cancel internal server error response has a 5xx status code
func (*BackupsCancelInternalServerError) IsSuccess ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) IsSuccess() bool
IsSuccess returns true when this backups cancel internal server error response has a 2xx status code
func (*BackupsCancelInternalServerError) String ¶ added in v1.24.25
func (o *BackupsCancelInternalServerError) String() string
type BackupsCancelNoContent ¶ added in v1.24.25
type BackupsCancelNoContent struct { }
BackupsCancelNoContent describes a response with status code 204, with default header values.
Successfully deleted.
func NewBackupsCancelNoContent ¶ added in v1.24.25
func NewBackupsCancelNoContent() *BackupsCancelNoContent
NewBackupsCancelNoContent creates a BackupsCancelNoContent with default headers values
func (*BackupsCancelNoContent) Code ¶ added in v1.24.25
func (o *BackupsCancelNoContent) Code() int
Code gets the status code for the backups cancel no content response
func (*BackupsCancelNoContent) Error ¶ added in v1.24.25
func (o *BackupsCancelNoContent) Error() string
func (*BackupsCancelNoContent) IsClientError ¶ added in v1.24.25
func (o *BackupsCancelNoContent) IsClientError() bool
IsClientError returns true when this backups cancel no content response has a 4xx status code
func (*BackupsCancelNoContent) IsCode ¶ added in v1.24.25
func (o *BackupsCancelNoContent) IsCode(code int) bool
IsCode returns true when this backups cancel no content response a status code equal to that given
func (*BackupsCancelNoContent) IsRedirect ¶ added in v1.24.25
func (o *BackupsCancelNoContent) IsRedirect() bool
IsRedirect returns true when this backups cancel no content response has a 3xx status code
func (*BackupsCancelNoContent) IsServerError ¶ added in v1.24.25
func (o *BackupsCancelNoContent) IsServerError() bool
IsServerError returns true when this backups cancel no content response has a 5xx status code
func (*BackupsCancelNoContent) IsSuccess ¶ added in v1.24.25
func (o *BackupsCancelNoContent) IsSuccess() bool
IsSuccess returns true when this backups cancel no content response has a 2xx status code
func (*BackupsCancelNoContent) String ¶ added in v1.24.25
func (o *BackupsCancelNoContent) String() string
type BackupsCancelParams ¶ added in v1.24.25
type BackupsCancelParams struct { /* Backend. Backup backend name e.g. filesystem, gcs, s3. */ Backend string /* Bucket. Name of the bucket, container, volume, etc */ Bucket *string /* ID. The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. */ ID string /* Path. The path within the bucket */ Path *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupsCancelParams contains all the parameters to send to the API endpoint
for the backups cancel operation. Typically these are written to a http.Request.
func NewBackupsCancelParams ¶ added in v1.24.25
func NewBackupsCancelParams() *BackupsCancelParams
NewBackupsCancelParams creates a new BackupsCancelParams 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 NewBackupsCancelParamsWithContext ¶ added in v1.24.25
func NewBackupsCancelParamsWithContext(ctx context.Context) *BackupsCancelParams
NewBackupsCancelParamsWithContext creates a new BackupsCancelParams object with the ability to set a context for a request.
func NewBackupsCancelParamsWithHTTPClient ¶ added in v1.24.25
func NewBackupsCancelParamsWithHTTPClient(client *http.Client) *BackupsCancelParams
NewBackupsCancelParamsWithHTTPClient creates a new BackupsCancelParams object with the ability to set a custom HTTPClient for a request.
func NewBackupsCancelParamsWithTimeout ¶ added in v1.24.25
func NewBackupsCancelParamsWithTimeout(timeout time.Duration) *BackupsCancelParams
NewBackupsCancelParamsWithTimeout creates a new BackupsCancelParams object with the ability to set a timeout on a request.
func (*BackupsCancelParams) SetBackend ¶ added in v1.24.25
func (o *BackupsCancelParams) SetBackend(backend string)
SetBackend adds the backend to the backups cancel params
func (*BackupsCancelParams) SetBucket ¶ added in v1.27.2
func (o *BackupsCancelParams) SetBucket(bucket *string)
SetBucket adds the bucket to the backups cancel params
func (*BackupsCancelParams) SetContext ¶ added in v1.24.25
func (o *BackupsCancelParams) SetContext(ctx context.Context)
SetContext adds the context to the backups cancel params
func (*BackupsCancelParams) SetDefaults ¶ added in v1.24.25
func (o *BackupsCancelParams) SetDefaults()
SetDefaults hydrates default values in the backups cancel params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsCancelParams) SetHTTPClient ¶ added in v1.24.25
func (o *BackupsCancelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backups cancel params
func (*BackupsCancelParams) SetID ¶ added in v1.24.25
func (o *BackupsCancelParams) SetID(id string)
SetID adds the id to the backups cancel params
func (*BackupsCancelParams) SetPath ¶ added in v1.27.2
func (o *BackupsCancelParams) SetPath(path *string)
SetPath adds the path to the backups cancel params
func (*BackupsCancelParams) SetTimeout ¶ added in v1.24.25
func (o *BackupsCancelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backups cancel params
func (*BackupsCancelParams) WithBackend ¶ added in v1.24.25
func (o *BackupsCancelParams) WithBackend(backend string) *BackupsCancelParams
WithBackend adds the backend to the backups cancel params
func (*BackupsCancelParams) WithBucket ¶ added in v1.27.2
func (o *BackupsCancelParams) WithBucket(bucket *string) *BackupsCancelParams
WithBucket adds the bucket to the backups cancel params
func (*BackupsCancelParams) WithContext ¶ added in v1.24.25
func (o *BackupsCancelParams) WithContext(ctx context.Context) *BackupsCancelParams
WithContext adds the context to the backups cancel params
func (*BackupsCancelParams) WithDefaults ¶ added in v1.24.25
func (o *BackupsCancelParams) WithDefaults() *BackupsCancelParams
WithDefaults hydrates default values in the backups cancel params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsCancelParams) WithHTTPClient ¶ added in v1.24.25
func (o *BackupsCancelParams) WithHTTPClient(client *http.Client) *BackupsCancelParams
WithHTTPClient adds the HTTPClient to the backups cancel params
func (*BackupsCancelParams) WithID ¶ added in v1.24.25
func (o *BackupsCancelParams) WithID(id string) *BackupsCancelParams
WithID adds the id to the backups cancel params
func (*BackupsCancelParams) WithPath ¶ added in v1.27.2
func (o *BackupsCancelParams) WithPath(path *string) *BackupsCancelParams
WithPath adds the path to the backups cancel params
func (*BackupsCancelParams) WithTimeout ¶ added in v1.24.25
func (o *BackupsCancelParams) WithTimeout(timeout time.Duration) *BackupsCancelParams
WithTimeout adds the timeout to the backups cancel params
func (*BackupsCancelParams) WriteToRequest ¶ added in v1.24.25
func (o *BackupsCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupsCancelReader ¶ added in v1.24.25
type BackupsCancelReader struct {
// contains filtered or unexported fields
}
BackupsCancelReader is a Reader for the BackupsCancel structure.
func (*BackupsCancelReader) ReadResponse ¶ added in v1.24.25
func (o *BackupsCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupsCancelUnauthorized ¶ added in v1.24.25
type BackupsCancelUnauthorized struct { }
BackupsCancelUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBackupsCancelUnauthorized ¶ added in v1.24.25
func NewBackupsCancelUnauthorized() *BackupsCancelUnauthorized
NewBackupsCancelUnauthorized creates a BackupsCancelUnauthorized with default headers values
func (*BackupsCancelUnauthorized) Code ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) Code() int
Code gets the status code for the backups cancel unauthorized response
func (*BackupsCancelUnauthorized) Error ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) Error() string
func (*BackupsCancelUnauthorized) IsClientError ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) IsClientError() bool
IsClientError returns true when this backups cancel unauthorized response has a 4xx status code
func (*BackupsCancelUnauthorized) IsCode ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) IsCode(code int) bool
IsCode returns true when this backups cancel unauthorized response a status code equal to that given
func (*BackupsCancelUnauthorized) IsRedirect ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) IsRedirect() bool
IsRedirect returns true when this backups cancel unauthorized response has a 3xx status code
func (*BackupsCancelUnauthorized) IsServerError ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) IsServerError() bool
IsServerError returns true when this backups cancel unauthorized response has a 5xx status code
func (*BackupsCancelUnauthorized) IsSuccess ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) IsSuccess() bool
IsSuccess returns true when this backups cancel unauthorized response has a 2xx status code
func (*BackupsCancelUnauthorized) String ¶ added in v1.24.25
func (o *BackupsCancelUnauthorized) String() string
type BackupsCancelUnprocessableEntity ¶ added in v1.24.25
type BackupsCancelUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BackupsCancelUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup cancellation attempt.
func NewBackupsCancelUnprocessableEntity ¶ added in v1.24.25
func NewBackupsCancelUnprocessableEntity() *BackupsCancelUnprocessableEntity
NewBackupsCancelUnprocessableEntity creates a BackupsCancelUnprocessableEntity with default headers values
func (*BackupsCancelUnprocessableEntity) Code ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) Code() int
Code gets the status code for the backups cancel unprocessable entity response
func (*BackupsCancelUnprocessableEntity) Error ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) Error() string
func (*BackupsCancelUnprocessableEntity) GetPayload ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BackupsCancelUnprocessableEntity) IsClientError ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) IsClientError() bool
IsClientError returns true when this backups cancel unprocessable entity response has a 4xx status code
func (*BackupsCancelUnprocessableEntity) IsCode ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this backups cancel unprocessable entity response a status code equal to that given
func (*BackupsCancelUnprocessableEntity) IsRedirect ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this backups cancel unprocessable entity response has a 3xx status code
func (*BackupsCancelUnprocessableEntity) IsServerError ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) IsServerError() bool
IsServerError returns true when this backups cancel unprocessable entity response has a 5xx status code
func (*BackupsCancelUnprocessableEntity) IsSuccess ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this backups cancel unprocessable entity response has a 2xx status code
func (*BackupsCancelUnprocessableEntity) String ¶ added in v1.24.25
func (o *BackupsCancelUnprocessableEntity) String() string
type BackupsCreateForbidden ¶
type BackupsCreateForbidden struct {
Payload *models.ErrorResponse
}
BackupsCreateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBackupsCreateForbidden ¶
func NewBackupsCreateForbidden() *BackupsCreateForbidden
NewBackupsCreateForbidden creates a BackupsCreateForbidden with default headers values
func (*BackupsCreateForbidden) Code ¶ added in v1.18.0
func (o *BackupsCreateForbidden) Code() int
Code gets the status code for the backups create forbidden response
func (*BackupsCreateForbidden) Error ¶
func (o *BackupsCreateForbidden) Error() string
func (*BackupsCreateForbidden) GetPayload ¶
func (o *BackupsCreateForbidden) GetPayload() *models.ErrorResponse
func (*BackupsCreateForbidden) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateForbidden) IsClientError() bool
IsClientError returns true when this backups create forbidden response has a 4xx status code
func (*BackupsCreateForbidden) IsCode ¶ added in v1.18.0
func (o *BackupsCreateForbidden) IsCode(code int) bool
IsCode returns true when this backups create forbidden response a status code equal to that given
func (*BackupsCreateForbidden) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateForbidden) IsRedirect() bool
IsRedirect returns true when this backups create forbidden response has a 3xx status code
func (*BackupsCreateForbidden) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateForbidden) IsServerError() bool
IsServerError returns true when this backups create forbidden response has a 5xx status code
func (*BackupsCreateForbidden) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateForbidden) IsSuccess() bool
IsSuccess returns true when this backups create forbidden response has a 2xx status code
func (*BackupsCreateForbidden) String ¶ added in v1.18.0
func (o *BackupsCreateForbidden) String() string
type BackupsCreateInternalServerError ¶
type BackupsCreateInternalServerError struct {
Payload *models.ErrorResponse
}
BackupsCreateInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBackupsCreateInternalServerError ¶
func NewBackupsCreateInternalServerError() *BackupsCreateInternalServerError
NewBackupsCreateInternalServerError creates a BackupsCreateInternalServerError with default headers values
func (*BackupsCreateInternalServerError) Code ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) Code() int
Code gets the status code for the backups create internal server error response
func (*BackupsCreateInternalServerError) Error ¶
func (o *BackupsCreateInternalServerError) Error() string
func (*BackupsCreateInternalServerError) GetPayload ¶
func (o *BackupsCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*BackupsCreateInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) IsClientError() bool
IsClientError returns true when this backups create internal server error response has a 4xx status code
func (*BackupsCreateInternalServerError) IsCode ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this backups create internal server error response a status code equal to that given
func (*BackupsCreateInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this backups create internal server error response has a 3xx status code
func (*BackupsCreateInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) IsServerError() bool
IsServerError returns true when this backups create internal server error response has a 5xx status code
func (*BackupsCreateInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this backups create internal server error response has a 2xx status code
func (*BackupsCreateInternalServerError) String ¶ added in v1.18.0
func (o *BackupsCreateInternalServerError) String() string
type BackupsCreateOK ¶
type BackupsCreateOK struct {
Payload *models.BackupCreateResponse
}
BackupsCreateOK describes a response with status code 200, with default header values.
Backup create process successfully started.
func NewBackupsCreateOK ¶
func NewBackupsCreateOK() *BackupsCreateOK
NewBackupsCreateOK creates a BackupsCreateOK with default headers values
func (*BackupsCreateOK) Code ¶ added in v1.18.0
func (o *BackupsCreateOK) Code() int
Code gets the status code for the backups create o k response
func (*BackupsCreateOK) Error ¶
func (o *BackupsCreateOK) Error() string
func (*BackupsCreateOK) GetPayload ¶
func (o *BackupsCreateOK) GetPayload() *models.BackupCreateResponse
func (*BackupsCreateOK) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateOK) IsClientError() bool
IsClientError returns true when this backups create o k response has a 4xx status code
func (*BackupsCreateOK) IsCode ¶ added in v1.18.0
func (o *BackupsCreateOK) IsCode(code int) bool
IsCode returns true when this backups create o k response a status code equal to that given
func (*BackupsCreateOK) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateOK) IsRedirect() bool
IsRedirect returns true when this backups create o k response has a 3xx status code
func (*BackupsCreateOK) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateOK) IsServerError() bool
IsServerError returns true when this backups create o k response has a 5xx status code
func (*BackupsCreateOK) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateOK) IsSuccess() bool
IsSuccess returns true when this backups create o k response has a 2xx status code
func (*BackupsCreateOK) String ¶ added in v1.18.0
func (o *BackupsCreateOK) String() string
type BackupsCreateParams ¶
type BackupsCreateParams struct { /* Backend. Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`. */ Backend string // Body. Body *models.BackupCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupsCreateParams contains all the parameters to send to the API endpoint
for the backups create operation. Typically these are written to a http.Request.
func NewBackupsCreateParams ¶
func NewBackupsCreateParams() *BackupsCreateParams
NewBackupsCreateParams creates a new BackupsCreateParams 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 NewBackupsCreateParamsWithContext ¶
func NewBackupsCreateParamsWithContext(ctx context.Context) *BackupsCreateParams
NewBackupsCreateParamsWithContext creates a new BackupsCreateParams object with the ability to set a context for a request.
func NewBackupsCreateParamsWithHTTPClient ¶
func NewBackupsCreateParamsWithHTTPClient(client *http.Client) *BackupsCreateParams
NewBackupsCreateParamsWithHTTPClient creates a new BackupsCreateParams object with the ability to set a custom HTTPClient for a request.
func NewBackupsCreateParamsWithTimeout ¶
func NewBackupsCreateParamsWithTimeout(timeout time.Duration) *BackupsCreateParams
NewBackupsCreateParamsWithTimeout creates a new BackupsCreateParams object with the ability to set a timeout on a request.
func (*BackupsCreateParams) SetBackend ¶
func (o *BackupsCreateParams) SetBackend(backend string)
SetBackend adds the backend to the backups create params
func (*BackupsCreateParams) SetBody ¶
func (o *BackupsCreateParams) SetBody(body *models.BackupCreateRequest)
SetBody adds the body to the backups create params
func (*BackupsCreateParams) SetContext ¶
func (o *BackupsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the backups create params
func (*BackupsCreateParams) SetDefaults ¶ added in v1.18.0
func (o *BackupsCreateParams) SetDefaults()
SetDefaults hydrates default values in the backups create params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsCreateParams) SetHTTPClient ¶
func (o *BackupsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backups create params
func (*BackupsCreateParams) SetTimeout ¶
func (o *BackupsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backups create params
func (*BackupsCreateParams) WithBackend ¶
func (o *BackupsCreateParams) WithBackend(backend string) *BackupsCreateParams
WithBackend adds the backend to the backups create params
func (*BackupsCreateParams) WithBody ¶
func (o *BackupsCreateParams) WithBody(body *models.BackupCreateRequest) *BackupsCreateParams
WithBody adds the body to the backups create params
func (*BackupsCreateParams) WithContext ¶
func (o *BackupsCreateParams) WithContext(ctx context.Context) *BackupsCreateParams
WithContext adds the context to the backups create params
func (*BackupsCreateParams) WithDefaults ¶ added in v1.18.0
func (o *BackupsCreateParams) WithDefaults() *BackupsCreateParams
WithDefaults hydrates default values in the backups create params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsCreateParams) WithHTTPClient ¶
func (o *BackupsCreateParams) WithHTTPClient(client *http.Client) *BackupsCreateParams
WithHTTPClient adds the HTTPClient to the backups create params
func (*BackupsCreateParams) WithTimeout ¶
func (o *BackupsCreateParams) WithTimeout(timeout time.Duration) *BackupsCreateParams
WithTimeout adds the timeout to the backups create params
func (*BackupsCreateParams) WriteToRequest ¶
func (o *BackupsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupsCreateReader ¶
type BackupsCreateReader struct {
// contains filtered or unexported fields
}
BackupsCreateReader is a Reader for the BackupsCreate structure.
func (*BackupsCreateReader) ReadResponse ¶
func (o *BackupsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupsCreateStatusForbidden ¶
type BackupsCreateStatusForbidden struct {
Payload *models.ErrorResponse
}
BackupsCreateStatusForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBackupsCreateStatusForbidden ¶
func NewBackupsCreateStatusForbidden() *BackupsCreateStatusForbidden
NewBackupsCreateStatusForbidden creates a BackupsCreateStatusForbidden with default headers values
func (*BackupsCreateStatusForbidden) Code ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) Code() int
Code gets the status code for the backups create status forbidden response
func (*BackupsCreateStatusForbidden) Error ¶
func (o *BackupsCreateStatusForbidden) Error() string
func (*BackupsCreateStatusForbidden) GetPayload ¶
func (o *BackupsCreateStatusForbidden) GetPayload() *models.ErrorResponse
func (*BackupsCreateStatusForbidden) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) IsClientError() bool
IsClientError returns true when this backups create status forbidden response has a 4xx status code
func (*BackupsCreateStatusForbidden) IsCode ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) IsCode(code int) bool
IsCode returns true when this backups create status forbidden response a status code equal to that given
func (*BackupsCreateStatusForbidden) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) IsRedirect() bool
IsRedirect returns true when this backups create status forbidden response has a 3xx status code
func (*BackupsCreateStatusForbidden) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) IsServerError() bool
IsServerError returns true when this backups create status forbidden response has a 5xx status code
func (*BackupsCreateStatusForbidden) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) IsSuccess() bool
IsSuccess returns true when this backups create status forbidden response has a 2xx status code
func (*BackupsCreateStatusForbidden) String ¶ added in v1.18.0
func (o *BackupsCreateStatusForbidden) String() string
type BackupsCreateStatusInternalServerError ¶
type BackupsCreateStatusInternalServerError struct {
Payload *models.ErrorResponse
}
BackupsCreateStatusInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBackupsCreateStatusInternalServerError ¶
func NewBackupsCreateStatusInternalServerError() *BackupsCreateStatusInternalServerError
NewBackupsCreateStatusInternalServerError creates a BackupsCreateStatusInternalServerError with default headers values
func (*BackupsCreateStatusInternalServerError) Code ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) Code() int
Code gets the status code for the backups create status internal server error response
func (*BackupsCreateStatusInternalServerError) Error ¶
func (o *BackupsCreateStatusInternalServerError) Error() string
func (*BackupsCreateStatusInternalServerError) GetPayload ¶
func (o *BackupsCreateStatusInternalServerError) GetPayload() *models.ErrorResponse
func (*BackupsCreateStatusInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) IsClientError() bool
IsClientError returns true when this backups create status internal server error response has a 4xx status code
func (*BackupsCreateStatusInternalServerError) IsCode ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this backups create status internal server error response a status code equal to that given
func (*BackupsCreateStatusInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this backups create status internal server error response has a 3xx status code
func (*BackupsCreateStatusInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) IsServerError() bool
IsServerError returns true when this backups create status internal server error response has a 5xx status code
func (*BackupsCreateStatusInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this backups create status internal server error response has a 2xx status code
func (*BackupsCreateStatusInternalServerError) String ¶ added in v1.18.0
func (o *BackupsCreateStatusInternalServerError) String() string
type BackupsCreateStatusNotFound ¶
type BackupsCreateStatusNotFound struct {
Payload *models.ErrorResponse
}
BackupsCreateStatusNotFound describes a response with status code 404, with default header values.
Not Found - Backup does not exist
func NewBackupsCreateStatusNotFound ¶
func NewBackupsCreateStatusNotFound() *BackupsCreateStatusNotFound
NewBackupsCreateStatusNotFound creates a BackupsCreateStatusNotFound with default headers values
func (*BackupsCreateStatusNotFound) Code ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) Code() int
Code gets the status code for the backups create status not found response
func (*BackupsCreateStatusNotFound) Error ¶
func (o *BackupsCreateStatusNotFound) Error() string
func (*BackupsCreateStatusNotFound) GetPayload ¶
func (o *BackupsCreateStatusNotFound) GetPayload() *models.ErrorResponse
func (*BackupsCreateStatusNotFound) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) IsClientError() bool
IsClientError returns true when this backups create status not found response has a 4xx status code
func (*BackupsCreateStatusNotFound) IsCode ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) IsCode(code int) bool
IsCode returns true when this backups create status not found response a status code equal to that given
func (*BackupsCreateStatusNotFound) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) IsRedirect() bool
IsRedirect returns true when this backups create status not found response has a 3xx status code
func (*BackupsCreateStatusNotFound) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) IsServerError() bool
IsServerError returns true when this backups create status not found response has a 5xx status code
func (*BackupsCreateStatusNotFound) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) IsSuccess() bool
IsSuccess returns true when this backups create status not found response has a 2xx status code
func (*BackupsCreateStatusNotFound) String ¶ added in v1.18.0
func (o *BackupsCreateStatusNotFound) String() string
type BackupsCreateStatusOK ¶
type BackupsCreateStatusOK struct {
Payload *models.BackupCreateStatusResponse
}
BackupsCreateStatusOK describes a response with status code 200, with default header values.
Backup creation status successfully returned
func NewBackupsCreateStatusOK ¶
func NewBackupsCreateStatusOK() *BackupsCreateStatusOK
NewBackupsCreateStatusOK creates a BackupsCreateStatusOK with default headers values
func (*BackupsCreateStatusOK) Code ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) Code() int
Code gets the status code for the backups create status o k response
func (*BackupsCreateStatusOK) Error ¶
func (o *BackupsCreateStatusOK) Error() string
func (*BackupsCreateStatusOK) GetPayload ¶
func (o *BackupsCreateStatusOK) GetPayload() *models.BackupCreateStatusResponse
func (*BackupsCreateStatusOK) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) IsClientError() bool
IsClientError returns true when this backups create status o k response has a 4xx status code
func (*BackupsCreateStatusOK) IsCode ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) IsCode(code int) bool
IsCode returns true when this backups create status o k response a status code equal to that given
func (*BackupsCreateStatusOK) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) IsRedirect() bool
IsRedirect returns true when this backups create status o k response has a 3xx status code
func (*BackupsCreateStatusOK) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) IsServerError() bool
IsServerError returns true when this backups create status o k response has a 5xx status code
func (*BackupsCreateStatusOK) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) IsSuccess() bool
IsSuccess returns true when this backups create status o k response has a 2xx status code
func (*BackupsCreateStatusOK) String ¶ added in v1.18.0
func (o *BackupsCreateStatusOK) String() string
type BackupsCreateStatusParams ¶
type BackupsCreateStatusParams struct { /* Backend. Backup backend name e.g. filesystem, gcs, s3. */ Backend string /* Bucket. Name of the bucket, container, volume, etc */ Bucket *string /* ID. The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. */ ID string /* Path. The path within the bucket */ Path *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupsCreateStatusParams contains all the parameters to send to the API endpoint
for the backups create status operation. Typically these are written to a http.Request.
func NewBackupsCreateStatusParams ¶
func NewBackupsCreateStatusParams() *BackupsCreateStatusParams
NewBackupsCreateStatusParams creates a new BackupsCreateStatusParams 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 NewBackupsCreateStatusParamsWithContext ¶
func NewBackupsCreateStatusParamsWithContext(ctx context.Context) *BackupsCreateStatusParams
NewBackupsCreateStatusParamsWithContext creates a new BackupsCreateStatusParams object with the ability to set a context for a request.
func NewBackupsCreateStatusParamsWithHTTPClient ¶
func NewBackupsCreateStatusParamsWithHTTPClient(client *http.Client) *BackupsCreateStatusParams
NewBackupsCreateStatusParamsWithHTTPClient creates a new BackupsCreateStatusParams object with the ability to set a custom HTTPClient for a request.
func NewBackupsCreateStatusParamsWithTimeout ¶
func NewBackupsCreateStatusParamsWithTimeout(timeout time.Duration) *BackupsCreateStatusParams
NewBackupsCreateStatusParamsWithTimeout creates a new BackupsCreateStatusParams object with the ability to set a timeout on a request.
func (*BackupsCreateStatusParams) SetBackend ¶
func (o *BackupsCreateStatusParams) SetBackend(backend string)
SetBackend adds the backend to the backups create status params
func (*BackupsCreateStatusParams) SetBucket ¶ added in v1.27.2
func (o *BackupsCreateStatusParams) SetBucket(bucket *string)
SetBucket adds the bucket to the backups create status params
func (*BackupsCreateStatusParams) SetContext ¶
func (o *BackupsCreateStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the backups create status params
func (*BackupsCreateStatusParams) SetDefaults ¶ added in v1.18.0
func (o *BackupsCreateStatusParams) SetDefaults()
SetDefaults hydrates default values in the backups create status params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsCreateStatusParams) SetHTTPClient ¶
func (o *BackupsCreateStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backups create status params
func (*BackupsCreateStatusParams) SetID ¶
func (o *BackupsCreateStatusParams) SetID(id string)
SetID adds the id to the backups create status params
func (*BackupsCreateStatusParams) SetPath ¶ added in v1.27.2
func (o *BackupsCreateStatusParams) SetPath(path *string)
SetPath adds the path to the backups create status params
func (*BackupsCreateStatusParams) SetTimeout ¶
func (o *BackupsCreateStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backups create status params
func (*BackupsCreateStatusParams) WithBackend ¶
func (o *BackupsCreateStatusParams) WithBackend(backend string) *BackupsCreateStatusParams
WithBackend adds the backend to the backups create status params
func (*BackupsCreateStatusParams) WithBucket ¶ added in v1.27.2
func (o *BackupsCreateStatusParams) WithBucket(bucket *string) *BackupsCreateStatusParams
WithBucket adds the bucket to the backups create status params
func (*BackupsCreateStatusParams) WithContext ¶
func (o *BackupsCreateStatusParams) WithContext(ctx context.Context) *BackupsCreateStatusParams
WithContext adds the context to the backups create status params
func (*BackupsCreateStatusParams) WithDefaults ¶ added in v1.18.0
func (o *BackupsCreateStatusParams) WithDefaults() *BackupsCreateStatusParams
WithDefaults hydrates default values in the backups create status params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsCreateStatusParams) WithHTTPClient ¶
func (o *BackupsCreateStatusParams) WithHTTPClient(client *http.Client) *BackupsCreateStatusParams
WithHTTPClient adds the HTTPClient to the backups create status params
func (*BackupsCreateStatusParams) WithID ¶
func (o *BackupsCreateStatusParams) WithID(id string) *BackupsCreateStatusParams
WithID adds the id to the backups create status params
func (*BackupsCreateStatusParams) WithPath ¶ added in v1.27.2
func (o *BackupsCreateStatusParams) WithPath(path *string) *BackupsCreateStatusParams
WithPath adds the path to the backups create status params
func (*BackupsCreateStatusParams) WithTimeout ¶
func (o *BackupsCreateStatusParams) WithTimeout(timeout time.Duration) *BackupsCreateStatusParams
WithTimeout adds the timeout to the backups create status params
func (*BackupsCreateStatusParams) WriteToRequest ¶
func (o *BackupsCreateStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupsCreateStatusReader ¶
type BackupsCreateStatusReader struct {
// contains filtered or unexported fields
}
BackupsCreateStatusReader is a Reader for the BackupsCreateStatus structure.
func (*BackupsCreateStatusReader) ReadResponse ¶
func (o *BackupsCreateStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupsCreateStatusUnauthorized ¶
type BackupsCreateStatusUnauthorized struct { }
BackupsCreateStatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBackupsCreateStatusUnauthorized ¶
func NewBackupsCreateStatusUnauthorized() *BackupsCreateStatusUnauthorized
NewBackupsCreateStatusUnauthorized creates a BackupsCreateStatusUnauthorized with default headers values
func (*BackupsCreateStatusUnauthorized) Code ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) Code() int
Code gets the status code for the backups create status unauthorized response
func (*BackupsCreateStatusUnauthorized) Error ¶
func (o *BackupsCreateStatusUnauthorized) Error() string
func (*BackupsCreateStatusUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) IsClientError() bool
IsClientError returns true when this backups create status unauthorized response has a 4xx status code
func (*BackupsCreateStatusUnauthorized) IsCode ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this backups create status unauthorized response a status code equal to that given
func (*BackupsCreateStatusUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this backups create status unauthorized response has a 3xx status code
func (*BackupsCreateStatusUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) IsServerError() bool
IsServerError returns true when this backups create status unauthorized response has a 5xx status code
func (*BackupsCreateStatusUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this backups create status unauthorized response has a 2xx status code
func (*BackupsCreateStatusUnauthorized) String ¶ added in v1.18.0
func (o *BackupsCreateStatusUnauthorized) String() string
type BackupsCreateStatusUnprocessableEntity ¶
type BackupsCreateStatusUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BackupsCreateStatusUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup restoration status attempt.
func NewBackupsCreateStatusUnprocessableEntity ¶
func NewBackupsCreateStatusUnprocessableEntity() *BackupsCreateStatusUnprocessableEntity
NewBackupsCreateStatusUnprocessableEntity creates a BackupsCreateStatusUnprocessableEntity with default headers values
func (*BackupsCreateStatusUnprocessableEntity) Code ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) Code() int
Code gets the status code for the backups create status unprocessable entity response
func (*BackupsCreateStatusUnprocessableEntity) Error ¶
func (o *BackupsCreateStatusUnprocessableEntity) Error() string
func (*BackupsCreateStatusUnprocessableEntity) GetPayload ¶
func (o *BackupsCreateStatusUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BackupsCreateStatusUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) IsClientError() bool
IsClientError returns true when this backups create status unprocessable entity response has a 4xx status code
func (*BackupsCreateStatusUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this backups create status unprocessable entity response a status code equal to that given
func (*BackupsCreateStatusUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this backups create status unprocessable entity response has a 3xx status code
func (*BackupsCreateStatusUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) IsServerError() bool
IsServerError returns true when this backups create status unprocessable entity response has a 5xx status code
func (*BackupsCreateStatusUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this backups create status unprocessable entity response has a 2xx status code
func (*BackupsCreateStatusUnprocessableEntity) String ¶ added in v1.18.0
func (o *BackupsCreateStatusUnprocessableEntity) String() string
type BackupsCreateUnauthorized ¶
type BackupsCreateUnauthorized struct { }
BackupsCreateUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBackupsCreateUnauthorized ¶
func NewBackupsCreateUnauthorized() *BackupsCreateUnauthorized
NewBackupsCreateUnauthorized creates a BackupsCreateUnauthorized with default headers values
func (*BackupsCreateUnauthorized) Code ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) Code() int
Code gets the status code for the backups create unauthorized response
func (*BackupsCreateUnauthorized) Error ¶
func (o *BackupsCreateUnauthorized) Error() string
func (*BackupsCreateUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) IsClientError() bool
IsClientError returns true when this backups create unauthorized response has a 4xx status code
func (*BackupsCreateUnauthorized) IsCode ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this backups create unauthorized response a status code equal to that given
func (*BackupsCreateUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this backups create unauthorized response has a 3xx status code
func (*BackupsCreateUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) IsServerError() bool
IsServerError returns true when this backups create unauthorized response has a 5xx status code
func (*BackupsCreateUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this backups create unauthorized response has a 2xx status code
func (*BackupsCreateUnauthorized) String ¶ added in v1.18.0
func (o *BackupsCreateUnauthorized) String() string
type BackupsCreateUnprocessableEntity ¶
type BackupsCreateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BackupsCreateUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup creation attempt.
func NewBackupsCreateUnprocessableEntity ¶
func NewBackupsCreateUnprocessableEntity() *BackupsCreateUnprocessableEntity
NewBackupsCreateUnprocessableEntity creates a BackupsCreateUnprocessableEntity with default headers values
func (*BackupsCreateUnprocessableEntity) Code ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) Code() int
Code gets the status code for the backups create unprocessable entity response
func (*BackupsCreateUnprocessableEntity) Error ¶
func (o *BackupsCreateUnprocessableEntity) Error() string
func (*BackupsCreateUnprocessableEntity) GetPayload ¶
func (o *BackupsCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BackupsCreateUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this backups create unprocessable entity response has a 4xx status code
func (*BackupsCreateUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this backups create unprocessable entity response a status code equal to that given
func (*BackupsCreateUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this backups create unprocessable entity response has a 3xx status code
func (*BackupsCreateUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this backups create unprocessable entity response has a 5xx status code
func (*BackupsCreateUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this backups create unprocessable entity response has a 2xx status code
func (*BackupsCreateUnprocessableEntity) String ¶ added in v1.18.0
func (o *BackupsCreateUnprocessableEntity) String() string
type BackupsListForbidden ¶ added in v1.24.25
type BackupsListForbidden struct {
Payload *models.ErrorResponse
}
BackupsListForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBackupsListForbidden ¶ added in v1.24.25
func NewBackupsListForbidden() *BackupsListForbidden
NewBackupsListForbidden creates a BackupsListForbidden with default headers values
func (*BackupsListForbidden) Code ¶ added in v1.24.25
func (o *BackupsListForbidden) Code() int
Code gets the status code for the backups list forbidden response
func (*BackupsListForbidden) Error ¶ added in v1.24.25
func (o *BackupsListForbidden) Error() string
func (*BackupsListForbidden) GetPayload ¶ added in v1.24.25
func (o *BackupsListForbidden) GetPayload() *models.ErrorResponse
func (*BackupsListForbidden) IsClientError ¶ added in v1.24.25
func (o *BackupsListForbidden) IsClientError() bool
IsClientError returns true when this backups list forbidden response has a 4xx status code
func (*BackupsListForbidden) IsCode ¶ added in v1.24.25
func (o *BackupsListForbidden) IsCode(code int) bool
IsCode returns true when this backups list forbidden response a status code equal to that given
func (*BackupsListForbidden) IsRedirect ¶ added in v1.24.25
func (o *BackupsListForbidden) IsRedirect() bool
IsRedirect returns true when this backups list forbidden response has a 3xx status code
func (*BackupsListForbidden) IsServerError ¶ added in v1.24.25
func (o *BackupsListForbidden) IsServerError() bool
IsServerError returns true when this backups list forbidden response has a 5xx status code
func (*BackupsListForbidden) IsSuccess ¶ added in v1.24.25
func (o *BackupsListForbidden) IsSuccess() bool
IsSuccess returns true when this backups list forbidden response has a 2xx status code
func (*BackupsListForbidden) String ¶ added in v1.24.25
func (o *BackupsListForbidden) String() string
type BackupsListInternalServerError ¶ added in v1.24.25
type BackupsListInternalServerError struct {
Payload *models.ErrorResponse
}
BackupsListInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBackupsListInternalServerError ¶ added in v1.24.25
func NewBackupsListInternalServerError() *BackupsListInternalServerError
NewBackupsListInternalServerError creates a BackupsListInternalServerError with default headers values
func (*BackupsListInternalServerError) Code ¶ added in v1.24.25
func (o *BackupsListInternalServerError) Code() int
Code gets the status code for the backups list internal server error response
func (*BackupsListInternalServerError) Error ¶ added in v1.24.25
func (o *BackupsListInternalServerError) Error() string
func (*BackupsListInternalServerError) GetPayload ¶ added in v1.24.25
func (o *BackupsListInternalServerError) GetPayload() *models.ErrorResponse
func (*BackupsListInternalServerError) IsClientError ¶ added in v1.24.25
func (o *BackupsListInternalServerError) IsClientError() bool
IsClientError returns true when this backups list internal server error response has a 4xx status code
func (*BackupsListInternalServerError) IsCode ¶ added in v1.24.25
func (o *BackupsListInternalServerError) IsCode(code int) bool
IsCode returns true when this backups list internal server error response a status code equal to that given
func (*BackupsListInternalServerError) IsRedirect ¶ added in v1.24.25
func (o *BackupsListInternalServerError) IsRedirect() bool
IsRedirect returns true when this backups list internal server error response has a 3xx status code
func (*BackupsListInternalServerError) IsServerError ¶ added in v1.24.25
func (o *BackupsListInternalServerError) IsServerError() bool
IsServerError returns true when this backups list internal server error response has a 5xx status code
func (*BackupsListInternalServerError) IsSuccess ¶ added in v1.24.25
func (o *BackupsListInternalServerError) IsSuccess() bool
IsSuccess returns true when this backups list internal server error response has a 2xx status code
func (*BackupsListInternalServerError) String ¶ added in v1.24.25
func (o *BackupsListInternalServerError) String() string
type BackupsListOK ¶ added in v1.24.25
type BackupsListOK struct {
Payload models.BackupListResponse
}
BackupsListOK describes a response with status code 200, with default header values.
Existed backups
func NewBackupsListOK ¶ added in v1.24.25
func NewBackupsListOK() *BackupsListOK
NewBackupsListOK creates a BackupsListOK with default headers values
func (*BackupsListOK) Code ¶ added in v1.24.25
func (o *BackupsListOK) Code() int
Code gets the status code for the backups list o k response
func (*BackupsListOK) Error ¶ added in v1.24.25
func (o *BackupsListOK) Error() string
func (*BackupsListOK) GetPayload ¶ added in v1.24.25
func (o *BackupsListOK) GetPayload() models.BackupListResponse
func (*BackupsListOK) IsClientError ¶ added in v1.24.25
func (o *BackupsListOK) IsClientError() bool
IsClientError returns true when this backups list o k response has a 4xx status code
func (*BackupsListOK) IsCode ¶ added in v1.24.25
func (o *BackupsListOK) IsCode(code int) bool
IsCode returns true when this backups list o k response a status code equal to that given
func (*BackupsListOK) IsRedirect ¶ added in v1.24.25
func (o *BackupsListOK) IsRedirect() bool
IsRedirect returns true when this backups list o k response has a 3xx status code
func (*BackupsListOK) IsServerError ¶ added in v1.24.25
func (o *BackupsListOK) IsServerError() bool
IsServerError returns true when this backups list o k response has a 5xx status code
func (*BackupsListOK) IsSuccess ¶ added in v1.24.25
func (o *BackupsListOK) IsSuccess() bool
IsSuccess returns true when this backups list o k response has a 2xx status code
func (*BackupsListOK) String ¶ added in v1.24.25
func (o *BackupsListOK) String() string
type BackupsListParams ¶ added in v1.24.25
type BackupsListParams struct { /* Backend. Backup backend name e.g. filesystem, gcs, s3. */ Backend string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupsListParams contains all the parameters to send to the API endpoint
for the backups list operation. Typically these are written to a http.Request.
func NewBackupsListParams ¶ added in v1.24.25
func NewBackupsListParams() *BackupsListParams
NewBackupsListParams creates a new BackupsListParams 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 NewBackupsListParamsWithContext ¶ added in v1.24.25
func NewBackupsListParamsWithContext(ctx context.Context) *BackupsListParams
NewBackupsListParamsWithContext creates a new BackupsListParams object with the ability to set a context for a request.
func NewBackupsListParamsWithHTTPClient ¶ added in v1.24.25
func NewBackupsListParamsWithHTTPClient(client *http.Client) *BackupsListParams
NewBackupsListParamsWithHTTPClient creates a new BackupsListParams object with the ability to set a custom HTTPClient for a request.
func NewBackupsListParamsWithTimeout ¶ added in v1.24.25
func NewBackupsListParamsWithTimeout(timeout time.Duration) *BackupsListParams
NewBackupsListParamsWithTimeout creates a new BackupsListParams object with the ability to set a timeout on a request.
func (*BackupsListParams) SetBackend ¶ added in v1.24.25
func (o *BackupsListParams) SetBackend(backend string)
SetBackend adds the backend to the backups list params
func (*BackupsListParams) SetContext ¶ added in v1.24.25
func (o *BackupsListParams) SetContext(ctx context.Context)
SetContext adds the context to the backups list params
func (*BackupsListParams) SetDefaults ¶ added in v1.24.25
func (o *BackupsListParams) SetDefaults()
SetDefaults hydrates default values in the backups list params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsListParams) SetHTTPClient ¶ added in v1.24.25
func (o *BackupsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backups list params
func (*BackupsListParams) SetTimeout ¶ added in v1.24.25
func (o *BackupsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backups list params
func (*BackupsListParams) WithBackend ¶ added in v1.24.25
func (o *BackupsListParams) WithBackend(backend string) *BackupsListParams
WithBackend adds the backend to the backups list params
func (*BackupsListParams) WithContext ¶ added in v1.24.25
func (o *BackupsListParams) WithContext(ctx context.Context) *BackupsListParams
WithContext adds the context to the backups list params
func (*BackupsListParams) WithDefaults ¶ added in v1.24.25
func (o *BackupsListParams) WithDefaults() *BackupsListParams
WithDefaults hydrates default values in the backups list params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsListParams) WithHTTPClient ¶ added in v1.24.25
func (o *BackupsListParams) WithHTTPClient(client *http.Client) *BackupsListParams
WithHTTPClient adds the HTTPClient to the backups list params
func (*BackupsListParams) WithTimeout ¶ added in v1.24.25
func (o *BackupsListParams) WithTimeout(timeout time.Duration) *BackupsListParams
WithTimeout adds the timeout to the backups list params
func (*BackupsListParams) WriteToRequest ¶ added in v1.24.25
func (o *BackupsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupsListReader ¶ added in v1.24.25
type BackupsListReader struct {
// contains filtered or unexported fields
}
BackupsListReader is a Reader for the BackupsList structure.
func (*BackupsListReader) ReadResponse ¶ added in v1.24.25
func (o *BackupsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupsListUnauthorized ¶ added in v1.24.25
type BackupsListUnauthorized struct { }
BackupsListUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBackupsListUnauthorized ¶ added in v1.24.25
func NewBackupsListUnauthorized() *BackupsListUnauthorized
NewBackupsListUnauthorized creates a BackupsListUnauthorized with default headers values
func (*BackupsListUnauthorized) Code ¶ added in v1.24.25
func (o *BackupsListUnauthorized) Code() int
Code gets the status code for the backups list unauthorized response
func (*BackupsListUnauthorized) Error ¶ added in v1.24.25
func (o *BackupsListUnauthorized) Error() string
func (*BackupsListUnauthorized) IsClientError ¶ added in v1.24.25
func (o *BackupsListUnauthorized) IsClientError() bool
IsClientError returns true when this backups list unauthorized response has a 4xx status code
func (*BackupsListUnauthorized) IsCode ¶ added in v1.24.25
func (o *BackupsListUnauthorized) IsCode(code int) bool
IsCode returns true when this backups list unauthorized response a status code equal to that given
func (*BackupsListUnauthorized) IsRedirect ¶ added in v1.24.25
func (o *BackupsListUnauthorized) IsRedirect() bool
IsRedirect returns true when this backups list unauthorized response has a 3xx status code
func (*BackupsListUnauthorized) IsServerError ¶ added in v1.24.25
func (o *BackupsListUnauthorized) IsServerError() bool
IsServerError returns true when this backups list unauthorized response has a 5xx status code
func (*BackupsListUnauthorized) IsSuccess ¶ added in v1.24.25
func (o *BackupsListUnauthorized) IsSuccess() bool
IsSuccess returns true when this backups list unauthorized response has a 2xx status code
func (*BackupsListUnauthorized) String ¶ added in v1.24.25
func (o *BackupsListUnauthorized) String() string
type BackupsListUnprocessableEntity ¶ added in v1.24.25
type BackupsListUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BackupsListUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup list.
func NewBackupsListUnprocessableEntity ¶ added in v1.24.25
func NewBackupsListUnprocessableEntity() *BackupsListUnprocessableEntity
NewBackupsListUnprocessableEntity creates a BackupsListUnprocessableEntity with default headers values
func (*BackupsListUnprocessableEntity) Code ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) Code() int
Code gets the status code for the backups list unprocessable entity response
func (*BackupsListUnprocessableEntity) Error ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) Error() string
func (*BackupsListUnprocessableEntity) GetPayload ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BackupsListUnprocessableEntity) IsClientError ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) IsClientError() bool
IsClientError returns true when this backups list unprocessable entity response has a 4xx status code
func (*BackupsListUnprocessableEntity) IsCode ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this backups list unprocessable entity response a status code equal to that given
func (*BackupsListUnprocessableEntity) IsRedirect ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this backups list unprocessable entity response has a 3xx status code
func (*BackupsListUnprocessableEntity) IsServerError ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) IsServerError() bool
IsServerError returns true when this backups list unprocessable entity response has a 5xx status code
func (*BackupsListUnprocessableEntity) IsSuccess ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this backups list unprocessable entity response has a 2xx status code
func (*BackupsListUnprocessableEntity) String ¶ added in v1.24.25
func (o *BackupsListUnprocessableEntity) String() string
type BackupsRestoreForbidden ¶
type BackupsRestoreForbidden struct {
Payload *models.ErrorResponse
}
BackupsRestoreForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBackupsRestoreForbidden ¶
func NewBackupsRestoreForbidden() *BackupsRestoreForbidden
NewBackupsRestoreForbidden creates a BackupsRestoreForbidden with default headers values
func (*BackupsRestoreForbidden) Code ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) Code() int
Code gets the status code for the backups restore forbidden response
func (*BackupsRestoreForbidden) Error ¶
func (o *BackupsRestoreForbidden) Error() string
func (*BackupsRestoreForbidden) GetPayload ¶
func (o *BackupsRestoreForbidden) GetPayload() *models.ErrorResponse
func (*BackupsRestoreForbidden) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) IsClientError() bool
IsClientError returns true when this backups restore forbidden response has a 4xx status code
func (*BackupsRestoreForbidden) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) IsCode(code int) bool
IsCode returns true when this backups restore forbidden response a status code equal to that given
func (*BackupsRestoreForbidden) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) IsRedirect() bool
IsRedirect returns true when this backups restore forbidden response has a 3xx status code
func (*BackupsRestoreForbidden) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) IsServerError() bool
IsServerError returns true when this backups restore forbidden response has a 5xx status code
func (*BackupsRestoreForbidden) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) IsSuccess() bool
IsSuccess returns true when this backups restore forbidden response has a 2xx status code
func (*BackupsRestoreForbidden) String ¶ added in v1.18.0
func (o *BackupsRestoreForbidden) String() string
type BackupsRestoreInternalServerError ¶
type BackupsRestoreInternalServerError struct {
Payload *models.ErrorResponse
}
BackupsRestoreInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBackupsRestoreInternalServerError ¶
func NewBackupsRestoreInternalServerError() *BackupsRestoreInternalServerError
NewBackupsRestoreInternalServerError creates a BackupsRestoreInternalServerError with default headers values
func (*BackupsRestoreInternalServerError) Code ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) Code() int
Code gets the status code for the backups restore internal server error response
func (*BackupsRestoreInternalServerError) Error ¶
func (o *BackupsRestoreInternalServerError) Error() string
func (*BackupsRestoreInternalServerError) GetPayload ¶
func (o *BackupsRestoreInternalServerError) GetPayload() *models.ErrorResponse
func (*BackupsRestoreInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) IsClientError() bool
IsClientError returns true when this backups restore internal server error response has a 4xx status code
func (*BackupsRestoreInternalServerError) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) IsCode(code int) bool
IsCode returns true when this backups restore internal server error response a status code equal to that given
func (*BackupsRestoreInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) IsRedirect() bool
IsRedirect returns true when this backups restore internal server error response has a 3xx status code
func (*BackupsRestoreInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) IsServerError() bool
IsServerError returns true when this backups restore internal server error response has a 5xx status code
func (*BackupsRestoreInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) IsSuccess() bool
IsSuccess returns true when this backups restore internal server error response has a 2xx status code
func (*BackupsRestoreInternalServerError) String ¶ added in v1.18.0
func (o *BackupsRestoreInternalServerError) String() string
type BackupsRestoreNotFound ¶
type BackupsRestoreNotFound struct {
Payload *models.ErrorResponse
}
BackupsRestoreNotFound describes a response with status code 404, with default header values.
Not Found - Backup does not exist
func NewBackupsRestoreNotFound ¶
func NewBackupsRestoreNotFound() *BackupsRestoreNotFound
NewBackupsRestoreNotFound creates a BackupsRestoreNotFound with default headers values
func (*BackupsRestoreNotFound) Code ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) Code() int
Code gets the status code for the backups restore not found response
func (*BackupsRestoreNotFound) Error ¶
func (o *BackupsRestoreNotFound) Error() string
func (*BackupsRestoreNotFound) GetPayload ¶
func (o *BackupsRestoreNotFound) GetPayload() *models.ErrorResponse
func (*BackupsRestoreNotFound) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) IsClientError() bool
IsClientError returns true when this backups restore not found response has a 4xx status code
func (*BackupsRestoreNotFound) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) IsCode(code int) bool
IsCode returns true when this backups restore not found response a status code equal to that given
func (*BackupsRestoreNotFound) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) IsRedirect() bool
IsRedirect returns true when this backups restore not found response has a 3xx status code
func (*BackupsRestoreNotFound) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) IsServerError() bool
IsServerError returns true when this backups restore not found response has a 5xx status code
func (*BackupsRestoreNotFound) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) IsSuccess() bool
IsSuccess returns true when this backups restore not found response has a 2xx status code
func (*BackupsRestoreNotFound) String ¶ added in v1.18.0
func (o *BackupsRestoreNotFound) String() string
type BackupsRestoreOK ¶
type BackupsRestoreOK struct {
Payload *models.BackupRestoreResponse
}
BackupsRestoreOK describes a response with status code 200, with default header values.
Backup restoration process successfully started.
func NewBackupsRestoreOK ¶
func NewBackupsRestoreOK() *BackupsRestoreOK
NewBackupsRestoreOK creates a BackupsRestoreOK with default headers values
func (*BackupsRestoreOK) Code ¶ added in v1.18.0
func (o *BackupsRestoreOK) Code() int
Code gets the status code for the backups restore o k response
func (*BackupsRestoreOK) Error ¶
func (o *BackupsRestoreOK) Error() string
func (*BackupsRestoreOK) GetPayload ¶
func (o *BackupsRestoreOK) GetPayload() *models.BackupRestoreResponse
func (*BackupsRestoreOK) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreOK) IsClientError() bool
IsClientError returns true when this backups restore o k response has a 4xx status code
func (*BackupsRestoreOK) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreOK) IsCode(code int) bool
IsCode returns true when this backups restore o k response a status code equal to that given
func (*BackupsRestoreOK) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreOK) IsRedirect() bool
IsRedirect returns true when this backups restore o k response has a 3xx status code
func (*BackupsRestoreOK) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreOK) IsServerError() bool
IsServerError returns true when this backups restore o k response has a 5xx status code
func (*BackupsRestoreOK) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreOK) IsSuccess() bool
IsSuccess returns true when this backups restore o k response has a 2xx status code
func (*BackupsRestoreOK) String ¶ added in v1.18.0
func (o *BackupsRestoreOK) String() string
type BackupsRestoreParams ¶
type BackupsRestoreParams struct { /* Backend. Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`. */ Backend string // Body. Body *models.BackupRestoreRequest /* ID. The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupsRestoreParams contains all the parameters to send to the API endpoint
for the backups restore operation. Typically these are written to a http.Request.
func NewBackupsRestoreParams ¶
func NewBackupsRestoreParams() *BackupsRestoreParams
NewBackupsRestoreParams creates a new BackupsRestoreParams 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 NewBackupsRestoreParamsWithContext ¶
func NewBackupsRestoreParamsWithContext(ctx context.Context) *BackupsRestoreParams
NewBackupsRestoreParamsWithContext creates a new BackupsRestoreParams object with the ability to set a context for a request.
func NewBackupsRestoreParamsWithHTTPClient ¶
func NewBackupsRestoreParamsWithHTTPClient(client *http.Client) *BackupsRestoreParams
NewBackupsRestoreParamsWithHTTPClient creates a new BackupsRestoreParams object with the ability to set a custom HTTPClient for a request.
func NewBackupsRestoreParamsWithTimeout ¶
func NewBackupsRestoreParamsWithTimeout(timeout time.Duration) *BackupsRestoreParams
NewBackupsRestoreParamsWithTimeout creates a new BackupsRestoreParams object with the ability to set a timeout on a request.
func (*BackupsRestoreParams) SetBackend ¶
func (o *BackupsRestoreParams) SetBackend(backend string)
SetBackend adds the backend to the backups restore params
func (*BackupsRestoreParams) SetBody ¶
func (o *BackupsRestoreParams) SetBody(body *models.BackupRestoreRequest)
SetBody adds the body to the backups restore params
func (*BackupsRestoreParams) SetContext ¶
func (o *BackupsRestoreParams) SetContext(ctx context.Context)
SetContext adds the context to the backups restore params
func (*BackupsRestoreParams) SetDefaults ¶ added in v1.18.0
func (o *BackupsRestoreParams) SetDefaults()
SetDefaults hydrates default values in the backups restore params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsRestoreParams) SetHTTPClient ¶
func (o *BackupsRestoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backups restore params
func (*BackupsRestoreParams) SetID ¶
func (o *BackupsRestoreParams) SetID(id string)
SetID adds the id to the backups restore params
func (*BackupsRestoreParams) SetTimeout ¶
func (o *BackupsRestoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backups restore params
func (*BackupsRestoreParams) WithBackend ¶
func (o *BackupsRestoreParams) WithBackend(backend string) *BackupsRestoreParams
WithBackend adds the backend to the backups restore params
func (*BackupsRestoreParams) WithBody ¶
func (o *BackupsRestoreParams) WithBody(body *models.BackupRestoreRequest) *BackupsRestoreParams
WithBody adds the body to the backups restore params
func (*BackupsRestoreParams) WithContext ¶
func (o *BackupsRestoreParams) WithContext(ctx context.Context) *BackupsRestoreParams
WithContext adds the context to the backups restore params
func (*BackupsRestoreParams) WithDefaults ¶ added in v1.18.0
func (o *BackupsRestoreParams) WithDefaults() *BackupsRestoreParams
WithDefaults hydrates default values in the backups restore params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsRestoreParams) WithHTTPClient ¶
func (o *BackupsRestoreParams) WithHTTPClient(client *http.Client) *BackupsRestoreParams
WithHTTPClient adds the HTTPClient to the backups restore params
func (*BackupsRestoreParams) WithID ¶
func (o *BackupsRestoreParams) WithID(id string) *BackupsRestoreParams
WithID adds the id to the backups restore params
func (*BackupsRestoreParams) WithTimeout ¶
func (o *BackupsRestoreParams) WithTimeout(timeout time.Duration) *BackupsRestoreParams
WithTimeout adds the timeout to the backups restore params
func (*BackupsRestoreParams) WriteToRequest ¶
func (o *BackupsRestoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupsRestoreReader ¶
type BackupsRestoreReader struct {
// contains filtered or unexported fields
}
BackupsRestoreReader is a Reader for the BackupsRestore structure.
func (*BackupsRestoreReader) ReadResponse ¶
func (o *BackupsRestoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupsRestoreStatusForbidden ¶
type BackupsRestoreStatusForbidden struct {
Payload *models.ErrorResponse
}
BackupsRestoreStatusForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBackupsRestoreStatusForbidden ¶
func NewBackupsRestoreStatusForbidden() *BackupsRestoreStatusForbidden
NewBackupsRestoreStatusForbidden creates a BackupsRestoreStatusForbidden with default headers values
func (*BackupsRestoreStatusForbidden) Code ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) Code() int
Code gets the status code for the backups restore status forbidden response
func (*BackupsRestoreStatusForbidden) Error ¶
func (o *BackupsRestoreStatusForbidden) Error() string
func (*BackupsRestoreStatusForbidden) GetPayload ¶
func (o *BackupsRestoreStatusForbidden) GetPayload() *models.ErrorResponse
func (*BackupsRestoreStatusForbidden) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) IsClientError() bool
IsClientError returns true when this backups restore status forbidden response has a 4xx status code
func (*BackupsRestoreStatusForbidden) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) IsCode(code int) bool
IsCode returns true when this backups restore status forbidden response a status code equal to that given
func (*BackupsRestoreStatusForbidden) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) IsRedirect() bool
IsRedirect returns true when this backups restore status forbidden response has a 3xx status code
func (*BackupsRestoreStatusForbidden) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) IsServerError() bool
IsServerError returns true when this backups restore status forbidden response has a 5xx status code
func (*BackupsRestoreStatusForbidden) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) IsSuccess() bool
IsSuccess returns true when this backups restore status forbidden response has a 2xx status code
func (*BackupsRestoreStatusForbidden) String ¶ added in v1.18.0
func (o *BackupsRestoreStatusForbidden) String() string
type BackupsRestoreStatusInternalServerError ¶
type BackupsRestoreStatusInternalServerError struct {
Payload *models.ErrorResponse
}
BackupsRestoreStatusInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBackupsRestoreStatusInternalServerError ¶
func NewBackupsRestoreStatusInternalServerError() *BackupsRestoreStatusInternalServerError
NewBackupsRestoreStatusInternalServerError creates a BackupsRestoreStatusInternalServerError with default headers values
func (*BackupsRestoreStatusInternalServerError) Code ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) Code() int
Code gets the status code for the backups restore status internal server error response
func (*BackupsRestoreStatusInternalServerError) Error ¶
func (o *BackupsRestoreStatusInternalServerError) Error() string
func (*BackupsRestoreStatusInternalServerError) GetPayload ¶
func (o *BackupsRestoreStatusInternalServerError) GetPayload() *models.ErrorResponse
func (*BackupsRestoreStatusInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) IsClientError() bool
IsClientError returns true when this backups restore status internal server error response has a 4xx status code
func (*BackupsRestoreStatusInternalServerError) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this backups restore status internal server error response a status code equal to that given
func (*BackupsRestoreStatusInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this backups restore status internal server error response has a 3xx status code
func (*BackupsRestoreStatusInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) IsServerError() bool
IsServerError returns true when this backups restore status internal server error response has a 5xx status code
func (*BackupsRestoreStatusInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this backups restore status internal server error response has a 2xx status code
func (*BackupsRestoreStatusInternalServerError) String ¶ added in v1.18.0
func (o *BackupsRestoreStatusInternalServerError) String() string
type BackupsRestoreStatusNotFound ¶
type BackupsRestoreStatusNotFound struct {
Payload *models.ErrorResponse
}
BackupsRestoreStatusNotFound describes a response with status code 404, with default header values.
Not Found - Backup does not exist
func NewBackupsRestoreStatusNotFound ¶
func NewBackupsRestoreStatusNotFound() *BackupsRestoreStatusNotFound
NewBackupsRestoreStatusNotFound creates a BackupsRestoreStatusNotFound with default headers values
func (*BackupsRestoreStatusNotFound) Code ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) Code() int
Code gets the status code for the backups restore status not found response
func (*BackupsRestoreStatusNotFound) Error ¶
func (o *BackupsRestoreStatusNotFound) Error() string
func (*BackupsRestoreStatusNotFound) GetPayload ¶
func (o *BackupsRestoreStatusNotFound) GetPayload() *models.ErrorResponse
func (*BackupsRestoreStatusNotFound) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) IsClientError() bool
IsClientError returns true when this backups restore status not found response has a 4xx status code
func (*BackupsRestoreStatusNotFound) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) IsCode(code int) bool
IsCode returns true when this backups restore status not found response a status code equal to that given
func (*BackupsRestoreStatusNotFound) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) IsRedirect() bool
IsRedirect returns true when this backups restore status not found response has a 3xx status code
func (*BackupsRestoreStatusNotFound) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) IsServerError() bool
IsServerError returns true when this backups restore status not found response has a 5xx status code
func (*BackupsRestoreStatusNotFound) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) IsSuccess() bool
IsSuccess returns true when this backups restore status not found response has a 2xx status code
func (*BackupsRestoreStatusNotFound) String ¶ added in v1.18.0
func (o *BackupsRestoreStatusNotFound) String() string
type BackupsRestoreStatusOK ¶
type BackupsRestoreStatusOK struct {
Payload *models.BackupRestoreStatusResponse
}
BackupsRestoreStatusOK describes a response with status code 200, with default header values.
Backup restoration status successfully returned
func NewBackupsRestoreStatusOK ¶
func NewBackupsRestoreStatusOK() *BackupsRestoreStatusOK
NewBackupsRestoreStatusOK creates a BackupsRestoreStatusOK with default headers values
func (*BackupsRestoreStatusOK) Code ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) Code() int
Code gets the status code for the backups restore status o k response
func (*BackupsRestoreStatusOK) Error ¶
func (o *BackupsRestoreStatusOK) Error() string
func (*BackupsRestoreStatusOK) GetPayload ¶
func (o *BackupsRestoreStatusOK) GetPayload() *models.BackupRestoreStatusResponse
func (*BackupsRestoreStatusOK) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) IsClientError() bool
IsClientError returns true when this backups restore status o k response has a 4xx status code
func (*BackupsRestoreStatusOK) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) IsCode(code int) bool
IsCode returns true when this backups restore status o k response a status code equal to that given
func (*BackupsRestoreStatusOK) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) IsRedirect() bool
IsRedirect returns true when this backups restore status o k response has a 3xx status code
func (*BackupsRestoreStatusOK) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) IsServerError() bool
IsServerError returns true when this backups restore status o k response has a 5xx status code
func (*BackupsRestoreStatusOK) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) IsSuccess() bool
IsSuccess returns true when this backups restore status o k response has a 2xx status code
func (*BackupsRestoreStatusOK) String ¶ added in v1.18.0
func (o *BackupsRestoreStatusOK) String() string
type BackupsRestoreStatusParams ¶
type BackupsRestoreStatusParams struct { /* Backend. Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`. */ Backend string /* Bucket. Name of the bucket, container, volume, etc */ Bucket *string /* ID. The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. */ ID string /* Path. The path within the bucket */ Path *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupsRestoreStatusParams contains all the parameters to send to the API endpoint
for the backups restore status operation. Typically these are written to a http.Request.
func NewBackupsRestoreStatusParams ¶
func NewBackupsRestoreStatusParams() *BackupsRestoreStatusParams
NewBackupsRestoreStatusParams creates a new BackupsRestoreStatusParams 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 NewBackupsRestoreStatusParamsWithContext ¶
func NewBackupsRestoreStatusParamsWithContext(ctx context.Context) *BackupsRestoreStatusParams
NewBackupsRestoreStatusParamsWithContext creates a new BackupsRestoreStatusParams object with the ability to set a context for a request.
func NewBackupsRestoreStatusParamsWithHTTPClient ¶
func NewBackupsRestoreStatusParamsWithHTTPClient(client *http.Client) *BackupsRestoreStatusParams
NewBackupsRestoreStatusParamsWithHTTPClient creates a new BackupsRestoreStatusParams object with the ability to set a custom HTTPClient for a request.
func NewBackupsRestoreStatusParamsWithTimeout ¶
func NewBackupsRestoreStatusParamsWithTimeout(timeout time.Duration) *BackupsRestoreStatusParams
NewBackupsRestoreStatusParamsWithTimeout creates a new BackupsRestoreStatusParams object with the ability to set a timeout on a request.
func (*BackupsRestoreStatusParams) SetBackend ¶
func (o *BackupsRestoreStatusParams) SetBackend(backend string)
SetBackend adds the backend to the backups restore status params
func (*BackupsRestoreStatusParams) SetBucket ¶ added in v1.27.2
func (o *BackupsRestoreStatusParams) SetBucket(bucket *string)
SetBucket adds the bucket to the backups restore status params
func (*BackupsRestoreStatusParams) SetContext ¶
func (o *BackupsRestoreStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the backups restore status params
func (*BackupsRestoreStatusParams) SetDefaults ¶ added in v1.18.0
func (o *BackupsRestoreStatusParams) SetDefaults()
SetDefaults hydrates default values in the backups restore status params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsRestoreStatusParams) SetHTTPClient ¶
func (o *BackupsRestoreStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backups restore status params
func (*BackupsRestoreStatusParams) SetID ¶
func (o *BackupsRestoreStatusParams) SetID(id string)
SetID adds the id to the backups restore status params
func (*BackupsRestoreStatusParams) SetPath ¶ added in v1.27.2
func (o *BackupsRestoreStatusParams) SetPath(path *string)
SetPath adds the path to the backups restore status params
func (*BackupsRestoreStatusParams) SetTimeout ¶
func (o *BackupsRestoreStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backups restore status params
func (*BackupsRestoreStatusParams) WithBackend ¶
func (o *BackupsRestoreStatusParams) WithBackend(backend string) *BackupsRestoreStatusParams
WithBackend adds the backend to the backups restore status params
func (*BackupsRestoreStatusParams) WithBucket ¶ added in v1.27.2
func (o *BackupsRestoreStatusParams) WithBucket(bucket *string) *BackupsRestoreStatusParams
WithBucket adds the bucket to the backups restore status params
func (*BackupsRestoreStatusParams) WithContext ¶
func (o *BackupsRestoreStatusParams) WithContext(ctx context.Context) *BackupsRestoreStatusParams
WithContext adds the context to the backups restore status params
func (*BackupsRestoreStatusParams) WithDefaults ¶ added in v1.18.0
func (o *BackupsRestoreStatusParams) WithDefaults() *BackupsRestoreStatusParams
WithDefaults hydrates default values in the backups restore status params (not the query body).
All values with no default are reset to their zero value.
func (*BackupsRestoreStatusParams) WithHTTPClient ¶
func (o *BackupsRestoreStatusParams) WithHTTPClient(client *http.Client) *BackupsRestoreStatusParams
WithHTTPClient adds the HTTPClient to the backups restore status params
func (*BackupsRestoreStatusParams) WithID ¶
func (o *BackupsRestoreStatusParams) WithID(id string) *BackupsRestoreStatusParams
WithID adds the id to the backups restore status params
func (*BackupsRestoreStatusParams) WithPath ¶ added in v1.27.2
func (o *BackupsRestoreStatusParams) WithPath(path *string) *BackupsRestoreStatusParams
WithPath adds the path to the backups restore status params
func (*BackupsRestoreStatusParams) WithTimeout ¶
func (o *BackupsRestoreStatusParams) WithTimeout(timeout time.Duration) *BackupsRestoreStatusParams
WithTimeout adds the timeout to the backups restore status params
func (*BackupsRestoreStatusParams) WriteToRequest ¶
func (o *BackupsRestoreStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupsRestoreStatusReader ¶
type BackupsRestoreStatusReader struct {
// contains filtered or unexported fields
}
BackupsRestoreStatusReader is a Reader for the BackupsRestoreStatus structure.
func (*BackupsRestoreStatusReader) ReadResponse ¶
func (o *BackupsRestoreStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupsRestoreStatusUnauthorized ¶
type BackupsRestoreStatusUnauthorized struct { }
BackupsRestoreStatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBackupsRestoreStatusUnauthorized ¶
func NewBackupsRestoreStatusUnauthorized() *BackupsRestoreStatusUnauthorized
NewBackupsRestoreStatusUnauthorized creates a BackupsRestoreStatusUnauthorized with default headers values
func (*BackupsRestoreStatusUnauthorized) Code ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) Code() int
Code gets the status code for the backups restore status unauthorized response
func (*BackupsRestoreStatusUnauthorized) Error ¶
func (o *BackupsRestoreStatusUnauthorized) Error() string
func (*BackupsRestoreStatusUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) IsClientError() bool
IsClientError returns true when this backups restore status unauthorized response has a 4xx status code
func (*BackupsRestoreStatusUnauthorized) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this backups restore status unauthorized response a status code equal to that given
func (*BackupsRestoreStatusUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this backups restore status unauthorized response has a 3xx status code
func (*BackupsRestoreStatusUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) IsServerError() bool
IsServerError returns true when this backups restore status unauthorized response has a 5xx status code
func (*BackupsRestoreStatusUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this backups restore status unauthorized response has a 2xx status code
func (*BackupsRestoreStatusUnauthorized) String ¶ added in v1.18.0
func (o *BackupsRestoreStatusUnauthorized) String() string
type BackupsRestoreUnauthorized ¶
type BackupsRestoreUnauthorized struct { }
BackupsRestoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBackupsRestoreUnauthorized ¶
func NewBackupsRestoreUnauthorized() *BackupsRestoreUnauthorized
NewBackupsRestoreUnauthorized creates a BackupsRestoreUnauthorized with default headers values
func (*BackupsRestoreUnauthorized) Code ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) Code() int
Code gets the status code for the backups restore unauthorized response
func (*BackupsRestoreUnauthorized) Error ¶
func (o *BackupsRestoreUnauthorized) Error() string
func (*BackupsRestoreUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) IsClientError() bool
IsClientError returns true when this backups restore unauthorized response has a 4xx status code
func (*BackupsRestoreUnauthorized) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) IsCode(code int) bool
IsCode returns true when this backups restore unauthorized response a status code equal to that given
func (*BackupsRestoreUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) IsRedirect() bool
IsRedirect returns true when this backups restore unauthorized response has a 3xx status code
func (*BackupsRestoreUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) IsServerError() bool
IsServerError returns true when this backups restore unauthorized response has a 5xx status code
func (*BackupsRestoreUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) IsSuccess() bool
IsSuccess returns true when this backups restore unauthorized response has a 2xx status code
func (*BackupsRestoreUnauthorized) String ¶ added in v1.18.0
func (o *BackupsRestoreUnauthorized) String() string
type BackupsRestoreUnprocessableEntity ¶
type BackupsRestoreUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BackupsRestoreUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup restoration attempt.
func NewBackupsRestoreUnprocessableEntity ¶
func NewBackupsRestoreUnprocessableEntity() *BackupsRestoreUnprocessableEntity
NewBackupsRestoreUnprocessableEntity creates a BackupsRestoreUnprocessableEntity with default headers values
func (*BackupsRestoreUnprocessableEntity) Code ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) Code() int
Code gets the status code for the backups restore unprocessable entity response
func (*BackupsRestoreUnprocessableEntity) Error ¶
func (o *BackupsRestoreUnprocessableEntity) Error() string
func (*BackupsRestoreUnprocessableEntity) GetPayload ¶
func (o *BackupsRestoreUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BackupsRestoreUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) IsClientError() bool
IsClientError returns true when this backups restore unprocessable entity response has a 4xx status code
func (*BackupsRestoreUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this backups restore unprocessable entity response a status code equal to that given
func (*BackupsRestoreUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this backups restore unprocessable entity response has a 3xx status code
func (*BackupsRestoreUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) IsServerError() bool
IsServerError returns true when this backups restore unprocessable entity response has a 5xx status code
func (*BackupsRestoreUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this backups restore unprocessable entity response has a 2xx status code
func (*BackupsRestoreUnprocessableEntity) String ¶ added in v1.18.0
func (o *BackupsRestoreUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for backups API
func (*Client) BackupsCancel ¶ added in v1.24.25
func (a *Client) BackupsCancel(params *BackupsCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsCancelNoContent, error)
BackupsCancel cancels backup
Cancel created backup with specified ID
func (*Client) BackupsCreate ¶
func (a *Client) BackupsCreate(params *BackupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsCreateOK, error)
BackupsCreate starts a backup process
Start creating a backup for a set of collections. <br/><br/>Notes: <br/>- Weaviate uses gzip compression by default. <br/>- Weaviate stays usable while a backup process is ongoing.
func (*Client) BackupsCreateStatus ¶
func (a *Client) BackupsCreateStatus(params *BackupsCreateStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsCreateStatusOK, error)
BackupsCreateStatus gets backup process status
Returns status of backup creation attempt for a set of collections. <br/><br/>All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using this endpoint.
func (*Client) BackupsList ¶ added in v1.24.25
func (a *Client) BackupsList(params *BackupsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsListOK, error)
BackupsList lists backups in progress
[Coming soon] List all backups in progress not implemented yet.
func (*Client) BackupsRestore ¶
func (a *Client) BackupsRestore(params *BackupsRestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsRestoreOK, error)
BackupsRestore starts a restoration process
Starts a process of restoring a backup for a set of collections. <br/><br/>Any backup can be restored to any machine, as long as the number of nodes between source and target are identical.<br/><br/>Requrements:<br/><br/>- None of the collections to be restored already exist on the target restoration node(s).<br/>- The node names of the backed-up collections' must match those of the target restoration node(s).
func (*Client) BackupsRestoreStatus ¶
func (a *Client) BackupsRestoreStatus(params *BackupsRestoreStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsRestoreStatusOK, error)
BackupsRestoreStatus gets restore process status
Returns status of a backup restoration attempt for a set of classes. <br/><br/>All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using the this endpoint.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BackupsCancel(params *BackupsCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsCancelNoContent, error) BackupsCreate(params *BackupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsCreateOK, error) BackupsCreateStatus(params *BackupsCreateStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsCreateStatusOK, error) BackupsList(params *BackupsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsListOK, error) BackupsRestore(params *BackupsRestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsRestoreOK, error) BackupsRestoreStatus(params *BackupsRestoreStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BackupsRestoreStatusOK, 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.
Source Files
¶
- backups_cancel_parameters.go
- backups_cancel_responses.go
- backups_client.go
- backups_create_parameters.go
- backups_create_responses.go
- backups_create_status_parameters.go
- backups_create_status_responses.go
- backups_list_parameters.go
- backups_list_responses.go
- backups_restore_parameters.go
- backups_restore_responses.go
- backups_restore_status_parameters.go
- backups_restore_status_responses.go