restoration

package
v0.0.0-...-8f56799 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: EPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GetRestorationByIDBadRequestCode int = 400

GetRestorationByIDBadRequestCode is the HTTP code returned for type GetRestorationByIDBadRequest

View Source
const GetRestorationByIDNotFoundCode int = 404

GetRestorationByIDNotFoundCode is the HTTP code returned for type GetRestorationByIDNotFound

View Source
const GetRestorationByIDOKCode int = 200

GetRestorationByIDOKCode is the HTTP code returned for type GetRestorationByIDOK

View Source
const GetRestorationsForbiddenCode int = 403

GetRestorationsForbiddenCode is the HTTP code returned for type GetRestorationsForbidden

View Source
const GetRestorationsInternalServerErrorCode int = 500

GetRestorationsInternalServerErrorCode is the HTTP code returned for type GetRestorationsInternalServerError

View Source
const GetRestorationsMethodNotAllowedCode int = 405

GetRestorationsMethodNotAllowedCode is the HTTP code returned for type GetRestorationsMethodNotAllowed

View Source
const GetRestorationsNotFoundCode int = 404

GetRestorationsNotFoundCode is the HTTP code returned for type GetRestorationsNotFound

View Source
const GetRestorationsOKCode int = 200

GetRestorationsOKCode is the HTTP code returned for type GetRestorationsOK

View Source
const GetRestorationsServiceUnavailableCode int = 503

GetRestorationsServiceUnavailableCode is the HTTP code returned for type GetRestorationsServiceUnavailable

View Source
const NewRestorationBadGatewayCode int = 502

NewRestorationBadGatewayCode is the HTTP code returned for type NewRestorationBadGateway

View Source
const NewRestorationForbiddenCode int = 403

NewRestorationForbiddenCode is the HTTP code returned for type NewRestorationForbidden

View Source
const NewRestorationGatewayTimeoutCode int = 504

NewRestorationGatewayTimeoutCode is the HTTP code returned for type NewRestorationGatewayTimeout

View Source
const NewRestorationInternalServerErrorCode int = 500

NewRestorationInternalServerErrorCode is the HTTP code returned for type NewRestorationInternalServerError

View Source
const NewRestorationMethodNotAllowedCode int = 405

NewRestorationMethodNotAllowedCode is the HTTP code returned for type NewRestorationMethodNotAllowed

View Source
const NewRestorationNotFoundCode int = 404

NewRestorationNotFoundCode is the HTTP code returned for type NewRestorationNotFound

View Source
const NewRestorationOKCode int = 200

NewRestorationOKCode is the HTTP code returned for type NewRestorationOK

View Source
const NewRestorationServiceUnavailableCode int = 503

NewRestorationServiceUnavailableCode is the HTTP code returned for type NewRestorationServiceUnavailable

View Source
const UpdateRestorationBadGatewayCode int = 502

UpdateRestorationBadGatewayCode is the HTTP code returned for type UpdateRestorationBadGateway

View Source
const UpdateRestorationForbiddenCode int = 403

UpdateRestorationForbiddenCode is the HTTP code returned for type UpdateRestorationForbidden

View Source
const UpdateRestorationGatewayTimeoutCode int = 504

UpdateRestorationGatewayTimeoutCode is the HTTP code returned for type UpdateRestorationGatewayTimeout

View Source
const UpdateRestorationInternalServerErrorCode int = 500

UpdateRestorationInternalServerErrorCode is the HTTP code returned for type UpdateRestorationInternalServerError

View Source
const UpdateRestorationMethodNotAllowedCode int = 405

UpdateRestorationMethodNotAllowedCode is the HTTP code returned for type UpdateRestorationMethodNotAllowed

View Source
const UpdateRestorationNotFoundCode int = 404

UpdateRestorationNotFoundCode is the HTTP code returned for type UpdateRestorationNotFound

View Source
const UpdateRestorationOKCode int = 200

UpdateRestorationOKCode is the HTTP code returned for type UpdateRestorationOK

