replication

package
v1.31.5 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelReplicationConflict

type CancelReplicationConflict struct {
	Payload *models.ErrorResponse
}

CancelReplicationConflict describes a response with status code 409, with default header values.

The operation is not in a cancellable state, e.g. it is READY or is a MOVE op in the DEHYDRATING state.

func NewCancelReplicationConflict

func NewCancelReplicationConflict() *CancelReplicationConflict

NewCancelReplicationConflict creates a CancelReplicationConflict with default headers values

func (*CancelReplicationConflict) Code

func (o *CancelReplicationConflict) Code() int

Code gets the status code for the cancel replication conflict response

func (*CancelReplicationConflict) Error

func (o *CancelReplicationConflict) Error() string

func (*CancelReplicationConflict) GetPayload

func (*CancelReplicationConflict) IsClientError

func (o *CancelReplicationConflict) IsClientError() bool

IsClientError returns true when this cancel replication conflict response has a 4xx status code

func (*CancelReplicationConflict) IsCode

func (o *CancelReplicationConflict) IsCode(code int) bool

IsCode returns true when this cancel replication conflict response a status code equal to that given

func (*CancelReplicationConflict) IsRedirect

func (o *CancelReplicationConflict) IsRedirect() bool

IsRedirect returns true when this cancel replication conflict response has a 3xx status code

func (*CancelReplicationConflict) IsServerError

func (o *CancelReplicationConflict) IsServerError() bool

IsServerError returns true when this cancel replication conflict response has a 5xx status code

func (*CancelReplicationConflict) IsSuccess

func (o *CancelReplicationConflict) IsSuccess() bool

IsSuccess returns true when this cancel replication conflict response has a 2xx status code

func (*CancelReplicationConflict) String

func (o *CancelReplicationConflict) String() string

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 (*CancelReplicationForbidden) GetPayload

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

Code gets the status code for the cancel replication internal server error response

func (*CancelReplicationInternalServerError) Error

func (*CancelReplicationInternalServerError) GetPayload

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

IsCode returns true when this cancel replication internal server error response a status code equal to that given

func (*CancelReplicationInternalServerError) IsRedirect

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

IsSuccess returns true when this cancel replication internal server error response has a 2xx status code

