replication

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GetReplicationExecutionForbiddenCode int = 403

GetReplicationExecutionForbiddenCode is the HTTP code returned for type GetReplicationExecutionForbidden

View Source
const GetReplicationExecutionInternalServerErrorCode int = 500

GetReplicationExecutionInternalServerErrorCode is the HTTP code returned for type GetReplicationExecutionInternalServerError

View Source
const GetReplicationExecutionNotFoundCode int = 404

GetReplicationExecutionNotFoundCode is the HTTP code returned for type GetReplicationExecutionNotFound

View Source
const GetReplicationExecutionOKCode int = 200

GetReplicationExecutionOKCode is the HTTP code returned for type GetReplicationExecutionOK

View Source
const GetReplicationExecutionUnauthorizedCode int = 401

GetReplicationExecutionUnauthorizedCode is the HTTP code returned for type GetReplicationExecutionUnauthorized

View Source
const GetReplicationLogForbiddenCode int = 403

GetReplicationLogForbiddenCode is the HTTP code returned for type GetReplicationLogForbidden

View Source
const GetReplicationLogInternalServerErrorCode int = 500

GetReplicationLogInternalServerErrorCode is the HTTP code returned for type GetReplicationLogInternalServerError

View Source
const GetReplicationLogNotFoundCode int = 404

GetReplicationLogNotFoundCode is the HTTP code returned for type GetReplicationLogNotFound

View Source
const GetReplicationLogOKCode int = 200

GetReplicationLogOKCode is the HTTP code returned for type GetReplicationLogOK

View Source
const GetReplicationLogUnauthorizedCode int = 401

GetReplicationLogUnauthorizedCode is the HTTP code returned for type GetReplicationLogUnauthorized

View Source
const ListReplicationExecutionsForbiddenCode int = 403

ListReplicationExecutionsForbiddenCode is the HTTP code returned for type ListReplicationExecutionsForbidden

View Source
const ListReplicationExecutionsInternalServerErrorCode int = 500

ListReplicationExecutionsInternalServerErrorCode is the HTTP code returned for type ListReplicationExecutionsInternalServerError

View Source
const ListReplicationExecutionsOKCode int = 200

ListReplicationExecutionsOKCode is the HTTP code returned for type ListReplicationExecutionsOK

View Source
const ListReplicationExecutionsUnauthorizedCode int = 401

ListReplicationExecutionsUnauthorizedCode is the HTTP code returned for type ListReplicationExecutionsUnauthorized

View Source
const ListReplicationTasksForbiddenCode int = 403

ListReplicationTasksForbiddenCode is the HTTP code returned for type ListReplicationTasksForbidden

View Source
const ListReplicationTasksInternalServerErrorCode int = 500

ListReplicationTasksInternalServerErrorCode is the HTTP code returned for type ListReplicationTasksInternalServerError

View Source
const ListReplicationTasksOKCode int = 200

ListReplicationTasksOKCode is the HTTP code returned for type ListReplicationTasksOK

View Source
const ListReplicationTasksUnauthorizedCode int = 401

ListReplicationTasksUnauthorizedCode is the HTTP code returned for type ListReplicationTasksUnauthorized

View Source
const StartReplicationBadRequestCode int = 400

StartReplicationBadRequestCode is the HTTP code returned for type StartReplicationBadRequest

View Source
const StartReplicationCreatedCode int = 201

StartReplicationCreatedCode is the HTTP code returned for type StartReplicationCreated

View Source
const StartReplicationForbiddenCode int = 403

StartReplicationForbiddenCode is the HTTP code returned for type StartReplicationForbidden

View Source
const StartReplicationInternalServerErrorCode int = 500

StartReplicationInternalServerErrorCode is the HTTP code returned for type StartReplicationInternalServerError

View Source
const StartReplicationUnauthorizedCode int = 401

StartReplicationUnauthorizedCode is the HTTP code returned for type StartReplicationUnauthorized

View Source
const StopReplicationForbiddenCode int = 403

StopReplicationForbiddenCode is the HTTP code returned for type StopReplicationForbidden

View Source
const StopReplicationInternalServerErrorCode int = 500

StopReplicationInternalServerErrorCode is the HTTP code returned for type StopReplicationInternalServerError

View Source
const StopReplicationNotFoundCode int = 404

StopReplicationNotFoundCode is the HTTP code returned for type StopReplicationNotFound

View Source
const StopReplicationOKCode int = 200

StopReplicationOKCode is the HTTP code returned for type StopReplicationOK

View Source
const StopReplicationUnauthorizedCode int = 401

StopReplicationUnauthorizedCode is the HTTP code returned for type StopReplicationUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetReplicationExecution

type GetReplicationExecution struct {
	Context *middleware.Context
	Handler GetReplicationExecutionHandler
}

GetReplicationExecution swagger:route GET /replication/executions/{id} replication getReplicationExecution

Get the specific replication execution

Get the replication execution specified by ID

func NewGetReplicationExecution

func NewGetReplicationExecution(ctx *middleware.Context, handler GetReplicationExecutionHandler) *GetReplicationExecution

NewGetReplicationExecution creates a new http.Handler for the get replication execution operation

func (*GetReplicationExecution) ServeHTTP

type GetReplicationExecutionForbidden

type GetReplicationExecutionForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationExecutionForbidden Forbidden

swagger:response getReplicationExecutionForbidden

func NewGetReplicationExecutionForbidden

func NewGetReplicationExecutionForbidden() *GetReplicationExecutionForbidden

NewGetReplicationExecutionForbidden creates GetReplicationExecutionForbidden with default headers values

func (*GetReplicationExecutionForbidden) SetPayload