View Source
const UpdateRestorationServiceUnavailableCode int = 503

UpdateRestorationServiceUnavailableCode is the HTTP code returned for type UpdateRestorationServiceUnavailable

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRestorationByID

type GetRestorationByID struct {
	Context *middleware.Context
	Handler GetRestorationByIDHandler
}
GetRestorationByID swagger:route GET /restorations/{restorationId} restoration getRestorationById

Find restoration by ID

Query a single restoration

func NewGetRestorationByID

func NewGetRestorationByID(ctx *middleware.Context, handler GetRestorationByIDHandler) *GetRestorationByID

NewGetRestorationByID creates a new http.Handler for the get restoration by Id operation

func (*GetRestorationByID) ServeHTTP

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

type GetRestorationByIDBadRequest

type GetRestorationByIDBadRequest struct {

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

GetRestorationByIDBadRequest Invalid ID supplied

swagger:response getRestorationByIdBadRequest

func NewGetRestorationByIDBadRequest

func NewGetRestorationByIDBadRequest() *GetRestorationByIDBadRequest

NewGetRestorationByIDBadRequest creates GetRestorationByIDBadRequest with default headers values

func (*GetRestorationByIDBadRequest) SetPayload

func (o *GetRestorationByIDBadRequest) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restoration by Id bad request response

func (*GetRestorationByIDBadRequest) WithPayload

WithPayload adds the payload to the get restoration by Id bad request response

func (*GetRestorationByIDBadRequest) WriteResponse

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

WriteResponse to the client

type GetRestorationByIDHandler

type GetRestorationByIDHandler interface {
	Handle(GetRestorationByIDParams) middleware.Responder
}

GetRestorationByIDHandler interface for that can handle valid get restoration by Id params

type GetRestorationByIDHandlerFunc

type GetRestorationByIDHandlerFunc func(GetRestorationByIDParams) middleware.Responder

GetRestorationByIDHandlerFunc turns a function with the right signature into a get restoration by Id handler

func (GetRestorationByIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetRestorationByIDNotFound

type GetRestorationByIDNotFound struct {

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

GetRestorationByIDNotFound Restoration not found

swagger:response getRestorationByIdNotFound

func NewGetRestorationByIDNotFound

func NewGetRestorationByIDNotFound() *GetRestorationByIDNotFound

NewGetRestorationByIDNotFound creates GetRestorationByIDNotFound with default headers values

func (*GetRestorationByIDNotFound) SetPayload

func (o *GetRestorationByIDNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restoration by Id not found response

func (*GetRestorationByIDNotFound) WithPayload

WithPayload adds the payload to the get restoration by Id not found response

func (*GetRestorationByIDNotFound) WriteResponse

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

WriteResponse to the client

type GetRestorationByIDOK

type GetRestorationByIDOK struct {

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

GetRestorationByIDOK successful operation

swagger:response getRestorationByIdOK

func NewGetRestorationByIDOK

func NewGetRestorationByIDOK() *GetRestorationByIDOK

NewGetRestorationByIDOK creates GetRestorationByIDOK with default headers values

func (*GetRestorationByIDOK) SetPayload

func (o *GetRestorationByIDOK) SetPayload(payload *models.Restoration)

SetPayload sets the payload to the get restoration by Id o k response

func (*GetRestorationByIDOK) WithPayload

func (o *GetRestorationByIDOK) WithPayload(payload *models.Restoration) *GetRestorationByIDOK

WithPayload adds the payload to the get restoration by Id o k response

func (*GetRestorationByIDOK) WriteResponse

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

WriteResponse to the client

type GetRestorationByIDParams

type GetRestorationByIDParams struct {

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

	/*ID of restoration to return
	  Required: true
	  In: path
	*/
	RestorationID int64
}

GetRestorationByIDParams contains all the bound params for the get restoration by Id operation typically these are obtained from a http.Request

swagger:parameters getRestorationById

func NewGetRestorationByIDParams

func NewGetRestorationByIDParams() GetRestorationByIDParams

NewGetRestorationByIDParams creates a new GetRestorationByIDParams object

There are no default values defined in the spec.

func (*GetRestorationByIDParams) 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 NewGetRestorationByIDParams() beforehand.

type GetRestorationByIDURL

type GetRestorationByIDURL struct {
	RestorationID int64
	// contains filtered or unexported fields
}

GetRestorationByIDURL generates an URL for the get restoration by Id operation

func (*GetRestorationByIDURL) Build

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

Build a url path and query string

func (*GetRestorationByIDURL) BuildFull

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

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

func (*GetRestorationByIDURL) Must

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

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

func (*GetRestorationByIDURL) SetBasePath

func (o *GetRestorationByIDURL) 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 (*GetRestorationByIDURL) String

func (o *GetRestorationByIDURL) String() string

String returns the string representation of the path with query string

func (*GetRestorationByIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetRestorationByIDURL) WithBasePath

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

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 GetRestorations

type GetRestorations struct {
	Context *middleware.Context
	Handler GetRestorationsHandler
}
GetRestorations swagger:route GET /restorations restoration getRestorations

Query restoration info

Retrieve information and state of all restorations, their backup and snapshots

func NewGetRestorations

func NewGetRestorations(ctx *middleware.Context, handler GetRestorationsHandler) *GetRestorations

NewGetRestorations creates a new http.Handler for the get restorations operation

func (*GetRestorations) ServeHTTP

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

type GetRestorationsForbidden

type GetRestorationsForbidden struct {

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

GetRestorationsForbidden Forbidden from querying restoration info

swagger:response getRestorationsForbidden

func NewGetRestorationsForbidden

func NewGetRestorationsForbidden() *GetRestorationsForbidden

NewGetRestorationsForbidden creates GetRestorationsForbidden with default headers values

func (*GetRestorationsForbidden) SetPayload

func (o *GetRestorationsForbidden) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restorations forbidden response

func (*GetRestorationsForbidden) WithPayload

WithPayload adds the payload to the get restorations forbidden response

func (*GetRestorationsForbidden) WriteResponse

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

WriteResponse to the client

type GetRestorationsHandler

type GetRestorationsHandler interface {
	Handle(GetRestorationsParams) middleware.Responder
}

GetRestorationsHandler interface for that can handle valid get restorations params

type GetRestorationsHandlerFunc

type GetRestorationsHandlerFunc func(GetRestorationsParams) middleware.Responder

GetRestorationsHandlerFunc turns a function with the right signature into a get restorations handler

func (GetRestorationsHandlerFunc) Handle

Handle executing the request and returning a response

type GetRestorationsInternalServerError

type GetRestorationsInternalServerError struct {

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

GetRestorationsInternalServerError TOC controller error

swagger:response getRestorationsInternalServerError

func NewGetRestorationsInternalServerError

func NewGetRestorationsInternalServerError() *GetRestorationsInternalServerError

NewGetRestorationsInternalServerError creates GetRestorationsInternalServerError with default headers values

func (*GetRestorationsInternalServerError) SetPayload

func (o *GetRestorationsInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restorations internal server error response

func (*GetRestorationsInternalServerError) WithPayload

WithPayload adds the payload to the get restorations internal server error response

func (*GetRestorationsInternalServerError) WriteResponse

WriteResponse to the client

type GetRestorationsMethodNotAllowed

type GetRestorationsMethodNotAllowed struct {

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

GetRestorationsMethodNotAllowed Bad request

swagger:response getRestorationsMethodNotAllowed

func NewGetRestorationsMethodNotAllowed

func NewGetRestorationsMethodNotAllowed() *GetRestorationsMethodNotAllowed

NewGetRestorationsMethodNotAllowed creates GetRestorationsMethodNotAllowed with default headers values

func (*GetRestorationsMethodNotAllowed) SetPayload

func (o *GetRestorationsMethodNotAllowed) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restorations method not allowed response

func (*GetRestorationsMethodNotAllowed) WithPayload

WithPayload adds the payload to the get restorations method not allowed response

func (*GetRestorationsMethodNotAllowed) WriteResponse

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

WriteResponse to the client

type GetRestorationsNotFound

type GetRestorationsNotFound struct {

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

GetRestorationsNotFound Restoration not found

swagger:response getRestorationsNotFound

func NewGetRestorationsNotFound

func NewGetRestorationsNotFound() *GetRestorationsNotFound

NewGetRestorationsNotFound creates GetRestorationsNotFound with default headers values

func (*GetRestorationsNotFound) SetPayload

func (o *GetRestorationsNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restorations not found response

func (*GetRestorationsNotFound) WithPayload

WithPayload adds the payload to the get restorations not found response

func (*GetRestorationsNotFound) WriteResponse

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

WriteResponse to the client

type GetRestorationsOK

type GetRestorationsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Restoration `json:"body,omitempty"`
}

GetRestorationsOK Restoration info retrieved

swagger:response getRestorationsOK

func NewGetRestorationsOK

func NewGetRestorationsOK() *GetRestorationsOK

NewGetRestorationsOK creates GetRestorationsOK with default headers values

func (*GetRestorationsOK) SetPayload

func (o *GetRestorationsOK) SetPayload(payload []*models.Restoration)

SetPayload sets the payload to the get restorations o k response

func (*GetRestorationsOK) WithPayload

func (o *GetRestorationsOK) WithPayload(payload []*models.Restoration) *GetRestorationsOK

WithPayload adds the payload to the get restorations o k response

func (*GetRestorationsOK) WriteResponse

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

WriteResponse to the client

type GetRestorationsParams

type GetRestorationsParams struct {

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

GetRestorationsParams contains all the bound params for the get restorations operation typically these are obtained from a http.Request

swagger:parameters getRestorations

func NewGetRestorationsParams

func NewGetRestorationsParams() GetRestorationsParams

NewGetRestorationsParams creates a new GetRestorationsParams object

There are no default values defined in the spec.

func (*GetRestorationsParams) BindRequest

func (o *GetRestorationsParams) 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 NewGetRestorationsParams() beforehand.

type GetRestorationsServiceUnavailable

type GetRestorationsServiceUnavailable struct {

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

GetRestorationsServiceUnavailable Service unavailable

swagger:response getRestorationsServiceUnavailable

func NewGetRestorationsServiceUnavailable

func NewGetRestorationsServiceUnavailable() *GetRestorationsServiceUnavailable

NewGetRestorationsServiceUnavailable creates GetRestorationsServiceUnavailable with default headers values

func (*GetRestorationsServiceUnavailable) SetPayload

func (o *GetRestorationsServiceUnavailable) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get restorations service unavailable response

func (*GetRestorationsServiceUnavailable) WithPayload

WithPayload adds the payload to the get restorations service unavailable response

func (*GetRestorationsServiceUnavailable) WriteResponse

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

WriteResponse to the client

type GetRestorationsURL

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

GetRestorationsURL generates an URL for the get restorations operation

func (*GetRestorationsURL) Build

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

Build a url path and query string

func (*GetRestorationsURL) BuildFull

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

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

func (*GetRestorationsURL) Must

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

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

func (*GetRestorationsURL) SetBasePath

func (o *GetRestorationsURL) 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 (*GetRestorationsURL) String

func (o *GetRestorationsURL) String() string

String returns the string representation of the path with query string

func (*GetRestorationsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetRestorationsURL) WithBasePath

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

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 NewRestoration

type NewRestoration struct {
	Context *middleware.Context
	Handler NewRestorationHandler
}
NewRestoration swagger:route POST /restorations restoration newRestoration

Start a backup restoration attempt

Run backup restoration and return immediately without waiting

func NewNewRestoration

func NewNewRestoration(ctx *middleware.Context, handler NewRestorationHandler) *NewRestoration

NewNewRestoration creates a new http.Handler for the new restoration operation

func (*NewRestoration) ServeHTTP

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

type NewRestorationBadGateway

type NewRestorationBadGateway struct {

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

NewRestorationBadGateway Bad gateway. Stepup backup server error

swagger:response newRestorationBadGateway

func NewNewRestorationBadGateway

func NewNewRestorationBadGateway() *NewRestorationBadGateway

NewNewRestorationBadGateway creates NewRestorationBadGateway with default headers values

func (*NewRestorationBadGateway) SetPayload

func (o *NewRestorationBadGateway) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration bad gateway response

func (*NewRestorationBadGateway) WithPayload

WithPayload adds the payload to the new restoration bad gateway response

func (*NewRestorationBadGateway) WriteResponse

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

WriteResponse to the client

type NewRestorationForbidden

type NewRestorationForbidden struct {

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

NewRestorationForbidden Forbidden from creating duplicate/repeat restoration

swagger:response newRestorationForbidden

func NewNewRestorationForbidden

func NewNewRestorationForbidden() *NewRestorationForbidden

NewNewRestorationForbidden creates NewRestorationForbidden with default headers values

func (*NewRestorationForbidden) SetPayload

func (o *NewRestorationForbidden) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration forbidden response

func (*NewRestorationForbidden) WithPayload

WithPayload adds the payload to the new restoration forbidden response

func (*NewRestorationForbidden) WriteResponse

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

WriteResponse to the client

type NewRestorationGatewayTimeout

type NewRestorationGatewayTimeout struct {

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

NewRestorationGatewayTimeout Gateway timeout. Stepup backup server did not reply.

swagger:response newRestorationGatewayTimeout

func NewNewRestorationGatewayTimeout

func NewNewRestorationGatewayTimeout() *NewRestorationGatewayTimeout

NewNewRestorationGatewayTimeout creates NewRestorationGatewayTimeout with default headers values

func (*NewRestorationGatewayTimeout) SetPayload

func (o *NewRestorationGatewayTimeout) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration gateway timeout response

func (*NewRestorationGatewayTimeout) WithPayload

WithPayload adds the payload to the new restoration gateway timeout response

func (*NewRestorationGatewayTimeout) WriteResponse

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

WriteResponse to the client

type NewRestorationHandler

type NewRestorationHandler interface {
	Handle(NewRestorationParams) middleware.Responder
}

NewRestorationHandler interface for that can handle valid new restoration params

type NewRestorationHandlerFunc

type NewRestorationHandlerFunc func(NewRestorationParams) middleware.Responder

NewRestorationHandlerFunc turns a function with the right signature into a new restoration handler

func (NewRestorationHandlerFunc) Handle

Handle executing the request and returning a response

type NewRestorationInternalServerError

type NewRestorationInternalServerError struct {

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

NewRestorationInternalServerError Stepup TOC controller error

swagger:response newRestorationInternalServerError

func NewNewRestorationInternalServerError

func NewNewRestorationInternalServerError() *NewRestorationInternalServerError

NewNewRestorationInternalServerError creates NewRestorationInternalServerError with default headers values

func (*NewRestorationInternalServerError) SetPayload

func (o *NewRestorationInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration internal server error response

func (*NewRestorationInternalServerError) WithPayload

WithPayload adds the payload to the new restoration internal server error response

func (*NewRestorationInternalServerError) WriteResponse

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

WriteResponse to the client

type NewRestorationMethodNotAllowed

type NewRestorationMethodNotAllowed struct {

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

NewRestorationMethodNotAllowed Bad request

swagger:response newRestorationMethodNotAllowed

func NewNewRestorationMethodNotAllowed

func NewNewRestorationMethodNotAllowed() *NewRestorationMethodNotAllowed

NewNewRestorationMethodNotAllowed creates NewRestorationMethodNotAllowed with default headers values

func (*NewRestorationMethodNotAllowed) SetPayload

func (o *NewRestorationMethodNotAllowed) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration method not allowed response

func (*NewRestorationMethodNotAllowed) WithPayload

WithPayload adds the payload to the new restoration method not allowed response

func (*NewRestorationMethodNotAllowed) WriteResponse

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

WriteResponse to the client

type NewRestorationNotFound

type NewRestorationNotFound struct {

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

NewRestorationNotFound Stepup backup server not found

swagger:response newRestorationNotFound

func NewNewRestorationNotFound

func NewNewRestorationNotFound() *NewRestorationNotFound

NewNewRestorationNotFound creates NewRestorationNotFound with default headers values

func (*NewRestorationNotFound) SetPayload

func (o *NewRestorationNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration not found response

func (*NewRestorationNotFound) WithPayload

WithPayload adds the payload to the new restoration not found response

func (*NewRestorationNotFound) WriteResponse

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

WriteResponse to the client

type NewRestorationOK

type NewRestorationOK struct {

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

NewRestorationOK Restoration started

swagger:response newRestorationOK

func NewNewRestorationOK

func NewNewRestorationOK() *NewRestorationOK

NewNewRestorationOK creates NewRestorationOK with default headers values

func (*NewRestorationOK) SetPayload

func (o *NewRestorationOK) SetPayload(payload *models.Restoration)

SetPayload sets the payload to the new restoration o k response

func (*NewRestorationOK) WithPayload

func (o *NewRestorationOK) WithPayload(payload *models.Restoration) *NewRestorationOK

WithPayload adds the payload to the new restoration o k response

func (*NewRestorationOK) WriteResponse

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

WriteResponse to the client

type NewRestorationParams

type NewRestorationParams struct {

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

	/*Backup and associated snapshots for restoration
	  Required: true
	  In: body
	*/
	Body *models.Backup
}

NewRestorationParams contains all the bound params for the new restoration operation typically these are obtained from a http.Request

swagger:parameters newRestoration

func NewNewRestorationParams

func NewNewRestorationParams() NewRestorationParams

NewNewRestorationParams creates a new NewRestorationParams object

There are no default values defined in the spec.

func (*NewRestorationParams) BindRequest

func (o *NewRestorationParams) 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 NewNewRestorationParams() beforehand.

type NewRestorationServiceUnavailable

type NewRestorationServiceUnavailable struct {

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

NewRestorationServiceUnavailable Service unavailable on stepup TOC controller

swagger:response newRestorationServiceUnavailable

func NewNewRestorationServiceUnavailable

func NewNewRestorationServiceUnavailable() *NewRestorationServiceUnavailable

NewNewRestorationServiceUnavailable creates NewRestorationServiceUnavailable with default headers values

func (*NewRestorationServiceUnavailable) SetPayload

func (o *NewRestorationServiceUnavailable) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the new restoration service unavailable response

func (*NewRestorationServiceUnavailable) WithPayload

WithPayload adds the payload to the new restoration service unavailable response

func (*NewRestorationServiceUnavailable) WriteResponse

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

WriteResponse to the client

type NewRestorationURL

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

NewRestorationURL generates an URL for the new restoration operation

func (*NewRestorationURL) Build

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

Build a url path and query string

func (*NewRestorationURL) BuildFull

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

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

func (*NewRestorationURL) Must

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

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

func (*NewRestorationURL) SetBasePath

func (o *NewRestorationURL) 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 (*NewRestorationURL) String

func (o *NewRestorationURL) String() string

String returns the string representation of the path with query string

func (*NewRestorationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*NewRestorationURL) WithBasePath

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

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 UpdateRestoration

type UpdateRestoration struct {
	Context *middleware.Context
	Handler UpdateRestorationHandler
}
UpdateRestoration swagger:route PUT /restorations restoration updateRestoration

Update restoration status/info

Update restoration status/info

func NewUpdateRestoration

func NewUpdateRestoration(ctx *middleware.Context, handler UpdateRestorationHandler) *UpdateRestoration

NewUpdateRestoration creates a new http.Handler for the update restoration operation

func (*UpdateRestoration) ServeHTTP

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

type UpdateRestorationBadGateway

type UpdateRestorationBadGateway struct {

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

UpdateRestorationBadGateway Bad gateway. TOC controller error

swagger:response updateRestorationBadGateway

func NewUpdateRestorationBadGateway

func NewUpdateRestorationBadGateway() *UpdateRestorationBadGateway

NewUpdateRestorationBadGateway creates UpdateRestorationBadGateway with default headers values

func (*UpdateRestorationBadGateway) SetPayload

func (o *UpdateRestorationBadGateway) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update restoration bad gateway response

func (*UpdateRestorationBadGateway) WithPayload

WithPayload adds the payload to the update restoration bad gateway response

func (*UpdateRestorationBadGateway) WriteResponse

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

WriteResponse to the client

type UpdateRestorationForbidden

type UpdateRestorationForbidden struct {

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

UpdateRestorationForbidden Forbidden from updating restoration

swagger:response updateRestorationForbidden

func NewUpdateRestorationForbidden

func NewUpdateRestorationForbidden() *UpdateRestorationForbidden

NewUpdateRestorationForbidden creates UpdateRestorationForbidden with default headers values

func (*UpdateRestorationForbidden) SetPayload

func (o *UpdateRestorationForbidden) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update restoration forbidden response

func (*UpdateRestorationForbidden) WithPayload

WithPayload adds the payload to the update restoration forbidden response

func (*UpdateRestorationForbidden) WriteResponse

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

WriteResponse to the client

type UpdateRestorationGatewayTimeout

type UpdateRestorationGatewayTimeout struct {

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

UpdateRestorationGatewayTimeout Gateway timeout. TOC controller did not reply.

swagger:response updateRestorationGatewayTimeout

func NewUpdateRestorationGatewayTimeout

func NewUpdateRestorationGatewayTimeout() *UpdateRestorationGatewayTimeout

NewUpdateRestorationGatewayTimeout creates UpdateRestorationGatewayTimeout with default headers values

func (*UpdateRestorationGatewayTimeout) SetPayload

func (o *UpdateRestorationGatewayTimeout) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update restoration gateway timeout response

func (*UpdateRestorationGatewayTimeout) WithPayload

WithPayload adds the payload to the update restoration gateway timeout response

func (*UpdateRestorationGatewayTimeout) WriteResponse

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

WriteResponse to the client

type UpdateRestorationHandler

type UpdateRestorationHandler interface {
	Handle(UpdateRestorationParams) middleware.Responder
}

UpdateRestorationHandler interface for that can handle valid update restoration params

type UpdateRestorationHandlerFunc

type UpdateRestorationHandlerFunc func(UpdateRestorationParams) middleware.Responder

UpdateRestorationHandlerFunc turns a function with the right signature into a update restoration handler

func (UpdateRestorationHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateRestorationInternalServerError

type UpdateRestorationInternalServerError struct {

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

UpdateRestorationInternalServerError TOC controller error

swagger:response updateRestorationInternalServerError

func NewUpdateRestorationInternalServerError

func NewUpdateRestorationInternalServerError() *UpdateRestorationInternalServerError

NewUpdateRestorationInternalServerError creates UpdateRestorationInternalServerError with default headers values

func (*UpdateRestorationInternalServerError) SetPayload

SetPayload sets the payload to the update restoration internal server error response

func (*UpdateRestorationInternalServerError) WithPayload

WithPayload adds the payload to the update restoration internal server error response

func (*UpdateRestorationInternalServerError) WriteResponse

WriteResponse to the client

type UpdateRestorationMethodNotAllowed

type UpdateRestorationMethodNotAllowed struct {

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

UpdateRestorationMethodNotAllowed Bad request

swagger:response updateRestorationMethodNotAllowed

func NewUpdateRestorationMethodNotAllowed

func NewUpdateRestorationMethodNotAllowed() *UpdateRestorationMethodNotAllowed

NewUpdateRestorationMethodNotAllowed creates UpdateRestorationMethodNotAllowed with default headers values

func (*UpdateRestorationMethodNotAllowed) SetPayload

func (o *UpdateRestorationMethodNotAllowed) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update restoration method not allowed response

func (*UpdateRestorationMethodNotAllowed) WithPayload

WithPayload adds the payload to the update restoration method not allowed response

func (*UpdateRestorationMethodNotAllowed) WriteResponse

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

WriteResponse to the client

type UpdateRestorationNotFound

type UpdateRestorationNotFound struct {

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

UpdateRestorationNotFound TOC controller not found

swagger:response updateRestorationNotFound

func NewUpdateRestorationNotFound

func NewUpdateRestorationNotFound() *UpdateRestorationNotFound

NewUpdateRestorationNotFound creates UpdateRestorationNotFound with default headers values

func (*UpdateRestorationNotFound) SetPayload

func (o *UpdateRestorationNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update restoration not found response

func (*UpdateRestorationNotFound) WithPayload

WithPayload adds the payload to the update restoration not found response

func (*UpdateRestorationNotFound) WriteResponse

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

WriteResponse to the client

type UpdateRestorationOK

type UpdateRestorationOK struct {

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

UpdateRestorationOK Restoration updated

swagger:response updateRestorationOK

func NewUpdateRestorationOK

func NewUpdateRestorationOK() *UpdateRestorationOK

NewUpdateRestorationOK creates UpdateRestorationOK with default headers values

func (*UpdateRestorationOK) SetPayload

func (o *UpdateRestorationOK) SetPayload(payload *models.Restoration)

SetPayload sets the payload to the update restoration o k response

func (*UpdateRestorationOK) WithPayload

func (o *UpdateRestorationOK) WithPayload(payload *models.Restoration) *UpdateRestorationOK

WithPayload adds the payload to the update restoration o k response

func (*UpdateRestorationOK) WriteResponse

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

WriteResponse to the client

type UpdateRestorationParams

type UpdateRestorationParams struct {

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

	/*Restoration request to update
	  Required: true
	  In: body
	*/
	Body *models.Restoration
}

UpdateRestorationParams contains all the bound params for the update restoration operation typically these are obtained from a http.Request

swagger:parameters updateRestoration

func NewUpdateRestorationParams

func NewUpdateRestorationParams() UpdateRestorationParams

NewUpdateRestorationParams creates a new UpdateRestorationParams object

There are no default values defined in the spec.

func (*UpdateRestorationParams) BindRequest

func (o *UpdateRestorationParams) 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 NewUpdateRestorationParams() beforehand.

type UpdateRestorationServiceUnavailable

type UpdateRestorationServiceUnavailable struct {

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

UpdateRestorationServiceUnavailable Service unavailable on TOC controller

swagger:response updateRestorationServiceUnavailable

func NewUpdateRestorationServiceUnavailable

func NewUpdateRestorationServiceUnavailable() *UpdateRestorationServiceUnavailable

NewUpdateRestorationServiceUnavailable creates UpdateRestorationServiceUnavailable with default headers values

func (*UpdateRestorationServiceUnavailable) SetPayload

func (o *UpdateRestorationServiceUnavailable) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update restoration service unavailable response

func (*UpdateRestorationServiceUnavailable) WithPayload

WithPayload adds the payload to the update restoration service unavailable response

func (*UpdateRestorationServiceUnavailable) WriteResponse

WriteResponse to the client

type UpdateRestorationURL

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

UpdateRestorationURL generates an URL for the update restoration operation

func (*UpdateRestorationURL) Build

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

Build a url path and query string

func (*UpdateRestorationURL) BuildFull

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

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

func (*UpdateRestorationURL) Must

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

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

func (*UpdateRestorationURL) SetBasePath

func (o *UpdateRestorationURL) 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 (*UpdateRestorationURL) String

func (o *UpdateRestorationURL) String() string

String returns the string representation of the path with query string

func (*UpdateRestorationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateRestorationURL) WithBasePath

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

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

Jump to

Keyboard shortcuts

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