func (*CancelReplicationInternalServerError) 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 (*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 CancelReplicationNotImplemented

type CancelReplicationNotImplemented struct {
	Payload *models.ErrorResponse
}

CancelReplicationNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewCancelReplicationNotImplemented

func NewCancelReplicationNotImplemented() *CancelReplicationNotImplemented

NewCancelReplicationNotImplemented creates a CancelReplicationNotImplemented with default headers values

func (*CancelReplicationNotImplemented) Code

Code gets the status code for the cancel replication not implemented response

func (*CancelReplicationNotImplemented) Error

func (*CancelReplicationNotImplemented) GetPayload

func (*CancelReplicationNotImplemented) IsClientError

func (o *CancelReplicationNotImplemented) IsClientError() bool

IsClientError returns true when this cancel replication not implemented response has a 4xx status code

func (*CancelReplicationNotImplemented) IsCode

func (o *CancelReplicationNotImplemented) IsCode(code int) bool

IsCode returns true when this cancel replication not implemented response a status code equal to that given

func (*CancelReplicationNotImplemented) IsRedirect

func (o *CancelReplicationNotImplemented) IsRedirect() bool

IsRedirect returns true when this cancel replication not implemented response has a 3xx status code

func (*CancelReplicationNotImplemented) IsServerError

func (o *CancelReplicationNotImplemented) IsServerError() bool

IsServerError returns true when this cancel replication not implemented response has a 5xx status code

func (*CancelReplicationNotImplemented) IsSuccess

func (o *CancelReplicationNotImplemented) IsSuccess() bool

IsSuccess returns true when this cancel replication not implemented response has a 2xx status code

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

WithContext adds the context to the cancel replication params

func (*CancelReplicationParams) WithDefaults

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

WithID adds the id to the cancel replication params

func (*CancelReplicationParams) WithTimeout

WithTimeout adds the timeout to the cancel replication params

func (*CancelReplicationParams) WriteToRequest

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

Code gets the status code for the cancel replication unauthorized response

func (*CancelReplicationUnauthorized) Error

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

type CancelReplicationUnprocessableEntity

type CancelReplicationUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

CancelReplicationUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewCancelReplicationUnprocessableEntity

func NewCancelReplicationUnprocessableEntity() *CancelReplicationUnprocessableEntity

NewCancelReplicationUnprocessableEntity creates a CancelReplicationUnprocessableEntity with default headers values

func (*CancelReplicationUnprocessableEntity) Code

Code gets the status code for the cancel replication unprocessable entity response

func (*CancelReplicationUnprocessableEntity) Error

func (*CancelReplicationUnprocessableEntity) GetPayload

func (*CancelReplicationUnprocessableEntity) IsClientError

func (o *CancelReplicationUnprocessableEntity) IsClientError() bool

IsClientError returns true when this cancel replication unprocessable entity response has a 4xx status code

func (*CancelReplicationUnprocessableEntity) IsCode

IsCode returns true when this cancel replication unprocessable entity response a status code equal to that given

func (*CancelReplicationUnprocessableEntity) IsRedirect

IsRedirect returns true when this cancel replication unprocessable entity response has a 3xx status code

func (*CancelReplicationUnprocessableEntity) IsServerError

func (o *CancelReplicationUnprocessableEntity) IsServerError() bool

IsServerError returns true when this cancel replication unprocessable entity response has a 5xx status code

func (*CancelReplicationUnprocessableEntity) IsSuccess

IsSuccess returns true when this cancel replication unprocessable entity response has a 2xx status code

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

Requests the cancellation of an active replication operation identified by its ID. The operation will be stopped, but its record will remain in the 'CANCELLED' state (can't be resumed) and will not be automatically deleted.

func (*Client) DeleteAllReplications

func (a *Client) DeleteAllReplications(params *DeleteAllReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllReplicationsNoContent, error)

DeleteAllReplications schedules all replication operations for deletion across all collections shards and nodes

func (*Client) DeleteReplication

func (a *Client) DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReplicationNoContent, error)

DeleteReplication deletes a replication operation

Removes a specific replication operation. If the operation is currently active, it will be cancelled and its resources cleaned up before the operation is deleted.

func (*Client) ForceDeleteReplications

func (a *Client) ForceDeleteReplications(params *ForceDeleteReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForceDeleteReplicationsOK, error)

ForceDeleteReplications forces delete replication operations

USE AT OWN RISK! Synchronously force delete operations from the FSM. This will not perform any checks on which state the operation is in so may lead to data corruption or loss. It is recommended to first scale the number of replication engine workers to 0 before calling this endpoint to ensure no operations are in-flight.

func (*Client) GetCollectionShardingState

func (a *Client) GetCollectionShardingState(params *GetCollectionShardingStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionShardingStateOK, error)

GetCollectionShardingState gets sharding state

Fetches the current sharding state, including replica locations and statuses, for all collections or a specified collection. If a shard name is provided along with a collection, the state for that specific shard is returned.

func (*Client) ListReplication

func (a *Client) ListReplication(params *ListReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListReplicationOK, error)

ListReplication lists replication operations

Retrieves a list of currently registered replication operations, optionally filtered by collection, shard, or node ID.

func (*Client) Replicate

func (a *Client) Replicate(params *ReplicateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicateOK, error)

Replicate initiates a replica movement

Begins an asynchronous operation to move or copy a specific shard replica from its current node to a designated target node. The operation involves copying data, synchronizing, and potentially decommissioning the source replica.

func (*Client) ReplicationDetails

func (a *Client) ReplicationDetails(params *ReplicationDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicationDetailsOK, error)

ReplicationDetails retrieves a replication operation

Fetches the current status and detailed information for a specific replication operation, identified by its unique ID. Optionally includes historical data of the operation's progress if requested.

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)

	DeleteAllReplications(params *DeleteAllReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllReplicationsNoContent, error)

	DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReplicationNoContent, error)

	ForceDeleteReplications(params *ForceDeleteReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForceDeleteReplicationsOK, error)

	GetCollectionShardingState(params *GetCollectionShardingStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionShardingStateOK, error)

	ListReplication(params *ListReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListReplicationOK, 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 DeleteAllReplicationsBadRequest

type DeleteAllReplicationsBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteAllReplicationsBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewDeleteAllReplicationsBadRequest

func NewDeleteAllReplicationsBadRequest() *DeleteAllReplicationsBadRequest

NewDeleteAllReplicationsBadRequest creates a DeleteAllReplicationsBadRequest with default headers values

func (*DeleteAllReplicationsBadRequest) Code

Code gets the status code for the delete all replications bad request response

func (*DeleteAllReplicationsBadRequest) Error

func (*DeleteAllReplicationsBadRequest) GetPayload

func (*DeleteAllReplicationsBadRequest) IsClientError

func (o *DeleteAllReplicationsBadRequest) IsClientError() bool

IsClientError returns true when this delete all replications bad request response has a 4xx status code

func (*DeleteAllReplicationsBadRequest) IsCode

func (o *DeleteAllReplicationsBadRequest) IsCode(code int) bool

IsCode returns true when this delete all replications bad request response a status code equal to that given

func (*DeleteAllReplicationsBadRequest) IsRedirect

func (o *DeleteAllReplicationsBadRequest) IsRedirect() bool

IsRedirect returns true when this delete all replications bad request response has a 3xx status code

func (*DeleteAllReplicationsBadRequest) IsServerError

func (o *DeleteAllReplicationsBadRequest) IsServerError() bool

IsServerError returns true when this delete all replications bad request response has a 5xx status code

func (*DeleteAllReplicationsBadRequest) IsSuccess

func (o *DeleteAllReplicationsBadRequest) IsSuccess() bool

IsSuccess returns true when this delete all replications bad request response has a 2xx status code

func (*DeleteAllReplicationsBadRequest) String

type DeleteAllReplicationsForbidden

type DeleteAllReplicationsForbidden struct {
	Payload *models.ErrorResponse
}

DeleteAllReplicationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAllReplicationsForbidden

func NewDeleteAllReplicationsForbidden() *DeleteAllReplicationsForbidden

NewDeleteAllReplicationsForbidden creates a DeleteAllReplicationsForbidden with default headers values

func (*DeleteAllReplicationsForbidden) Code

Code gets the status code for the delete all replications forbidden response

func (*DeleteAllReplicationsForbidden) Error

func (*DeleteAllReplicationsForbidden) GetPayload

func (*DeleteAllReplicationsForbidden) IsClientError

func (o *DeleteAllReplicationsForbidden) IsClientError() bool

IsClientError returns true when this delete all replications forbidden response has a 4xx status code

func (*DeleteAllReplicationsForbidden) IsCode

func (o *DeleteAllReplicationsForbidden) IsCode(code int) bool

IsCode returns true when this delete all replications forbidden response a status code equal to that given

func (*DeleteAllReplicationsForbidden) IsRedirect

func (o *DeleteAllReplicationsForbidden) IsRedirect() bool

IsRedirect returns true when this delete all replications forbidden response has a 3xx status code

func (*DeleteAllReplicationsForbidden) IsServerError

func (o *DeleteAllReplicationsForbidden) IsServerError() bool

IsServerError returns true when this delete all replications forbidden response has a 5xx status code

func (*DeleteAllReplicationsForbidden) IsSuccess

func (o *DeleteAllReplicationsForbidden) IsSuccess() bool

IsSuccess returns true when this delete all replications forbidden response has a 2xx status code

func (*DeleteAllReplicationsForbidden) String

type DeleteAllReplicationsInternalServerError

type DeleteAllReplicationsInternalServerError struct {
	Payload *models.ErrorResponse
}

DeleteAllReplicationsInternalServerError 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 NewDeleteAllReplicationsInternalServerError

func NewDeleteAllReplicationsInternalServerError() *DeleteAllReplicationsInternalServerError

NewDeleteAllReplicationsInternalServerError creates a DeleteAllReplicationsInternalServerError with default headers values

func (*DeleteAllReplicationsInternalServerError) Code

Code gets the status code for the delete all replications internal server error response

func (*DeleteAllReplicationsInternalServerError) Error

func (*DeleteAllReplicationsInternalServerError) GetPayload

func (*DeleteAllReplicationsInternalServerError) IsClientError

IsClientError returns true when this delete all replications internal server error response has a 4xx status code

func (*DeleteAllReplicationsInternalServerError) IsCode

IsCode returns true when this delete all replications internal server error response a status code equal to that given

func (*DeleteAllReplicationsInternalServerError) IsRedirect

IsRedirect returns true when this delete all replications internal server error response has a 3xx status code

func (*DeleteAllReplicationsInternalServerError) IsServerError

IsServerError returns true when this delete all replications internal server error response has a 5xx status code

func (*DeleteAllReplicationsInternalServerError) IsSuccess

IsSuccess returns true when this delete all replications internal server error response has a 2xx status code

func (*DeleteAllReplicationsInternalServerError) String

type DeleteAllReplicationsNoContent

type DeleteAllReplicationsNoContent struct {
}

DeleteAllReplicationsNoContent describes a response with status code 204, with default header values.

Replication operation registered successfully

func NewDeleteAllReplicationsNoContent

func NewDeleteAllReplicationsNoContent() *DeleteAllReplicationsNoContent

NewDeleteAllReplicationsNoContent creates a DeleteAllReplicationsNoContent with default headers values

func (*DeleteAllReplicationsNoContent) Code

Code gets the status code for the delete all replications no content response

func (*DeleteAllReplicationsNoContent) Error

func (*DeleteAllReplicationsNoContent) IsClientError

func (o *DeleteAllReplicationsNoContent) IsClientError() bool

IsClientError returns true when this delete all replications no content response has a 4xx status code

func (*DeleteAllReplicationsNoContent) IsCode

func (o *DeleteAllReplicationsNoContent) IsCode(code int) bool

IsCode returns true when this delete all replications no content response a status code equal to that given

func (*DeleteAllReplicationsNoContent) IsRedirect

func (o *DeleteAllReplicationsNoContent) IsRedirect() bool

IsRedirect returns true when this delete all replications no content response has a 3xx status code

func (*DeleteAllReplicationsNoContent) IsServerError

func (o *DeleteAllReplicationsNoContent) IsServerError() bool

IsServerError returns true when this delete all replications no content response has a 5xx status code

func (*DeleteAllReplicationsNoContent) IsSuccess

func (o *DeleteAllReplicationsNoContent) IsSuccess() bool

IsSuccess returns true when this delete all replications no content response has a 2xx status code

func (*DeleteAllReplicationsNoContent) String

type DeleteAllReplicationsNotImplemented

type DeleteAllReplicationsNotImplemented struct {
	Payload *models.ErrorResponse
}

DeleteAllReplicationsNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewDeleteAllReplicationsNotImplemented

func NewDeleteAllReplicationsNotImplemented() *DeleteAllReplicationsNotImplemented

NewDeleteAllReplicationsNotImplemented creates a DeleteAllReplicationsNotImplemented with default headers values

func (*DeleteAllReplicationsNotImplemented) Code

Code gets the status code for the delete all replications not implemented response

func (*DeleteAllReplicationsNotImplemented) Error

func (*DeleteAllReplicationsNotImplemented) GetPayload

func (*DeleteAllReplicationsNotImplemented) IsClientError

func (o *DeleteAllReplicationsNotImplemented) IsClientError() bool

IsClientError returns true when this delete all replications not implemented response has a 4xx status code

func (*DeleteAllReplicationsNotImplemented) IsCode

IsCode returns true when this delete all replications not implemented response a status code equal to that given

func (*DeleteAllReplicationsNotImplemented) IsRedirect

func (o *DeleteAllReplicationsNotImplemented) IsRedirect() bool

IsRedirect returns true when this delete all replications not implemented response has a 3xx status code

func (*DeleteAllReplicationsNotImplemented) IsServerError

func (o *DeleteAllReplicationsNotImplemented) IsServerError() bool

IsServerError returns true when this delete all replications not implemented response has a 5xx status code

func (*DeleteAllReplicationsNotImplemented) IsSuccess

IsSuccess returns true when this delete all replications not implemented response has a 2xx status code

func (*DeleteAllReplicationsNotImplemented) String

type DeleteAllReplicationsParams

type DeleteAllReplicationsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAllReplicationsParams contains all the parameters to send to the API endpoint

for the delete all replications operation.

Typically these are written to a http.Request.

func NewDeleteAllReplicationsParams

func NewDeleteAllReplicationsParams() *DeleteAllReplicationsParams

NewDeleteAllReplicationsParams creates a new DeleteAllReplicationsParams 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 NewDeleteAllReplicationsParamsWithContext

func NewDeleteAllReplicationsParamsWithContext(ctx context.Context) *DeleteAllReplicationsParams

NewDeleteAllReplicationsParamsWithContext creates a new DeleteAllReplicationsParams object with the ability to set a context for a request.

func NewDeleteAllReplicationsParamsWithHTTPClient

func NewDeleteAllReplicationsParamsWithHTTPClient(client *http.Client) *DeleteAllReplicationsParams

NewDeleteAllReplicationsParamsWithHTTPClient creates a new DeleteAllReplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAllReplicationsParamsWithTimeout

func NewDeleteAllReplicationsParamsWithTimeout(timeout time.Duration) *DeleteAllReplicationsParams

NewDeleteAllReplicationsParamsWithTimeout creates a new DeleteAllReplicationsParams object with the ability to set a timeout on a request.

func (*DeleteAllReplicationsParams) SetContext

func (o *DeleteAllReplicationsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete all replications params

func (*DeleteAllReplicationsParams) SetDefaults

func (o *DeleteAllReplicationsParams) SetDefaults()

SetDefaults hydrates default values in the delete all replications params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAllReplicationsParams) SetHTTPClient

func (o *DeleteAllReplicationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete all replications params

func (*DeleteAllReplicationsParams) SetTimeout

func (o *DeleteAllReplicationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete all replications params

func (*DeleteAllReplicationsParams) WithContext

WithContext adds the context to the delete all replications params

func (*DeleteAllReplicationsParams) WithDefaults

WithDefaults hydrates default values in the delete all replications params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAllReplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete all replications params

func (*DeleteAllReplicationsParams) WithTimeout

WithTimeout adds the timeout to the delete all replications params

func (*DeleteAllReplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAllReplicationsReader

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

DeleteAllReplicationsReader is a Reader for the DeleteAllReplications structure.

func (*DeleteAllReplicationsReader) ReadResponse

func (o *DeleteAllReplicationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAllReplicationsUnauthorized

type DeleteAllReplicationsUnauthorized struct {
}

DeleteAllReplicationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewDeleteAllReplicationsUnauthorized

func NewDeleteAllReplicationsUnauthorized() *DeleteAllReplicationsUnauthorized

NewDeleteAllReplicationsUnauthorized creates a DeleteAllReplicationsUnauthorized with default headers values

func (*DeleteAllReplicationsUnauthorized) Code

Code gets the status code for the delete all replications unauthorized response

func (*DeleteAllReplicationsUnauthorized) Error

func (*DeleteAllReplicationsUnauthorized) IsClientError

func (o *DeleteAllReplicationsUnauthorized) IsClientError() bool

IsClientError returns true when this delete all replications unauthorized response has a 4xx status code

func (*DeleteAllReplicationsUnauthorized) IsCode

func (o *DeleteAllReplicationsUnauthorized) IsCode(code int) bool

IsCode returns true when this delete all replications unauthorized response a status code equal to that given

func (*DeleteAllReplicationsUnauthorized) IsRedirect

func (o *DeleteAllReplicationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete all replications unauthorized response has a 3xx status code

func (*DeleteAllReplicationsUnauthorized) IsServerError

func (o *DeleteAllReplicationsUnauthorized) IsServerError() bool

IsServerError returns true when this delete all replications unauthorized response has a 5xx status code

func (*DeleteAllReplicationsUnauthorized) IsSuccess

func (o *DeleteAllReplicationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete all replications unauthorized response has a 2xx status code

func (*DeleteAllReplicationsUnauthorized) String

type DeleteAllReplicationsUnprocessableEntity

type DeleteAllReplicationsUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

DeleteAllReplicationsUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewDeleteAllReplicationsUnprocessableEntity

func NewDeleteAllReplicationsUnprocessableEntity() *DeleteAllReplicationsUnprocessableEntity

NewDeleteAllReplicationsUnprocessableEntity creates a DeleteAllReplicationsUnprocessableEntity with default headers values

func (*DeleteAllReplicationsUnprocessableEntity) Code

Code gets the status code for the delete all replications unprocessable entity response

func (*DeleteAllReplicationsUnprocessableEntity) Error

func (*DeleteAllReplicationsUnprocessableEntity) GetPayload

func (*DeleteAllReplicationsUnprocessableEntity) IsClientError

IsClientError returns true when this delete all replications unprocessable entity response has a 4xx status code

func (*DeleteAllReplicationsUnprocessableEntity) IsCode

IsCode returns true when this delete all replications unprocessable entity response a status code equal to that given

func (*DeleteAllReplicationsUnprocessableEntity) IsRedirect

IsRedirect returns true when this delete all replications unprocessable entity response has a 3xx status code

func (*DeleteAllReplicationsUnprocessableEntity) IsServerError

IsServerError returns true when this delete all replications unprocessable entity response has a 5xx status code

func (*DeleteAllReplicationsUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete all replications unprocessable entity response has a 2xx status code

func (*DeleteAllReplicationsUnprocessableEntity) String

type DeleteReplicationConflict

type DeleteReplicationConflict struct {
	Payload *models.ErrorResponse
}

DeleteReplicationConflict describes a response with status code 409, with default header values.

The operation is not in a deletable state, e.g. it is a MOVE op in the DEHYDRATING state.

func NewDeleteReplicationConflict

func NewDeleteReplicationConflict() *DeleteReplicationConflict

NewDeleteReplicationConflict creates a DeleteReplicationConflict with default headers values

func (*DeleteReplicationConflict) Code

func (o *DeleteReplicationConflict) Code() int

Code gets the status code for the delete replication conflict response

func (*DeleteReplicationConflict) Error

func (o *DeleteReplicationConflict) Error() string

func (*DeleteReplicationConflict) GetPayload

func (*DeleteReplicationConflict) IsClientError

func (o *DeleteReplicationConflict) IsClientError() bool

IsClientError returns true when this delete replication conflict response has a 4xx status code

func (*DeleteReplicationConflict) IsCode

func (o *DeleteReplicationConflict) IsCode(code int) bool

IsCode returns true when this delete replication conflict response a status code equal to that given

func (*DeleteReplicationConflict) IsRedirect

func (o *DeleteReplicationConflict) IsRedirect() bool

IsRedirect returns true when this delete replication conflict response has a 3xx status code

func (*DeleteReplicationConflict) IsServerError

func (o *DeleteReplicationConflict) IsServerError() bool

IsServerError returns true when this delete replication conflict response has a 5xx status code

func (*DeleteReplicationConflict) IsSuccess

func (o *DeleteReplicationConflict) IsSuccess() bool

IsSuccess returns true when this delete replication conflict response has a 2xx status code

func (*DeleteReplicationConflict) String

func (o *DeleteReplicationConflict) String() string

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 (*DeleteReplicationForbidden) GetPayload

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

Code gets the status code for the delete replication internal server error response

func (*DeleteReplicationInternalServerError) Error

func (*DeleteReplicationInternalServerError) GetPayload

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

IsCode returns true when this delete replication internal server error response a status code equal to that given

func (*DeleteReplicationInternalServerError) IsRedirect

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

IsSuccess returns true when this delete replication internal server error response has a 2xx status code

func (*DeleteReplicationInternalServerError) 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 (*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 DeleteReplicationNotImplemented

type DeleteReplicationNotImplemented struct {
	Payload *models.ErrorResponse
}

DeleteReplicationNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewDeleteReplicationNotImplemented

func NewDeleteReplicationNotImplemented() *DeleteReplicationNotImplemented

NewDeleteReplicationNotImplemented creates a DeleteReplicationNotImplemented with default headers values

func (*DeleteReplicationNotImplemented) Code

Code gets the status code for the delete replication not implemented response

func (*DeleteReplicationNotImplemented) Error

func (*DeleteReplicationNotImplemented) GetPayload

func (*DeleteReplicationNotImplemented) IsClientError

func (o *DeleteReplicationNotImplemented) IsClientError() bool

IsClientError returns true when this delete replication not implemented response has a 4xx status code

func (*DeleteReplicationNotImplemented) IsCode

func (o *DeleteReplicationNotImplemented) IsCode(code int) bool

IsCode returns true when this delete replication not implemented response a status code equal to that given

func (*DeleteReplicationNotImplemented) IsRedirect

func (o *DeleteReplicationNotImplemented) IsRedirect() bool

IsRedirect returns true when this delete replication not implemented response has a 3xx status code

func (*DeleteReplicationNotImplemented) IsServerError

func (o *DeleteReplicationNotImplemented) IsServerError() bool

IsServerError returns true when this delete replication not implemented response has a 5xx status code

func (*DeleteReplicationNotImplemented) IsSuccess

func (o *DeleteReplicationNotImplemented) IsSuccess() bool

IsSuccess returns true when this delete replication not implemented response has a 2xx status code

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

WithContext adds the context to the delete replication params

func (*DeleteReplicationParams) WithDefaults

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

WithID adds the id to the delete replication params

func (*DeleteReplicationParams) WithTimeout

WithTimeout adds the timeout to the delete replication params

func (*DeleteReplicationParams) WriteToRequest

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

Code gets the status code for the delete replication unauthorized response

func (*DeleteReplicationUnauthorized) Error

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

type DeleteReplicationUnprocessableEntity

type DeleteReplicationUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

DeleteReplicationUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewDeleteReplicationUnprocessableEntity

func NewDeleteReplicationUnprocessableEntity() *DeleteReplicationUnprocessableEntity

NewDeleteReplicationUnprocessableEntity creates a DeleteReplicationUnprocessableEntity with default headers values

func (*DeleteReplicationUnprocessableEntity) Code

Code gets the status code for the delete replication unprocessable entity response

func (*DeleteReplicationUnprocessableEntity) Error

func (*DeleteReplicationUnprocessableEntity) GetPayload

func (*DeleteReplicationUnprocessableEntity) IsClientError

func (o *DeleteReplicationUnprocessableEntity) IsClientError() bool

IsClientError returns true when this delete replication unprocessable entity response has a 4xx status code

func (*DeleteReplicationUnprocessableEntity) IsCode

IsCode returns true when this delete replication unprocessable entity response a status code equal to that given

func (*DeleteReplicationUnprocessableEntity) IsRedirect

IsRedirect returns true when this delete replication unprocessable entity response has a 3xx status code

func (*DeleteReplicationUnprocessableEntity) IsServerError

func (o *DeleteReplicationUnprocessableEntity) IsServerError() bool

IsServerError returns true when this delete replication unprocessable entity response has a 5xx status code

func (*DeleteReplicationUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete replication unprocessable entity response has a 2xx status code

func (*DeleteReplicationUnprocessableEntity) String

type ForceDeleteReplicationsBadRequest

type ForceDeleteReplicationsBadRequest struct {
	Payload *models.ErrorResponse
}

ForceDeleteReplicationsBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewForceDeleteReplicationsBadRequest

func NewForceDeleteReplicationsBadRequest() *ForceDeleteReplicationsBadRequest

NewForceDeleteReplicationsBadRequest creates a ForceDeleteReplicationsBadRequest with default headers values

func (*ForceDeleteReplicationsBadRequest) Code

Code gets the status code for the force delete replications bad request response

func (*ForceDeleteReplicationsBadRequest) Error

func (*ForceDeleteReplicationsBadRequest) GetPayload

func (*ForceDeleteReplicationsBadRequest) IsClientError

func (o *ForceDeleteReplicationsBadRequest) IsClientError() bool

IsClientError returns true when this force delete replications bad request response has a 4xx status code

func (*ForceDeleteReplicationsBadRequest) IsCode

func (o *ForceDeleteReplicationsBadRequest) IsCode(code int) bool

IsCode returns true when this force delete replications bad request response a status code equal to that given

func (*ForceDeleteReplicationsBadRequest) IsRedirect

func (o *ForceDeleteReplicationsBadRequest) IsRedirect() bool

IsRedirect returns true when this force delete replications bad request response has a 3xx status code

func (*ForceDeleteReplicationsBadRequest) IsServerError

func (o *ForceDeleteReplicationsBadRequest) IsServerError() bool

IsServerError returns true when this force delete replications bad request response has a 5xx status code

func (*ForceDeleteReplicationsBadRequest) IsSuccess

func (o *ForceDeleteReplicationsBadRequest) IsSuccess() bool

IsSuccess returns true when this force delete replications bad request response has a 2xx status code

func (*ForceDeleteReplicationsBadRequest) String

type ForceDeleteReplicationsForbidden

type ForceDeleteReplicationsForbidden struct {
	Payload *models.ErrorResponse
}

ForceDeleteReplicationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewForceDeleteReplicationsForbidden

func NewForceDeleteReplicationsForbidden() *ForceDeleteReplicationsForbidden

NewForceDeleteReplicationsForbidden creates a ForceDeleteReplicationsForbidden with default headers values

func (*ForceDeleteReplicationsForbidden) Code

Code gets the status code for the force delete replications forbidden response

func (*ForceDeleteReplicationsForbidden) Error

func (*ForceDeleteReplicationsForbidden) GetPayload

func (*ForceDeleteReplicationsForbidden) IsClientError

func (o *ForceDeleteReplicationsForbidden) IsClientError() bool

IsClientError returns true when this force delete replications forbidden response has a 4xx status code

func (*ForceDeleteReplicationsForbidden) IsCode

func (o *ForceDeleteReplicationsForbidden) IsCode(code int) bool

IsCode returns true when this force delete replications forbidden response a status code equal to that given

func (*ForceDeleteReplicationsForbidden) IsRedirect

func (o *ForceDeleteReplicationsForbidden) IsRedirect() bool

IsRedirect returns true when this force delete replications forbidden response has a 3xx status code

func (*ForceDeleteReplicationsForbidden) IsServerError

func (o *ForceDeleteReplicationsForbidden) IsServerError() bool

IsServerError returns true when this force delete replications forbidden response has a 5xx status code

func (*ForceDeleteReplicationsForbidden) IsSuccess

func (o *ForceDeleteReplicationsForbidden) IsSuccess() bool

IsSuccess returns true when this force delete replications forbidden response has a 2xx status code

func (*ForceDeleteReplicationsForbidden) String

type ForceDeleteReplicationsInternalServerError

type ForceDeleteReplicationsInternalServerError struct {
	Payload *models.ErrorResponse
}

ForceDeleteReplicationsInternalServerError 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 NewForceDeleteReplicationsInternalServerError

func NewForceDeleteReplicationsInternalServerError() *ForceDeleteReplicationsInternalServerError

NewForceDeleteReplicationsInternalServerError creates a ForceDeleteReplicationsInternalServerError with default headers values

func (*ForceDeleteReplicationsInternalServerError) Code

Code gets the status code for the force delete replications internal server error response

func (*ForceDeleteReplicationsInternalServerError) Error

func (*ForceDeleteReplicationsInternalServerError) GetPayload

func (*ForceDeleteReplicationsInternalServerError) IsClientError

IsClientError returns true when this force delete replications internal server error response has a 4xx status code

func (*ForceDeleteReplicationsInternalServerError) IsCode

IsCode returns true when this force delete replications internal server error response a status code equal to that given

func (*ForceDeleteReplicationsInternalServerError) IsRedirect

IsRedirect returns true when this force delete replications internal server error response has a 3xx status code

func (*ForceDeleteReplicationsInternalServerError) IsServerError

IsServerError returns true when this force delete replications internal server error response has a 5xx status code

func (*ForceDeleteReplicationsInternalServerError) IsSuccess

IsSuccess returns true when this force delete replications internal server error response has a 2xx status code

func (*ForceDeleteReplicationsInternalServerError) String

type ForceDeleteReplicationsOK

type ForceDeleteReplicationsOK struct {
	Payload *models.ReplicationReplicateForceDeleteResponse
}

ForceDeleteReplicationsOK describes a response with status code 200, with default header values.

Replication operations force deleted successfully.

func NewForceDeleteReplicationsOK

func NewForceDeleteReplicationsOK() *ForceDeleteReplicationsOK

NewForceDeleteReplicationsOK creates a ForceDeleteReplicationsOK with default headers values

func (*ForceDeleteReplicationsOK) Code

func (o *ForceDeleteReplicationsOK) Code() int

Code gets the status code for the force delete replications o k response

func (*ForceDeleteReplicationsOK) Error

func (o *ForceDeleteReplicationsOK) Error() string

func (*ForceDeleteReplicationsOK) GetPayload

func (*ForceDeleteReplicationsOK) IsClientError

func (o *ForceDeleteReplicationsOK) IsClientError() bool

IsClientError returns true when this force delete replications o k response has a 4xx status code

func (*ForceDeleteReplicationsOK) IsCode

func (o *ForceDeleteReplicationsOK) IsCode(code int) bool

IsCode returns true when this force delete replications o k response a status code equal to that given

func (*ForceDeleteReplicationsOK) IsRedirect

func (o *ForceDeleteReplicationsOK) IsRedirect() bool

IsRedirect returns true when this force delete replications o k response has a 3xx status code

func (*ForceDeleteReplicationsOK) IsServerError

func (o *ForceDeleteReplicationsOK) IsServerError() bool

IsServerError returns true when this force delete replications o k response has a 5xx status code

func (*ForceDeleteReplicationsOK) IsSuccess

func (o *ForceDeleteReplicationsOK) IsSuccess() bool

IsSuccess returns true when this force delete replications o k response has a 2xx status code

func (*ForceDeleteReplicationsOK) String

func (o *ForceDeleteReplicationsOK) String() string

type ForceDeleteReplicationsParams

type ForceDeleteReplicationsParams struct {

	// Body.
	Body *models.ReplicationReplicateForceDeleteRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ForceDeleteReplicationsParams contains all the parameters to send to the API endpoint

for the force delete replications operation.

Typically these are written to a http.Request.

func NewForceDeleteReplicationsParams

func NewForceDeleteReplicationsParams() *ForceDeleteReplicationsParams

NewForceDeleteReplicationsParams creates a new ForceDeleteReplicationsParams 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 NewForceDeleteReplicationsParamsWithContext

func NewForceDeleteReplicationsParamsWithContext(ctx context.Context) *ForceDeleteReplicationsParams

NewForceDeleteReplicationsParamsWithContext creates a new ForceDeleteReplicationsParams object with the ability to set a context for a request.

func NewForceDeleteReplicationsParamsWithHTTPClient

func NewForceDeleteReplicationsParamsWithHTTPClient(client *http.Client) *ForceDeleteReplicationsParams

NewForceDeleteReplicationsParamsWithHTTPClient creates a new ForceDeleteReplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewForceDeleteReplicationsParamsWithTimeout

func NewForceDeleteReplicationsParamsWithTimeout(timeout time.Duration) *ForceDeleteReplicationsParams

NewForceDeleteReplicationsParamsWithTimeout creates a new ForceDeleteReplicationsParams object with the ability to set a timeout on a request.

func (*ForceDeleteReplicationsParams) SetBody

SetBody adds the body to the force delete replications params

func (*ForceDeleteReplicationsParams) SetContext

func (o *ForceDeleteReplicationsParams) SetContext(ctx context.Context)

SetContext adds the context to the force delete replications params

func (*ForceDeleteReplicationsParams) SetDefaults

func (o *ForceDeleteReplicationsParams) SetDefaults()

SetDefaults hydrates default values in the force delete replications params (not the query body).

All values with no default are reset to their zero value.

func (*ForceDeleteReplicationsParams) SetHTTPClient

func (o *ForceDeleteReplicationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the force delete replications params

func (*ForceDeleteReplicationsParams) SetTimeout

func (o *ForceDeleteReplicationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the force delete replications params

func (*ForceDeleteReplicationsParams) WithBody

WithBody adds the body to the force delete replications params

func (*ForceDeleteReplicationsParams) WithContext

WithContext adds the context to the force delete replications params

func (*ForceDeleteReplicationsParams) WithDefaults

WithDefaults hydrates default values in the force delete replications params (not the query body).

All values with no default are reset to their zero value.

func (*ForceDeleteReplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the force delete replications params

func (*ForceDeleteReplicationsParams) WithTimeout

WithTimeout adds the timeout to the force delete replications params

func (*ForceDeleteReplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForceDeleteReplicationsReader

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

ForceDeleteReplicationsReader is a Reader for the ForceDeleteReplications structure.

func (*ForceDeleteReplicationsReader) ReadResponse

func (o *ForceDeleteReplicationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ForceDeleteReplicationsUnauthorized

type ForceDeleteReplicationsUnauthorized struct {
}

ForceDeleteReplicationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewForceDeleteReplicationsUnauthorized

func NewForceDeleteReplicationsUnauthorized() *ForceDeleteReplicationsUnauthorized

NewForceDeleteReplicationsUnauthorized creates a ForceDeleteReplicationsUnauthorized with default headers values

func (*ForceDeleteReplicationsUnauthorized) Code

Code gets the status code for the force delete replications unauthorized response

func (*ForceDeleteReplicationsUnauthorized) Error

func (*ForceDeleteReplicationsUnauthorized) IsClientError

func (o *ForceDeleteReplicationsUnauthorized) IsClientError() bool

IsClientError returns true when this force delete replications unauthorized response has a 4xx status code

func (*ForceDeleteReplicationsUnauthorized) IsCode

IsCode returns true when this force delete replications unauthorized response a status code equal to that given

func (*ForceDeleteReplicationsUnauthorized) IsRedirect

func (o *ForceDeleteReplicationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this force delete replications unauthorized response has a 3xx status code

func (*ForceDeleteReplicationsUnauthorized) IsServerError

func (o *ForceDeleteReplicationsUnauthorized) IsServerError() bool

IsServerError returns true when this force delete replications unauthorized response has a 5xx status code

func (*ForceDeleteReplicationsUnauthorized) IsSuccess

IsSuccess returns true when this force delete replications unauthorized response has a 2xx status code

func (*ForceDeleteReplicationsUnauthorized) String

type ForceDeleteReplicationsUnprocessableEntity

type ForceDeleteReplicationsUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

ForceDeleteReplicationsUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewForceDeleteReplicationsUnprocessableEntity

func NewForceDeleteReplicationsUnprocessableEntity() *ForceDeleteReplicationsUnprocessableEntity

NewForceDeleteReplicationsUnprocessableEntity creates a ForceDeleteReplicationsUnprocessableEntity with default headers values

func (*ForceDeleteReplicationsUnprocessableEntity) Code

Code gets the status code for the force delete replications unprocessable entity response

func (*ForceDeleteReplicationsUnprocessableEntity) Error

func (*ForceDeleteReplicationsUnprocessableEntity) GetPayload

func (*ForceDeleteReplicationsUnprocessableEntity) IsClientError

IsClientError returns true when this force delete replications unprocessable entity response has a 4xx status code

func (*ForceDeleteReplicationsUnprocessableEntity) IsCode

IsCode returns true when this force delete replications unprocessable entity response a status code equal to that given

func (*ForceDeleteReplicationsUnprocessableEntity) IsRedirect

IsRedirect returns true when this force delete replications unprocessable entity response has a 3xx status code

func (*ForceDeleteReplicationsUnprocessableEntity) IsServerError

IsServerError returns true when this force delete replications unprocessable entity response has a 5xx status code

func (*ForceDeleteReplicationsUnprocessableEntity) IsSuccess

IsSuccess returns true when this force delete replications unprocessable entity response has a 2xx status code

func (*ForceDeleteReplicationsUnprocessableEntity) String

type GetCollectionShardingStateBadRequest

type GetCollectionShardingStateBadRequest struct {
	Payload *models.ErrorResponse
}

GetCollectionShardingStateBadRequest describes a response with status code 400, with default header values.

Bad request.

func NewGetCollectionShardingStateBadRequest

func NewGetCollectionShardingStateBadRequest() *GetCollectionShardingStateBadRequest

NewGetCollectionShardingStateBadRequest creates a GetCollectionShardingStateBadRequest with default headers values

func (*GetCollectionShardingStateBadRequest) Code

Code gets the status code for the get collection sharding state bad request response

func (*GetCollectionShardingStateBadRequest) Error

func (*GetCollectionShardingStateBadRequest) GetPayload

func (*GetCollectionShardingStateBadRequest) IsClientError

func (o *GetCollectionShardingStateBadRequest) IsClientError() bool

IsClientError returns true when this get collection sharding state bad request response has a 4xx status code

func (*GetCollectionShardingStateBadRequest) IsCode

IsCode returns true when this get collection sharding state bad request response a status code equal to that given

func (*GetCollectionShardingStateBadRequest) IsRedirect

IsRedirect returns true when this get collection sharding state bad request response has a 3xx status code

func (*GetCollectionShardingStateBadRequest) IsServerError

func (o *GetCollectionShardingStateBadRequest) IsServerError() bool

IsServerError returns true when this get collection sharding state bad request response has a 5xx status code

func (*GetCollectionShardingStateBadRequest) IsSuccess

IsSuccess returns true when this get collection sharding state bad request response has a 2xx status code

func (*GetCollectionShardingStateBadRequest) String

type GetCollectionShardingStateForbidden

type GetCollectionShardingStateForbidden struct {
	Payload *models.ErrorResponse
}

GetCollectionShardingStateForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCollectionShardingStateForbidden

func NewGetCollectionShardingStateForbidden() *GetCollectionShardingStateForbidden

NewGetCollectionShardingStateForbidden creates a GetCollectionShardingStateForbidden with default headers values

func (*GetCollectionShardingStateForbidden) Code

Code gets the status code for the get collection sharding state forbidden response

func (*GetCollectionShardingStateForbidden) Error

func (*GetCollectionShardingStateForbidden) GetPayload

func (*GetCollectionShardingStateForbidden) IsClientError

func (o *GetCollectionShardingStateForbidden) IsClientError() bool

IsClientError returns true when this get collection sharding state forbidden response has a 4xx status code

func (*GetCollectionShardingStateForbidden) IsCode

IsCode returns true when this get collection sharding state forbidden response a status code equal to that given

func (*GetCollectionShardingStateForbidden) IsRedirect

func (o *GetCollectionShardingStateForbidden) IsRedirect() bool

IsRedirect returns true when this get collection sharding state forbidden response has a 3xx status code

func (*GetCollectionShardingStateForbidden) IsServerError

func (o *GetCollectionShardingStateForbidden) IsServerError() bool

IsServerError returns true when this get collection sharding state forbidden response has a 5xx status code

func (*GetCollectionShardingStateForbidden) IsSuccess

IsSuccess returns true when this get collection sharding state forbidden response has a 2xx status code

func (*GetCollectionShardingStateForbidden) String

type GetCollectionShardingStateInternalServerError

type GetCollectionShardingStateInternalServerError struct {
	Payload *models.ErrorResponse
}

GetCollectionShardingStateInternalServerError 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 NewGetCollectionShardingStateInternalServerError

func NewGetCollectionShardingStateInternalServerError() *GetCollectionShardingStateInternalServerError

NewGetCollectionShardingStateInternalServerError creates a GetCollectionShardingStateInternalServerError with default headers values

func (*GetCollectionShardingStateInternalServerError) Code

Code gets the status code for the get collection sharding state internal server error response

func (*GetCollectionShardingStateInternalServerError) Error

func (*GetCollectionShardingStateInternalServerError) GetPayload

func (*GetCollectionShardingStateInternalServerError) IsClientError

IsClientError returns true when this get collection sharding state internal server error response has a 4xx status code

func (*GetCollectionShardingStateInternalServerError) IsCode

IsCode returns true when this get collection sharding state internal server error response a status code equal to that given

func (*GetCollectionShardingStateInternalServerError) IsRedirect

IsRedirect returns true when this get collection sharding state internal server error response has a 3xx status code

func (*GetCollectionShardingStateInternalServerError) IsServerError

IsServerError returns true when this get collection sharding state internal server error response has a 5xx status code

func (*GetCollectionShardingStateInternalServerError) IsSuccess

IsSuccess returns true when this get collection sharding state internal server error response has a 2xx status code

func (*GetCollectionShardingStateInternalServerError) String

type GetCollectionShardingStateNotFound

type GetCollectionShardingStateNotFound struct {
	Payload *models.ErrorResponse
}

GetCollectionShardingStateNotFound describes a response with status code 404, with default header values.

Collection or shard not found.

func NewGetCollectionShardingStateNotFound

func NewGetCollectionShardingStateNotFound() *GetCollectionShardingStateNotFound

NewGetCollectionShardingStateNotFound creates a GetCollectionShardingStateNotFound with default headers values

func (*GetCollectionShardingStateNotFound) Code

Code gets the status code for the get collection sharding state not found response

func (*GetCollectionShardingStateNotFound) Error

func (*GetCollectionShardingStateNotFound) GetPayload

func (*GetCollectionShardingStateNotFound) IsClientError

func (o *GetCollectionShardingStateNotFound) IsClientError() bool

IsClientError returns true when this get collection sharding state not found response has a 4xx status code

func (*GetCollectionShardingStateNotFound) IsCode

IsCode returns true when this get collection sharding state not found response a status code equal to that given

func (*GetCollectionShardingStateNotFound) IsRedirect

func (o *GetCollectionShardingStateNotFound) IsRedirect() bool

IsRedirect returns true when this get collection sharding state not found response has a 3xx status code

func (*GetCollectionShardingStateNotFound) IsServerError

func (o *GetCollectionShardingStateNotFound) IsServerError() bool

IsServerError returns true when this get collection sharding state not found response has a 5xx status code

func (*GetCollectionShardingStateNotFound) IsSuccess

IsSuccess returns true when this get collection sharding state not found response has a 2xx status code

func (*GetCollectionShardingStateNotFound) String

type GetCollectionShardingStateNotImplemented

type GetCollectionShardingStateNotImplemented struct {
	Payload *models.ErrorResponse
}

GetCollectionShardingStateNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewGetCollectionShardingStateNotImplemented

func NewGetCollectionShardingStateNotImplemented() *GetCollectionShardingStateNotImplemented

NewGetCollectionShardingStateNotImplemented creates a GetCollectionShardingStateNotImplemented with default headers values

func (*GetCollectionShardingStateNotImplemented) Code

Code gets the status code for the get collection sharding state not implemented response

func (*GetCollectionShardingStateNotImplemented) Error

func (*GetCollectionShardingStateNotImplemented) GetPayload

func (*GetCollectionShardingStateNotImplemented) IsClientError

IsClientError returns true when this get collection sharding state not implemented response has a 4xx status code

func (*GetCollectionShardingStateNotImplemented) IsCode

IsCode returns true when this get collection sharding state not implemented response a status code equal to that given

func (*GetCollectionShardingStateNotImplemented) IsRedirect

IsRedirect returns true when this get collection sharding state not implemented response has a 3xx status code

func (*GetCollectionShardingStateNotImplemented) IsServerError

IsServerError returns true when this get collection sharding state not implemented response has a 5xx status code

func (*GetCollectionShardingStateNotImplemented) IsSuccess

IsSuccess returns true when this get collection sharding state not implemented response has a 2xx status code

func (*GetCollectionShardingStateNotImplemented) String

type GetCollectionShardingStateOK

type GetCollectionShardingStateOK struct {
	Payload *models.ReplicationShardingStateResponse
}

GetCollectionShardingStateOK describes a response with status code 200, with default header values.

Successfully retrieved sharding state.

func NewGetCollectionShardingStateOK

func NewGetCollectionShardingStateOK() *GetCollectionShardingStateOK

NewGetCollectionShardingStateOK creates a GetCollectionShardingStateOK with default headers values

func (*GetCollectionShardingStateOK) Code

Code gets the status code for the get collection sharding state o k response

func (*GetCollectionShardingStateOK) Error

func (*GetCollectionShardingStateOK) GetPayload

func (*GetCollectionShardingStateOK) IsClientError

func (o *GetCollectionShardingStateOK) IsClientError() bool

IsClientError returns true when this get collection sharding state o k response has a 4xx status code

func (*GetCollectionShardingStateOK) IsCode

func (o *GetCollectionShardingStateOK) IsCode(code int) bool

IsCode returns true when this get collection sharding state o k response a status code equal to that given

func (*GetCollectionShardingStateOK) IsRedirect

func (o *GetCollectionShardingStateOK) IsRedirect() bool

IsRedirect returns true when this get collection sharding state o k response has a 3xx status code

func (*GetCollectionShardingStateOK) IsServerError

func (o *GetCollectionShardingStateOK) IsServerError() bool

IsServerError returns true when this get collection sharding state o k response has a 5xx status code

func (*GetCollectionShardingStateOK) IsSuccess

func (o *GetCollectionShardingStateOK) IsSuccess() bool

IsSuccess returns true when this get collection sharding state o k response has a 2xx status code

func (*GetCollectionShardingStateOK) String

type GetCollectionShardingStateParams

type GetCollectionShardingStateParams struct {

	/* Collection.

	   The collection name to get the sharding state for.
	*/
	Collection *string

	/* Shard.

	   The shard to get the sharding state for.
	*/
	Shard *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCollectionShardingStateParams contains all the parameters to send to the API endpoint

for the get collection sharding state operation.

Typically these are written to a http.Request.

func NewGetCollectionShardingStateParams

func NewGetCollectionShardingStateParams() *GetCollectionShardingStateParams

NewGetCollectionShardingStateParams creates a new GetCollectionShardingStateParams 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 NewGetCollectionShardingStateParamsWithContext

func NewGetCollectionShardingStateParamsWithContext(ctx context.Context) *GetCollectionShardingStateParams

NewGetCollectionShardingStateParamsWithContext creates a new GetCollectionShardingStateParams object with the ability to set a context for a request.

func NewGetCollectionShardingStateParamsWithHTTPClient

func NewGetCollectionShardingStateParamsWithHTTPClient(client *http.Client) *GetCollectionShardingStateParams

NewGetCollectionShardingStateParamsWithHTTPClient creates a new GetCollectionShardingStateParams object with the ability to set a custom HTTPClient for a request.

func NewGetCollectionShardingStateParamsWithTimeout

func NewGetCollectionShardingStateParamsWithTimeout(timeout time.Duration) *GetCollectionShardingStateParams

NewGetCollectionShardingStateParamsWithTimeout creates a new GetCollectionShardingStateParams object with the ability to set a timeout on a request.

func (*GetCollectionShardingStateParams) SetCollection

func (o *GetCollectionShardingStateParams) SetCollection(collection *string)

SetCollection adds the collection to the get collection sharding state params

func (*GetCollectionShardingStateParams) SetContext

SetContext adds the context to the get collection sharding state params

func (*GetCollectionShardingStateParams) SetDefaults

func (o *GetCollectionShardingStateParams) SetDefaults()

SetDefaults hydrates default values in the get collection sharding state params (not the query body).

All values with no default are reset to their zero value.

func (*GetCollectionShardingStateParams) SetHTTPClient

func (o *GetCollectionShardingStateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get collection sharding state params

func (*GetCollectionShardingStateParams) SetShard

func (o *GetCollectionShardingStateParams) SetShard(shard *string)

SetShard adds the shard to the get collection sharding state params

func (*GetCollectionShardingStateParams) SetTimeout

func (o *GetCollectionShardingStateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get collection sharding state params

func (*GetCollectionShardingStateParams) WithCollection

WithCollection adds the collection to the get collection sharding state params

func (*GetCollectionShardingStateParams) WithContext

WithContext adds the context to the get collection sharding state params

func (*GetCollectionShardingStateParams) WithDefaults

WithDefaults hydrates default values in the get collection sharding state params (not the query body).

All values with no default are reset to their zero value.

func (*GetCollectionShardingStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get collection sharding state params

func (*GetCollectionShardingStateParams) WithShard

WithShard adds the shard to the get collection sharding state params

func (*GetCollectionShardingStateParams) WithTimeout

WithTimeout adds the timeout to the get collection sharding state params

func (*GetCollectionShardingStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCollectionShardingStateReader

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

GetCollectionShardingStateReader is a Reader for the GetCollectionShardingState structure.

func (*GetCollectionShardingStateReader) ReadResponse

func (o *GetCollectionShardingStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCollectionShardingStateUnauthorized

type GetCollectionShardingStateUnauthorized struct {
}

GetCollectionShardingStateUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewGetCollectionShardingStateUnauthorized

func NewGetCollectionShardingStateUnauthorized() *GetCollectionShardingStateUnauthorized

NewGetCollectionShardingStateUnauthorized creates a GetCollectionShardingStateUnauthorized with default headers values

func (*GetCollectionShardingStateUnauthorized) Code

Code gets the status code for the get collection sharding state unauthorized response

func (*GetCollectionShardingStateUnauthorized) Error

func (*GetCollectionShardingStateUnauthorized) IsClientError

func (o *GetCollectionShardingStateUnauthorized) IsClientError() bool

IsClientError returns true when this get collection sharding state unauthorized response has a 4xx status code

func (*GetCollectionShardingStateUnauthorized) IsCode

IsCode returns true when this get collection sharding state unauthorized response a status code equal to that given

func (*GetCollectionShardingStateUnauthorized) IsRedirect

IsRedirect returns true when this get collection sharding state unauthorized response has a 3xx status code

func (*GetCollectionShardingStateUnauthorized) IsServerError

func (o *GetCollectionShardingStateUnauthorized) IsServerError() bool

IsServerError returns true when this get collection sharding state unauthorized response has a 5xx status code

func (*GetCollectionShardingStateUnauthorized) IsSuccess

IsSuccess returns true when this get collection sharding state unauthorized response has a 2xx status code

func (*GetCollectionShardingStateUnauthorized) String

type ListReplicationBadRequest

type ListReplicationBadRequest struct {
	Payload *models.ErrorResponse
}

ListReplicationBadRequest describes a response with status code 400, with default header values.

Bad request.

func NewListReplicationBadRequest

func NewListReplicationBadRequest() *ListReplicationBadRequest

NewListReplicationBadRequest creates a ListReplicationBadRequest with default headers values

func (*ListReplicationBadRequest) Code

func (o *ListReplicationBadRequest) Code() int

Code gets the status code for the list replication bad request response

func (*ListReplicationBadRequest) Error

func (o *ListReplicationBadRequest) Error() string

func (*ListReplicationBadRequest) GetPayload

func (*ListReplicationBadRequest) IsClientError

func (o *ListReplicationBadRequest) IsClientError() bool

IsClientError returns true when this list replication bad request response has a 4xx status code

func (*ListReplicationBadRequest) IsCode

func (o *ListReplicationBadRequest) IsCode(code int) bool

IsCode returns true when this list replication bad request response a status code equal to that given

func (*ListReplicationBadRequest) IsRedirect

func (o *ListReplicationBadRequest) IsRedirect() bool

IsRedirect returns true when this list replication bad request response has a 3xx status code

func (*ListReplicationBadRequest) IsServerError

func (o *ListReplicationBadRequest) IsServerError() bool

IsServerError returns true when this list replication bad request response has a 5xx status code

func (*ListReplicationBadRequest) IsSuccess

func (o *ListReplicationBadRequest) IsSuccess() bool

IsSuccess returns true when this list replication bad request response has a 2xx status code

func (*ListReplicationBadRequest) String

func (o *ListReplicationBadRequest) String() string

type ListReplicationForbidden

type ListReplicationForbidden struct {
	Payload *models.ErrorResponse
}

ListReplicationForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListReplicationForbidden

func NewListReplicationForbidden() *ListReplicationForbidden

NewListReplicationForbidden creates a ListReplicationForbidden with default headers values

func (*ListReplicationForbidden) Code

func (o *ListReplicationForbidden) Code() int

Code gets the status code for the list replication forbidden response

func (*ListReplicationForbidden) Error

func (o *ListReplicationForbidden) Error() string

func (*ListReplicationForbidden) GetPayload

func (*ListReplicationForbidden) IsClientError

func (o *ListReplicationForbidden) IsClientError() bool

IsClientError returns true when this list replication forbidden response has a 4xx status code

func (*ListReplicationForbidden) IsCode

func (o *ListReplicationForbidden) IsCode(code int) bool

IsCode returns true when this list replication forbidden response a status code equal to that given

func (*ListReplicationForbidden) IsRedirect

func (o *ListReplicationForbidden) IsRedirect() bool

IsRedirect returns true when this list replication forbidden response has a 3xx status code

func (*ListReplicationForbidden) IsServerError

func (o *ListReplicationForbidden) IsServerError() bool

IsServerError returns true when this list replication forbidden response has a 5xx status code

func (*ListReplicationForbidden) IsSuccess

func (o *ListReplicationForbidden) IsSuccess() bool

IsSuccess returns true when this list replication forbidden response has a 2xx status code

func (*ListReplicationForbidden) String

func (o *ListReplicationForbidden) String() string

type ListReplicationInternalServerError

type ListReplicationInternalServerError struct {
	Payload *models.ErrorResponse
}

ListReplicationInternalServerError 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 NewListReplicationInternalServerError

func NewListReplicationInternalServerError() *ListReplicationInternalServerError

NewListReplicationInternalServerError creates a ListReplicationInternalServerError with default headers values

func (*ListReplicationInternalServerError) Code

Code gets the status code for the list replication internal server error response

func (*ListReplicationInternalServerError) Error

func (*ListReplicationInternalServerError) GetPayload

func (*ListReplicationInternalServerError) IsClientError

func (o *ListReplicationInternalServerError) IsClientError() bool

IsClientError returns true when this list replication internal server error response has a 4xx status code

func (*ListReplicationInternalServerError) IsCode

IsCode returns true when this list replication internal server error response a status code equal to that given

func (*ListReplicationInternalServerError) IsRedirect

func (o *ListReplicationInternalServerError) IsRedirect() bool

IsRedirect returns true when this list replication internal server error response has a 3xx status code

func (*ListReplicationInternalServerError) IsServerError

func (o *ListReplicationInternalServerError) IsServerError() bool

IsServerError returns true when this list replication internal server error response has a 5xx status code

func (*ListReplicationInternalServerError) IsSuccess

IsSuccess returns true when this list replication internal server error response has a 2xx status code

func (*ListReplicationInternalServerError) String

type ListReplicationNotFound

type ListReplicationNotFound struct {
	Payload *models.ErrorResponse
}

ListReplicationNotFound describes a response with status code 404, with default header values.

Shard replica operation not found.

func NewListReplicationNotFound

func NewListReplicationNotFound() *ListReplicationNotFound

NewListReplicationNotFound creates a ListReplicationNotFound with default headers values

func (*ListReplicationNotFound) Code

func (o *ListReplicationNotFound) Code() int

Code gets the status code for the list replication not found response

func (*ListReplicationNotFound) Error

func (o *ListReplicationNotFound) Error() string

func (*ListReplicationNotFound) GetPayload

func (o *ListReplicationNotFound) GetPayload() *models.ErrorResponse

func (*ListReplicationNotFound) IsClientError

func (o *ListReplicationNotFound) IsClientError() bool

IsClientError returns true when this list replication not found response has a 4xx status code

func (*ListReplicationNotFound) IsCode

func (o *ListReplicationNotFound) IsCode(code int) bool

IsCode returns true when this list replication not found response a status code equal to that given

func (*ListReplicationNotFound) IsRedirect

func (o *ListReplicationNotFound) IsRedirect() bool

IsRedirect returns true when this list replication not found response has a 3xx status code

func (*ListReplicationNotFound) IsServerError

func (o *ListReplicationNotFound) IsServerError() bool

IsServerError returns true when this list replication not found response has a 5xx status code

func (*ListReplicationNotFound) IsSuccess

func (o *ListReplicationNotFound) IsSuccess() bool

IsSuccess returns true when this list replication not found response has a 2xx status code

func (*ListReplicationNotFound) String

func (o *ListReplicationNotFound) String() string

type ListReplicationNotImplemented

type ListReplicationNotImplemented struct {
	Payload *models.ErrorResponse
}

ListReplicationNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewListReplicationNotImplemented

func NewListReplicationNotImplemented() *ListReplicationNotImplemented

NewListReplicationNotImplemented creates a ListReplicationNotImplemented with default headers values

func (*ListReplicationNotImplemented) Code

Code gets the status code for the list replication not implemented response

func (*ListReplicationNotImplemented) Error

func (*ListReplicationNotImplemented) GetPayload

func (*ListReplicationNotImplemented) IsClientError

func (o *ListReplicationNotImplemented) IsClientError() bool

IsClientError returns true when this list replication not implemented response has a 4xx status code

func (*ListReplicationNotImplemented) IsCode

func (o *ListReplicationNotImplemented) IsCode(code int) bool

IsCode returns true when this list replication not implemented response a status code equal to that given

func (*ListReplicationNotImplemented) IsRedirect

func (o *ListReplicationNotImplemented) IsRedirect() bool

IsRedirect returns true when this list replication not implemented response has a 3xx status code

func (*ListReplicationNotImplemented) IsServerError

func (o *ListReplicationNotImplemented) IsServerError() bool

IsServerError returns true when this list replication not implemented response has a 5xx status code

func (*ListReplicationNotImplemented) IsSuccess

func (o *ListReplicationNotImplemented) IsSuccess() bool

IsSuccess returns true when this list replication not implemented response has a 2xx status code

func (*ListReplicationNotImplemented) String

type ListReplicationOK

type ListReplicationOK struct {
	Payload []*models.ReplicationReplicateDetailsReplicaResponse
}

ListReplicationOK describes a response with status code 200, with default header values.

The details of the replication operations.

func NewListReplicationOK

func NewListReplicationOK() *ListReplicationOK

NewListReplicationOK creates a ListReplicationOK with default headers values

func (*ListReplicationOK) Code

func (o *ListReplicationOK) Code() int

Code gets the status code for the list replication o k response

func (*ListReplicationOK) Error

func (o *ListReplicationOK) Error() string

func (*ListReplicationOK) GetPayload

func (*ListReplicationOK) IsClientError

func (o *ListReplicationOK) IsClientError() bool

IsClientError returns true when this list replication o k response has a 4xx status code

func (*ListReplicationOK) IsCode

func (o *ListReplicationOK) IsCode(code int) bool

IsCode returns true when this list replication o k response a status code equal to that given

func (*ListReplicationOK) IsRedirect

func (o *ListReplicationOK) IsRedirect() bool

IsRedirect returns true when this list replication o k response has a 3xx status code

func (*ListReplicationOK) IsServerError

func (o *ListReplicationOK) IsServerError() bool

IsServerError returns true when this list replication o k response has a 5xx status code

func (*ListReplicationOK) IsSuccess

func (o *ListReplicationOK) IsSuccess() bool

IsSuccess returns true when this list replication o k response has a 2xx status code

func (*ListReplicationOK) String

func (o *ListReplicationOK) String() string

type ListReplicationParams

type ListReplicationParams struct {

	/* Collection.

	   The name of the collection to get details for.
	*/
	Collection *string

	/* IncludeHistory.

	   Whether to include the history of the replication operation.
	*/
	IncludeHistory *bool

	/* NodeID.

	   The ID of the target node to get details for.
	*/
	NodeID *string

	/* Shard.

	   The shard to get details for.
	*/
	Shard *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListReplicationParams contains all the parameters to send to the API endpoint

for the list replication operation.

Typically these are written to a http.Request.

func NewListReplicationParams

func NewListReplicationParams() *ListReplicationParams

NewListReplicationParams creates a new ListReplicationParams 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 NewListReplicationParamsWithContext

func NewListReplicationParamsWithContext(ctx context.Context) *ListReplicationParams

NewListReplicationParamsWithContext creates a new ListReplicationParams object with the ability to set a context for a request.

func NewListReplicationParamsWithHTTPClient

func NewListReplicationParamsWithHTTPClient(client *http.Client) *ListReplicationParams

NewListReplicationParamsWithHTTPClient creates a new ListReplicationParams object with the ability to set a custom HTTPClient for a request.

func NewListReplicationParamsWithTimeout

func NewListReplicationParamsWithTimeout(timeout time.Duration) *ListReplicationParams

NewListReplicationParamsWithTimeout creates a new ListReplicationParams object with the ability to set a timeout on a request.

func (*ListReplicationParams) SetCollection

func (o *ListReplicationParams) SetCollection(collection *string)

SetCollection adds the collection to the list replication params

func (*ListReplicationParams) SetContext

func (o *ListReplicationParams) SetContext(ctx context.Context)

SetContext adds the context to the list replication params

func (*ListReplicationParams) SetDefaults

func (o *ListReplicationParams) SetDefaults()

SetDefaults hydrates default values in the list replication params (not the query body).

All values with no default are reset to their zero value.

func (*ListReplicationParams) SetHTTPClient

func (o *ListReplicationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list replication params

func (*ListReplicationParams) SetIncludeHistory

func (o *ListReplicationParams) SetIncludeHistory(includeHistory *bool)

SetIncludeHistory adds the includeHistory to the list replication params

func (*ListReplicationParams) SetNodeID

func (o *ListReplicationParams) SetNodeID(nodeID *string)

SetNodeID adds the nodeId to the list replication params

func (*ListReplicationParams) SetShard

func (o *ListReplicationParams) SetShard(shard *string)

SetShard adds the shard to the list replication params

func (*ListReplicationParams) SetTimeout

func (o *ListReplicationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list replication params

func (*ListReplicationParams) WithCollection

func (o *ListReplicationParams) WithCollection(collection *string) *ListReplicationParams

WithCollection adds the collection to the list replication params

func (*ListReplicationParams) WithContext

WithContext adds the context to the list replication params

func (*ListReplicationParams) WithDefaults

func (o *ListReplicationParams) WithDefaults() *ListReplicationParams

WithDefaults hydrates default values in the list replication params (not the query body).

All values with no default are reset to their zero value.

func (*ListReplicationParams) WithHTTPClient

func (o *ListReplicationParams) WithHTTPClient(client *http.Client) *ListReplicationParams

WithHTTPClient adds the HTTPClient to the list replication params

func (*ListReplicationParams) WithIncludeHistory

func (o *ListReplicationParams) WithIncludeHistory(includeHistory *bool) *ListReplicationParams

WithIncludeHistory adds the includeHistory to the list replication params

func (*ListReplicationParams) WithNodeID

func (o *ListReplicationParams) WithNodeID(nodeID *string) *ListReplicationParams

WithNodeID adds the nodeID to the list replication params

func (*ListReplicationParams) WithShard

func (o *ListReplicationParams) WithShard(shard *string) *ListReplicationParams

WithShard adds the shard to the list replication params

func (*ListReplicationParams) WithTimeout

func (o *ListReplicationParams) WithTimeout(timeout time.Duration) *ListReplicationParams

WithTimeout adds the timeout to the list replication params

func (*ListReplicationParams) WriteToRequest

func (o *ListReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListReplicationReader

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

ListReplicationReader is a Reader for the ListReplication structure.

func (*ListReplicationReader) ReadResponse

func (o *ListReplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListReplicationUnauthorized

type ListReplicationUnauthorized struct {
}

ListReplicationUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewListReplicationUnauthorized

func NewListReplicationUnauthorized() *ListReplicationUnauthorized

NewListReplicationUnauthorized creates a ListReplicationUnauthorized with default headers values

func (*ListReplicationUnauthorized) Code

func (o *ListReplicationUnauthorized) Code() int

Code gets the status code for the list replication unauthorized response

func (*ListReplicationUnauthorized) Error

func (*ListReplicationUnauthorized) IsClientError

func (o *ListReplicationUnauthorized) IsClientError() bool

IsClientError returns true when this list replication unauthorized response has a 4xx status code

func (*ListReplicationUnauthorized) IsCode

func (o *ListReplicationUnauthorized) IsCode(code int) bool

IsCode returns true when this list replication unauthorized response a status code equal to that given

func (*ListReplicationUnauthorized) IsRedirect

func (o *ListReplicationUnauthorized) IsRedirect() bool

IsRedirect returns true when this list replication unauthorized response has a 3xx status code

func (*ListReplicationUnauthorized) IsServerError

func (o *ListReplicationUnauthorized) IsServerError() bool

IsServerError returns true when this list replication unauthorized response has a 5xx status code

func (*ListReplicationUnauthorized) IsSuccess

func (o *ListReplicationUnauthorized) IsSuccess() bool

IsSuccess returns true when this list replication unauthorized response has a 2xx status code

func (*ListReplicationUnauthorized) String

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

Code gets the status code for the replicate internal server error response

func (*ReplicateInternalServerError) Error

func (*ReplicateInternalServerError) GetPayload

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

type ReplicateNotImplemented

type ReplicateNotImplemented struct {
	Payload *models.ErrorResponse
}

ReplicateNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewReplicateNotImplemented

func NewReplicateNotImplemented() *ReplicateNotImplemented

NewReplicateNotImplemented creates a ReplicateNotImplemented with default headers values

func (*ReplicateNotImplemented) Code

func (o *ReplicateNotImplemented) Code() int

Code gets the status code for the replicate not implemented response

func (*ReplicateNotImplemented) Error

func (o *ReplicateNotImplemented) Error() string

func (*ReplicateNotImplemented) GetPayload

func (o *ReplicateNotImplemented) GetPayload() *models.ErrorResponse

func (*ReplicateNotImplemented) IsClientError

func (o *ReplicateNotImplemented) IsClientError() bool

IsClientError returns true when this replicate not implemented response has a 4xx status code

func (*ReplicateNotImplemented) IsCode

func (o *ReplicateNotImplemented) IsCode(code int) bool

IsCode returns true when this replicate not implemented response a status code equal to that given

func (*ReplicateNotImplemented) IsRedirect

func (o *ReplicateNotImplemented) IsRedirect() bool

IsRedirect returns true when this replicate not implemented response has a 3xx status code

func (*ReplicateNotImplemented) IsServerError

func (o *ReplicateNotImplemented) IsServerError() bool

IsServerError returns true when this replicate not implemented response has a 5xx status code

func (*ReplicateNotImplemented) IsSuccess

func (o *ReplicateNotImplemented) IsSuccess() bool

IsSuccess returns true when this replicate not implemented response has a 2xx status code

func (*ReplicateNotImplemented) String

func (o *ReplicateNotImplemented) 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. ID of the operation is returned.

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 (*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

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

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

Code gets the status code for the replicate unprocessable entity response

func (*ReplicateUnprocessableEntity) Error

func (*ReplicateUnprocessableEntity) GetPayload

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

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 (*ReplicationDetailsForbidden) GetPayload

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

Code gets the status code for the replication details internal server error response

func (*ReplicationDetailsInternalServerError) Error

func (*ReplicationDetailsInternalServerError) GetPayload

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

IsCode returns true when this replication details internal server error response a status code equal to that given

func (*ReplicationDetailsInternalServerError) IsRedirect

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

IsSuccess returns true when this replication details internal server error response has a 2xx status code

func (*ReplicationDetailsInternalServerError) 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 (*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 ReplicationDetailsNotImplemented

type ReplicationDetailsNotImplemented struct {
	Payload *models.ErrorResponse
}

ReplicationDetailsNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewReplicationDetailsNotImplemented

func NewReplicationDetailsNotImplemented() *ReplicationDetailsNotImplemented

NewReplicationDetailsNotImplemented creates a ReplicationDetailsNotImplemented with default headers values

func (*ReplicationDetailsNotImplemented) Code

Code gets the status code for the replication details not implemented response

func (*ReplicationDetailsNotImplemented) Error

func (*ReplicationDetailsNotImplemented) GetPayload

func (*ReplicationDetailsNotImplemented) IsClientError

func (o *ReplicationDetailsNotImplemented) IsClientError() bool

IsClientError returns true when this replication details not implemented response has a 4xx status code

func (*ReplicationDetailsNotImplemented) IsCode

func (o *ReplicationDetailsNotImplemented) IsCode(code int) bool

IsCode returns true when this replication details not implemented response a status code equal to that given

func (*ReplicationDetailsNotImplemented) IsRedirect

func (o *ReplicationDetailsNotImplemented) IsRedirect() bool

IsRedirect returns true when this replication details not implemented response has a 3xx status code

func (*ReplicationDetailsNotImplemented) IsServerError

func (o *ReplicationDetailsNotImplemented) IsServerError() bool

IsServerError returns true when this replication details not implemented response has a 5xx status code

func (*ReplicationDetailsNotImplemented) IsSuccess

func (o *ReplicationDetailsNotImplemented) IsSuccess() bool

IsSuccess returns true when this replication details not implemented response has a 2xx status code

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

WithContext adds the context to the replication details params

func (*ReplicationDetailsParams) WithDefaults

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

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

WithTimeout adds the timeout to the replication details params

func (*ReplicationDetailsParams) WriteToRequest

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

Code gets the status code for the replication details unauthorized response

func (*ReplicationDetailsUnauthorized) Error

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

type ReplicationDetailsUnprocessableEntity

type ReplicationDetailsUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

ReplicationDetailsUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewReplicationDetailsUnprocessableEntity

func NewReplicationDetailsUnprocessableEntity() *ReplicationDetailsUnprocessableEntity

NewReplicationDetailsUnprocessableEntity creates a ReplicationDetailsUnprocessableEntity with default headers values

func (*ReplicationDetailsUnprocessableEntity) Code

Code gets the status code for the replication details unprocessable entity response

func (*ReplicationDetailsUnprocessableEntity) Error

func (*ReplicationDetailsUnprocessableEntity) GetPayload

func (*ReplicationDetailsUnprocessableEntity) IsClientError

func (o *ReplicationDetailsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this replication details unprocessable entity response has a 4xx status code

func (*ReplicationDetailsUnprocessableEntity) IsCode

IsCode returns true when this replication details unprocessable entity response a status code equal to that given

func (*ReplicationDetailsUnprocessableEntity) IsRedirect

IsRedirect returns true when this replication details unprocessable entity response has a 3xx status code

func (*ReplicationDetailsUnprocessableEntity) IsServerError

func (o *ReplicationDetailsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this replication details unprocessable entity response has a 5xx status code

func (*ReplicationDetailsUnprocessableEntity) IsSuccess

IsSuccess returns true when this replication details unprocessable entity response has a 2xx status code

func (*ReplicationDetailsUnprocessableEntity) String

Jump to

Keyboard shortcuts

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