backups

package
v0.0.0-...-5637490 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const BackupsCancelForbiddenCode int = 403

BackupsCancelForbiddenCode is the HTTP code returned for type BackupsCancelForbidden

View Source
const BackupsCancelInternalServerErrorCode int = 500

BackupsCancelInternalServerErrorCode is the HTTP code returned for type BackupsCancelInternalServerError

View Source
const BackupsCancelNoContentCode int = 204

BackupsCancelNoContentCode is the HTTP code returned for type BackupsCancelNoContent

View Source
const BackupsCancelUnauthorizedCode int = 401

BackupsCancelUnauthorizedCode is the HTTP code returned for type BackupsCancelUnauthorized

View Source
const BackupsCancelUnprocessableEntityCode int = 422

BackupsCancelUnprocessableEntityCode is the HTTP code returned for type BackupsCancelUnprocessableEntity

View Source
const BackupsCreateForbiddenCode int = 403

BackupsCreateForbiddenCode is the HTTP code returned for type BackupsCreateForbidden

View Source
const BackupsCreateInternalServerErrorCode int = 500

BackupsCreateInternalServerErrorCode is the HTTP code returned for type BackupsCreateInternalServerError

View Source
const BackupsCreateOKCode int = 200

BackupsCreateOKCode is the HTTP code returned for type BackupsCreateOK

View Source
const BackupsCreateStatusForbiddenCode int = 403

BackupsCreateStatusForbiddenCode is the HTTP code returned for type BackupsCreateStatusForbidden

View Source
const BackupsCreateStatusInternalServerErrorCode int = 500

BackupsCreateStatusInternalServerErrorCode is the HTTP code returned for type BackupsCreateStatusInternalServerError

View Source
const BackupsCreateStatusNotFoundCode int = 404

BackupsCreateStatusNotFoundCode is the HTTP code returned for type BackupsCreateStatusNotFound

View Source
const BackupsCreateStatusOKCode int = 200

BackupsCreateStatusOKCode is the HTTP code returned for type BackupsCreateStatusOK

View Source
const BackupsCreateStatusUnauthorizedCode int = 401

BackupsCreateStatusUnauthorizedCode is the HTTP code returned for type BackupsCreateStatusUnauthorized

View Source
const BackupsCreateStatusUnprocessableEntityCode int = 422

BackupsCreateStatusUnprocessableEntityCode is the HTTP code returned for type BackupsCreateStatusUnprocessableEntity

View Source
const BackupsCreateUnauthorizedCode int = 401

BackupsCreateUnauthorizedCode is the HTTP code returned for type BackupsCreateUnauthorized

View Source
const BackupsCreateUnprocessableEntityCode int = 422

BackupsCreateUnprocessableEntityCode is the HTTP code returned for type BackupsCreateUnprocessableEntity

View Source
const BackupsListForbiddenCode int = 403

BackupsListForbiddenCode is the HTTP code returned for type BackupsListForbidden

View Source
const BackupsListInternalServerErrorCode int = 500

BackupsListInternalServerErrorCode is the HTTP code returned for type BackupsListInternalServerError

View Source
const BackupsListOKCode int = 200

BackupsListOKCode is the HTTP code returned for type BackupsListOK

View Source
const BackupsListUnauthorizedCode int = 401

BackupsListUnauthorizedCode is the HTTP code returned for type BackupsListUnauthorized

View Source
const BackupsListUnprocessableEntityCode int = 422

BackupsListUnprocessableEntityCode is the HTTP code returned for type BackupsListUnprocessableEntity

View Source
const BackupsRestoreForbiddenCode int = 403

BackupsRestoreForbiddenCode is the HTTP code returned for type BackupsRestoreForbidden

View Source
const BackupsRestoreInternalServerErrorCode int = 500

BackupsRestoreInternalServerErrorCode is the HTTP code returned for type BackupsRestoreInternalServerError

View Source
const BackupsRestoreNotFoundCode int = 404

BackupsRestoreNotFoundCode is the HTTP code returned for type BackupsRestoreNotFound

View Source
const BackupsRestoreOKCode int = 200

BackupsRestoreOKCode is the HTTP code returned for type BackupsRestoreOK

View Source
const BackupsRestoreStatusForbiddenCode int = 403

BackupsRestoreStatusForbiddenCode is the HTTP code returned for type BackupsRestoreStatusForbidden

View Source
const BackupsRestoreStatusInternalServerErrorCode int = 500

BackupsRestoreStatusInternalServerErrorCode is the HTTP code returned for type BackupsRestoreStatusInternalServerError

View Source
const BackupsRestoreStatusNotFoundCode int = 404

BackupsRestoreStatusNotFoundCode is the HTTP code returned for type BackupsRestoreStatusNotFound

View Source
const BackupsRestoreStatusOKCode int = 200

BackupsRestoreStatusOKCode is the HTTP code returned for type BackupsRestoreStatusOK

View Source
const BackupsRestoreStatusUnauthorizedCode int = 401

BackupsRestoreStatusUnauthorizedCode is the HTTP code returned for type BackupsRestoreStatusUnauthorized

View Source
const BackupsRestoreUnauthorizedCode int = 401

BackupsRestoreUnauthorizedCode is the HTTP code returned for type BackupsRestoreUnauthorized

View Source
const BackupsRestoreUnprocessableEntityCode int = 422

