Documentation
¶
Index ¶
- Constants
- type GetReplicationExecution
- type GetReplicationExecutionForbidden
- func (o *GetReplicationExecutionForbidden) SetPayload(payload *models.Errors)
- func (o *GetReplicationExecutionForbidden) SetXRequestID(xRequestID string)
- func (o *GetReplicationExecutionForbidden) WithPayload(payload *models.Errors) *GetReplicationExecutionForbidden
- func (o *GetReplicationExecutionForbidden) WithXRequestID(xRequestID string) *GetReplicationExecutionForbidden
- func (o *GetReplicationExecutionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationExecutionHandler
- type GetReplicationExecutionHandlerFunc
- type GetReplicationExecutionInternalServerError
- func (o *GetReplicationExecutionInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetReplicationExecutionInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetReplicationExecutionInternalServerError) WithPayload(payload *models.Errors) *GetReplicationExecutionInternalServerError
- func (o *GetReplicationExecutionInternalServerError) WithXRequestID(xRequestID string) *GetReplicationExecutionInternalServerError
- func (o *GetReplicationExecutionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationExecutionNotFound
- func (o *GetReplicationExecutionNotFound) SetPayload(payload *models.Errors)
- func (o *GetReplicationExecutionNotFound) SetXRequestID(xRequestID string)
- func (o *GetReplicationExecutionNotFound) WithPayload(payload *models.Errors) *GetReplicationExecutionNotFound
- func (o *GetReplicationExecutionNotFound) WithXRequestID(xRequestID string) *GetReplicationExecutionNotFound
- func (o *GetReplicationExecutionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationExecutionOK
- type GetReplicationExecutionParams
- type GetReplicationExecutionURL
- func (o *GetReplicationExecutionURL) Build() (*url.URL, error)
- func (o *GetReplicationExecutionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetReplicationExecutionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetReplicationExecutionURL) SetBasePath(bp string)
- func (o *GetReplicationExecutionURL) String() string
- func (o *GetReplicationExecutionURL) StringFull(scheme, host string) string
- func (o *GetReplicationExecutionURL) WithBasePath(bp string) *GetReplicationExecutionURL
- type GetReplicationExecutionUnauthorized
- func (o *GetReplicationExecutionUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetReplicationExecutionUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetReplicationExecutionUnauthorized) WithPayload(payload *models.Errors) *GetReplicationExecutionUnauthorized
- func (o *GetReplicationExecutionUnauthorized) WithXRequestID(xRequestID string) *GetReplicationExecutionUnauthorized
- func (o *GetReplicationExecutionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationLog
- type GetReplicationLogForbidden
- func (o *GetReplicationLogForbidden) SetPayload(payload *models.Errors)
- func (o *GetReplicationLogForbidden) SetXRequestID(xRequestID string)
- func (o *GetReplicationLogForbidden) WithPayload(payload *models.Errors) *GetReplicationLogForbidden
- func (o *GetReplicationLogForbidden) WithXRequestID(xRequestID string) *GetReplicationLogForbidden
- func (o *GetReplicationLogForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationLogHandler
- type GetReplicationLogHandlerFunc
- type GetReplicationLogInternalServerError
- func (o *GetReplicationLogInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetReplicationLogInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetReplicationLogInternalServerError) WithPayload(payload *models.Errors) *GetReplicationLogInternalServerError
- func (o *GetReplicationLogInternalServerError) WithXRequestID(xRequestID string) *GetReplicationLogInternalServerError
- func (o *GetReplicationLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationLogNotFound
- func (o *GetReplicationLogNotFound) SetPayload(payload *models.Errors)
- func (o *GetReplicationLogNotFound) SetXRequestID(xRequestID string)
- func (o *GetReplicationLogNotFound) WithPayload(payload *models.Errors) *GetReplicationLogNotFound
- func (o *GetReplicationLogNotFound) WithXRequestID(xRequestID string) *GetReplicationLogNotFound
- func (o *GetReplicationLogNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationLogOK
- func (o *GetReplicationLogOK) SetContentType(contentType string)
- func (o *GetReplicationLogOK) SetPayload(payload string)
- func (o *GetReplicationLogOK) WithContentType(contentType string) *GetReplicationLogOK
- func (o *GetReplicationLogOK) WithPayload(payload string) *GetReplicationLogOK
- func (o *GetReplicationLogOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetReplicationLogParams
- type GetReplicationLogURL
- func (o *GetReplicationLogURL) Build() (*url.URL, error)
- func (o *GetReplicationLogURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetReplicationLogURL) Must(u *url.URL, err error) *url.URL
- func (o *GetReplicationLogURL) SetBasePath(bp string)
- func (o *GetReplicationLogURL) String() string
- func (o *GetReplicationLogURL) StringFull(scheme, host string) string
- func (o *GetReplicationLogURL) WithBasePath(bp string) *GetReplicationLogURL
- type GetReplicationLogUnauthorized
- func (o *GetReplicationLogUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetReplicationLogUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetReplicationLogUnauthorized) WithPayload(payload *models.Errors) *GetReplicationLogUnauthorized
- func (o *GetReplicationLogUnauthorized) WithXRequestID(xRequestID string) *GetReplicationLogUnauthorized
- func (o *GetReplicationLogUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationExecutions
- type ListReplicationExecutionsForbidden
- func (o *ListReplicationExecutionsForbidden) SetPayload(payload *models.Errors)
- func (o *ListReplicationExecutionsForbidden) SetXRequestID(xRequestID string)
- func (o *ListReplicationExecutionsForbidden) WithPayload(payload *models.Errors) *ListReplicationExecutionsForbidden
- func (o *ListReplicationExecutionsForbidden) WithXRequestID(xRequestID string) *ListReplicationExecutionsForbidden
- func (o *ListReplicationExecutionsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationExecutionsHandler
- type ListReplicationExecutionsHandlerFunc
- type ListReplicationExecutionsInternalServerError
- func (o *ListReplicationExecutionsInternalServerError) SetPayload(payload *models.Errors)
- func (o *ListReplicationExecutionsInternalServerError) SetXRequestID(xRequestID string)
- func (o *ListReplicationExecutionsInternalServerError) WithPayload(payload *models.Errors) *ListReplicationExecutionsInternalServerError
- func (o *ListReplicationExecutionsInternalServerError) WithXRequestID(xRequestID string) *ListReplicationExecutionsInternalServerError
- func (o *ListReplicationExecutionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationExecutionsOK
- func (o *ListReplicationExecutionsOK) SetLink(link string)
- func (o *ListReplicationExecutionsOK) SetPayload(payload []*models.ReplicationExecution)
- func (o *ListReplicationExecutionsOK) SetXTotalCount(xTotalCount int64)
- func (o *ListReplicationExecutionsOK) WithLink(link string) *ListReplicationExecutionsOK
- func (o *ListReplicationExecutionsOK) WithPayload(payload []*models.ReplicationExecution) *ListReplicationExecutionsOK
- func (o *ListReplicationExecutionsOK) WithXTotalCount(xTotalCount int64) *ListReplicationExecutionsOK
- func (o *ListReplicationExecutionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationExecutionsParams
- type ListReplicationExecutionsURL
- func (o *ListReplicationExecutionsURL) Build() (*url.URL, error)
- func (o *ListReplicationExecutionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListReplicationExecutionsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListReplicationExecutionsURL) SetBasePath(bp string)
- func (o *ListReplicationExecutionsURL) String() string
- func (o *ListReplicationExecutionsURL) StringFull(scheme, host string) string
- func (o *ListReplicationExecutionsURL) WithBasePath(bp string) *ListReplicationExecutionsURL
- type ListReplicationExecutionsUnauthorized
- func (o *ListReplicationExecutionsUnauthorized) SetPayload(payload *models.Errors)
- func (o *ListReplicationExecutionsUnauthorized) SetXRequestID(xRequestID string)
- func (o *ListReplicationExecutionsUnauthorized) WithPayload(payload *models.Errors) *ListReplicationExecutionsUnauthorized
- func (o *ListReplicationExecutionsUnauthorized) WithXRequestID(xRequestID string) *ListReplicationExecutionsUnauthorized
- func (o *ListReplicationExecutionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationTasks
- type ListReplicationTasksForbidden
- func (o *ListReplicationTasksForbidden) SetPayload(payload *models.Errors)
- func (o *ListReplicationTasksForbidden) SetXRequestID(xRequestID string)
- func (o *ListReplicationTasksForbidden) WithPayload(payload *models.Errors) *ListReplicationTasksForbidden
- func (o *ListReplicationTasksForbidden) WithXRequestID(xRequestID string) *ListReplicationTasksForbidden
- func (o *ListReplicationTasksForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationTasksHandler
- type ListReplicationTasksHandlerFunc
- type ListReplicationTasksInternalServerError
- func (o *ListReplicationTasksInternalServerError) SetPayload(payload *models.Errors)
- func (o *ListReplicationTasksInternalServerError) SetXRequestID(xRequestID string)
- func (o *ListReplicationTasksInternalServerError) WithPayload(payload *models.Errors) *ListReplicationTasksInternalServerError
- func (o *ListReplicationTasksInternalServerError) WithXRequestID(xRequestID string) *ListReplicationTasksInternalServerError
- func (o *ListReplicationTasksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationTasksOK
- func (o *ListReplicationTasksOK) SetLink(link string)
- func (o *ListReplicationTasksOK) SetPayload(payload []*models.ReplicationTask)
- func (o *ListReplicationTasksOK) SetXTotalCount(xTotalCount int64)
- func (o *ListReplicationTasksOK) WithLink(link string) *ListReplicationTasksOK
- func (o *ListReplicationTasksOK) WithPayload(payload []*models.ReplicationTask) *ListReplicationTasksOK
- func (o *ListReplicationTasksOK) WithXTotalCount(xTotalCount int64) *ListReplicationTasksOK
- func (o *ListReplicationTasksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListReplicationTasksParams
- type ListReplicationTasksURL
- func (o *ListReplicationTasksURL) Build() (*url.URL, error)
- func (o *ListReplicationTasksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListReplicationTasksURL) Must(u *url.URL, err error) *url.URL
- func (o *ListReplicationTasksURL) SetBasePath(bp string)
- func (o *ListReplicationTasksURL) String() string
- func (o *ListReplicationTasksURL) StringFull(scheme, host string) string
- func (o *ListReplicationTasksURL) WithBasePath(bp string) *ListReplicationTasksURL
- type ListReplicationTasksUnauthorized
- func (o *ListReplicationTasksUnauthorized) SetPayload(payload *models.Errors)
- func (o *ListReplicationTasksUnauthorized) SetXRequestID(xRequestID string)
- func (o *ListReplicationTasksUnauthorized) WithPayload(payload *models.Errors) *ListReplicationTasksUnauthorized
- func (o *ListReplicationTasksUnauthorized) WithXRequestID(xRequestID string) *ListReplicationTasksUnauthorized
- func (o *ListReplicationTasksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StartReplication
- type StartReplicationBadRequest
- func (o *StartReplicationBadRequest) SetPayload(payload *models.Errors)
- func (o *StartReplicationBadRequest) SetXRequestID(xRequestID string)
- func (o *StartReplicationBadRequest) WithPayload(payload *models.Errors) *StartReplicationBadRequest
- func (o *StartReplicationBadRequest) WithXRequestID(xRequestID string) *StartReplicationBadRequest
- func (o *StartReplicationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StartReplicationCreated
- func (o *StartReplicationCreated) SetLocation(location string)
- func (o *StartReplicationCreated) SetXRequestID(xRequestID string)
- func (o *StartReplicationCreated) WithLocation(location string) *StartReplicationCreated
- func (o *StartReplicationCreated) WithXRequestID(xRequestID string) *StartReplicationCreated
- func (o *StartReplicationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StartReplicationForbidden
- func (o *StartReplicationForbidden) SetPayload(payload *models.Errors)
- func (o *StartReplicationForbidden) SetXRequestID(xRequestID string)
- func (o *StartReplicationForbidden) WithPayload(payload *models.Errors) *StartReplicationForbidden
- func (o *StartReplicationForbidden) WithXRequestID(xRequestID string) *StartReplicationForbidden
- func (o *StartReplicationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StartReplicationHandler
- type StartReplicationHandlerFunc
- type StartReplicationInternalServerError
- func (o *StartReplicationInternalServerError) SetPayload(payload *models.Errors)
- func (o *StartReplicationInternalServerError) SetXRequestID(xRequestID string)
- func (o *StartReplicationInternalServerError) WithPayload(payload *models.Errors) *StartReplicationInternalServerError
- func (o *StartReplicationInternalServerError) WithXRequestID(xRequestID string) *StartReplicationInternalServerError
- func (o *StartReplicationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StartReplicationParams
- type StartReplicationURL
- func (o *StartReplicationURL) Build() (*url.URL, error)
- func (o *StartReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *StartReplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *StartReplicationURL) SetBasePath(bp string)
- func (o *StartReplicationURL) String() string
- func (o *StartReplicationURL) StringFull(scheme, host string) string
- func (o *StartReplicationURL) WithBasePath(bp string) *StartReplicationURL
- type StartReplicationUnauthorized
- func (o *StartReplicationUnauthorized) SetPayload(payload *models.Errors)
- func (o *StartReplicationUnauthorized) SetXRequestID(xRequestID string)
- func (o *StartReplicationUnauthorized) WithPayload(payload *models.Errors) *StartReplicationUnauthorized
- func (o *StartReplicationUnauthorized) WithXRequestID(xRequestID string) *StartReplicationUnauthorized
- func (o *StartReplicationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StopReplication
- type StopReplicationForbidden
- func (o *StopReplicationForbidden) SetPayload(payload *models.Errors)
- func (o *StopReplicationForbidden) SetXRequestID(xRequestID string)
- func (o *StopReplicationForbidden) WithPayload(payload *models.Errors) *StopReplicationForbidden
- func (o *StopReplicationForbidden) WithXRequestID(xRequestID string) *StopReplicationForbidden
- func (o *StopReplicationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StopReplicationHandler
- type StopReplicationHandlerFunc
- type StopReplicationInternalServerError
- func (o *StopReplicationInternalServerError) SetPayload(payload *models.Errors)
- func (o *StopReplicationInternalServerError) SetXRequestID(xRequestID string)
- func (o *StopReplicationInternalServerError) WithPayload(payload *models.Errors) *StopReplicationInternalServerError
- func (o *StopReplicationInternalServerError) WithXRequestID(xRequestID string) *StopReplicationInternalServerError
- func (o *StopReplicationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StopReplicationNotFound
- func (o *StopReplicationNotFound) SetPayload(payload *models.Errors)
- func (o *StopReplicationNotFound) SetXRequestID(xRequestID string)
- func (o *StopReplicationNotFound) WithPayload(payload *models.Errors) *StopReplicationNotFound
- func (o *StopReplicationNotFound) WithXRequestID(xRequestID string) *StopReplicationNotFound
- func (o *StopReplicationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type StopReplicationOK
- type StopReplicationParams
- type StopReplicationURL
- func (o *StopReplicationURL) Build() (*url.URL, error)
- func (o *StopReplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *StopReplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *StopReplicationURL) SetBasePath(bp string)
- func (o *StopReplicationURL) String() string
- func (o *StopReplicationURL) StringFull(scheme, host string) string
- func (o *StopReplicationURL) WithBasePath(bp string) *StopReplicationURL
- type StopReplicationUnauthorized
- func (o *StopReplicationUnauthorized) SetPayload(payload *models.Errors)
- func (o *StopReplicationUnauthorized) SetXRequestID(xRequestID string)
- func (o *StopReplicationUnauthorized) WithPayload(payload *models.Errors) *StopReplicationUnauthorized
- func (o *StopReplicationUnauthorized) WithXRequestID(xRequestID string) *StopReplicationUnauthorized
- func (o *StopReplicationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GetReplicationExecutionForbiddenCode int = 403
GetReplicationExecutionForbiddenCode is the HTTP code returned for type GetReplicationExecutionForbidden
const GetReplicationExecutionInternalServerErrorCode int = 500
GetReplicationExecutionInternalServerErrorCode is the HTTP code returned for type GetReplicationExecutionInternalServerError
const GetReplicationExecutionNotFoundCode int = 404
GetReplicationExecutionNotFoundCode is the HTTP code returned for type GetReplicationExecutionNotFound
const GetReplicationExecutionOKCode int = 200
GetReplicationExecutionOKCode is the HTTP code returned for type GetReplicationExecutionOK
GetReplicationExecutionUnauthorizedCode is the HTTP code returned for type GetReplicationExecutionUnauthorized
const GetReplicationLogForbiddenCode int = 403
GetReplicationLogForbiddenCode is the HTTP code returned for type GetReplicationLogForbidden
const GetReplicationLogInternalServerErrorCode int = 500
GetReplicationLogInternalServerErrorCode is the HTTP code returned for type GetReplicationLogInternalServerError
const GetReplicationLogNotFoundCode int = 404
GetReplicationLogNotFoundCode is the HTTP code returned for type GetReplicationLogNotFound
const GetReplicationLogOKCode int = 200
GetReplicationLogOKCode is the HTTP code returned for type GetReplicationLogOK
GetReplicationLogUnauthorizedCode is the HTTP code returned for type GetReplicationLogUnauthorized
const ListReplicationExecutionsForbiddenCode int = 403
ListReplicationExecutionsForbiddenCode is the HTTP code returned for type ListReplicationExecutionsForbidden
const ListReplicationExecutionsInternalServerErrorCode int = 500
ListReplicationExecutionsInternalServerErrorCode is the HTTP code returned for type ListReplicationExecutionsInternalServerError
const ListReplicationExecutionsOKCode int = 200
ListReplicationExecutionsOKCode is the HTTP code returned for type ListReplicationExecutionsOK
ListReplicationExecutionsUnauthorizedCode is the HTTP code returned for type ListReplicationExecutionsUnauthorized
const ListReplicationTasksForbiddenCode int = 403
ListReplicationTasksForbiddenCode is the HTTP code returned for type ListReplicationTasksForbidden
const ListReplicationTasksInternalServerErrorCode int = 500
ListReplicationTasksInternalServerErrorCode is the HTTP code returned for type ListReplicationTasksInternalServerError
const ListReplicationTasksOKCode int = 200
ListReplicationTasksOKCode is the HTTP code returned for type ListReplicationTasksOK
ListReplicationTasksUnauthorizedCode is the HTTP code returned for type ListReplicationTasksUnauthorized
const StartReplicationBadRequestCode int = 400
StartReplicationBadRequestCode is the HTTP code returned for type StartReplicationBadRequest
const StartReplicationCreatedCode int = 201
StartReplicationCreatedCode is the HTTP code returned for type StartReplicationCreated
const StartReplicationForbiddenCode int = 403
StartReplicationForbiddenCode is the HTTP code returned for type StartReplicationForbidden
const StartReplicationInternalServerErrorCode int = 500
StartReplicationInternalServerErrorCode is the HTTP code returned for type StartReplicationInternalServerError
StartReplicationUnauthorizedCode is the HTTP code returned for type StartReplicationUnauthorized
const StopReplicationForbiddenCode int = 403
StopReplicationForbiddenCode is the HTTP code returned for type StopReplicationForbidden
const StopReplicationInternalServerErrorCode int = 500
StopReplicationInternalServerErrorCode is the HTTP code returned for type StopReplicationInternalServerError
const StopReplicationNotFoundCode int = 404
StopReplicationNotFoundCode is the HTTP code returned for type StopReplicationNotFound
const StopReplicationOKCode int = 200
StopReplicationOKCode is the HTTP code returned for type StopReplicationOK
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 ¶
func (o *GetReplicationExecution) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *GetReplicationExecutionForbidden) WithPayload(payload *models.Errors) *GetReplicationExecutionForbidden
WithPayload adds the payload to the get replication execution forbidden response
func (*GetReplicationExecutionForbidden) WithXRequestID ¶
func (o *GetReplicationExecutionForbidden) WithXRequestID(xRequestID string) *GetReplicationExecutionForbidden
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 ¶
func (fn GetReplicationExecutionHandlerFunc) Handle(params GetReplicationExecutionParams, principal interface{}) middleware.Responder
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 ¶
func (o *GetReplicationExecutionInternalServerError) SetPayload(payload *models.Errors)
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 ¶
func (o *GetReplicationExecutionInternalServerError) WithPayload(payload *models.Errors) *GetReplicationExecutionInternalServerError
WithPayload adds the payload to the get replication execution internal server error response
func (*GetReplicationExecutionInternalServerError) WithXRequestID ¶
func (o *GetReplicationExecutionInternalServerError) WithXRequestID(xRequestID string) *GetReplicationExecutionInternalServerError
WithXRequestID adds the xRequestId to the get replication execution internal server error response
func (*GetReplicationExecutionInternalServerError) WriteResponse ¶
func (o *GetReplicationExecutionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetReplicationExecutionNotFound) WithPayload(payload *models.Errors) *GetReplicationExecutionNotFound
WithPayload adds the payload to the get replication execution not found response
func (*GetReplicationExecutionNotFound) WithXRequestID ¶
func (o *GetReplicationExecutionNotFound) WithXRequestID(xRequestID string) *GetReplicationExecutionNotFound
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 ¶
func (o *GetReplicationExecutionOK) WithPayload(payload *models.ReplicationExecution) *GetReplicationExecutionOK
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 ¶
func (o *GetReplicationExecutionParams) 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 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 ¶
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 ¶
func (o *GetReplicationExecutionURL) WithBasePath(bp string) *GetReplicationExecutionURL
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 { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
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 ¶
func (o *GetReplicationExecutionUnauthorized) WithPayload(payload *models.Errors) *GetReplicationExecutionUnauthorized
WithPayload adds the payload to the get replication execution unauthorized response
func (*GetReplicationExecutionUnauthorized) WithXRequestID ¶
func (o *GetReplicationExecutionUnauthorized) WithXRequestID(xRequestID string) *GetReplicationExecutionUnauthorized
WithXRequestID adds the xRequestId to the get replication execution unauthorized response
func (*GetReplicationExecutionUnauthorized) WriteResponse ¶
func (o *GetReplicationExecutionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetReplicationLogForbidden) WithPayload(payload *models.Errors) *GetReplicationLogForbidden
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 ¶
func (o *GetReplicationLogInternalServerError) WithPayload(payload *models.Errors) *GetReplicationLogInternalServerError
WithPayload adds the payload to the get replication log internal server error response
func (*GetReplicationLogInternalServerError) WithXRequestID ¶
func (o *GetReplicationLogInternalServerError) WithXRequestID(xRequestID string) *GetReplicationLogInternalServerError
WithXRequestID adds the xRequestId to the get replication log internal server error response
func (*GetReplicationLogInternalServerError) WriteResponse ¶
func (o *GetReplicationLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetReplicationLogNotFound) WithPayload(payload *models.Errors) *GetReplicationLogNotFound
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 ¶
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 { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
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 ¶
func (o *GetReplicationLogUnauthorized) WithPayload(payload *models.Errors) *GetReplicationLogUnauthorized
WithPayload adds the payload to the get replication log unauthorized response
func (*GetReplicationLogUnauthorized) WithXRequestID ¶
func (o *GetReplicationLogUnauthorized) WithXRequestID(xRequestID string) *GetReplicationLogUnauthorized
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 ¶
func (o *ListReplicationExecutions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *ListReplicationExecutionsForbidden) WithPayload(payload *models.Errors) *ListReplicationExecutionsForbidden
WithPayload adds the payload to the list replication executions forbidden response
func (*ListReplicationExecutionsForbidden) WithXRequestID ¶
func (o *ListReplicationExecutionsForbidden) WithXRequestID(xRequestID string) *ListReplicationExecutionsForbidden
WithXRequestID adds the xRequestId to the list replication executions forbidden response
func (*ListReplicationExecutionsForbidden) WriteResponse ¶
func (o *ListReplicationExecutionsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn ListReplicationExecutionsHandlerFunc) Handle(params ListReplicationExecutionsParams, principal interface{}) middleware.Responder
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 ¶
func (o *ListReplicationExecutionsInternalServerError) SetPayload(payload *models.Errors)
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 ¶
func (o *ListReplicationExecutionsInternalServerError) WithPayload(payload *models.Errors) *ListReplicationExecutionsInternalServerError
WithPayload adds the payload to the list replication executions internal server error response
func (*ListReplicationExecutionsInternalServerError) WithXRequestID ¶
func (o *ListReplicationExecutionsInternalServerError) WithXRequestID(xRequestID string) *ListReplicationExecutionsInternalServerError
WithXRequestID adds the xRequestId to the list replication executions internal server error response
func (*ListReplicationExecutionsInternalServerError) WriteResponse ¶
func (o *ListReplicationExecutionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 (*ListReplicationExecutionsOK) SetLink ¶
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
func (*ListReplicationExecutionsOK) WithLink ¶
func (o *ListReplicationExecutionsOK) WithLink(link string) *ListReplicationExecutionsOK
WithLink adds the link to the list replication executions o k response
func (*ListReplicationExecutionsOK) WithPayload ¶
func (o *ListReplicationExecutionsOK) WithPayload(payload []*models.ReplicationExecution) *ListReplicationExecutionsOK
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 ¶
func (o *ListReplicationExecutionsParams) 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 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 ¶
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 ¶
func (o *ListReplicationExecutionsURL) String() 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 ¶
func (o *ListReplicationExecutionsURL) WithBasePath(bp string) *ListReplicationExecutionsURL
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 { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
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 ¶
func (o *ListReplicationExecutionsUnauthorized) WithPayload(payload *models.Errors) *ListReplicationExecutionsUnauthorized
WithPayload adds the payload to the list replication executions unauthorized response
func (*ListReplicationExecutionsUnauthorized) WithXRequestID ¶
func (o *ListReplicationExecutionsUnauthorized) WithXRequestID(xRequestID string) *ListReplicationExecutionsUnauthorized
WithXRequestID adds the xRequestId to the list replication executions unauthorized response
func (*ListReplicationExecutionsUnauthorized) WriteResponse ¶
func (o *ListReplicationExecutionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ListReplicationTasksForbidden) WithPayload(payload *models.Errors) *ListReplicationTasksForbidden
WithPayload adds the payload to the list replication tasks forbidden response
func (*ListReplicationTasksForbidden) WithXRequestID ¶
func (o *ListReplicationTasksForbidden) WithXRequestID(xRequestID string) *ListReplicationTasksForbidden
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 ¶
func (o *ListReplicationTasksInternalServerError) WithPayload(payload *models.Errors) *ListReplicationTasksInternalServerError
WithPayload adds the payload to the list replication tasks internal server error response
func (*ListReplicationTasksInternalServerError) WithXRequestID ¶
func (o *ListReplicationTasksInternalServerError) WithXRequestID(xRequestID string) *ListReplicationTasksInternalServerError
WithXRequestID adds the xRequestId to the list replication tasks internal server error response
func (*ListReplicationTasksInternalServerError) WriteResponse ¶
func (o *ListReplicationTasksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 (*ListReplicationTasksOK) SetLink ¶
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
func (*ListReplicationTasksOK) WithLink ¶
func (o *ListReplicationTasksOK) WithLink(link string) *ListReplicationTasksOK
WithLink adds the link to the list replication tasks o k response
func (*ListReplicationTasksOK) WithPayload ¶
func (o *ListReplicationTasksOK) WithPayload(payload []*models.ReplicationTask) *ListReplicationTasksOK
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 ¶
func (o *ListReplicationTasksParams) 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 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 ¶
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 ¶
func (o *ListReplicationTasksURL) WithBasePath(bp string) *ListReplicationTasksURL
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 { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
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 ¶
func (o *ListReplicationTasksUnauthorized) WithPayload(payload *models.Errors) *ListReplicationTasksUnauthorized
WithPayload adds the payload to the list replication tasks unauthorized response
func (*ListReplicationTasksUnauthorized) WithXRequestID ¶
func (o *ListReplicationTasksUnauthorized) WithXRequestID(xRequestID string) *ListReplicationTasksUnauthorized
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 ¶
func (o *StartReplicationBadRequest) WithPayload(payload *models.Errors) *StartReplicationBadRequest
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 ¶
func (o *StartReplicationForbidden) WithPayload(payload *models.Errors) *StartReplicationForbidden
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 ¶
func (o *StartReplicationInternalServerError) WithPayload(payload *models.Errors) *StartReplicationInternalServerError
WithPayload adds the payload to the start replication internal server error response
func (*StartReplicationInternalServerError) WithXRequestID ¶
func (o *StartReplicationInternalServerError) WithXRequestID(xRequestID string) *StartReplicationInternalServerError
WithXRequestID adds the xRequestId to the start replication internal server error response
func (*StartReplicationInternalServerError) WriteResponse ¶
func (o *StartReplicationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
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 ¶
func (o *StartReplicationUnauthorized) WithPayload(payload *models.Errors) *StartReplicationUnauthorized
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 ¶
func (o *StopReplicationForbidden) WithPayload(payload *models.Errors) *StopReplicationForbidden
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 ¶
func (o *StopReplicationInternalServerError) WithPayload(payload *models.Errors) *StopReplicationInternalServerError
WithPayload adds the payload to the stop replication internal server error response
func (*StopReplicationInternalServerError) WithXRequestID ¶
func (o *StopReplicationInternalServerError) WithXRequestID(xRequestID string) *StopReplicationInternalServerError
WithXRequestID adds the xRequestId to the stop replication internal server error response
func (*StopReplicationInternalServerError) WriteResponse ¶
func (o *StopReplicationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *StopReplicationNotFound) WithPayload(payload *models.Errors) *StopReplicationNotFound
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 ¶
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 { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
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 ¶
func (o *StopReplicationUnauthorized) WithPayload(payload *models.Errors) *StopReplicationUnauthorized
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
Source Files
¶
- get_replication_execution.go
- get_replication_execution_parameters.go
- get_replication_execution_responses.go
- get_replication_execution_urlbuilder.go
- get_replication_log.go
- get_replication_log_parameters.go
- get_replication_log_responses.go
- get_replication_log_urlbuilder.go
- list_replication_executions.go
- list_replication_executions_parameters.go
- list_replication_executions_responses.go
- list_replication_executions_urlbuilder.go
- list_replication_tasks.go
- list_replication_tasks_parameters.go
- list_replication_tasks_responses.go
- list_replication_tasks_urlbuilder.go
- start_replication.go
- start_replication_parameters.go
- start_replication_responses.go
- start_replication_urlbuilder.go
- stop_replication.go
- stop_replication_parameters.go
- stop_replication_responses.go
- stop_replication_urlbuilder.go