func (o *GetReplicationExecutionForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication execution forbidden response

func (*GetReplicationExecutionForbidden) SetXRequestID

func (o *GetReplicationExecutionForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication execution forbidden response

func (*GetReplicationExecutionForbidden) WithPayload

WithPayload adds the payload to the get replication execution forbidden response

func (*GetReplicationExecutionForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the get replication execution forbidden response

func (*GetReplicationExecutionForbidden) WriteResponse

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

WriteResponse to the client

type GetReplicationExecutionHandler

type GetReplicationExecutionHandler interface {
	Handle(GetReplicationExecutionParams, interface{}) middleware.Responder
}

GetReplicationExecutionHandler interface for that can handle valid get replication execution params

type GetReplicationExecutionHandlerFunc

type GetReplicationExecutionHandlerFunc func(GetReplicationExecutionParams, interface{}) middleware.Responder

GetReplicationExecutionHandlerFunc turns a function with the right signature into a get replication execution handler

func (GetReplicationExecutionHandlerFunc) Handle

Handle executing the request and returning a response

type GetReplicationExecutionInternalServerError

type GetReplicationExecutionInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationExecutionInternalServerError Internal server error

swagger:response getReplicationExecutionInternalServerError

func NewGetReplicationExecutionInternalServerError

func NewGetReplicationExecutionInternalServerError() *GetReplicationExecutionInternalServerError

NewGetReplicationExecutionInternalServerError creates GetReplicationExecutionInternalServerError with default headers values

func (*GetReplicationExecutionInternalServerError) SetPayload

SetPayload sets the payload to the get replication execution internal server error response

func (*GetReplicationExecutionInternalServerError) SetXRequestID

func (o *GetReplicationExecutionInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication execution internal server error response

func (*GetReplicationExecutionInternalServerError) WithPayload

WithPayload adds the payload to the get replication execution internal server error response

func (*GetReplicationExecutionInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get replication execution internal server error response

func (*GetReplicationExecutionInternalServerError) WriteResponse

WriteResponse to the client

type GetReplicationExecutionNotFound

type GetReplicationExecutionNotFound struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationExecutionNotFound Not found

swagger:response getReplicationExecutionNotFound

func NewGetReplicationExecutionNotFound

func NewGetReplicationExecutionNotFound() *GetReplicationExecutionNotFound

NewGetReplicationExecutionNotFound creates GetReplicationExecutionNotFound with default headers values

func (*GetReplicationExecutionNotFound) SetPayload

func (o *GetReplicationExecutionNotFound) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication execution not found response

func (*GetReplicationExecutionNotFound) SetXRequestID

func (o *GetReplicationExecutionNotFound) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication execution not found response

func (*GetReplicationExecutionNotFound) WithPayload

WithPayload adds the payload to the get replication execution not found response

func (*GetReplicationExecutionNotFound) WithXRequestID

WithXRequestID adds the xRequestId to the get replication execution not found response

func (*GetReplicationExecutionNotFound) WriteResponse

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

WriteResponse to the client

type GetReplicationExecutionOK

type GetReplicationExecutionOK struct {

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

GetReplicationExecutionOK Success

swagger:response getReplicationExecutionOK

func NewGetReplicationExecutionOK

func NewGetReplicationExecutionOK() *GetReplicationExecutionOK

NewGetReplicationExecutionOK creates GetReplicationExecutionOK with default headers values

func (*GetReplicationExecutionOK) SetPayload

func (o *GetReplicationExecutionOK) SetPayload(payload *models.ReplicationExecution)

SetPayload sets the payload to the get replication execution o k response

func (*GetReplicationExecutionOK) WithPayload

WithPayload adds the payload to the get replication execution o k response

func (*GetReplicationExecutionOK) WriteResponse

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

WriteResponse to the client

type GetReplicationExecutionParams

type GetReplicationExecutionParams struct {

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

	/*The ID of the execution.
	  Required: true
	  In: path
	*/
	ID int64
}

GetReplicationExecutionParams contains all the bound params for the get replication execution operation typically these are obtained from a http.Request

swagger:parameters getReplicationExecution

func NewGetReplicationExecutionParams

func NewGetReplicationExecutionParams() GetReplicationExecutionParams

NewGetReplicationExecutionParams creates a new GetReplicationExecutionParams object no default values defined in spec.

func (*GetReplicationExecutionParams) 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 NewGetReplicationExecutionParams() beforehand.

type GetReplicationExecutionURL

type GetReplicationExecutionURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetReplicationExecutionURL generates an URL for the get replication execution operation

func (*GetReplicationExecutionURL) Build

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

Build a url path and query string

func (*GetReplicationExecutionURL) BuildFull

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

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

func (*GetReplicationExecutionURL) Must

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

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

func (*GetReplicationExecutionURL) SetBasePath

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

func (o *GetReplicationExecutionURL) String() string

String returns the string representation of the path with query string

func (*GetReplicationExecutionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetReplicationExecutionURL) 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 GetReplicationExecutionUnauthorized

type GetReplicationExecutionUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationExecutionUnauthorized Unauthorized

swagger:response getReplicationExecutionUnauthorized

func NewGetReplicationExecutionUnauthorized

func NewGetReplicationExecutionUnauthorized() *GetReplicationExecutionUnauthorized

NewGetReplicationExecutionUnauthorized creates GetReplicationExecutionUnauthorized with default headers values

func (*GetReplicationExecutionUnauthorized) SetPayload

func (o *GetReplicationExecutionUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication execution unauthorized response

func (*GetReplicationExecutionUnauthorized) SetXRequestID

func (o *GetReplicationExecutionUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication execution unauthorized response

func (*GetReplicationExecutionUnauthorized) WithPayload

WithPayload adds the payload to the get replication execution unauthorized response

func (*GetReplicationExecutionUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the get replication execution unauthorized response

func (*GetReplicationExecutionUnauthorized) WriteResponse

WriteResponse to the client

type GetReplicationLog

type GetReplicationLog struct {
	Context *middleware.Context
	Handler GetReplicationLogHandler
}

GetReplicationLog swagger:route GET /replication/executions/{id}/tasks/{task_id}/log replication getReplicationLog

Get the log of the specific replication task

Get the log of the specific replication task

func NewGetReplicationLog

func NewGetReplicationLog(ctx *middleware.Context, handler GetReplicationLogHandler) *GetReplicationLog

NewGetReplicationLog creates a new http.Handler for the get replication log operation

func (*GetReplicationLog) ServeHTTP

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

type GetReplicationLogForbidden

type GetReplicationLogForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationLogForbidden Forbidden

swagger:response getReplicationLogForbidden

func NewGetReplicationLogForbidden

func NewGetReplicationLogForbidden() *GetReplicationLogForbidden

NewGetReplicationLogForbidden creates GetReplicationLogForbidden with default headers values

func (*GetReplicationLogForbidden) SetPayload

func (o *GetReplicationLogForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication log forbidden response

func (*GetReplicationLogForbidden) SetXRequestID

func (o *GetReplicationLogForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication log forbidden response

func (*GetReplicationLogForbidden) WithPayload

WithPayload adds the payload to the get replication log forbidden response

func (*GetReplicationLogForbidden) WithXRequestID

func (o *GetReplicationLogForbidden) WithXRequestID(xRequestID string) *GetReplicationLogForbidden

WithXRequestID adds the xRequestId to the get replication log forbidden response

func (*GetReplicationLogForbidden) WriteResponse

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

WriteResponse to the client

type GetReplicationLogHandler

type GetReplicationLogHandler interface {
	Handle(GetReplicationLogParams, interface{}) middleware.Responder
}

GetReplicationLogHandler interface for that can handle valid get replication log params

type GetReplicationLogHandlerFunc

type GetReplicationLogHandlerFunc func(GetReplicationLogParams, interface{}) middleware.Responder

GetReplicationLogHandlerFunc turns a function with the right signature into a get replication log handler

func (GetReplicationLogHandlerFunc) Handle

func (fn GetReplicationLogHandlerFunc) Handle(params GetReplicationLogParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetReplicationLogInternalServerError

type GetReplicationLogInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationLogInternalServerError Internal server error

swagger:response getReplicationLogInternalServerError

func NewGetReplicationLogInternalServerError

func NewGetReplicationLogInternalServerError() *GetReplicationLogInternalServerError

NewGetReplicationLogInternalServerError creates GetReplicationLogInternalServerError with default headers values

func (*GetReplicationLogInternalServerError) SetPayload

func (o *GetReplicationLogInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication log internal server error response

func (*GetReplicationLogInternalServerError) SetXRequestID

func (o *GetReplicationLogInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication log internal server error response

func (*GetReplicationLogInternalServerError) WithPayload

WithPayload adds the payload to the get replication log internal server error response

func (*GetReplicationLogInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get replication log internal server error response

func (*GetReplicationLogInternalServerError) WriteResponse

WriteResponse to the client

type GetReplicationLogNotFound

type GetReplicationLogNotFound struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationLogNotFound Not found

swagger:response getReplicationLogNotFound

func NewGetReplicationLogNotFound

func NewGetReplicationLogNotFound() *GetReplicationLogNotFound

NewGetReplicationLogNotFound creates GetReplicationLogNotFound with default headers values

func (*GetReplicationLogNotFound) SetPayload

func (o *GetReplicationLogNotFound) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication log not found response

func (*GetReplicationLogNotFound) SetXRequestID

func (o *GetReplicationLogNotFound) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication log not found response

func (*GetReplicationLogNotFound) WithPayload

WithPayload adds the payload to the get replication log not found response

func (*GetReplicationLogNotFound) WithXRequestID

func (o *GetReplicationLogNotFound) WithXRequestID(xRequestID string) *GetReplicationLogNotFound

WithXRequestID adds the xRequestId to the get replication log not found response

func (*GetReplicationLogNotFound) WriteResponse

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

WriteResponse to the client

type GetReplicationLogOK

type GetReplicationLogOK struct {
	/*The content type of response body

	 */
	ContentType string `json:"Content-Type"`

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

GetReplicationLogOK Success

swagger:response getReplicationLogOK

func NewGetReplicationLogOK

func NewGetReplicationLogOK() *GetReplicationLogOK

NewGetReplicationLogOK creates GetReplicationLogOK with default headers values

func (*GetReplicationLogOK) SetContentType

func (o *GetReplicationLogOK) SetContentType(contentType string)

SetContentType sets the contentType to the get replication log o k response

func (*GetReplicationLogOK) SetPayload

func (o *GetReplicationLogOK) SetPayload(payload string)

SetPayload sets the payload to the get replication log o k response

func (*GetReplicationLogOK) WithContentType

func (o *GetReplicationLogOK) WithContentType(contentType string) *GetReplicationLogOK

WithContentType adds the contentType to the get replication log o k response

func (*GetReplicationLogOK) WithPayload

func (o *GetReplicationLogOK) WithPayload(payload string) *GetReplicationLogOK

WithPayload adds the payload to the get replication log o k response

func (*GetReplicationLogOK) WriteResponse

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

WriteResponse to the client

type GetReplicationLogParams

type GetReplicationLogParams struct {

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

	/*The ID of the execution that the tasks belongs to.
	  Required: true
	  In: path
	*/
	ID int64
	/*The ID of the task.
	  Required: true
	  In: path
	*/
	TaskID int64
}

GetReplicationLogParams contains all the bound params for the get replication log operation typically these are obtained from a http.Request

swagger:parameters getReplicationLog

func NewGetReplicationLogParams

func NewGetReplicationLogParams() GetReplicationLogParams

NewGetReplicationLogParams creates a new GetReplicationLogParams object no default values defined in spec.

func (*GetReplicationLogParams) BindRequest

func (o *GetReplicationLogParams) 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 NewGetReplicationLogParams() beforehand.

type GetReplicationLogURL

type GetReplicationLogURL struct {
	ID     int64
	TaskID int64
	// contains filtered or unexported fields
}

GetReplicationLogURL generates an URL for the get replication log operation

func (*GetReplicationLogURL) Build

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

Build a url path and query string

func (*GetReplicationLogURL) BuildFull

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

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

func (*GetReplicationLogURL) Must

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

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

func (*GetReplicationLogURL) SetBasePath

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

func (o *GetReplicationLogURL) String() string

String returns the string representation of the path with query string

func (*GetReplicationLogURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetReplicationLogURL) WithBasePath

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

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 GetReplicationLogUnauthorized

type GetReplicationLogUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReplicationLogUnauthorized Unauthorized

swagger:response getReplicationLogUnauthorized

func NewGetReplicationLogUnauthorized

func NewGetReplicationLogUnauthorized() *GetReplicationLogUnauthorized

NewGetReplicationLogUnauthorized creates GetReplicationLogUnauthorized with default headers values

func (*GetReplicationLogUnauthorized) SetPayload

func (o *GetReplicationLogUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get replication log unauthorized response

func (*GetReplicationLogUnauthorized) SetXRequestID

func (o *GetReplicationLogUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get replication log unauthorized response

func (*GetReplicationLogUnauthorized) WithPayload

WithPayload adds the payload to the get replication log unauthorized response

func (*GetReplicationLogUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the get replication log unauthorized response

func (*GetReplicationLogUnauthorized) WriteResponse

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

WriteResponse to the client

type ListReplicationExecutions

type ListReplicationExecutions struct {
	Context *middleware.Context
	Handler ListReplicationExecutionsHandler
}

ListReplicationExecutions swagger:route GET /replication/executions replication listReplicationExecutions

List replication executions

List replication executions

func NewListReplicationExecutions

func NewListReplicationExecutions(ctx *middleware.Context, handler ListReplicationExecutionsHandler) *ListReplicationExecutions

NewListReplicationExecutions creates a new http.Handler for the list replication executions operation

func (*ListReplicationExecutions) ServeHTTP

type ListReplicationExecutionsForbidden

type ListReplicationExecutionsForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ListReplicationExecutionsForbidden Forbidden

swagger:response listReplicationExecutionsForbidden

func NewListReplicationExecutionsForbidden

func NewListReplicationExecutionsForbidden() *ListReplicationExecutionsForbidden

NewListReplicationExecutionsForbidden creates ListReplicationExecutionsForbidden with default headers values

func (*ListReplicationExecutionsForbidden) SetPayload

func (o *ListReplicationExecutionsForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the list replication executions forbidden response

func (*ListReplicationExecutionsForbidden) SetXRequestID

func (o *ListReplicationExecutionsForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the list replication executions forbidden response

func (*ListReplicationExecutionsForbidden) WithPayload

WithPayload adds the payload to the list replication executions forbidden response

func (*ListReplicationExecutionsForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the list replication executions forbidden response

func (*ListReplicationExecutionsForbidden) WriteResponse

WriteResponse to the client

type ListReplicationExecutionsHandler

type ListReplicationExecutionsHandler interface {
	Handle(ListReplicationExecutionsParams, interface{}) middleware.Responder
}

ListReplicationExecutionsHandler interface for that can handle valid list replication executions params

type ListReplicationExecutionsHandlerFunc

type ListReplicationExecutionsHandlerFunc func(ListReplicationExecutionsParams, interface{}) middleware.Responder

ListReplicationExecutionsHandlerFunc turns a function with the right signature into a list replication executions handler

func (ListReplicationExecutionsHandlerFunc) Handle

Handle executing the request and returning a response

type ListReplicationExecutionsInternalServerError

type ListReplicationExecutionsInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ListReplicationExecutionsInternalServerError Internal server error

swagger:response listReplicationExecutionsInternalServerError

func NewListReplicationExecutionsInternalServerError

func NewListReplicationExecutionsInternalServerError() *ListReplicationExecutionsInternalServerError

NewListReplicationExecutionsInternalServerError creates ListReplicationExecutionsInternalServerError with default headers values

func (*ListReplicationExecutionsInternalServerError) SetPayload

SetPayload sets the payload to the list replication executions internal server error response

func (*ListReplicationExecutionsInternalServerError) SetXRequestID

func (o *ListReplicationExecutionsInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the list replication executions internal server error response

func (*ListReplicationExecutionsInternalServerError) WithPayload

WithPayload adds the payload to the list replication executions internal server error response

func (*ListReplicationExecutionsInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the list replication executions internal server error response

func (*ListReplicationExecutionsInternalServerError) WriteResponse

WriteResponse to the client

type ListReplicationExecutionsOK

type ListReplicationExecutionsOK struct {
	/*Link refers to the previous page and next page

	 */
	Link string `json:"Link"`
	/*The total count of the resources

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

ListReplicationExecutionsOK Success

swagger:response listReplicationExecutionsOK

func NewListReplicationExecutionsOK

func NewListReplicationExecutionsOK() *ListReplicationExecutionsOK

NewListReplicationExecutionsOK creates ListReplicationExecutionsOK with default headers values

func (o *ListReplicationExecutionsOK) SetLink(link string)

SetLink sets the link to the list replication executions o k response

func (*ListReplicationExecutionsOK) SetPayload

func (o *ListReplicationExecutionsOK) SetPayload(payload []*models.ReplicationExecution)

SetPayload sets the payload to the list replication executions o k response

func (*ListReplicationExecutionsOK) SetXTotalCount

func (o *ListReplicationExecutionsOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the list replication executions o k response

WithLink adds the link to the list replication executions o k response

func (*ListReplicationExecutionsOK) WithPayload

WithPayload adds the payload to the list replication executions o k response

func (*ListReplicationExecutionsOK) WithXTotalCount

func (o *ListReplicationExecutionsOK) WithXTotalCount(xTotalCount int64) *ListReplicationExecutionsOK

WithXTotalCount adds the xTotalCount to the list replication executions o k response

func (*ListReplicationExecutionsOK) WriteResponse

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

WriteResponse to the client

type ListReplicationExecutionsParams

type ListReplicationExecutionsParams struct {

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

	/*The page number
	  In: query
	  Default: 1
	*/
	Page *int64
	/*The size of per page
	  Maximum: 100
	  In: query
	  Default: 10
	*/
	PageSize *int64
	/*The ID of the policy that the executions belong to.
	  In: query
	*/
	PolicyID *int64
	/*The execution status.
	  In: query
	*/
	Status *string
	/*The trigger mode.
	  In: query
	*/
	Trigger *string
}

ListReplicationExecutionsParams contains all the bound params for the list replication executions operation typically these are obtained from a http.Request

swagger:parameters listReplicationExecutions

func NewListReplicationExecutionsParams

func NewListReplicationExecutionsParams() ListReplicationExecutionsParams

NewListReplicationExecutionsParams creates a new ListReplicationExecutionsParams object with the default values initialized.

func (*ListReplicationExecutionsParams) 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 NewListReplicationExecutionsParams() beforehand.

type ListReplicationExecutionsURL

type ListReplicationExecutionsURL struct {
	Page     *int64
	PageSize *int64
	PolicyID *int64
	Status   *string
	Trigger  *string
	// contains filtered or unexported fields
}

ListReplicationExecutionsURL generates an URL for the list replication executions operation

func (*ListReplicationExecutionsURL) Build

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

Build a url path and query string

func (*ListReplicationExecutionsURL) BuildFull

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

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

func (*ListReplicationExecutionsURL) Must

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

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

func (*ListReplicationExecutionsURL) SetBasePath

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

String returns the string representation of the path with query string

func (*ListReplicationExecutionsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListReplicationExecutionsURL) 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 ListReplicationExecutionsUnauthorized

type ListReplicationExecutionsUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ListReplicationExecutionsUnauthorized Unauthorized

swagger:response listReplicationExecutionsUnauthorized

func NewListReplicationExecutionsUnauthorized

func NewListReplicationExecutionsUnauthorized() *ListReplicationExecutionsUnauthorized

NewListReplicationExecutionsUnauthorized creates ListReplicationExecutionsUnauthorized with default headers values

func (*ListReplicationExecutionsUnauthorized) SetPayload

func (o *ListReplicationExecutionsUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the list replication executions unauthorized response

func (*ListReplicationExecutionsUnauthorized) SetXRequestID

func (o *ListReplicationExecutionsUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the list replication executions unauthorized response

func (*ListReplicationExecutionsUnauthorized) WithPayload

WithPayload adds the payload to the list replication executions unauthorized response

func (*ListReplicationExecutionsUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the list replication executions unauthorized response

func (*ListReplicationExecutionsUnauthorized) WriteResponse

WriteResponse to the client

type ListReplicationTasks

type ListReplicationTasks struct {
	Context *middleware.Context
	Handler ListReplicationTasksHandler
}

ListReplicationTasks swagger:route GET /replication/executions/{id}/tasks replication listReplicationTasks

List replication tasks for a specific execution

List replication tasks for a specific execution

func NewListReplicationTasks

func NewListReplicationTasks(ctx *middleware.Context, handler ListReplicationTasksHandler) *ListReplicationTasks

NewListReplicationTasks creates a new http.Handler for the list replication tasks operation

func (*ListReplicationTasks) ServeHTTP

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

type ListReplicationTasksForbidden

type ListReplicationTasksForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ListReplicationTasksForbidden Forbidden

swagger:response listReplicationTasksForbidden

func NewListReplicationTasksForbidden

func NewListReplicationTasksForbidden() *ListReplicationTasksForbidden

NewListReplicationTasksForbidden creates ListReplicationTasksForbidden with default headers values

func (*ListReplicationTasksForbidden) SetPayload

func (o *ListReplicationTasksForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the list replication tasks forbidden response

func (*ListReplicationTasksForbidden) SetXRequestID

func (o *ListReplicationTasksForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the list replication tasks forbidden response

func (*ListReplicationTasksForbidden) WithPayload

WithPayload adds the payload to the list replication tasks forbidden response

func (*ListReplicationTasksForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the list replication tasks forbidden response

func (*ListReplicationTasksForbidden) WriteResponse

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

WriteResponse to the client

type ListReplicationTasksHandler

type ListReplicationTasksHandler interface {
	Handle(ListReplicationTasksParams, interface{}) middleware.Responder
}

ListReplicationTasksHandler interface for that can handle valid list replication tasks params

type ListReplicationTasksHandlerFunc

type ListReplicationTasksHandlerFunc func(ListReplicationTasksParams, interface{}) middleware.Responder

ListReplicationTasksHandlerFunc turns a function with the right signature into a list replication tasks handler

func (ListReplicationTasksHandlerFunc) Handle

func (fn ListReplicationTasksHandlerFunc) Handle(params ListReplicationTasksParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListReplicationTasksInternalServerError

type ListReplicationTasksInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ListReplicationTasksInternalServerError Internal server error

swagger:response listReplicationTasksInternalServerError

func NewListReplicationTasksInternalServerError

func NewListReplicationTasksInternalServerError() *ListReplicationTasksInternalServerError

NewListReplicationTasksInternalServerError creates ListReplicationTasksInternalServerError with default headers values

func (*ListReplicationTasksInternalServerError) SetPayload

func (o *ListReplicationTasksInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the list replication tasks internal server error response

func (*ListReplicationTasksInternalServerError) SetXRequestID

func (o *ListReplicationTasksInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the list replication tasks internal server error response

func (*ListReplicationTasksInternalServerError) WithPayload

WithPayload adds the payload to the list replication tasks internal server error response

func (*ListReplicationTasksInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the list replication tasks internal server error response

func (*ListReplicationTasksInternalServerError) WriteResponse

WriteResponse to the client

type ListReplicationTasksOK

type ListReplicationTasksOK struct {
	/*Link refers to the previous page and next page

	 */
	Link string `json:"Link"`
	/*The total count of the resources

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

ListReplicationTasksOK Success

swagger:response listReplicationTasksOK

func NewListReplicationTasksOK

func NewListReplicationTasksOK() *ListReplicationTasksOK

NewListReplicationTasksOK creates ListReplicationTasksOK with default headers values

func (o *ListReplicationTasksOK) SetLink(link string)

SetLink sets the link to the list replication tasks o k response

func (*ListReplicationTasksOK) SetPayload

func (o *ListReplicationTasksOK) SetPayload(payload []*models.ReplicationTask)

SetPayload sets the payload to the list replication tasks o k response

func (*ListReplicationTasksOK) SetXTotalCount

func (o *ListReplicationTasksOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the list replication tasks o k response

WithLink adds the link to the list replication tasks o k response

func (*ListReplicationTasksOK) WithPayload

WithPayload adds the payload to the list replication tasks o k response

func (*ListReplicationTasksOK) WithXTotalCount

func (o *ListReplicationTasksOK) WithXTotalCount(xTotalCount int64) *ListReplicationTasksOK

WithXTotalCount adds the xTotalCount to the list replication tasks o k response

func (*ListReplicationTasksOK) WriteResponse

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

WriteResponse to the client

type ListReplicationTasksParams

type ListReplicationTasksParams struct {

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

	/*The ID of the execution that the tasks belongs to.
	  Required: true
	  In: path
	*/
	ID int64
	/*The page number
	  In: query
	  Default: 1
	*/
	Page *int64
	/*The size of per page
	  Maximum: 100
	  In: query
	  Default: 10
	*/
	PageSize *int64
	/*The resource type.
	  In: query
	*/
	ResourceType *string
	/*The task status.
	  In: query
	*/
	Status *string
}

ListReplicationTasksParams contains all the bound params for the list replication tasks operation typically these are obtained from a http.Request

swagger:parameters listReplicationTasks

func NewListReplicationTasksParams

func NewListReplicationTasksParams() ListReplicationTasksParams

NewListReplicationTasksParams creates a new ListReplicationTasksParams object with the default values initialized.

func (*ListReplicationTasksParams) 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 NewListReplicationTasksParams() beforehand.

type ListReplicationTasksURL

type ListReplicationTasksURL struct {
	ID int64

	Page         *int64
	PageSize     *int64
	ResourceType *string
	Status       *string
	// contains filtered or unexported fields
}

ListReplicationTasksURL generates an URL for the list replication tasks operation

func (*ListReplicationTasksURL) Build

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

Build a url path and query string

func (*ListReplicationTasksURL) BuildFull

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

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

func (*ListReplicationTasksURL) Must

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

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

func (*ListReplicationTasksURL) SetBasePath

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

func (o *ListReplicationTasksURL) String() string

String returns the string representation of the path with query string

func (*ListReplicationTasksURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListReplicationTasksURL) 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 ListReplicationTasksUnauthorized

type ListReplicationTasksUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ListReplicationTasksUnauthorized Unauthorized

swagger:response listReplicationTasksUnauthorized

func NewListReplicationTasksUnauthorized

func NewListReplicationTasksUnauthorized() *ListReplicationTasksUnauthorized

NewListReplicationTasksUnauthorized creates ListReplicationTasksUnauthorized with default headers values

func (*ListReplicationTasksUnauthorized) SetPayload

func (o *ListReplicationTasksUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the list replication tasks unauthorized response

func (*ListReplicationTasksUnauthorized) SetXRequestID

func (o *ListReplicationTasksUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the list replication tasks unauthorized response

func (*ListReplicationTasksUnauthorized) WithPayload

WithPayload adds the payload to the list replication tasks unauthorized response

func (*ListReplicationTasksUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the list replication tasks unauthorized response

func (*ListReplicationTasksUnauthorized) WriteResponse

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

WriteResponse to the client

type StartReplication

type StartReplication struct {
	Context *middleware.Context
	Handler StartReplicationHandler
}

StartReplication swagger:route POST /replication/executions replication startReplication

Start one replication execution

Start one replication execution according to the policy

func NewStartReplication

func NewStartReplication(ctx *middleware.Context, handler StartReplicationHandler) *StartReplication

NewStartReplication creates a new http.Handler for the start replication operation

func (*StartReplication) ServeHTTP

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

type StartReplicationBadRequest

type StartReplicationBadRequest struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StartReplicationBadRequest Bad request

swagger:response startReplicationBadRequest

func NewStartReplicationBadRequest

func NewStartReplicationBadRequest() *StartReplicationBadRequest

NewStartReplicationBadRequest creates StartReplicationBadRequest with default headers values

func (*StartReplicationBadRequest) SetPayload

func (o *StartReplicationBadRequest) SetPayload(payload *models.Errors)

SetPayload sets the payload to the start replication bad request response

func (*StartReplicationBadRequest) SetXRequestID

func (o *StartReplicationBadRequest) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the start replication bad request response

func (*StartReplicationBadRequest) WithPayload

WithPayload adds the payload to the start replication bad request response

func (*StartReplicationBadRequest) WithXRequestID

func (o *StartReplicationBadRequest) WithXRequestID(xRequestID string) *StartReplicationBadRequest

WithXRequestID adds the xRequestId to the start replication bad request response

func (*StartReplicationBadRequest) WriteResponse

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

WriteResponse to the client

type StartReplicationCreated

type StartReplicationCreated struct {
	/*The location of the resource

	 */
	Location string `json:"Location"`
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`
}

StartReplicationCreated Created

swagger:response startReplicationCreated

func NewStartReplicationCreated

func NewStartReplicationCreated() *StartReplicationCreated

NewStartReplicationCreated creates StartReplicationCreated with default headers values

func (*StartReplicationCreated) SetLocation

func (o *StartReplicationCreated) SetLocation(location string)

SetLocation sets the location to the start replication created response

func (*StartReplicationCreated) SetXRequestID

func (o *StartReplicationCreated) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the start replication created response

func (*StartReplicationCreated) WithLocation

func (o *StartReplicationCreated) WithLocation(location string) *StartReplicationCreated

WithLocation adds the location to the start replication created response

func (*StartReplicationCreated) WithXRequestID

func (o *StartReplicationCreated) WithXRequestID(xRequestID string) *StartReplicationCreated

WithXRequestID adds the xRequestId to the start replication created response

func (*StartReplicationCreated) WriteResponse

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

WriteResponse to the client

type StartReplicationForbidden

type StartReplicationForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StartReplicationForbidden Forbidden

swagger:response startReplicationForbidden

func NewStartReplicationForbidden

func NewStartReplicationForbidden() *StartReplicationForbidden

NewStartReplicationForbidden creates StartReplicationForbidden with default headers values

func (*StartReplicationForbidden) SetPayload

func (o *StartReplicationForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the start replication forbidden response

func (*StartReplicationForbidden) SetXRequestID

func (o *StartReplicationForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the start replication forbidden response

func (*StartReplicationForbidden) WithPayload

WithPayload adds the payload to the start replication forbidden response

func (*StartReplicationForbidden) WithXRequestID

func (o *StartReplicationForbidden) WithXRequestID(xRequestID string) *StartReplicationForbidden

WithXRequestID adds the xRequestId to the start replication forbidden response

func (*StartReplicationForbidden) WriteResponse

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

WriteResponse to the client

type StartReplicationHandler

type StartReplicationHandler interface {
	Handle(StartReplicationParams, interface{}) middleware.Responder
}

StartReplicationHandler interface for that can handle valid start replication params

type StartReplicationHandlerFunc

type StartReplicationHandlerFunc func(StartReplicationParams, interface{}) middleware.Responder

StartReplicationHandlerFunc turns a function with the right signature into a start replication handler

func (StartReplicationHandlerFunc) Handle

func (fn StartReplicationHandlerFunc) Handle(params StartReplicationParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type StartReplicationInternalServerError

type StartReplicationInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StartReplicationInternalServerError Internal server error

swagger:response startReplicationInternalServerError

func NewStartReplicationInternalServerError

func NewStartReplicationInternalServerError() *StartReplicationInternalServerError

NewStartReplicationInternalServerError creates StartReplicationInternalServerError with default headers values

func (*StartReplicationInternalServerError) SetPayload

func (o *StartReplicationInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the start replication internal server error response

func (*StartReplicationInternalServerError) SetXRequestID

func (o *StartReplicationInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the start replication internal server error response

func (*StartReplicationInternalServerError) WithPayload

WithPayload adds the payload to the start replication internal server error response

func (*StartReplicationInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the start replication internal server error response

func (*StartReplicationInternalServerError) WriteResponse

WriteResponse to the client

type StartReplicationParams

type StartReplicationParams struct {

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

	/*The ID of policy that the execution belongs to
	  Required: true
	  In: body
	*/
	Execution *models.StartReplicationExecution
}

StartReplicationParams contains all the bound params for the start replication operation typically these are obtained from a http.Request

swagger:parameters startReplication

func NewStartReplicationParams

func NewStartReplicationParams() StartReplicationParams

NewStartReplicationParams creates a new StartReplicationParams object no default values defined in spec.

func (*StartReplicationParams) BindRequest

func (o *StartReplicationParams) 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 NewStartReplicationParams() beforehand.

type StartReplicationURL

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

StartReplicationURL generates an URL for the start replication operation

func (*StartReplicationURL) Build

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

Build a url path and query string

func (*StartReplicationURL) BuildFull

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

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

func (*StartReplicationURL) Must

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

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

func (*StartReplicationURL) SetBasePath

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

func (o *StartReplicationURL) String() string

String returns the string representation of the path with query string

func (*StartReplicationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*StartReplicationURL) WithBasePath

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

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 StartReplicationUnauthorized

type StartReplicationUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StartReplicationUnauthorized Unauthorized

swagger:response startReplicationUnauthorized

func NewStartReplicationUnauthorized

func NewStartReplicationUnauthorized() *StartReplicationUnauthorized

NewStartReplicationUnauthorized creates StartReplicationUnauthorized with default headers values

func (*StartReplicationUnauthorized) SetPayload

func (o *StartReplicationUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the start replication unauthorized response

func (*StartReplicationUnauthorized) SetXRequestID

func (o *StartReplicationUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the start replication unauthorized response

func (*StartReplicationUnauthorized) WithPayload

WithPayload adds the payload to the start replication unauthorized response

func (*StartReplicationUnauthorized) WithXRequestID

func (o *StartReplicationUnauthorized) WithXRequestID(xRequestID string) *StartReplicationUnauthorized

WithXRequestID adds the xRequestId to the start replication unauthorized response

func (*StartReplicationUnauthorized) WriteResponse

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

WriteResponse to the client

type StopReplication

type StopReplication struct {
	Context *middleware.Context
	Handler StopReplicationHandler
}

StopReplication swagger:route PUT /replication/executions/{id} replication stopReplication

Stop the specific replication execution

Stop the replication execution specified by ID

func NewStopReplication

func NewStopReplication(ctx *middleware.Context, handler StopReplicationHandler) *StopReplication

NewStopReplication creates a new http.Handler for the stop replication operation

func (*StopReplication) ServeHTTP

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

type StopReplicationForbidden

type StopReplicationForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StopReplicationForbidden Forbidden

swagger:response stopReplicationForbidden

func NewStopReplicationForbidden

func NewStopReplicationForbidden() *StopReplicationForbidden

NewStopReplicationForbidden creates StopReplicationForbidden with default headers values

func (*StopReplicationForbidden) SetPayload

func (o *StopReplicationForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the stop replication forbidden response

func (*StopReplicationForbidden) SetXRequestID

func (o *StopReplicationForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the stop replication forbidden response

func (*StopReplicationForbidden) WithPayload

WithPayload adds the payload to the stop replication forbidden response

func (*StopReplicationForbidden) WithXRequestID

func (o *StopReplicationForbidden) WithXRequestID(xRequestID string) *StopReplicationForbidden

WithXRequestID adds the xRequestId to the stop replication forbidden response

func (*StopReplicationForbidden) WriteResponse

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

WriteResponse to the client

type StopReplicationHandler

type StopReplicationHandler interface {
	Handle(StopReplicationParams, interface{}) middleware.Responder
}

StopReplicationHandler interface for that can handle valid stop replication params

type StopReplicationHandlerFunc

type StopReplicationHandlerFunc func(StopReplicationParams, interface{}) middleware.Responder

StopReplicationHandlerFunc turns a function with the right signature into a stop replication handler

func (StopReplicationHandlerFunc) Handle

func (fn StopReplicationHandlerFunc) Handle(params StopReplicationParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type StopReplicationInternalServerError

type StopReplicationInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StopReplicationInternalServerError Internal server error

swagger:response stopReplicationInternalServerError

func NewStopReplicationInternalServerError

func NewStopReplicationInternalServerError() *StopReplicationInternalServerError

NewStopReplicationInternalServerError creates StopReplicationInternalServerError with default headers values

func (*StopReplicationInternalServerError) SetPayload

func (o *StopReplicationInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the stop replication internal server error response

func (*StopReplicationInternalServerError) SetXRequestID

func (o *StopReplicationInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the stop replication internal server error response

func (*StopReplicationInternalServerError) WithPayload

WithPayload adds the payload to the stop replication internal server error response

func (*StopReplicationInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the stop replication internal server error response

func (*StopReplicationInternalServerError) WriteResponse

WriteResponse to the client

type StopReplicationNotFound

type StopReplicationNotFound struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StopReplicationNotFound Not found

swagger:response stopReplicationNotFound

func NewStopReplicationNotFound

func NewStopReplicationNotFound() *StopReplicationNotFound

NewStopReplicationNotFound creates StopReplicationNotFound with default headers values

func (*StopReplicationNotFound) SetPayload

func (o *StopReplicationNotFound) SetPayload(payload *models.Errors)

SetPayload sets the payload to the stop replication not found response

func (*StopReplicationNotFound) SetXRequestID

func (o *StopReplicationNotFound) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the stop replication not found response

func (*StopReplicationNotFound) WithPayload

WithPayload adds the payload to the stop replication not found response

func (*StopReplicationNotFound) WithXRequestID

func (o *StopReplicationNotFound) WithXRequestID(xRequestID string) *StopReplicationNotFound

WithXRequestID adds the xRequestId to the stop replication not found response

func (*StopReplicationNotFound) WriteResponse

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

WriteResponse to the client

type StopReplicationOK

type StopReplicationOK struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`
}

StopReplicationOK Success

swagger:response stopReplicationOK

func NewStopReplicationOK

func NewStopReplicationOK() *StopReplicationOK

NewStopReplicationOK creates StopReplicationOK with default headers values

func (*StopReplicationOK) SetXRequestID

func (o *StopReplicationOK) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the stop replication o k response

func (*StopReplicationOK) WithXRequestID

func (o *StopReplicationOK) WithXRequestID(xRequestID string) *StopReplicationOK

WithXRequestID adds the xRequestId to the stop replication o k response

func (*StopReplicationOK) WriteResponse

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

WriteResponse to the client

type StopReplicationParams

type StopReplicationParams struct {

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

	/*The ID of the execution.
	  Required: true
	  In: path
	*/
	ID int64
}

StopReplicationParams contains all the bound params for the stop replication operation typically these are obtained from a http.Request

swagger:parameters stopReplication

func NewStopReplicationParams

func NewStopReplicationParams() StopReplicationParams

NewStopReplicationParams creates a new StopReplicationParams object no default values defined in spec.

func (*StopReplicationParams) BindRequest

func (o *StopReplicationParams) 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 NewStopReplicationParams() beforehand.

type StopReplicationURL

type StopReplicationURL struct {
	ID int64
	// contains filtered or unexported fields
}

StopReplicationURL generates an URL for the stop replication operation

func (*StopReplicationURL) Build

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

Build a url path and query string

func (*StopReplicationURL) BuildFull

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

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

func (*StopReplicationURL) Must

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

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

func (*StopReplicationURL) SetBasePath

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

func (o *StopReplicationURL) String() string

String returns the string representation of the path with query string

func (*StopReplicationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*StopReplicationURL) WithBasePath

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

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 StopReplicationUnauthorized

type StopReplicationUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

StopReplicationUnauthorized Unauthorized

swagger:response stopReplicationUnauthorized

func NewStopReplicationUnauthorized

func NewStopReplicationUnauthorized() *StopReplicationUnauthorized

NewStopReplicationUnauthorized creates StopReplicationUnauthorized with default headers values

func (*StopReplicationUnauthorized) SetPayload

func (o *StopReplicationUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the stop replication unauthorized response

func (*StopReplicationUnauthorized) SetXRequestID

func (o *StopReplicationUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the stop replication unauthorized response

func (*StopReplicationUnauthorized) WithPayload

WithPayload adds the payload to the stop replication unauthorized response

func (*StopReplicationUnauthorized) WithXRequestID

func (o *StopReplicationUnauthorized) WithXRequestID(xRequestID string) *StopReplicationUnauthorized

WithXRequestID adds the xRequestId to the stop replication unauthorized response

func (*StopReplicationUnauthorized) WriteResponse

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