BackupsRestoreUnprocessableEntityCode is the HTTP code returned for type BackupsRestoreUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupsCancel

type BackupsCancel struct {
	Context *middleware.Context
	Handler BackupsCancelHandler
}
BackupsCancel swagger:route DELETE /backups/{backend}/{id} backups backupsCancel

Cancel backup

Cancel created backup with specified ID

func NewBackupsCancel

func NewBackupsCancel(ctx *middleware.Context, handler BackupsCancelHandler) *BackupsCancel

NewBackupsCancel creates a new http.Handler for the backups cancel operation

func (*BackupsCancel) ServeHTTP

func (o *BackupsCancel) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BackupsCancelForbidden

type BackupsCancelForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCancelForbidden Forbidden

swagger:response backupsCancelForbidden

func NewBackupsCancelForbidden

func NewBackupsCancelForbidden() *BackupsCancelForbidden

NewBackupsCancelForbidden creates BackupsCancelForbidden with default headers values

func (*BackupsCancelForbidden) SetPayload

func (o *BackupsCancelForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups cancel forbidden response

func (*BackupsCancelForbidden) WithPayload

WithPayload adds the payload to the backups cancel forbidden response

func (*BackupsCancelForbidden) WriteResponse

func (o *BackupsCancelForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCancelHandler

type BackupsCancelHandler interface {
	Handle(BackupsCancelParams, *models.Principal) middleware.Responder
}

BackupsCancelHandler interface for that can handle valid backups cancel params

type BackupsCancelHandlerFunc

type BackupsCancelHandlerFunc func(BackupsCancelParams, *models.Principal) middleware.Responder

BackupsCancelHandlerFunc turns a function with the right signature into a backups cancel handler

func (BackupsCancelHandlerFunc) Handle

Handle executing the request and returning a response

type BackupsCancelInternalServerError

type BackupsCancelInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCancelInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

swagger:response backupsCancelInternalServerError

func NewBackupsCancelInternalServerError

func NewBackupsCancelInternalServerError() *BackupsCancelInternalServerError

NewBackupsCancelInternalServerError creates BackupsCancelInternalServerError with default headers values

func (*BackupsCancelInternalServerError) SetPayload

func (o *BackupsCancelInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups cancel internal server error response

func (*BackupsCancelInternalServerError) WithPayload

WithPayload adds the payload to the backups cancel internal server error response

func (*BackupsCancelInternalServerError) WriteResponse

func (o *BackupsCancelInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCancelNoContent

type BackupsCancelNoContent struct {
}

BackupsCancelNoContent Successfully deleted.

swagger:response backupsCancelNoContent

func NewBackupsCancelNoContent

func NewBackupsCancelNoContent() *BackupsCancelNoContent

NewBackupsCancelNoContent creates BackupsCancelNoContent with default headers values

func (*BackupsCancelNoContent) WriteResponse

func (o *BackupsCancelNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCancelParams

type BackupsCancelParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Backup backend name e.g. filesystem, gcs, s3.
	  Required: true
	  In: path
	*/
	Backend string
	/*Name of the bucket, container, volume, etc
	  In: query
	*/
	Bucket *string
	/*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.
	  Required: true
	  In: path
	*/
	ID string
	/*The path within the bucket
	  In: query
	*/
	Path *string
}

BackupsCancelParams contains all the bound params for the backups cancel operation typically these are obtained from a http.Request

swagger:parameters backups.cancel

func NewBackupsCancelParams

func NewBackupsCancelParams() BackupsCancelParams

NewBackupsCancelParams creates a new BackupsCancelParams object

There are no default values defined in the spec.

func (*BackupsCancelParams) BindRequest

func (o *BackupsCancelParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewBackupsCancelParams() beforehand.

type BackupsCancelURL

type BackupsCancelURL struct {
	Backend string
	ID      string

	Bucket *string
	Path   *string
	// contains filtered or unexported fields
}

BackupsCancelURL generates an URL for the backups cancel operation

func (*BackupsCancelURL) Build

func (o *BackupsCancelURL) Build() (*url.URL, error)

Build a url path and query string

func (*BackupsCancelURL) BuildFull

func (o *BackupsCancelURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BackupsCancelURL) Must

func (o *BackupsCancelURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*BackupsCancelURL) SetBasePath

func (o *BackupsCancelURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*BackupsCancelURL) String

func (o *BackupsCancelURL) String() string

String returns the string representation of the path with query string

func (*BackupsCancelURL) StringFull

func (o *BackupsCancelURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BackupsCancelURL) WithBasePath

func (o *BackupsCancelURL) WithBasePath(bp string) *BackupsCancelURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type BackupsCancelUnauthorized

type BackupsCancelUnauthorized struct {
}

BackupsCancelUnauthorized Unauthorized or invalid credentials.

swagger:response backupsCancelUnauthorized

func NewBackupsCancelUnauthorized

func NewBackupsCancelUnauthorized() *BackupsCancelUnauthorized

NewBackupsCancelUnauthorized creates BackupsCancelUnauthorized with default headers values

func (*BackupsCancelUnauthorized) WriteResponse

func (o *BackupsCancelUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCancelUnprocessableEntity

type BackupsCancelUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCancelUnprocessableEntity Invalid backup cancellation attempt.

swagger:response backupsCancelUnprocessableEntity

func NewBackupsCancelUnprocessableEntity

func NewBackupsCancelUnprocessableEntity() *BackupsCancelUnprocessableEntity

NewBackupsCancelUnprocessableEntity creates BackupsCancelUnprocessableEntity with default headers values

func (*BackupsCancelUnprocessableEntity) SetPayload

func (o *BackupsCancelUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups cancel unprocessable entity response

func (*BackupsCancelUnprocessableEntity) WithPayload

WithPayload adds the payload to the backups cancel unprocessable entity response

func (*BackupsCancelUnprocessableEntity) WriteResponse

func (o *BackupsCancelUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreate

type BackupsCreate struct {
	Context *middleware.Context
	Handler BackupsCreateHandler
}
BackupsCreate swagger:route POST /backups/{backend} backups backupsCreate

Start 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 NewBackupsCreate

func NewBackupsCreate(ctx *middleware.Context, handler BackupsCreateHandler) *BackupsCreate

NewBackupsCreate creates a new http.Handler for the backups create operation

func (*BackupsCreate) ServeHTTP

func (o *BackupsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BackupsCreateForbidden

type BackupsCreateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateForbidden Forbidden

swagger:response backupsCreateForbidden

func NewBackupsCreateForbidden

func NewBackupsCreateForbidden() *BackupsCreateForbidden

NewBackupsCreateForbidden creates BackupsCreateForbidden with default headers values

func (*BackupsCreateForbidden) SetPayload

func (o *BackupsCreateForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups create forbidden response

func (*BackupsCreateForbidden) WithPayload

WithPayload adds the payload to the backups create forbidden response

func (*BackupsCreateForbidden) WriteResponse

func (o *BackupsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateHandler

type BackupsCreateHandler interface {
	Handle(BackupsCreateParams, *models.Principal) middleware.Responder
}

BackupsCreateHandler interface for that can handle valid backups create params

type BackupsCreateHandlerFunc

type BackupsCreateHandlerFunc func(BackupsCreateParams, *models.Principal) middleware.Responder

BackupsCreateHandlerFunc turns a function with the right signature into a backups create handler

func (BackupsCreateHandlerFunc) Handle

Handle executing the request and returning a response

type BackupsCreateInternalServerError

type BackupsCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

swagger:response backupsCreateInternalServerError

func NewBackupsCreateInternalServerError

func NewBackupsCreateInternalServerError() *BackupsCreateInternalServerError

NewBackupsCreateInternalServerError creates BackupsCreateInternalServerError with default headers values

func (*BackupsCreateInternalServerError) SetPayload

func (o *BackupsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups create internal server error response

func (*BackupsCreateInternalServerError) WithPayload

WithPayload adds the payload to the backups create internal server error response

func (*BackupsCreateInternalServerError) WriteResponse

func (o *BackupsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateOK

type BackupsCreateOK struct {

	/*
	  In: Body
	*/
	Payload *models.BackupCreateResponse `json:"body,omitempty"`
}

BackupsCreateOK Backup create process successfully started.

swagger:response backupsCreateOK

func NewBackupsCreateOK

func NewBackupsCreateOK() *BackupsCreateOK

NewBackupsCreateOK creates BackupsCreateOK with default headers values

func (*BackupsCreateOK) SetPayload

func (o *BackupsCreateOK) SetPayload(payload *models.BackupCreateResponse)

SetPayload sets the payload to the backups create o k response

func (*BackupsCreateOK) WithPayload

func (o *BackupsCreateOK) WithPayload(payload *models.BackupCreateResponse) *BackupsCreateOK

WithPayload adds the payload to the backups create o k response

func (*BackupsCreateOK) WriteResponse

func (o *BackupsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateParams

type BackupsCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`.
	  Required: true
	  In: path
	*/
	Backend string
	/*
	  Required: true
	  In: body
	*/
	Body *models.BackupCreateRequest
}

BackupsCreateParams contains all the bound params for the backups create operation typically these are obtained from a http.Request

swagger:parameters backups.create

func NewBackupsCreateParams

func NewBackupsCreateParams() BackupsCreateParams

NewBackupsCreateParams creates a new BackupsCreateParams object

There are no default values defined in the spec.

func (*BackupsCreateParams) BindRequest

func (o *BackupsCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewBackupsCreateParams() beforehand.

type BackupsCreateStatus

type BackupsCreateStatus struct {
	Context *middleware.Context
	Handler BackupsCreateStatusHandler
}
BackupsCreateStatus swagger:route GET /backups/{backend}/{id} backups backupsCreateStatus

Get 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 NewBackupsCreateStatus

func NewBackupsCreateStatus(ctx *middleware.Context, handler BackupsCreateStatusHandler) *BackupsCreateStatus

NewBackupsCreateStatus creates a new http.Handler for the backups create status operation

func (*BackupsCreateStatus) ServeHTTP

func (o *BackupsCreateStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BackupsCreateStatusForbidden

type BackupsCreateStatusForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateStatusForbidden Forbidden

swagger:response backupsCreateStatusForbidden

func NewBackupsCreateStatusForbidden

func NewBackupsCreateStatusForbidden() *BackupsCreateStatusForbidden

NewBackupsCreateStatusForbidden creates BackupsCreateStatusForbidden with default headers values

func (*BackupsCreateStatusForbidden) SetPayload

func (o *BackupsCreateStatusForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups create status forbidden response

func (*BackupsCreateStatusForbidden) WithPayload

WithPayload adds the payload to the backups create status forbidden response

func (*BackupsCreateStatusForbidden) WriteResponse

func (o *BackupsCreateStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateStatusHandler

type BackupsCreateStatusHandler interface {
	Handle(BackupsCreateStatusParams, *models.Principal) middleware.Responder
}

BackupsCreateStatusHandler interface for that can handle valid backups create status params

type BackupsCreateStatusHandlerFunc

type BackupsCreateStatusHandlerFunc func(BackupsCreateStatusParams, *models.Principal) middleware.Responder

BackupsCreateStatusHandlerFunc turns a function with the right signature into a backups create status handler

func (BackupsCreateStatusHandlerFunc) Handle

Handle executing the request and returning a response

type BackupsCreateStatusInternalServerError

type BackupsCreateStatusInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateStatusInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

swagger:response backupsCreateStatusInternalServerError

func NewBackupsCreateStatusInternalServerError

func NewBackupsCreateStatusInternalServerError() *BackupsCreateStatusInternalServerError

NewBackupsCreateStatusInternalServerError creates BackupsCreateStatusInternalServerError with default headers values

func (*BackupsCreateStatusInternalServerError) SetPayload

SetPayload sets the payload to the backups create status internal server error response

func (*BackupsCreateStatusInternalServerError) WithPayload

WithPayload adds the payload to the backups create status internal server error response

func (*BackupsCreateStatusInternalServerError) WriteResponse

WriteResponse to the client

type BackupsCreateStatusNotFound

type BackupsCreateStatusNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateStatusNotFound Not Found - Backup does not exist

swagger:response backupsCreateStatusNotFound

func NewBackupsCreateStatusNotFound

func NewBackupsCreateStatusNotFound() *BackupsCreateStatusNotFound

NewBackupsCreateStatusNotFound creates BackupsCreateStatusNotFound with default headers values

func (*BackupsCreateStatusNotFound) SetPayload

func (o *BackupsCreateStatusNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups create status not found response

func (*BackupsCreateStatusNotFound) WithPayload

WithPayload adds the payload to the backups create status not found response

func (*BackupsCreateStatusNotFound) WriteResponse

func (o *BackupsCreateStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateStatusOK

type BackupsCreateStatusOK struct {

	/*
	  In: Body
	*/
	Payload *models.BackupCreateStatusResponse `json:"body,omitempty"`
}

BackupsCreateStatusOK Backup creation status successfully returned

swagger:response backupsCreateStatusOK

func NewBackupsCreateStatusOK

func NewBackupsCreateStatusOK() *BackupsCreateStatusOK

NewBackupsCreateStatusOK creates BackupsCreateStatusOK with default headers values

func (*BackupsCreateStatusOK) SetPayload

SetPayload sets the payload to the backups create status o k response

func (*BackupsCreateStatusOK) WithPayload

WithPayload adds the payload to the backups create status o k response

func (*BackupsCreateStatusOK) WriteResponse

func (o *BackupsCreateStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateStatusParams

type BackupsCreateStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Backup backend name e.g. filesystem, gcs, s3.
	  Required: true
	  In: path
	*/
	Backend string
	/*Name of the bucket, container, volume, etc
	  In: query
	*/
	Bucket *string
	/*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.
	  Required: true
	  In: path
	*/
	ID string
	/*The path within the bucket
	  In: query
	*/
	Path *string
}

BackupsCreateStatusParams contains all the bound params for the backups create status operation typically these are obtained from a http.Request

swagger:parameters backups.create.status

func NewBackupsCreateStatusParams

func NewBackupsCreateStatusParams() BackupsCreateStatusParams

NewBackupsCreateStatusParams creates a new BackupsCreateStatusParams object

There are no default values defined in the spec.

func (*BackupsCreateStatusParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewBackupsCreateStatusParams() beforehand.

type BackupsCreateStatusURL

type BackupsCreateStatusURL struct {
	Backend string
	ID      string

	Bucket *string
	Path   *string
	// contains filtered or unexported fields
}

BackupsCreateStatusURL generates an URL for the backups create status operation

func (*BackupsCreateStatusURL) Build

func (o *BackupsCreateStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*BackupsCreateStatusURL) BuildFull

func (o *BackupsCreateStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BackupsCreateStatusURL) Must

func (o *BackupsCreateStatusURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*BackupsCreateStatusURL) SetBasePath

func (o *BackupsCreateStatusURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*BackupsCreateStatusURL) String

func (o *BackupsCreateStatusURL) String() string

String returns the string representation of the path with query string

func (*BackupsCreateStatusURL) StringFull

func (o *BackupsCreateStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BackupsCreateStatusURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type BackupsCreateStatusUnauthorized

type BackupsCreateStatusUnauthorized struct {
}

BackupsCreateStatusUnauthorized Unauthorized or invalid credentials.

swagger:response backupsCreateStatusUnauthorized

func NewBackupsCreateStatusUnauthorized

func NewBackupsCreateStatusUnauthorized() *BackupsCreateStatusUnauthorized

NewBackupsCreateStatusUnauthorized creates BackupsCreateStatusUnauthorized with default headers values

func (*BackupsCreateStatusUnauthorized) WriteResponse

func (o *BackupsCreateStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateStatusUnprocessableEntity

type BackupsCreateStatusUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateStatusUnprocessableEntity Invalid backup restoration status attempt.

swagger:response backupsCreateStatusUnprocessableEntity

func NewBackupsCreateStatusUnprocessableEntity

func NewBackupsCreateStatusUnprocessableEntity() *BackupsCreateStatusUnprocessableEntity

NewBackupsCreateStatusUnprocessableEntity creates BackupsCreateStatusUnprocessableEntity with default headers values

func (*BackupsCreateStatusUnprocessableEntity) SetPayload

SetPayload sets the payload to the backups create status unprocessable entity response

func (*BackupsCreateStatusUnprocessableEntity) WithPayload

WithPayload adds the payload to the backups create status unprocessable entity response

func (*BackupsCreateStatusUnprocessableEntity) WriteResponse

WriteResponse to the client

type BackupsCreateURL

type BackupsCreateURL struct {
	Backend string
	// contains filtered or unexported fields
}

BackupsCreateURL generates an URL for the backups create operation

func (*BackupsCreateURL) Build

func (o *BackupsCreateURL) Build() (*url.URL, error)

Build a url path and query string

func (*BackupsCreateURL) BuildFull

func (o *BackupsCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BackupsCreateURL) Must

func (o *BackupsCreateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*BackupsCreateURL) SetBasePath

func (o *BackupsCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*BackupsCreateURL) String

func (o *BackupsCreateURL) String() string

String returns the string representation of the path with query string

func (*BackupsCreateURL) StringFull

func (o *BackupsCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BackupsCreateURL) WithBasePath

func (o *BackupsCreateURL) WithBasePath(bp string) *BackupsCreateURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type BackupsCreateUnauthorized

type BackupsCreateUnauthorized struct {
}

BackupsCreateUnauthorized Unauthorized or invalid credentials.

swagger:response backupsCreateUnauthorized

func NewBackupsCreateUnauthorized

func NewBackupsCreateUnauthorized() *BackupsCreateUnauthorized

NewBackupsCreateUnauthorized creates BackupsCreateUnauthorized with default headers values

func (*BackupsCreateUnauthorized) WriteResponse

func (o *BackupsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsCreateUnprocessableEntity

type BackupsCreateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsCreateUnprocessableEntity Invalid backup creation attempt.

swagger:response backupsCreateUnprocessableEntity

func NewBackupsCreateUnprocessableEntity

func NewBackupsCreateUnprocessableEntity() *BackupsCreateUnprocessableEntity

NewBackupsCreateUnprocessableEntity creates BackupsCreateUnprocessableEntity with default headers values

func (*BackupsCreateUnprocessableEntity) SetPayload

func (o *BackupsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups create unprocessable entity response

func (*BackupsCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the backups create unprocessable entity response

func (*BackupsCreateUnprocessableEntity) WriteResponse

func (o *BackupsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsList

type BackupsList struct {
	Context *middleware.Context
	Handler BackupsListHandler
}
BackupsList swagger:route GET /backups/{backend} backups backupsList

List backups in progress

[Coming soon] List all backups in progress not implemented yet.

func NewBackupsList

func NewBackupsList(ctx *middleware.Context, handler BackupsListHandler) *BackupsList

NewBackupsList creates a new http.Handler for the backups list operation

func (*BackupsList) ServeHTTP

func (o *BackupsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BackupsListForbidden

type BackupsListForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsListForbidden Forbidden

swagger:response backupsListForbidden

func NewBackupsListForbidden

func NewBackupsListForbidden() *BackupsListForbidden

NewBackupsListForbidden creates BackupsListForbidden with default headers values

func (*BackupsListForbidden) SetPayload

func (o *BackupsListForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups list forbidden response

func (*BackupsListForbidden) WithPayload

WithPayload adds the payload to the backups list forbidden response

func (*BackupsListForbidden) WriteResponse

func (o *BackupsListForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsListHandler

type BackupsListHandler interface {
	Handle(BackupsListParams, *models.Principal) middleware.Responder
}

BackupsListHandler interface for that can handle valid backups list params

type BackupsListHandlerFunc

type BackupsListHandlerFunc func(BackupsListParams, *models.Principal) middleware.Responder

BackupsListHandlerFunc turns a function with the right signature into a backups list handler

func (BackupsListHandlerFunc) Handle

Handle executing the request and returning a response

type BackupsListInternalServerError

type BackupsListInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsListInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

swagger:response backupsListInternalServerError

func NewBackupsListInternalServerError

func NewBackupsListInternalServerError() *BackupsListInternalServerError

NewBackupsListInternalServerError creates BackupsListInternalServerError with default headers values

func (*BackupsListInternalServerError) SetPayload

func (o *BackupsListInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups list internal server error response

func (*BackupsListInternalServerError) WithPayload

WithPayload adds the payload to the backups list internal server error response

func (*BackupsListInternalServerError) WriteResponse

func (o *BackupsListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsListOK

type BackupsListOK struct {

	/*
	  In: Body
	*/
	Payload models.BackupListResponse `json:"body,omitempty"`
}

BackupsListOK Existed backups

swagger:response backupsListOK

func NewBackupsListOK

func NewBackupsListOK() *BackupsListOK

NewBackupsListOK creates BackupsListOK with default headers values

func (*BackupsListOK) SetPayload

func (o *BackupsListOK) SetPayload(payload models.BackupListResponse)

SetPayload sets the payload to the backups list o k response

func (*BackupsListOK) WithPayload

func (o *BackupsListOK) WithPayload(payload models.BackupListResponse) *BackupsListOK

WithPayload adds the payload to the backups list o k response

func (*BackupsListOK) WriteResponse

func (o *BackupsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsListParams

type BackupsListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Backup backend name e.g. filesystem, gcs, s3.
	  Required: true
	  In: path
	*/
	Backend string
}

BackupsListParams contains all the bound params for the backups list operation typically these are obtained from a http.Request

swagger:parameters backups.list

func NewBackupsListParams

func NewBackupsListParams() BackupsListParams

NewBackupsListParams creates a new BackupsListParams object

There are no default values defined in the spec.

func (*BackupsListParams) BindRequest

func (o *BackupsListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewBackupsListParams() beforehand.

type BackupsListURL

type BackupsListURL struct {
	Backend string
	// contains filtered or unexported fields
}

BackupsListURL generates an URL for the backups list operation

func (*BackupsListURL) Build

func (o *BackupsListURL) Build() (*url.URL, error)

Build a url path and query string

func (*BackupsListURL) BuildFull

func (o *BackupsListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BackupsListURL) Must

func (o *BackupsListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*BackupsListURL) SetBasePath

func (o *BackupsListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*BackupsListURL) String

func (o *BackupsListURL) String() string

String returns the string representation of the path with query string

func (*BackupsListURL) StringFull

func (o *BackupsListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BackupsListURL) WithBasePath

func (o *BackupsListURL) WithBasePath(bp string) *BackupsListURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type BackupsListUnauthorized

type BackupsListUnauthorized struct {
}

BackupsListUnauthorized Unauthorized or invalid credentials.

swagger:response backupsListUnauthorized

func NewBackupsListUnauthorized

func NewBackupsListUnauthorized() *BackupsListUnauthorized

NewBackupsListUnauthorized creates BackupsListUnauthorized with default headers values

func (*BackupsListUnauthorized) WriteResponse

func (o *BackupsListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsListUnprocessableEntity

type BackupsListUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsListUnprocessableEntity Invalid backup list.

swagger:response backupsListUnprocessableEntity

func NewBackupsListUnprocessableEntity

func NewBackupsListUnprocessableEntity() *BackupsListUnprocessableEntity

NewBackupsListUnprocessableEntity creates BackupsListUnprocessableEntity with default headers values

func (*BackupsListUnprocessableEntity) SetPayload

func (o *BackupsListUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups list unprocessable entity response

func (*BackupsListUnprocessableEntity) WithPayload

WithPayload adds the payload to the backups list unprocessable entity response

func (*BackupsListUnprocessableEntity) WriteResponse

func (o *BackupsListUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestore

type BackupsRestore struct {
	Context *middleware.Context
	Handler BackupsRestoreHandler
}
BackupsRestore swagger:route POST /backups/{backend}/{id}/restore backups backupsRestore

Start 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 NewBackupsRestore

func NewBackupsRestore(ctx *middleware.Context, handler BackupsRestoreHandler) *BackupsRestore

NewBackupsRestore creates a new http.Handler for the backups restore operation

func (*BackupsRestore) ServeHTTP

func (o *BackupsRestore) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BackupsRestoreForbidden

type BackupsRestoreForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreForbidden Forbidden

swagger:response backupsRestoreForbidden

func NewBackupsRestoreForbidden

func NewBackupsRestoreForbidden() *BackupsRestoreForbidden

NewBackupsRestoreForbidden creates BackupsRestoreForbidden with default headers values

func (*BackupsRestoreForbidden) SetPayload

func (o *BackupsRestoreForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups restore forbidden response

func (*BackupsRestoreForbidden) WithPayload

WithPayload adds the payload to the backups restore forbidden response

func (*BackupsRestoreForbidden) WriteResponse

func (o *BackupsRestoreForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreHandler

type BackupsRestoreHandler interface {
	Handle(BackupsRestoreParams, *models.Principal) middleware.Responder
}

BackupsRestoreHandler interface for that can handle valid backups restore params

type BackupsRestoreHandlerFunc

type BackupsRestoreHandlerFunc func(BackupsRestoreParams, *models.Principal) middleware.Responder

BackupsRestoreHandlerFunc turns a function with the right signature into a backups restore handler

func (BackupsRestoreHandlerFunc) Handle

Handle executing the request and returning a response

type BackupsRestoreInternalServerError

type BackupsRestoreInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

swagger:response backupsRestoreInternalServerError

func NewBackupsRestoreInternalServerError

func NewBackupsRestoreInternalServerError() *BackupsRestoreInternalServerError

NewBackupsRestoreInternalServerError creates BackupsRestoreInternalServerError with default headers values

func (*BackupsRestoreInternalServerError) SetPayload

func (o *BackupsRestoreInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups restore internal server error response

func (*BackupsRestoreInternalServerError) WithPayload

WithPayload adds the payload to the backups restore internal server error response

func (*BackupsRestoreInternalServerError) WriteResponse

func (o *BackupsRestoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreNotFound

type BackupsRestoreNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreNotFound Not Found - Backup does not exist

swagger:response backupsRestoreNotFound

func NewBackupsRestoreNotFound

func NewBackupsRestoreNotFound() *BackupsRestoreNotFound

NewBackupsRestoreNotFound creates BackupsRestoreNotFound with default headers values

func (*BackupsRestoreNotFound) SetPayload

func (o *BackupsRestoreNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups restore not found response

func (*BackupsRestoreNotFound) WithPayload

WithPayload adds the payload to the backups restore not found response

func (*BackupsRestoreNotFound) WriteResponse

func (o *BackupsRestoreNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreOK

type BackupsRestoreOK struct {

	/*
	  In: Body
	*/
	Payload *models.BackupRestoreResponse `json:"body,omitempty"`
}

BackupsRestoreOK Backup restoration process successfully started.

swagger:response backupsRestoreOK

func NewBackupsRestoreOK

func NewBackupsRestoreOK() *BackupsRestoreOK

NewBackupsRestoreOK creates BackupsRestoreOK with default headers values

func (*BackupsRestoreOK) SetPayload

func (o *BackupsRestoreOK) SetPayload(payload *models.BackupRestoreResponse)

SetPayload sets the payload to the backups restore o k response

func (*BackupsRestoreOK) WithPayload

WithPayload adds the payload to the backups restore o k response

func (*BackupsRestoreOK) WriteResponse

func (o *BackupsRestoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreParams

type BackupsRestoreParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`.
	  Required: true
	  In: path
	*/
	Backend string
	/*
	  Required: true
	  In: body
	*/
	Body *models.BackupRestoreRequest
	/*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.
	  Required: true
	  In: path
	*/
	ID string
}

BackupsRestoreParams contains all the bound params for the backups restore operation typically these are obtained from a http.Request

swagger:parameters backups.restore

func NewBackupsRestoreParams

func NewBackupsRestoreParams() BackupsRestoreParams

NewBackupsRestoreParams creates a new BackupsRestoreParams object

There are no default values defined in the spec.

func (*BackupsRestoreParams) BindRequest

func (o *BackupsRestoreParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewBackupsRestoreParams() beforehand.

type BackupsRestoreStatus

type BackupsRestoreStatus struct {
	Context *middleware.Context
	Handler BackupsRestoreStatusHandler
}
BackupsRestoreStatus swagger:route GET /backups/{backend}/{id}/restore backups backupsRestoreStatus

Get 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 NewBackupsRestoreStatus

func NewBackupsRestoreStatus(ctx *middleware.Context, handler BackupsRestoreStatusHandler) *BackupsRestoreStatus

NewBackupsRestoreStatus creates a new http.Handler for the backups restore status operation

func (*BackupsRestoreStatus) ServeHTTP

func (o *BackupsRestoreStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type BackupsRestoreStatusForbidden

type BackupsRestoreStatusForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreStatusForbidden Forbidden

swagger:response backupsRestoreStatusForbidden

func NewBackupsRestoreStatusForbidden

func NewBackupsRestoreStatusForbidden() *BackupsRestoreStatusForbidden

NewBackupsRestoreStatusForbidden creates BackupsRestoreStatusForbidden with default headers values

func (*BackupsRestoreStatusForbidden) SetPayload

func (o *BackupsRestoreStatusForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups restore status forbidden response

func (*BackupsRestoreStatusForbidden) WithPayload

WithPayload adds the payload to the backups restore status forbidden response

func (*BackupsRestoreStatusForbidden) WriteResponse

func (o *BackupsRestoreStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreStatusHandler

type BackupsRestoreStatusHandler interface {
	Handle(BackupsRestoreStatusParams, *models.Principal) middleware.Responder
}

BackupsRestoreStatusHandler interface for that can handle valid backups restore status params

type BackupsRestoreStatusHandlerFunc

type BackupsRestoreStatusHandlerFunc func(BackupsRestoreStatusParams, *models.Principal) middleware.Responder

BackupsRestoreStatusHandlerFunc turns a function with the right signature into a backups restore status handler

func (BackupsRestoreStatusHandlerFunc) Handle

Handle executing the request and returning a response

type BackupsRestoreStatusInternalServerError

type BackupsRestoreStatusInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreStatusInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

swagger:response backupsRestoreStatusInternalServerError

func NewBackupsRestoreStatusInternalServerError

func NewBackupsRestoreStatusInternalServerError() *BackupsRestoreStatusInternalServerError

NewBackupsRestoreStatusInternalServerError creates BackupsRestoreStatusInternalServerError with default headers values

func (*BackupsRestoreStatusInternalServerError) SetPayload

SetPayload sets the payload to the backups restore status internal server error response

func (*BackupsRestoreStatusInternalServerError) WithPayload

WithPayload adds the payload to the backups restore status internal server error response

func (*BackupsRestoreStatusInternalServerError) WriteResponse

WriteResponse to the client

type BackupsRestoreStatusNotFound

type BackupsRestoreStatusNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreStatusNotFound Not Found - Backup does not exist

swagger:response backupsRestoreStatusNotFound

func NewBackupsRestoreStatusNotFound

func NewBackupsRestoreStatusNotFound() *BackupsRestoreStatusNotFound

NewBackupsRestoreStatusNotFound creates BackupsRestoreStatusNotFound with default headers values

func (*BackupsRestoreStatusNotFound) SetPayload

func (o *BackupsRestoreStatusNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups restore status not found response

func (*BackupsRestoreStatusNotFound) WithPayload

WithPayload adds the payload to the backups restore status not found response

func (*BackupsRestoreStatusNotFound) WriteResponse

func (o *BackupsRestoreStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreStatusOK

type BackupsRestoreStatusOK struct {

	/*
	  In: Body
	*/
	Payload *models.BackupRestoreStatusResponse `json:"body,omitempty"`
}

BackupsRestoreStatusOK Backup restoration status successfully returned

swagger:response backupsRestoreStatusOK

func NewBackupsRestoreStatusOK

func NewBackupsRestoreStatusOK() *BackupsRestoreStatusOK

NewBackupsRestoreStatusOK creates BackupsRestoreStatusOK with default headers values

func (*BackupsRestoreStatusOK) SetPayload

SetPayload sets the payload to the backups restore status o k response

func (*BackupsRestoreStatusOK) WithPayload

WithPayload adds the payload to the backups restore status o k response

func (*BackupsRestoreStatusOK) WriteResponse

func (o *BackupsRestoreStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreStatusParams

type BackupsRestoreStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`.
	  Required: true
	  In: path
	*/
	Backend string
	/*Name of the bucket, container, volume, etc
	  In: query
	*/
	Bucket *string
	/*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.
	  Required: true
	  In: path
	*/
	ID string
	/*The path within the bucket
	  In: query
	*/
	Path *string
}

BackupsRestoreStatusParams contains all the bound params for the backups restore status operation typically these are obtained from a http.Request

swagger:parameters backups.restore.status

func NewBackupsRestoreStatusParams

func NewBackupsRestoreStatusParams() BackupsRestoreStatusParams

NewBackupsRestoreStatusParams creates a new BackupsRestoreStatusParams object

There are no default values defined in the spec.

func (*BackupsRestoreStatusParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewBackupsRestoreStatusParams() beforehand.

type BackupsRestoreStatusURL

type BackupsRestoreStatusURL struct {
	Backend string
	ID      string

	Bucket *string
	Path   *string
	// contains filtered or unexported fields
}

BackupsRestoreStatusURL generates an URL for the backups restore status operation

func (*BackupsRestoreStatusURL) Build

func (o *BackupsRestoreStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*BackupsRestoreStatusURL) BuildFull

func (o *BackupsRestoreStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BackupsRestoreStatusURL) Must

func (o *BackupsRestoreStatusURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*BackupsRestoreStatusURL) SetBasePath

func (o *BackupsRestoreStatusURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*BackupsRestoreStatusURL) String

func (o *BackupsRestoreStatusURL) String() string

String returns the string representation of the path with query string

func (*BackupsRestoreStatusURL) StringFull

func (o *BackupsRestoreStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BackupsRestoreStatusURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type BackupsRestoreStatusUnauthorized

type BackupsRestoreStatusUnauthorized struct {
}

BackupsRestoreStatusUnauthorized Unauthorized or invalid credentials.

swagger:response backupsRestoreStatusUnauthorized

func NewBackupsRestoreStatusUnauthorized

func NewBackupsRestoreStatusUnauthorized() *BackupsRestoreStatusUnauthorized

NewBackupsRestoreStatusUnauthorized creates BackupsRestoreStatusUnauthorized with default headers values

func (*BackupsRestoreStatusUnauthorized) WriteResponse

func (o *BackupsRestoreStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreURL

type BackupsRestoreURL struct {
	Backend string
	ID      string
	// contains filtered or unexported fields
}

BackupsRestoreURL generates an URL for the backups restore operation

func (*BackupsRestoreURL) Build

func (o *BackupsRestoreURL) Build() (*url.URL, error)

Build a url path and query string

func (*BackupsRestoreURL) BuildFull

func (o *BackupsRestoreURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*BackupsRestoreURL) Must

func (o *BackupsRestoreURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*BackupsRestoreURL) SetBasePath

func (o *BackupsRestoreURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*BackupsRestoreURL) String

func (o *BackupsRestoreURL) String() string

String returns the string representation of the path with query string

func (*BackupsRestoreURL) StringFull

func (o *BackupsRestoreURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*BackupsRestoreURL) WithBasePath

func (o *BackupsRestoreURL) WithBasePath(bp string) *BackupsRestoreURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type BackupsRestoreUnauthorized

type BackupsRestoreUnauthorized struct {
}

BackupsRestoreUnauthorized Unauthorized or invalid credentials.

swagger:response backupsRestoreUnauthorized

func NewBackupsRestoreUnauthorized

func NewBackupsRestoreUnauthorized() *BackupsRestoreUnauthorized

NewBackupsRestoreUnauthorized creates BackupsRestoreUnauthorized with default headers values

func (*BackupsRestoreUnauthorized) WriteResponse

func (o *BackupsRestoreUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type BackupsRestoreUnprocessableEntity

type BackupsRestoreUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

BackupsRestoreUnprocessableEntity Invalid backup restoration attempt.

swagger:response backupsRestoreUnprocessableEntity

func NewBackupsRestoreUnprocessableEntity

func NewBackupsRestoreUnprocessableEntity() *BackupsRestoreUnprocessableEntity

NewBackupsRestoreUnprocessableEntity creates BackupsRestoreUnprocessableEntity with default headers values

func (*BackupsRestoreUnprocessableEntity) SetPayload

func (o *BackupsRestoreUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the backups restore unprocessable entity response

func (*BackupsRestoreUnprocessableEntity) WithPayload

WithPayload adds the payload to the backups restore unprocessable entity response

func (*BackupsRestoreUnprocessableEntity) WriteResponse

func (o *BackupsRestoreUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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