Documentation
¶
Index ¶
- type CancelReplicationForbidden
- func (o *CancelReplicationForbidden) Code() int
- func (o *CancelReplicationForbidden) Error() string
- func (o *CancelReplicationForbidden) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationForbidden) IsClientError() bool
- func (o *CancelReplicationForbidden) IsCode(code int) bool
- func (o *CancelReplicationForbidden) IsRedirect() bool
- func (o *CancelReplicationForbidden) IsServerError() bool
- func (o *CancelReplicationForbidden) IsSuccess() bool
- func (o *CancelReplicationForbidden) String() string
- type CancelReplicationInternalServerError
- func (o *CancelReplicationInternalServerError) Code() int
- func (o *CancelReplicationInternalServerError) Error() string
- func (o *CancelReplicationInternalServerError) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationInternalServerError) IsClientError() bool
- func (o *CancelReplicationInternalServerError) IsCode(code int) bool
- func (o *CancelReplicationInternalServerError) IsRedirect() bool
- func (o *CancelReplicationInternalServerError) IsServerError() bool
- func (o *CancelReplicationInternalServerError) IsSuccess() bool
- func (o *CancelReplicationInternalServerError) String() string
- type CancelReplicationNoContent
- func (o *CancelReplicationNoContent) Code() int
- func (o *CancelReplicationNoContent) Error() string
- func (o *CancelReplicationNoContent) IsClientError() bool
- func (o *CancelReplicationNoContent) IsCode(code int) bool
- func (o *CancelReplicationNoContent) IsRedirect() bool
- func (o *CancelReplicationNoContent) IsServerError() bool
- func (o *CancelReplicationNoContent) IsSuccess() bool
- func (o *CancelReplicationNoContent) String() string
- type CancelReplicationNotFound
- func (o *CancelReplicationNotFound) Code() int
- func (o *CancelReplicationNotFound) Error() string
- func (o *CancelReplicationNotFound) IsClientError() bool
- func (o *CancelReplicationNotFound) IsCode(code int) bool
- func (o *CancelReplicationNotFound) IsRedirect() bool
- func (o *CancelReplicationNotFound) IsServerError() bool
- func (o *CancelReplicationNotFound) IsSuccess() bool
- func (o *CancelReplicationNotFound) String() string
- type CancelReplicationParams
- func NewCancelReplicationParams() *CancelReplicationParams
- func NewCancelReplicationParamsWithContext(ctx context.Context) *CancelReplicationParams
- func NewCancelReplicationParamsWithHTTPClient(client *http.Client) *CancelReplicationParams
- func NewCancelReplicationParamsWithTimeout(timeout time.Duration) *CancelReplicationParams
- func (o *CancelReplicationParams) SetContext(ctx context.Context)
- func (o *CancelReplicationParams) SetDefaults()
- func (o *CancelReplicationParams) SetHTTPClient(client *http.Client)
- func (o *CancelReplicationParams) SetID(id strfmt.UUID)
- func (o *CancelReplicationParams) SetTimeout(timeout time.Duration)
- func (o *CancelReplicationParams) WithContext(ctx context.Context) *CancelReplicationParams
- func (o *CancelReplicationParams) WithDefaults() *CancelReplicationParams
- func (o *CancelReplicationParams) WithHTTPClient(client *http.Client) *CancelReplicationParams
- func (o *CancelReplicationParams) WithID(id strfmt.UUID) *CancelReplicationParams
- func (o *CancelReplicationParams) WithTimeout(timeout time.Duration) *CancelReplicationParams
- func (o *CancelReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelReplicationReader
- type CancelReplicationUnauthorized
- func (o *CancelReplicationUnauthorized) Code() int
- func (o *CancelReplicationUnauthorized) Error() string
- func (o *CancelReplicationUnauthorized) IsClientError() bool
- func (o *CancelReplicationUnauthorized) IsCode(code int) bool
- func (o *CancelReplicationUnauthorized) IsRedirect() bool
- func (o *CancelReplicationUnauthorized) IsServerError() bool
- func (o *CancelReplicationUnauthorized) IsSuccess() bool
- func (o *CancelReplicationUnauthorized) String() string
- type Client
- func (a *Client) CancelReplication(params *CancelReplicationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelReplicationNoContent, error)
- func (a *Client) DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteReplicationNoContent, error)
- func (a *Client) Replicate(params *ReplicateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplicateOK, error)
- func (a *Client) ReplicationDetails(params *ReplicationDetailsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplicationDetailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteReplicationForbidden
- func (o *DeleteReplicationForbidden) Code() int
- func (o *DeleteReplicationForbidden) Error() string
- func (o *DeleteReplicationForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationForbidden) IsClientError() bool
- func (o *DeleteReplicationForbidden) IsCode(code int) bool
- func (o *DeleteReplicationForbidden) IsRedirect() bool
- func (o *DeleteReplicationForbidden) IsServerError() bool
- func (o *DeleteReplicationForbidden) IsSuccess() bool
- func (o *DeleteReplicationForbidden) String() string
- type DeleteReplicationInternalServerError
- func (o *DeleteReplicationInternalServerError) Code() int
- func (o *DeleteReplicationInternalServerError) Error() string
- func (o *DeleteReplicationInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationInternalServerError) IsClientError() bool
- func (o *DeleteReplicationInternalServerError) IsCode(code int) bool
- func (o *DeleteReplicationInternalServerError) IsRedirect() bool
- func (o *DeleteReplicationInternalServerError) IsServerError() bool
- func (o *DeleteReplicationInternalServerError) IsSuccess() bool
- func (o *DeleteReplicationInternalServerError) String() string
- type DeleteReplicationNoContent
- func (o *DeleteReplicationNoContent) Code() int
- func (o *DeleteReplicationNoContent) Error() string
- func (o *DeleteReplicationNoContent) IsClientError() bool
- func (o *DeleteReplicationNoContent) IsCode(code int) bool
- func (o *DeleteReplicationNoContent) IsRedirect() bool
- func (o *DeleteReplicationNoContent) IsServerError() bool
- func (o *DeleteReplicationNoContent) IsSuccess() bool
- func (o *DeleteReplicationNoContent) String() string
- type DeleteReplicationNotFound
- func (o *DeleteReplicationNotFound) Code() int
- func (o *DeleteReplicationNotFound) Error() string
- func (o *DeleteReplicationNotFound) IsClientError() bool
- func (o *DeleteReplicationNotFound) IsCode(code int) bool
- func (o *DeleteReplicationNotFound) IsRedirect() bool
- func (o *DeleteReplicationNotFound) IsServerError() bool
- func (o *DeleteReplicationNotFound) IsSuccess() bool
- func (o *DeleteReplicationNotFound) String() string
- type DeleteReplicationParams
- func NewDeleteReplicationParams() *DeleteReplicationParams
- func NewDeleteReplicationParamsWithContext(ctx context.Context) *DeleteReplicationParams
- func NewDeleteReplicationParamsWithHTTPClient(client *http.Client) *DeleteReplicationParams
- func NewDeleteReplicationParamsWithTimeout(timeout time.Duration) *DeleteReplicationParams
- func (o *DeleteReplicationParams) SetContext(ctx context.Context)
- func (o *DeleteReplicationParams) SetDefaults()
- func (o *DeleteReplicationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReplicationParams) SetID(id strfmt.UUID)
- func (o *DeleteReplicationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReplicationParams) WithContext(ctx context.Context) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithDefaults() *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithHTTPClient(client *http.Client) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithID(id strfmt.UUID) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithTimeout(timeout time.Duration) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReplicationReader
- type DeleteReplicationUnauthorized
- func (o *DeleteReplicationUnauthorized) Code() int
- func (o *DeleteReplicationUnauthorized) Error() string
- func (o *DeleteReplicationUnauthorized) IsClientError() bool
- func (o *DeleteReplicationUnauthorized) IsCode(code int) bool
- func (o *DeleteReplicationUnauthorized) IsRedirect() bool
- func (o *DeleteReplicationUnauthorized) IsServerError() bool
- func (o *DeleteReplicationUnauthorized) IsSuccess() bool
- func (o *DeleteReplicationUnauthorized) String() string
- type ReplicateBadRequest
- func (o *ReplicateBadRequest) Code() int
- func (o *ReplicateBadRequest) Error() string
- func (o *ReplicateBadRequest) GetPayload() *models.ErrorResponse
- func (o *ReplicateBadRequest) IsClientError() bool
- func (o *ReplicateBadRequest) IsCode(code int) bool
- func (o *ReplicateBadRequest) IsRedirect() bool
- func (o *ReplicateBadRequest) IsServerError() bool
- func (o *ReplicateBadRequest) IsSuccess() bool
- func (o *ReplicateBadRequest) String() string
- type ReplicateForbidden
- func (o *ReplicateForbidden) Code() int
- func (o *ReplicateForbidden) Error() string
- func (o *ReplicateForbidden) GetPayload() *models.ErrorResponse
- func (o *ReplicateForbidden) IsClientError() bool
- func (o *ReplicateForbidden) IsCode(code int) bool
- func (o *ReplicateForbidden) IsRedirect() bool
- func (o *ReplicateForbidden) IsServerError() bool
- func (o *ReplicateForbidden) IsSuccess() bool
- func (o *ReplicateForbidden) String() string
- type ReplicateInternalServerError
- func (o *ReplicateInternalServerError) Code() int
- func (o *ReplicateInternalServerError) Error() string
- func (o *ReplicateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ReplicateInternalServerError) IsClientError() bool
- func (o *ReplicateInternalServerError) IsCode(code int) bool
- func (o *ReplicateInternalServerError) IsRedirect() bool
- func (o *ReplicateInternalServerError) IsServerError() bool
- func (o *ReplicateInternalServerError) IsSuccess() bool
- func (o *ReplicateInternalServerError) String() string
- type ReplicateOK
- func (o *ReplicateOK) Code() int
- func (o *ReplicateOK) Error() string
- func (o *ReplicateOK) GetPayload() *models.ReplicationReplicateReplicaResponse
- func (o *ReplicateOK) IsClientError() bool
- func (o *ReplicateOK) IsCode(code int) bool
- func (o *ReplicateOK) IsRedirect() bool
- func (o *ReplicateOK) IsServerError() bool
- func (o *ReplicateOK) IsSuccess() bool
- func (o *ReplicateOK) String() string
- type ReplicateParams
- func (o *ReplicateParams) SetBody(body *models.ReplicationReplicateReplicaRequest)
- func (o *ReplicateParams) SetContext(ctx context.Context)
- func (o *ReplicateParams) SetDefaults()
- func (o *ReplicateParams) SetHTTPClient(client *http.Client)
- func (o *ReplicateParams) SetTimeout(timeout time.Duration)
- func (o *ReplicateParams) WithBody(body *models.ReplicationReplicateReplicaRequest) *ReplicateParams
- func (o *ReplicateParams) WithContext(ctx context.Context) *ReplicateParams
- func (o *ReplicateParams) WithDefaults() *ReplicateParams
- func (o *ReplicateParams) WithHTTPClient(client *http.Client) *ReplicateParams
- func (o *ReplicateParams) WithTimeout(timeout time.Duration) *ReplicateParams
- func (o *ReplicateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplicateReader
- type ReplicateUnauthorized
- func (o *ReplicateUnauthorized) Code() int
- func (o *ReplicateUnauthorized) Error() string
- func (o *ReplicateUnauthorized) IsClientError() bool
- func (o *ReplicateUnauthorized) IsCode(code int) bool
- func (o *ReplicateUnauthorized) IsRedirect() bool
- func (o *ReplicateUnauthorized) IsServerError() bool
- func (o *ReplicateUnauthorized) IsSuccess() bool
- func (o *ReplicateUnauthorized) String() string
- type ReplicateUnprocessableEntity
- func (o *ReplicateUnprocessableEntity) Code() int
- func (o *ReplicateUnprocessableEntity) Error() string
- func (o *ReplicateUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ReplicateUnprocessableEntity) IsClientError() bool
- func (o *ReplicateUnprocessableEntity) IsCode(code int) bool
- func (o *ReplicateUnprocessableEntity) IsRedirect() bool
- func (o *ReplicateUnprocessableEntity) IsServerError() bool
- func (o *ReplicateUnprocessableEntity) IsSuccess() bool
- func (o *ReplicateUnprocessableEntity) String() string
- type ReplicationDetailsForbidden
- func (o *ReplicationDetailsForbidden) Code() int
- func (o *ReplicationDetailsForbidden) Error() string
- func (o *ReplicationDetailsForbidden) GetPayload() *models.ErrorResponse
- func (o *ReplicationDetailsForbidden) IsClientError() bool
- func (o *ReplicationDetailsForbidden) IsCode(code int) bool
- func (o *ReplicationDetailsForbidden) IsRedirect() bool
- func (o *ReplicationDetailsForbidden) IsServerError() bool
- func (o *ReplicationDetailsForbidden) IsSuccess() bool
- func (o *ReplicationDetailsForbidden) String() string
- type ReplicationDetailsInternalServerError
- func (o *ReplicationDetailsInternalServerError) Code() int
- func (o *ReplicationDetailsInternalServerError) Error() string
- func (o *ReplicationDetailsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ReplicationDetailsInternalServerError) IsClientError() bool
- func (o *ReplicationDetailsInternalServerError) IsCode(code int) bool
- func (o *ReplicationDetailsInternalServerError) IsRedirect() bool
- func (o *ReplicationDetailsInternalServerError) IsServerError() bool
- func (o *ReplicationDetailsInternalServerError) IsSuccess() bool
- func (o *ReplicationDetailsInternalServerError) String() string
- type ReplicationDetailsNotFound
- func (o *ReplicationDetailsNotFound) Code() int
- func (o *ReplicationDetailsNotFound) Error() string
- func (o *ReplicationDetailsNotFound) IsClientError() bool
- func (o *ReplicationDetailsNotFound) IsCode(code int) bool
- func (o *ReplicationDetailsNotFound) IsRedirect() bool
- func (o *ReplicationDetailsNotFound) IsServerError() bool
- func (o *ReplicationDetailsNotFound) IsSuccess() bool
- func (o *ReplicationDetailsNotFound) String() string
- type ReplicationDetailsOK
- func (o *ReplicationDetailsOK) Code() int
- func (o *ReplicationDetailsOK) Error() string
- func (o *ReplicationDetailsOK) GetPayload() *models.ReplicationReplicateDetailsReplicaResponse
- func (o *ReplicationDetailsOK) IsClientError() bool
- func (o *ReplicationDetailsOK) IsCode(code int) bool
- func (o *ReplicationDetailsOK) IsRedirect() bool
- func (o *ReplicationDetailsOK) IsServerError() bool
- func (o *ReplicationDetailsOK) IsSuccess() bool
- func (o *ReplicationDetailsOK) String() string
- type ReplicationDetailsParams
- func NewReplicationDetailsParams() *ReplicationDetailsParams
- func NewReplicationDetailsParamsWithContext(ctx context.Context) *ReplicationDetailsParams
- func NewReplicationDetailsParamsWithHTTPClient(client *http.Client) *ReplicationDetailsParams
- func NewReplicationDetailsParamsWithTimeout(timeout time.Duration) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) SetContext(ctx context.Context)
- func (o *ReplicationDetailsParams) SetDefaults()
- func (o *ReplicationDetailsParams) SetHTTPClient(client *http.Client)
- func (o *ReplicationDetailsParams) SetID(id strfmt.UUID)
- func (o *ReplicationDetailsParams) SetIncludeHistory(includeHistory *bool)
- func (o *ReplicationDetailsParams) SetTimeout(timeout time.Duration)
- func (o *ReplicationDetailsParams) WithContext(ctx context.Context) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithDefaults() *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithHTTPClient(client *http.Client) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithID(id strfmt.UUID) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithIncludeHistory(includeHistory *bool) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithTimeout(timeout time.Duration) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplicationDetailsReader
- type ReplicationDetailsUnauthorized
- func (o *ReplicationDetailsUnauthorized) Code() int
- func (o *ReplicationDetailsUnauthorized) Error() string
- func (o *ReplicationDetailsUnauthorized) IsClientError() bool
- func (o *ReplicationDetailsUnauthorized) IsCode(code int) bool
- func (o *ReplicationDetailsUnauthorized) IsRedirect() bool
- func (o *ReplicationDetailsUnauthorized) IsServerError() bool
- func (o *ReplicationDetailsUnauthorized) IsSuccess() bool
- func (o *ReplicationDetailsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelReplicationForbidden ¶
type CancelReplicationForbidden struct {
Payload *models.ErrorResponse
}
CancelReplicationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCancelReplicationForbidden ¶
func NewCancelReplicationForbidden() *CancelReplicationForbidden
NewCancelReplicationForbidden creates a CancelReplicationForbidden with default headers values
func (*CancelReplicationForbidden) Code ¶
func (o *CancelReplicationForbidden) Code() int
Code gets the status code for the cancel replication forbidden response
func (*CancelReplicationForbidden) Error ¶
func (o *CancelReplicationForbidden) Error() string
func (*CancelReplicationForbidden) GetPayload ¶
func (o *CancelReplicationForbidden) GetPayload() *models.ErrorResponse
func (*CancelReplicationForbidden) IsClientError ¶
func (o *CancelReplicationForbidden) IsClientError() bool
IsClientError returns true when this cancel replication forbidden response has a 4xx status code
func (*CancelReplicationForbidden) IsCode ¶
func (o *CancelReplicationForbidden) IsCode(code int) bool
IsCode returns true when this cancel replication forbidden response a status code equal to that given
func (*CancelReplicationForbidden) IsRedirect ¶
func (o *CancelReplicationForbidden) IsRedirect() bool
IsRedirect returns true when this cancel replication forbidden response has a 3xx status code
func (*CancelReplicationForbidden) IsServerError ¶
func (o *CancelReplicationForbidden) IsServerError() bool
IsServerError returns true when this cancel replication forbidden response has a 5xx status code
func (*CancelReplicationForbidden) IsSuccess ¶
func (o *CancelReplicationForbidden) IsSuccess() bool
IsSuccess returns true when this cancel replication forbidden response has a 2xx status code
func (*CancelReplicationForbidden) String ¶
func (o *CancelReplicationForbidden) String() string
type CancelReplicationInternalServerError ¶
type CancelReplicationInternalServerError struct {
Payload *models.ErrorResponse
}
CancelReplicationInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewCancelReplicationInternalServerError ¶
func NewCancelReplicationInternalServerError() *CancelReplicationInternalServerError
NewCancelReplicationInternalServerError creates a CancelReplicationInternalServerError with default headers values
func (*CancelReplicationInternalServerError) Code ¶
func (o *CancelReplicationInternalServerError) Code() int
Code gets the status code for the cancel replication internal server error response
func (*CancelReplicationInternalServerError) Error ¶
func (o *CancelReplicationInternalServerError) Error() string
func (*CancelReplicationInternalServerError) GetPayload ¶
func (o *CancelReplicationInternalServerError) GetPayload() *models.ErrorResponse
func (*CancelReplicationInternalServerError) IsClientError ¶
func (o *CancelReplicationInternalServerError) IsClientError() bool
IsClientError returns true when this cancel replication internal server error response has a 4xx status code
func (*CancelReplicationInternalServerError) IsCode ¶
func (o *CancelReplicationInternalServerError) IsCode(code int) bool
IsCode returns true when this cancel replication internal server error response a status code equal to that given
func (*CancelReplicationInternalServerError) IsRedirect ¶
func (o *CancelReplicationInternalServerError) IsRedirect() bool
IsRedirect returns true when this cancel replication internal server error response has a 3xx status code
func (*CancelReplicationInternalServerError) IsServerError ¶
func (o *CancelReplicationInternalServerError) IsServerError() bool
IsServerError returns true when this cancel replication internal server error response has a 5xx status code
func (*CancelReplicationInternalServerError) IsSuccess ¶
func (o *CancelReplicationInternalServerError) IsSuccess() bool
IsSuccess returns true when this cancel replication internal server error response has a 2xx status code
func (*CancelReplicationInternalServerError) String ¶
func (o *CancelReplicationInternalServerError) String() string
type CancelReplicationNoContent ¶
type CancelReplicationNoContent struct {
}
CancelReplicationNoContent describes a response with status code 204, with default header values.
Successfully cancelled.
func NewCancelReplicationNoContent ¶
func NewCancelReplicationNoContent() *CancelReplicationNoContent
NewCancelReplicationNoContent creates a CancelReplicationNoContent with default headers values
func (*CancelReplicationNoContent) Code ¶
func (o *CancelReplicationNoContent) Code() int
Code gets the status code for the cancel replication no content response
func (*CancelReplicationNoContent) Error ¶
func (o *CancelReplicationNoContent) Error() string
func (*CancelReplicationNoContent) IsClientError ¶
func (o *CancelReplicationNoContent) IsClientError() bool
IsClientError returns true when this cancel replication no content response has a 4xx status code
func (*CancelReplicationNoContent) IsCode ¶
func (o *CancelReplicationNoContent) IsCode(code int) bool
IsCode returns true when this cancel replication no content response a status code equal to that given
func (*CancelReplicationNoContent) IsRedirect ¶
func (o *CancelReplicationNoContent) IsRedirect() bool
IsRedirect returns true when this cancel replication no content response has a 3xx status code
func (*CancelReplicationNoContent) IsServerError ¶
func (o *CancelReplicationNoContent) IsServerError() bool
IsServerError returns true when this cancel replication no content response has a 5xx status code
func (*CancelReplicationNoContent) IsSuccess ¶
func (o *CancelReplicationNoContent) IsSuccess() bool
IsSuccess returns true when this cancel replication no content response has a 2xx status code
func (*CancelReplicationNoContent) String ¶
func (o *CancelReplicationNoContent) String() string
type CancelReplicationNotFound ¶
type CancelReplicationNotFound struct {
}
CancelReplicationNotFound describes a response with status code 404, with default header values.
Shard replica operation not found
func NewCancelReplicationNotFound ¶
func NewCancelReplicationNotFound() *CancelReplicationNotFound
NewCancelReplicationNotFound creates a CancelReplicationNotFound with default headers values
func (*CancelReplicationNotFound) Code ¶
func (o *CancelReplicationNotFound) Code() int
Code gets the status code for the cancel replication not found response
func (*CancelReplicationNotFound) Error ¶
func (o *CancelReplicationNotFound) Error() string
func (*CancelReplicationNotFound) IsClientError ¶
func (o *CancelReplicationNotFound) IsClientError() bool
IsClientError returns true when this cancel replication not found response has a 4xx status code
func (*CancelReplicationNotFound) IsCode ¶
func (o *CancelReplicationNotFound) IsCode(code int) bool
IsCode returns true when this cancel replication not found response a status code equal to that given
func (*CancelReplicationNotFound) IsRedirect ¶
func (o *CancelReplicationNotFound) IsRedirect() bool
IsRedirect returns true when this cancel replication not found response has a 3xx status code
func (*CancelReplicationNotFound) IsServerError ¶
func (o *CancelReplicationNotFound) IsServerError() bool
IsServerError returns true when this cancel replication not found response has a 5xx status code
func (*CancelReplicationNotFound) IsSuccess ¶
func (o *CancelReplicationNotFound) IsSuccess() bool
IsSuccess returns true when this cancel replication not found response has a 2xx status code
func (*CancelReplicationNotFound) String ¶
func (o *CancelReplicationNotFound) String() string
type CancelReplicationParams ¶
type CancelReplicationParams struct {
/* ID.
The id of the replication operation to cancel.
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CancelReplicationParams contains all the parameters to send to the API endpoint
for the cancel replication operation. Typically these are written to a http.Request.
func NewCancelReplicationParams ¶
func NewCancelReplicationParams() *CancelReplicationParams
NewCancelReplicationParams creates a new CancelReplicationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCancelReplicationParamsWithContext ¶
func NewCancelReplicationParamsWithContext(ctx context.Context) *CancelReplicationParams
NewCancelReplicationParamsWithContext creates a new CancelReplicationParams object with the ability to set a context for a request.
func NewCancelReplicationParamsWithHTTPClient ¶
func NewCancelReplicationParamsWithHTTPClient(client *http.Client) *CancelReplicationParams
NewCancelReplicationParamsWithHTTPClient creates a new CancelReplicationParams object with the ability to set a custom HTTPClient for a request.
func NewCancelReplicationParamsWithTimeout ¶
func NewCancelReplicationParamsWithTimeout(timeout time.Duration) *CancelReplicationParams
NewCancelReplicationParamsWithTimeout creates a new CancelReplicationParams object with the ability to set a timeout on a request.
func (*CancelReplicationParams) SetContext ¶
func (o *CancelReplicationParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel replication params
func (*CancelReplicationParams) SetDefaults ¶
func (o *CancelReplicationParams) SetDefaults()
SetDefaults hydrates default values in the cancel replication params (not the query body).
All values with no default are reset to their zero value.
func (*CancelReplicationParams) SetHTTPClient ¶
func (o *CancelReplicationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel replication params
func (*CancelReplicationParams) SetID ¶
func (o *CancelReplicationParams) SetID(id strfmt.UUID)
SetID adds the id to the cancel replication params
func (*CancelReplicationParams) SetTimeout ¶
func (o *CancelReplicationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel replication params
func (*CancelReplicationParams) WithContext ¶
func (o *CancelReplicationParams) WithContext(ctx context.Context) *CancelReplicationParams
WithContext adds the context to the cancel replication params
func (*CancelReplicationParams) WithDefaults ¶
func (o *CancelReplicationParams) WithDefaults() *CancelReplicationParams
WithDefaults hydrates default values in the cancel replication params (not the query body).
All values with no default are reset to their zero value.
func (*CancelReplicationParams) WithHTTPClient ¶
func (o *CancelReplicationParams) WithHTTPClient(client *http.Client) *CancelReplicationParams
WithHTTPClient adds the HTTPClient to the cancel replication params
func (*CancelReplicationParams) WithID ¶
func (o *CancelReplicationParams) WithID(id strfmt.UUID) *CancelReplicationParams
WithID adds the id to the cancel replication params
func (*CancelReplicationParams) WithTimeout ¶
func (o *CancelReplicationParams) WithTimeout(timeout time.Duration) *CancelReplicationParams
WithTimeout adds the timeout to the cancel replication params
func (*CancelReplicationParams) WriteToRequest ¶
func (o *CancelReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelReplicationReader ¶
type CancelReplicationReader struct {
// contains filtered or unexported fields
}
CancelReplicationReader is a Reader for the CancelReplication structure.
func (*CancelReplicationReader) ReadResponse ¶
func (o *CancelReplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelReplicationUnauthorized ¶
type CancelReplicationUnauthorized struct {
}
CancelReplicationUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewCancelReplicationUnauthorized ¶
func NewCancelReplicationUnauthorized() *CancelReplicationUnauthorized
NewCancelReplicationUnauthorized creates a CancelReplicationUnauthorized with default headers values
func (*CancelReplicationUnauthorized) Code ¶
func (o *CancelReplicationUnauthorized) Code() int
Code gets the status code for the cancel replication unauthorized response
func (*CancelReplicationUnauthorized) Error ¶
func (o *CancelReplicationUnauthorized) Error() string
func (*CancelReplicationUnauthorized) IsClientError ¶
func (o *CancelReplicationUnauthorized) IsClientError() bool
IsClientError returns true when this cancel replication unauthorized response has a 4xx status code
func (*CancelReplicationUnauthorized) IsCode ¶
func (o *CancelReplicationUnauthorized) IsCode(code int) bool
IsCode returns true when this cancel replication unauthorized response a status code equal to that given
func (*CancelReplicationUnauthorized) IsRedirect ¶
func (o *CancelReplicationUnauthorized) IsRedirect() bool
IsRedirect returns true when this cancel replication unauthorized response has a 3xx status code
func (*CancelReplicationUnauthorized) IsServerError ¶
func (o *CancelReplicationUnauthorized) IsServerError() bool
IsServerError returns true when this cancel replication unauthorized response has a 5xx status code
func (*CancelReplicationUnauthorized) IsSuccess ¶
func (o *CancelReplicationUnauthorized) IsSuccess() bool
IsSuccess returns true when this cancel replication unauthorized response has a 2xx status code
func (*CancelReplicationUnauthorized) String ¶
func (o *CancelReplicationUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for replication API
func (*Client) CancelReplication ¶
func (a *Client) CancelReplication(params *CancelReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelReplicationNoContent, error)
CancelReplication cancels a replication operation
Cancels an in-progress replication operation as soon as possible but does not delete it leaving it in the unresumable CANCELLED state.
func (*Client) DeleteReplication ¶
func (a *Client) DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReplicationNoContent, error)
DeleteReplication deletes a replication operation
Deletes a replication operation. If the operation is in progress, it is cancelled and cleaned up before being deleted.
func (*Client) Replicate ¶
func (a *Client) Replicate(params *ReplicateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicateOK, error)
Replicate starts the async operation to replicate a replica between two nodes
func (*Client) ReplicationDetails ¶
func (a *Client) ReplicationDetails(params *ReplicationDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicationDetailsOK, error)
ReplicationDetails gets the details of a replication operation
Returns the details of a replication operation for a given shard, identified by the provided replication operation id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CancelReplication(params *CancelReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelReplicationNoContent, error)
DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReplicationNoContent, error)
Replicate(params *ReplicateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicateOK, error)
ReplicationDetails(params *ReplicationDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicationDetailsOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new replication API client.
type DeleteReplicationForbidden ¶
type DeleteReplicationForbidden struct {
Payload *models.ErrorResponse
}
DeleteReplicationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteReplicationForbidden ¶
func NewDeleteReplicationForbidden() *DeleteReplicationForbidden
NewDeleteReplicationForbidden creates a DeleteReplicationForbidden with default headers values
func (*DeleteReplicationForbidden) Code ¶
func (o *DeleteReplicationForbidden) Code() int
Code gets the status code for the delete replication forbidden response
func (*DeleteReplicationForbidden) Error ¶
func (o *DeleteReplicationForbidden) Error() string
func (*DeleteReplicationForbidden) GetPayload ¶
func (o *DeleteReplicationForbidden) GetPayload() *models.ErrorResponse
func (*DeleteReplicationForbidden) IsClientError ¶
func (o *DeleteReplicationForbidden) IsClientError() bool
IsClientError returns true when this delete replication forbidden response has a 4xx status code
func (*DeleteReplicationForbidden) IsCode ¶
func (o *DeleteReplicationForbidden) IsCode(code int) bool
IsCode returns true when this delete replication forbidden response a status code equal to that given
func (*DeleteReplicationForbidden) IsRedirect ¶
func (o *DeleteReplicationForbidden) IsRedirect() bool
IsRedirect returns true when this delete replication forbidden response has a 3xx status code
func (*DeleteReplicationForbidden) IsServerError ¶
func (o *DeleteReplicationForbidden) IsServerError() bool
IsServerError returns true when this delete replication forbidden response has a 5xx status code
func (*DeleteReplicationForbidden) IsSuccess ¶
func (o *DeleteReplicationForbidden) IsSuccess() bool
IsSuccess returns true when this delete replication forbidden response has a 2xx status code
func (*DeleteReplicationForbidden) String ¶
func (o *DeleteReplicationForbidden) String() string
type DeleteReplicationInternalServerError ¶
type DeleteReplicationInternalServerError struct {
Payload *models.ErrorResponse
}
DeleteReplicationInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewDeleteReplicationInternalServerError ¶
func NewDeleteReplicationInternalServerError() *DeleteReplicationInternalServerError
NewDeleteReplicationInternalServerError creates a DeleteReplicationInternalServerError with default headers values
func (*DeleteReplicationInternalServerError) Code ¶
func (o *DeleteReplicationInternalServerError) Code() int
Code gets the status code for the delete replication internal server error response
func (*DeleteReplicationInternalServerError) Error ¶
func (o *DeleteReplicationInternalServerError) Error() string
func (*DeleteReplicationInternalServerError) GetPayload ¶
func (o *DeleteReplicationInternalServerError) GetPayload() *models.ErrorResponse
func (*DeleteReplicationInternalServerError) IsClientError ¶
func (o *DeleteReplicationInternalServerError) IsClientError() bool
IsClientError returns true when this delete replication internal server error response has a 4xx status code
func (*DeleteReplicationInternalServerError) IsCode ¶
func (o *DeleteReplicationInternalServerError) IsCode(code int) bool
IsCode returns true when this delete replication internal server error response a status code equal to that given
func (*DeleteReplicationInternalServerError) IsRedirect ¶
func (o *DeleteReplicationInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete replication internal server error response has a 3xx status code
func (*DeleteReplicationInternalServerError) IsServerError ¶
func (o *DeleteReplicationInternalServerError) IsServerError() bool
IsServerError returns true when this delete replication internal server error response has a 5xx status code
func (*DeleteReplicationInternalServerError) IsSuccess ¶
func (o *DeleteReplicationInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete replication internal server error response has a 2xx status code
func (*DeleteReplicationInternalServerError) String ¶
func (o *DeleteReplicationInternalServerError) String() string
type DeleteReplicationNoContent ¶
type DeleteReplicationNoContent struct {
}
DeleteReplicationNoContent describes a response with status code 204, with default header values.
Successfully deleted.
func NewDeleteReplicationNoContent ¶
func NewDeleteReplicationNoContent() *DeleteReplicationNoContent
NewDeleteReplicationNoContent creates a DeleteReplicationNoContent with default headers values
func (*DeleteReplicationNoContent) Code ¶
func (o *DeleteReplicationNoContent) Code() int
Code gets the status code for the delete replication no content response
func (*DeleteReplicationNoContent) Error ¶
func (o *DeleteReplicationNoContent) Error() string
func (*DeleteReplicationNoContent) IsClientError ¶
func (o *DeleteReplicationNoContent) IsClientError() bool
IsClientError returns true when this delete replication no content response has a 4xx status code
func (*DeleteReplicationNoContent) IsCode ¶
func (o *DeleteReplicationNoContent) IsCode(code int) bool
IsCode returns true when this delete replication no content response a status code equal to that given
func (*DeleteReplicationNoContent) IsRedirect ¶
func (o *DeleteReplicationNoContent) IsRedirect() bool
IsRedirect returns true when this delete replication no content response has a 3xx status code
func (*DeleteReplicationNoContent) IsServerError ¶
func (o *DeleteReplicationNoContent) IsServerError() bool
IsServerError returns true when this delete replication no content response has a 5xx status code
func (*DeleteReplicationNoContent) IsSuccess ¶
func (o *DeleteReplicationNoContent) IsSuccess() bool
IsSuccess returns true when this delete replication no content response has a 2xx status code
func (*DeleteReplicationNoContent) String ¶
func (o *DeleteReplicationNoContent) String() string
type DeleteReplicationNotFound ¶
type DeleteReplicationNotFound struct {
}
DeleteReplicationNotFound describes a response with status code 404, with default header values.
Shard replica operation not found
func NewDeleteReplicationNotFound ¶
func NewDeleteReplicationNotFound() *DeleteReplicationNotFound
NewDeleteReplicationNotFound creates a DeleteReplicationNotFound with default headers values
func (*DeleteReplicationNotFound) Code ¶
func (o *DeleteReplicationNotFound) Code() int
Code gets the status code for the delete replication not found response
func (*DeleteReplicationNotFound) Error ¶
func (o *DeleteReplicationNotFound) Error() string
func (*DeleteReplicationNotFound) IsClientError ¶
func (o *DeleteReplicationNotFound) IsClientError() bool
IsClientError returns true when this delete replication not found response has a 4xx status code
func (*DeleteReplicationNotFound) IsCode ¶
func (o *DeleteReplicationNotFound) IsCode(code int) bool
IsCode returns true when this delete replication not found response a status code equal to that given
func (*DeleteReplicationNotFound) IsRedirect ¶
func (o *DeleteReplicationNotFound) IsRedirect() bool
IsRedirect returns true when this delete replication not found response has a 3xx status code
func (*DeleteReplicationNotFound) IsServerError ¶
func (o *DeleteReplicationNotFound) IsServerError() bool
IsServerError returns true when this delete replication not found response has a 5xx status code
func (*DeleteReplicationNotFound) IsSuccess ¶
func (o *DeleteReplicationNotFound) IsSuccess() bool
IsSuccess returns true when this delete replication not found response has a 2xx status code
func (*DeleteReplicationNotFound) String ¶
func (o *DeleteReplicationNotFound) String() string
type DeleteReplicationParams ¶
type DeleteReplicationParams struct {
/* ID.
The id of the replication operation to delete.
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteReplicationParams contains all the parameters to send to the API endpoint
for the delete replication operation. Typically these are written to a http.Request.
func NewDeleteReplicationParams ¶
func NewDeleteReplicationParams() *DeleteReplicationParams
NewDeleteReplicationParams creates a new DeleteReplicationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteReplicationParamsWithContext ¶
func NewDeleteReplicationParamsWithContext(ctx context.Context) *DeleteReplicationParams
NewDeleteReplicationParamsWithContext creates a new DeleteReplicationParams object with the ability to set a context for a request.
func NewDeleteReplicationParamsWithHTTPClient ¶
func NewDeleteReplicationParamsWithHTTPClient(client *http.Client) *DeleteReplicationParams
NewDeleteReplicationParamsWithHTTPClient creates a new DeleteReplicationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteReplicationParamsWithTimeout ¶
func NewDeleteReplicationParamsWithTimeout(timeout time.Duration) *DeleteReplicationParams
NewDeleteReplicationParamsWithTimeout creates a new DeleteReplicationParams object with the ability to set a timeout on a request.
func (*DeleteReplicationParams) SetContext ¶
func (o *DeleteReplicationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete replication params
func (*DeleteReplicationParams) SetDefaults ¶
func (o *DeleteReplicationParams) SetDefaults()
SetDefaults hydrates default values in the delete replication params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReplicationParams) SetHTTPClient ¶
func (o *DeleteReplicationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete replication params
func (*DeleteReplicationParams) SetID ¶
func (o *DeleteReplicationParams) SetID(id strfmt.UUID)
SetID adds the id to the delete replication params
func (*DeleteReplicationParams) SetTimeout ¶
func (o *DeleteReplicationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete replication params
func (*DeleteReplicationParams) WithContext ¶
func (o *DeleteReplicationParams) WithContext(ctx context.Context) *DeleteReplicationParams
WithContext adds the context to the delete replication params
func (*DeleteReplicationParams) WithDefaults ¶
func (o *DeleteReplicationParams) WithDefaults() *DeleteReplicationParams
WithDefaults hydrates default values in the delete replication params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReplicationParams) WithHTTPClient ¶
func (o *DeleteReplicationParams) WithHTTPClient(client *http.Client) *DeleteReplicationParams
WithHTTPClient adds the HTTPClient to the delete replication params
func (*DeleteReplicationParams) WithID ¶
func (o *DeleteReplicationParams) WithID(id strfmt.UUID) *DeleteReplicationParams
WithID adds the id to the delete replication params
func (*DeleteReplicationParams) WithTimeout ¶
func (o *DeleteReplicationParams) WithTimeout(timeout time.Duration) *DeleteReplicationParams
WithTimeout adds the timeout to the delete replication params
func (*DeleteReplicationParams) WriteToRequest ¶
func (o *DeleteReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReplicationReader ¶
type DeleteReplicationReader struct {
// contains filtered or unexported fields
}
DeleteReplicationReader is a Reader for the DeleteReplication structure.
func (*DeleteReplicationReader) ReadResponse ¶
func (o *DeleteReplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteReplicationUnauthorized ¶
type DeleteReplicationUnauthorized struct {
}
DeleteReplicationUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewDeleteReplicationUnauthorized ¶
func NewDeleteReplicationUnauthorized() *DeleteReplicationUnauthorized
NewDeleteReplicationUnauthorized creates a DeleteReplicationUnauthorized with default headers values
func (*DeleteReplicationUnauthorized) Code ¶
func (o *DeleteReplicationUnauthorized) Code() int
Code gets the status code for the delete replication unauthorized response
func (*DeleteReplicationUnauthorized) Error ¶
func (o *DeleteReplicationUnauthorized) Error() string
func (*DeleteReplicationUnauthorized) IsClientError ¶
func (o *DeleteReplicationUnauthorized) IsClientError() bool
IsClientError returns true when this delete replication unauthorized response has a 4xx status code
func (*DeleteReplicationUnauthorized) IsCode ¶
func (o *DeleteReplicationUnauthorized) IsCode(code int) bool
IsCode returns true when this delete replication unauthorized response a status code equal to that given
func (*DeleteReplicationUnauthorized) IsRedirect ¶
func (o *DeleteReplicationUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete replication unauthorized response has a 3xx status code
func (*DeleteReplicationUnauthorized) IsServerError ¶
func (o *DeleteReplicationUnauthorized) IsServerError() bool
IsServerError returns true when this delete replication unauthorized response has a 5xx status code
func (*DeleteReplicationUnauthorized) IsSuccess ¶
func (o *DeleteReplicationUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete replication unauthorized response has a 2xx status code
func (*DeleteReplicationUnauthorized) String ¶
func (o *DeleteReplicationUnauthorized) String() string
type ReplicateBadRequest ¶
type ReplicateBadRequest struct {
Payload *models.ErrorResponse
}
ReplicateBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewReplicateBadRequest ¶
func NewReplicateBadRequest() *ReplicateBadRequest
NewReplicateBadRequest creates a ReplicateBadRequest with default headers values
func (*ReplicateBadRequest) Code ¶
func (o *ReplicateBadRequest) Code() int
Code gets the status code for the replicate bad request response
func (*ReplicateBadRequest) Error ¶
func (o *ReplicateBadRequest) Error() string
func (*ReplicateBadRequest) GetPayload ¶
func (o *ReplicateBadRequest) GetPayload() *models.ErrorResponse
func (*ReplicateBadRequest) IsClientError ¶
func (o *ReplicateBadRequest) IsClientError() bool
IsClientError returns true when this replicate bad request response has a 4xx status code
func (*ReplicateBadRequest) IsCode ¶
func (o *ReplicateBadRequest) IsCode(code int) bool
IsCode returns true when this replicate bad request response a status code equal to that given
func (*ReplicateBadRequest) IsRedirect ¶
func (o *ReplicateBadRequest) IsRedirect() bool
IsRedirect returns true when this replicate bad request response has a 3xx status code
func (*ReplicateBadRequest) IsServerError ¶
func (o *ReplicateBadRequest) IsServerError() bool
IsServerError returns true when this replicate bad request response has a 5xx status code
func (*ReplicateBadRequest) IsSuccess ¶
func (o *ReplicateBadRequest) IsSuccess() bool
IsSuccess returns true when this replicate bad request response has a 2xx status code
func (*ReplicateBadRequest) String ¶
func (o *ReplicateBadRequest) String() string
type ReplicateForbidden ¶
type ReplicateForbidden struct {
Payload *models.ErrorResponse
}
ReplicateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReplicateForbidden ¶
func NewReplicateForbidden() *ReplicateForbidden
NewReplicateForbidden creates a ReplicateForbidden with default headers values
func (*ReplicateForbidden) Code ¶
func (o *ReplicateForbidden) Code() int
Code gets the status code for the replicate forbidden response
func (*ReplicateForbidden) Error ¶
func (o *ReplicateForbidden) Error() string
func (*ReplicateForbidden) GetPayload ¶
func (o *ReplicateForbidden) GetPayload() *models.ErrorResponse
func (*ReplicateForbidden) IsClientError ¶
func (o *ReplicateForbidden) IsClientError() bool
IsClientError returns true when this replicate forbidden response has a 4xx status code
func (*ReplicateForbidden) IsCode ¶
func (o *ReplicateForbidden) IsCode(code int) bool
IsCode returns true when this replicate forbidden response a status code equal to that given
func (*ReplicateForbidden) IsRedirect ¶
func (o *ReplicateForbidden) IsRedirect() bool
IsRedirect returns true when this replicate forbidden response has a 3xx status code
func (*ReplicateForbidden) IsServerError ¶
func (o *ReplicateForbidden) IsServerError() bool
IsServerError returns true when this replicate forbidden response has a 5xx status code
func (*ReplicateForbidden) IsSuccess ¶
func (o *ReplicateForbidden) IsSuccess() bool
IsSuccess returns true when this replicate forbidden response has a 2xx status code
func (*ReplicateForbidden) String ¶
func (o *ReplicateForbidden) String() string
type ReplicateInternalServerError ¶
type ReplicateInternalServerError struct {
Payload *models.ErrorResponse
}
ReplicateInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewReplicateInternalServerError ¶
func NewReplicateInternalServerError() *ReplicateInternalServerError
NewReplicateInternalServerError creates a ReplicateInternalServerError with default headers values
func (*ReplicateInternalServerError) Code ¶
func (o *ReplicateInternalServerError) Code() int
Code gets the status code for the replicate internal server error response
func (*ReplicateInternalServerError) Error ¶
func (o *ReplicateInternalServerError) Error() string
func (*ReplicateInternalServerError) GetPayload ¶
func (o *ReplicateInternalServerError) GetPayload() *models.ErrorResponse
func (*ReplicateInternalServerError) IsClientError ¶
func (o *ReplicateInternalServerError) IsClientError() bool
IsClientError returns true when this replicate internal server error response has a 4xx status code
func (*ReplicateInternalServerError) IsCode ¶
func (o *ReplicateInternalServerError) IsCode(code int) bool
IsCode returns true when this replicate internal server error response a status code equal to that given
func (*ReplicateInternalServerError) IsRedirect ¶
func (o *ReplicateInternalServerError) IsRedirect() bool
IsRedirect returns true when this replicate internal server error response has a 3xx status code
func (*ReplicateInternalServerError) IsServerError ¶
func (o *ReplicateInternalServerError) IsServerError() bool
IsServerError returns true when this replicate internal server error response has a 5xx status code
func (*ReplicateInternalServerError) IsSuccess ¶
func (o *ReplicateInternalServerError) IsSuccess() bool
IsSuccess returns true when this replicate internal server error response has a 2xx status code
func (*ReplicateInternalServerError) String ¶
func (o *ReplicateInternalServerError) String() string
type ReplicateOK ¶
type ReplicateOK struct {
Payload *models.ReplicationReplicateReplicaResponse
}
ReplicateOK describes a response with status code 200, with default header values.
Replication operation registered successfully
func NewReplicateOK ¶
func NewReplicateOK() *ReplicateOK
NewReplicateOK creates a ReplicateOK with default headers values
func (*ReplicateOK) Code ¶
func (o *ReplicateOK) Code() int
Code gets the status code for the replicate o k response
func (*ReplicateOK) Error ¶
func (o *ReplicateOK) Error() string
func (*ReplicateOK) GetPayload ¶
func (o *ReplicateOK) GetPayload() *models.ReplicationReplicateReplicaResponse
func (*ReplicateOK) IsClientError ¶
func (o *ReplicateOK) IsClientError() bool
IsClientError returns true when this replicate o k response has a 4xx status code
func (*ReplicateOK) IsCode ¶
func (o *ReplicateOK) IsCode(code int) bool
IsCode returns true when this replicate o k response a status code equal to that given
func (*ReplicateOK) IsRedirect ¶
func (o *ReplicateOK) IsRedirect() bool
IsRedirect returns true when this replicate o k response has a 3xx status code
func (*ReplicateOK) IsServerError ¶
func (o *ReplicateOK) IsServerError() bool
IsServerError returns true when this replicate o k response has a 5xx status code
func (*ReplicateOK) IsSuccess ¶
func (o *ReplicateOK) IsSuccess() bool
IsSuccess returns true when this replicate o k response has a 2xx status code
func (*ReplicateOK) String ¶
func (o *ReplicateOK) String() string
type ReplicateParams ¶
type ReplicateParams struct {
// Body.
Body *models.ReplicationReplicateReplicaRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ReplicateParams contains all the parameters to send to the API endpoint
for the replicate operation. Typically these are written to a http.Request.
func NewReplicateParams ¶
func NewReplicateParams() *ReplicateParams
NewReplicateParams creates a new ReplicateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReplicateParamsWithContext ¶
func NewReplicateParamsWithContext(ctx context.Context) *ReplicateParams
NewReplicateParamsWithContext creates a new ReplicateParams object with the ability to set a context for a request.
func NewReplicateParamsWithHTTPClient ¶
func NewReplicateParamsWithHTTPClient(client *http.Client) *ReplicateParams
NewReplicateParamsWithHTTPClient creates a new ReplicateParams object with the ability to set a custom HTTPClient for a request.
func NewReplicateParamsWithTimeout ¶
func NewReplicateParamsWithTimeout(timeout time.Duration) *ReplicateParams
NewReplicateParamsWithTimeout creates a new ReplicateParams object with the ability to set a timeout on a request.
func (*ReplicateParams) SetBody ¶
func (o *ReplicateParams) SetBody(body *models.ReplicationReplicateReplicaRequest)
SetBody adds the body to the replicate params
func (*ReplicateParams) SetContext ¶
func (o *ReplicateParams) SetContext(ctx context.Context)
SetContext adds the context to the replicate params
func (*ReplicateParams) SetDefaults ¶
func (o *ReplicateParams) SetDefaults()
SetDefaults hydrates default values in the replicate params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicateParams) SetHTTPClient ¶
func (o *ReplicateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replicate params
func (*ReplicateParams) SetTimeout ¶
func (o *ReplicateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replicate params
func (*ReplicateParams) WithBody ¶
func (o *ReplicateParams) WithBody(body *models.ReplicationReplicateReplicaRequest) *ReplicateParams
WithBody adds the body to the replicate params
func (*ReplicateParams) WithContext ¶
func (o *ReplicateParams) WithContext(ctx context.Context) *ReplicateParams
WithContext adds the context to the replicate params
func (*ReplicateParams) WithDefaults ¶
func (o *ReplicateParams) WithDefaults() *ReplicateParams
WithDefaults hydrates default values in the replicate params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicateParams) WithHTTPClient ¶
func (o *ReplicateParams) WithHTTPClient(client *http.Client) *ReplicateParams
WithHTTPClient adds the HTTPClient to the replicate params
func (*ReplicateParams) WithTimeout ¶
func (o *ReplicateParams) WithTimeout(timeout time.Duration) *ReplicateParams
WithTimeout adds the timeout to the replicate params
func (*ReplicateParams) WriteToRequest ¶
func (o *ReplicateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplicateReader ¶
type ReplicateReader struct {
// contains filtered or unexported fields
}
ReplicateReader is a Reader for the Replicate structure.
func (*ReplicateReader) ReadResponse ¶
func (o *ReplicateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplicateUnauthorized ¶
type ReplicateUnauthorized struct {
}
ReplicateUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewReplicateUnauthorized ¶
func NewReplicateUnauthorized() *ReplicateUnauthorized
NewReplicateUnauthorized creates a ReplicateUnauthorized with default headers values
func (*ReplicateUnauthorized) Code ¶
func (o *ReplicateUnauthorized) Code() int
Code gets the status code for the replicate unauthorized response
func (*ReplicateUnauthorized) Error ¶
func (o *ReplicateUnauthorized) Error() string
func (*ReplicateUnauthorized) IsClientError ¶
func (o *ReplicateUnauthorized) IsClientError() bool
IsClientError returns true when this replicate unauthorized response has a 4xx status code
func (*ReplicateUnauthorized) IsCode ¶
func (o *ReplicateUnauthorized) IsCode(code int) bool
IsCode returns true when this replicate unauthorized response a status code equal to that given
func (*ReplicateUnauthorized) IsRedirect ¶
func (o *ReplicateUnauthorized) IsRedirect() bool
IsRedirect returns true when this replicate unauthorized response has a 3xx status code
func (*ReplicateUnauthorized) IsServerError ¶
func (o *ReplicateUnauthorized) IsServerError() bool
IsServerError returns true when this replicate unauthorized response has a 5xx status code
func (*ReplicateUnauthorized) IsSuccess ¶
func (o *ReplicateUnauthorized) IsSuccess() bool
IsSuccess returns true when this replicate unauthorized response has a 2xx status code
func (*ReplicateUnauthorized) String ¶
func (o *ReplicateUnauthorized) String() string
type ReplicateUnprocessableEntity ¶
type ReplicateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ReplicateUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewReplicateUnprocessableEntity ¶
func NewReplicateUnprocessableEntity() *ReplicateUnprocessableEntity
NewReplicateUnprocessableEntity creates a ReplicateUnprocessableEntity with default headers values
func (*ReplicateUnprocessableEntity) Code ¶
func (o *ReplicateUnprocessableEntity) Code() int
Code gets the status code for the replicate unprocessable entity response
func (*ReplicateUnprocessableEntity) Error ¶
func (o *ReplicateUnprocessableEntity) Error() string
func (*ReplicateUnprocessableEntity) GetPayload ¶
func (o *ReplicateUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ReplicateUnprocessableEntity) IsClientError ¶
func (o *ReplicateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this replicate unprocessable entity response has a 4xx status code
func (*ReplicateUnprocessableEntity) IsCode ¶
func (o *ReplicateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this replicate unprocessable entity response a status code equal to that given
func (*ReplicateUnprocessableEntity) IsRedirect ¶
func (o *ReplicateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this replicate unprocessable entity response has a 3xx status code
func (*ReplicateUnprocessableEntity) IsServerError ¶
func (o *ReplicateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this replicate unprocessable entity response has a 5xx status code
func (*ReplicateUnprocessableEntity) IsSuccess ¶
func (o *ReplicateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this replicate unprocessable entity response has a 2xx status code
func (*ReplicateUnprocessableEntity) String ¶
func (o *ReplicateUnprocessableEntity) String() string
type ReplicationDetailsForbidden ¶
type ReplicationDetailsForbidden struct {
Payload *models.ErrorResponse
}
ReplicationDetailsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReplicationDetailsForbidden ¶
func NewReplicationDetailsForbidden() *ReplicationDetailsForbidden
NewReplicationDetailsForbidden creates a ReplicationDetailsForbidden with default headers values
func (*ReplicationDetailsForbidden) Code ¶
func (o *ReplicationDetailsForbidden) Code() int
Code gets the status code for the replication details forbidden response
func (*ReplicationDetailsForbidden) Error ¶
func (o *ReplicationDetailsForbidden) Error() string
func (*ReplicationDetailsForbidden) GetPayload ¶
func (o *ReplicationDetailsForbidden) GetPayload() *models.ErrorResponse
func (*ReplicationDetailsForbidden) IsClientError ¶
func (o *ReplicationDetailsForbidden) IsClientError() bool
IsClientError returns true when this replication details forbidden response has a 4xx status code
func (*ReplicationDetailsForbidden) IsCode ¶
func (o *ReplicationDetailsForbidden) IsCode(code int) bool
IsCode returns true when this replication details forbidden response a status code equal to that given
func (*ReplicationDetailsForbidden) IsRedirect ¶
func (o *ReplicationDetailsForbidden) IsRedirect() bool
IsRedirect returns true when this replication details forbidden response has a 3xx status code
func (*ReplicationDetailsForbidden) IsServerError ¶
func (o *ReplicationDetailsForbidden) IsServerError() bool
IsServerError returns true when this replication details forbidden response has a 5xx status code
func (*ReplicationDetailsForbidden) IsSuccess ¶
func (o *ReplicationDetailsForbidden) IsSuccess() bool
IsSuccess returns true when this replication details forbidden response has a 2xx status code
func (*ReplicationDetailsForbidden) String ¶
func (o *ReplicationDetailsForbidden) String() string
type ReplicationDetailsInternalServerError ¶
type ReplicationDetailsInternalServerError struct {
Payload *models.ErrorResponse
}
ReplicationDetailsInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewReplicationDetailsInternalServerError ¶
func NewReplicationDetailsInternalServerError() *ReplicationDetailsInternalServerError
NewReplicationDetailsInternalServerError creates a ReplicationDetailsInternalServerError with default headers values
func (*ReplicationDetailsInternalServerError) Code ¶
func (o *ReplicationDetailsInternalServerError) Code() int
Code gets the status code for the replication details internal server error response
func (*ReplicationDetailsInternalServerError) Error ¶
func (o *ReplicationDetailsInternalServerError) Error() string
func (*ReplicationDetailsInternalServerError) GetPayload ¶
func (o *ReplicationDetailsInternalServerError) GetPayload() *models.ErrorResponse
func (*ReplicationDetailsInternalServerError) IsClientError ¶
func (o *ReplicationDetailsInternalServerError) IsClientError() bool
IsClientError returns true when this replication details internal server error response has a 4xx status code
func (*ReplicationDetailsInternalServerError) IsCode ¶
func (o *ReplicationDetailsInternalServerError) IsCode(code int) bool
IsCode returns true when this replication details internal server error response a status code equal to that given
func (*ReplicationDetailsInternalServerError) IsRedirect ¶
func (o *ReplicationDetailsInternalServerError) IsRedirect() bool
IsRedirect returns true when this replication details internal server error response has a 3xx status code
func (*ReplicationDetailsInternalServerError) IsServerError ¶
func (o *ReplicationDetailsInternalServerError) IsServerError() bool
IsServerError returns true when this replication details internal server error response has a 5xx status code
func (*ReplicationDetailsInternalServerError) IsSuccess ¶
func (o *ReplicationDetailsInternalServerError) IsSuccess() bool
IsSuccess returns true when this replication details internal server error response has a 2xx status code
func (*ReplicationDetailsInternalServerError) String ¶
func (o *ReplicationDetailsInternalServerError) String() string
type ReplicationDetailsNotFound ¶
type ReplicationDetailsNotFound struct {
}
ReplicationDetailsNotFound describes a response with status code 404, with default header values.
Shard replica operation not found
func NewReplicationDetailsNotFound ¶
func NewReplicationDetailsNotFound() *ReplicationDetailsNotFound
NewReplicationDetailsNotFound creates a ReplicationDetailsNotFound with default headers values
func (*ReplicationDetailsNotFound) Code ¶
func (o *ReplicationDetailsNotFound) Code() int
Code gets the status code for the replication details not found response
func (*ReplicationDetailsNotFound) Error ¶
func (o *ReplicationDetailsNotFound) Error() string
func (*ReplicationDetailsNotFound) IsClientError ¶
func (o *ReplicationDetailsNotFound) IsClientError() bool
IsClientError returns true when this replication details not found response has a 4xx status code
func (*ReplicationDetailsNotFound) IsCode ¶
func (o *ReplicationDetailsNotFound) IsCode(code int) bool
IsCode returns true when this replication details not found response a status code equal to that given
func (*ReplicationDetailsNotFound) IsRedirect ¶
func (o *ReplicationDetailsNotFound) IsRedirect() bool
IsRedirect returns true when this replication details not found response has a 3xx status code
func (*ReplicationDetailsNotFound) IsServerError ¶
func (o *ReplicationDetailsNotFound) IsServerError() bool
IsServerError returns true when this replication details not found response has a 5xx status code
func (*ReplicationDetailsNotFound) IsSuccess ¶
func (o *ReplicationDetailsNotFound) IsSuccess() bool
IsSuccess returns true when this replication details not found response has a 2xx status code
func (*ReplicationDetailsNotFound) String ¶
func (o *ReplicationDetailsNotFound) String() string
type ReplicationDetailsOK ¶
type ReplicationDetailsOK struct {
Payload *models.ReplicationReplicateDetailsReplicaResponse
}
ReplicationDetailsOK describes a response with status code 200, with default header values.
The details of the replication operation.
func NewReplicationDetailsOK ¶
func NewReplicationDetailsOK() *ReplicationDetailsOK
NewReplicationDetailsOK creates a ReplicationDetailsOK with default headers values
func (*ReplicationDetailsOK) Code ¶
func (o *ReplicationDetailsOK) Code() int
Code gets the status code for the replication details o k response
func (*ReplicationDetailsOK) Error ¶
func (o *ReplicationDetailsOK) Error() string
func (*ReplicationDetailsOK) GetPayload ¶
func (o *ReplicationDetailsOK) GetPayload() *models.ReplicationReplicateDetailsReplicaResponse
func (*ReplicationDetailsOK) IsClientError ¶
func (o *ReplicationDetailsOK) IsClientError() bool
IsClientError returns true when this replication details o k response has a 4xx status code
func (*ReplicationDetailsOK) IsCode ¶
func (o *ReplicationDetailsOK) IsCode(code int) bool
IsCode returns true when this replication details o k response a status code equal to that given
func (*ReplicationDetailsOK) IsRedirect ¶
func (o *ReplicationDetailsOK) IsRedirect() bool
IsRedirect returns true when this replication details o k response has a 3xx status code
func (*ReplicationDetailsOK) IsServerError ¶
func (o *ReplicationDetailsOK) IsServerError() bool
IsServerError returns true when this replication details o k response has a 5xx status code
func (*ReplicationDetailsOK) IsSuccess ¶
func (o *ReplicationDetailsOK) IsSuccess() bool
IsSuccess returns true when this replication details o k response has a 2xx status code
func (*ReplicationDetailsOK) String ¶
func (o *ReplicationDetailsOK) String() string
type ReplicationDetailsParams ¶
type ReplicationDetailsParams struct {
/* ID.
The id of the replication operation to get details for.
Format: uuid
*/
ID strfmt.UUID
/* IncludeHistory.
Whether to include the history of the replication operation.
*/
IncludeHistory *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ReplicationDetailsParams contains all the parameters to send to the API endpoint
for the replication details operation. Typically these are written to a http.Request.
func NewReplicationDetailsParams ¶
func NewReplicationDetailsParams() *ReplicationDetailsParams
NewReplicationDetailsParams creates a new ReplicationDetailsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReplicationDetailsParamsWithContext ¶
func NewReplicationDetailsParamsWithContext(ctx context.Context) *ReplicationDetailsParams
NewReplicationDetailsParamsWithContext creates a new ReplicationDetailsParams object with the ability to set a context for a request.
func NewReplicationDetailsParamsWithHTTPClient ¶
func NewReplicationDetailsParamsWithHTTPClient(client *http.Client) *ReplicationDetailsParams
NewReplicationDetailsParamsWithHTTPClient creates a new ReplicationDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewReplicationDetailsParamsWithTimeout ¶
func NewReplicationDetailsParamsWithTimeout(timeout time.Duration) *ReplicationDetailsParams
NewReplicationDetailsParamsWithTimeout creates a new ReplicationDetailsParams object with the ability to set a timeout on a request.
func (*ReplicationDetailsParams) SetContext ¶
func (o *ReplicationDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the replication details params
func (*ReplicationDetailsParams) SetDefaults ¶
func (o *ReplicationDetailsParams) SetDefaults()
SetDefaults hydrates default values in the replication details params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicationDetailsParams) SetHTTPClient ¶
func (o *ReplicationDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replication details params
func (*ReplicationDetailsParams) SetID ¶
func (o *ReplicationDetailsParams) SetID(id strfmt.UUID)
SetID adds the id to the replication details params
func (*ReplicationDetailsParams) SetIncludeHistory ¶
func (o *ReplicationDetailsParams) SetIncludeHistory(includeHistory *bool)
SetIncludeHistory adds the includeHistory to the replication details params
func (*ReplicationDetailsParams) SetTimeout ¶
func (o *ReplicationDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replication details params
func (*ReplicationDetailsParams) WithContext ¶
func (o *ReplicationDetailsParams) WithContext(ctx context.Context) *ReplicationDetailsParams
WithContext adds the context to the replication details params
func (*ReplicationDetailsParams) WithDefaults ¶
func (o *ReplicationDetailsParams) WithDefaults() *ReplicationDetailsParams
WithDefaults hydrates default values in the replication details params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicationDetailsParams) WithHTTPClient ¶
func (o *ReplicationDetailsParams) WithHTTPClient(client *http.Client) *ReplicationDetailsParams
WithHTTPClient adds the HTTPClient to the replication details params
func (*ReplicationDetailsParams) WithID ¶
func (o *ReplicationDetailsParams) WithID(id strfmt.UUID) *ReplicationDetailsParams
WithID adds the id to the replication details params
func (*ReplicationDetailsParams) WithIncludeHistory ¶
func (o *ReplicationDetailsParams) WithIncludeHistory(includeHistory *bool) *ReplicationDetailsParams
WithIncludeHistory adds the includeHistory to the replication details params
func (*ReplicationDetailsParams) WithTimeout ¶
func (o *ReplicationDetailsParams) WithTimeout(timeout time.Duration) *ReplicationDetailsParams
WithTimeout adds the timeout to the replication details params
func (*ReplicationDetailsParams) WriteToRequest ¶
func (o *ReplicationDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplicationDetailsReader ¶
type ReplicationDetailsReader struct {
// contains filtered or unexported fields
}
ReplicationDetailsReader is a Reader for the ReplicationDetails structure.
func (*ReplicationDetailsReader) ReadResponse ¶
func (o *ReplicationDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplicationDetailsUnauthorized ¶
type ReplicationDetailsUnauthorized struct {
}
ReplicationDetailsUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewReplicationDetailsUnauthorized ¶
func NewReplicationDetailsUnauthorized() *ReplicationDetailsUnauthorized
NewReplicationDetailsUnauthorized creates a ReplicationDetailsUnauthorized with default headers values
func (*ReplicationDetailsUnauthorized) Code ¶
func (o *ReplicationDetailsUnauthorized) Code() int
Code gets the status code for the replication details unauthorized response
func (*ReplicationDetailsUnauthorized) Error ¶
func (o *ReplicationDetailsUnauthorized) Error() string
func (*ReplicationDetailsUnauthorized) IsClientError ¶
func (o *ReplicationDetailsUnauthorized) IsClientError() bool
IsClientError returns true when this replication details unauthorized response has a 4xx status code
func (*ReplicationDetailsUnauthorized) IsCode ¶
func (o *ReplicationDetailsUnauthorized) IsCode(code int) bool
IsCode returns true when this replication details unauthorized response a status code equal to that given
func (*ReplicationDetailsUnauthorized) IsRedirect ¶
func (o *ReplicationDetailsUnauthorized) IsRedirect() bool
IsRedirect returns true when this replication details unauthorized response has a 3xx status code
func (*ReplicationDetailsUnauthorized) IsServerError ¶
func (o *ReplicationDetailsUnauthorized) IsServerError() bool
IsServerError returns true when this replication details unauthorized response has a 5xx status code
func (*ReplicationDetailsUnauthorized) IsSuccess ¶
func (o *ReplicationDetailsUnauthorized) IsSuccess() bool
IsSuccess returns true when this replication details unauthorized response has a 2xx status code
func (*ReplicationDetailsUnauthorized) String ¶
func (o *ReplicationDetailsUnauthorized) String() string