Documentation
¶
Index ¶
- type CancelReplicationForbidden
- func (o *CancelReplicationForbidden) Code() int
- func (o *CancelReplicationForbidden) Error() string
- func (o *CancelReplicationForbidden) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationForbidden) IsClientError() bool
- func (o *CancelReplicationForbidden) IsCode(code int) bool
- func (o *CancelReplicationForbidden) IsRedirect() bool
- func (o *CancelReplicationForbidden) IsServerError() bool
- func (o *CancelReplicationForbidden) IsSuccess() bool
- func (o *CancelReplicationForbidden) String() string
- type CancelReplicationInternalServerError
- func (o *CancelReplicationInternalServerError) Code() int
- func (o *CancelReplicationInternalServerError) Error() string
- func (o *CancelReplicationInternalServerError) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationInternalServerError) IsClientError() bool
- func (o *CancelReplicationInternalServerError) IsCode(code int) bool
- func (o *CancelReplicationInternalServerError) IsRedirect() bool
- func (o *CancelReplicationInternalServerError) IsServerError() bool
- func (o *CancelReplicationInternalServerError) IsSuccess() bool
- func (o *CancelReplicationInternalServerError) String() string
- type CancelReplicationNoContent
- func (o *CancelReplicationNoContent) Code() int
- func (o *CancelReplicationNoContent) Error() string
- func (o *CancelReplicationNoContent) IsClientError() bool
- func (o *CancelReplicationNoContent) IsCode(code int) bool
- func (o *CancelReplicationNoContent) IsRedirect() bool
- func (o *CancelReplicationNoContent) IsServerError() bool
- func (o *CancelReplicationNoContent) IsSuccess() bool
- func (o *CancelReplicationNoContent) String() string
- type CancelReplicationNotFound
- func (o *CancelReplicationNotFound) Code() int
- func (o *CancelReplicationNotFound) Error() string
- func (o *CancelReplicationNotFound) IsClientError() bool
- func (o *CancelReplicationNotFound) IsCode(code int) bool
- func (o *CancelReplicationNotFound) IsRedirect() bool
- func (o *CancelReplicationNotFound) IsServerError() bool
- func (o *CancelReplicationNotFound) IsSuccess() bool
- func (o *CancelReplicationNotFound) String() string
- type CancelReplicationParams
- func NewCancelReplicationParams() *CancelReplicationParams
- func NewCancelReplicationParamsWithContext(ctx context.Context) *CancelReplicationParams
- func NewCancelReplicationParamsWithHTTPClient(client *http.Client) *CancelReplicationParams
- func NewCancelReplicationParamsWithTimeout(timeout time.Duration) *CancelReplicationParams
- func (o *CancelReplicationParams) SetContext(ctx context.Context)
- func (o *CancelReplicationParams) SetDefaults()
- func (o *CancelReplicationParams) SetHTTPClient(client *http.Client)
- func (o *CancelReplicationParams) SetID(id strfmt.UUID)
- func (o *CancelReplicationParams) SetTimeout(timeout time.Duration)
- func (o *CancelReplicationParams) WithContext(ctx context.Context) *CancelReplicationParams
- func (o *CancelReplicationParams) WithDefaults() *CancelReplicationParams
- func (o *CancelReplicationParams) WithHTTPClient(client *http.Client) *CancelReplicationParams
- func (o *CancelReplicationParams) WithID(id strfmt.UUID) *CancelReplicationParams
- func (o *CancelReplicationParams) WithTimeout(timeout time.Duration) *CancelReplicationParams
- func (o *CancelReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelReplicationReader
- type CancelReplicationUnauthorized
- func (o *CancelReplicationUnauthorized) Code() int
- func (o *CancelReplicationUnauthorized) Error() string
- func (o *CancelReplicationUnauthorized) IsClientError() bool
- func (o *CancelReplicationUnauthorized) IsCode(code int) bool
- func (o *CancelReplicationUnauthorized) IsRedirect() bool
- func (o *CancelReplicationUnauthorized) IsServerError() bool
- func (o *CancelReplicationUnauthorized) IsSuccess() bool
- func (o *CancelReplicationUnauthorized) String() string
- type Client
- func (a *Client) CancelReplication(params *CancelReplicationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelReplicationNoContent, error)
- func (a *Client) DeleteAllReplications(params *DeleteAllReplicationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAllReplicationsNoContent, error)
- func (a *Client) DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteReplicationNoContent, error)
- func (a *Client) GetCollectionShardingState(params *GetCollectionShardingStateParams, ...) (*GetCollectionShardingStateOK, error)
- func (a *Client) ListReplication(params *ListReplicationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListReplicationOK, error)
- func (a *Client) Replicate(params *ReplicateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplicateOK, error)
- func (a *Client) ReplicationDetails(params *ReplicationDetailsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplicationDetailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAllReplicationsBadRequest
- func (o *DeleteAllReplicationsBadRequest) Code() int
- func (o *DeleteAllReplicationsBadRequest) Error() string
- func (o *DeleteAllReplicationsBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteAllReplicationsBadRequest) IsClientError() bool
- func (o *DeleteAllReplicationsBadRequest) IsCode(code int) bool
- func (o *DeleteAllReplicationsBadRequest) IsRedirect() bool
- func (o *DeleteAllReplicationsBadRequest) IsServerError() bool
- func (o *DeleteAllReplicationsBadRequest) IsSuccess() bool
- func (o *DeleteAllReplicationsBadRequest) String() string
- type DeleteAllReplicationsForbidden
- func (o *DeleteAllReplicationsForbidden) Code() int
- func (o *DeleteAllReplicationsForbidden) Error() string
- func (o *DeleteAllReplicationsForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteAllReplicationsForbidden) IsClientError() bool
- func (o *DeleteAllReplicationsForbidden) IsCode(code int) bool
- func (o *DeleteAllReplicationsForbidden) IsRedirect() bool
- func (o *DeleteAllReplicationsForbidden) IsServerError() bool
- func (o *DeleteAllReplicationsForbidden) IsSuccess() bool
- func (o *DeleteAllReplicationsForbidden) String() string
- type DeleteAllReplicationsInternalServerError
- func (o *DeleteAllReplicationsInternalServerError) Code() int
- func (o *DeleteAllReplicationsInternalServerError) Error() string
- func (o *DeleteAllReplicationsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeleteAllReplicationsInternalServerError) IsClientError() bool
- func (o *DeleteAllReplicationsInternalServerError) IsCode(code int) bool
- func (o *DeleteAllReplicationsInternalServerError) IsRedirect() bool
- func (o *DeleteAllReplicationsInternalServerError) IsServerError() bool
- func (o *DeleteAllReplicationsInternalServerError) IsSuccess() bool
- func (o *DeleteAllReplicationsInternalServerError) String() string
- type DeleteAllReplicationsNoContent
- func (o *DeleteAllReplicationsNoContent) Code() int
- func (o *DeleteAllReplicationsNoContent) Error() string
- func (o *DeleteAllReplicationsNoContent) IsClientError() bool
- func (o *DeleteAllReplicationsNoContent) IsCode(code int) bool
- func (o *DeleteAllReplicationsNoContent) IsRedirect() bool
- func (o *DeleteAllReplicationsNoContent) IsServerError() bool
- func (o *DeleteAllReplicationsNoContent) IsSuccess() bool
- func (o *DeleteAllReplicationsNoContent) String() string
- type DeleteAllReplicationsParams
- func NewDeleteAllReplicationsParams() *DeleteAllReplicationsParams
- func NewDeleteAllReplicationsParamsWithContext(ctx context.Context) *DeleteAllReplicationsParams
- func NewDeleteAllReplicationsParamsWithHTTPClient(client *http.Client) *DeleteAllReplicationsParams
- func NewDeleteAllReplicationsParamsWithTimeout(timeout time.Duration) *DeleteAllReplicationsParams
- func (o *DeleteAllReplicationsParams) SetContext(ctx context.Context)
- func (o *DeleteAllReplicationsParams) SetDefaults()
- func (o *DeleteAllReplicationsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAllReplicationsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAllReplicationsParams) WithContext(ctx context.Context) *DeleteAllReplicationsParams
- func (o *DeleteAllReplicationsParams) WithDefaults() *DeleteAllReplicationsParams
- func (o *DeleteAllReplicationsParams) WithHTTPClient(client *http.Client) *DeleteAllReplicationsParams
- func (o *DeleteAllReplicationsParams) WithTimeout(timeout time.Duration) *DeleteAllReplicationsParams
- func (o *DeleteAllReplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAllReplicationsReader
- type DeleteAllReplicationsUnauthorized
- func (o *DeleteAllReplicationsUnauthorized) Code() int
- func (o *DeleteAllReplicationsUnauthorized) Error() string
- func (o *DeleteAllReplicationsUnauthorized) IsClientError() bool
- func (o *DeleteAllReplicationsUnauthorized) IsCode(code int) bool
- func (o *DeleteAllReplicationsUnauthorized) IsRedirect() bool
- func (o *DeleteAllReplicationsUnauthorized) IsServerError() bool
- func (o *DeleteAllReplicationsUnauthorized) IsSuccess() bool
- func (o *DeleteAllReplicationsUnauthorized) String() string
- type DeleteAllReplicationsUnprocessableEntity
- func (o *DeleteAllReplicationsUnprocessableEntity) Code() int
- func (o *DeleteAllReplicationsUnprocessableEntity) Error() string
- func (o *DeleteAllReplicationsUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *DeleteAllReplicationsUnprocessableEntity) IsClientError() bool
- func (o *DeleteAllReplicationsUnprocessableEntity) IsCode(code int) bool
- func (o *DeleteAllReplicationsUnprocessableEntity) IsRedirect() bool
- func (o *DeleteAllReplicationsUnprocessableEntity) IsServerError() bool
- func (o *DeleteAllReplicationsUnprocessableEntity) IsSuccess() bool
- func (o *DeleteAllReplicationsUnprocessableEntity) String() string
- type DeleteReplicationForbidden
- func (o *DeleteReplicationForbidden) Code() int
- func (o *DeleteReplicationForbidden) Error() string
- func (o *DeleteReplicationForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationForbidden) IsClientError() bool
- func (o *DeleteReplicationForbidden) IsCode(code int) bool
- func (o *DeleteReplicationForbidden) IsRedirect() bool
- func (o *DeleteReplicationForbidden) IsServerError() bool
- func (o *DeleteReplicationForbidden) IsSuccess() bool
- func (o *DeleteReplicationForbidden) String() string
- type DeleteReplicationInternalServerError
- func (o *DeleteReplicationInternalServerError) Code() int
- func (o *DeleteReplicationInternalServerError) Error() string
- func (o *DeleteReplicationInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationInternalServerError) IsClientError() bool
- func (o *DeleteReplicationInternalServerError) IsCode(code int) bool
- func (o *DeleteReplicationInternalServerError) IsRedirect() bool
- func (o *DeleteReplicationInternalServerError) IsServerError() bool
- func (o *DeleteReplicationInternalServerError) IsSuccess() bool
- func (o *DeleteReplicationInternalServerError) String() string
- type DeleteReplicationNoContent
- func (o *DeleteReplicationNoContent) Code() int
- func (o *DeleteReplicationNoContent) Error() string
- func (o *DeleteReplicationNoContent) IsClientError() bool
- func (o *DeleteReplicationNoContent) IsCode(code int) bool
- func (o *DeleteReplicationNoContent) IsRedirect() bool
- func (o *DeleteReplicationNoContent) IsServerError() bool
- func (o *DeleteReplicationNoContent) IsSuccess() bool
- func (o *DeleteReplicationNoContent) String() string
- type DeleteReplicationNotFound
- func (o *DeleteReplicationNotFound) Code() int
- func (o *DeleteReplicationNotFound) Error() string
- func (o *DeleteReplicationNotFound) IsClientError() bool
- func (o *DeleteReplicationNotFound) IsCode(code int) bool
- func (o *DeleteReplicationNotFound) IsRedirect() bool
- func (o *DeleteReplicationNotFound) IsServerError() bool
- func (o *DeleteReplicationNotFound) IsSuccess() bool
- func (o *DeleteReplicationNotFound) String() string
- type DeleteReplicationParams
- func NewDeleteReplicationParams() *DeleteReplicationParams
- func NewDeleteReplicationParamsWithContext(ctx context.Context) *DeleteReplicationParams
- func NewDeleteReplicationParamsWithHTTPClient(client *http.Client) *DeleteReplicationParams
- func NewDeleteReplicationParamsWithTimeout(timeout time.Duration) *DeleteReplicationParams
- func (o *DeleteReplicationParams) SetContext(ctx context.Context)
- func (o *DeleteReplicationParams) SetDefaults()
- func (o *DeleteReplicationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReplicationParams) SetID(id strfmt.UUID)
- func (o *DeleteReplicationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReplicationParams) WithContext(ctx context.Context) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithDefaults() *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithHTTPClient(client *http.Client) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithID(id strfmt.UUID) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WithTimeout(timeout time.Duration) *DeleteReplicationParams
- func (o *DeleteReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReplicationReader
- type DeleteReplicationUnauthorized
- func (o *DeleteReplicationUnauthorized) Code() int
- func (o *DeleteReplicationUnauthorized) Error() string
- func (o *DeleteReplicationUnauthorized) IsClientError() bool
- func (o *DeleteReplicationUnauthorized) IsCode(code int) bool
- func (o *DeleteReplicationUnauthorized) IsRedirect() bool
- func (o *DeleteReplicationUnauthorized) IsServerError() bool
- func (o *DeleteReplicationUnauthorized) IsSuccess() bool
- func (o *DeleteReplicationUnauthorized) String() string
- type GetCollectionShardingStateBadRequest
- func (o *GetCollectionShardingStateBadRequest) Code() int
- func (o *GetCollectionShardingStateBadRequest) Error() string
- func (o *GetCollectionShardingStateBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetCollectionShardingStateBadRequest) IsClientError() bool
- func (o *GetCollectionShardingStateBadRequest) IsCode(code int) bool
- func (o *GetCollectionShardingStateBadRequest) IsRedirect() bool
- func (o *GetCollectionShardingStateBadRequest) IsServerError() bool
- func (o *GetCollectionShardingStateBadRequest) IsSuccess() bool
- func (o *GetCollectionShardingStateBadRequest) String() string
- type GetCollectionShardingStateForbidden
- func (o *GetCollectionShardingStateForbidden) Code() int
- func (o *GetCollectionShardingStateForbidden) Error() string
- func (o *GetCollectionShardingStateForbidden) GetPayload() *models.ErrorResponse
- func (o *GetCollectionShardingStateForbidden) IsClientError() bool
- func (o *GetCollectionShardingStateForbidden) IsCode(code int) bool
- func (o *GetCollectionShardingStateForbidden) IsRedirect() bool
- func (o *GetCollectionShardingStateForbidden) IsServerError() bool
- func (o *GetCollectionShardingStateForbidden) IsSuccess() bool
- func (o *GetCollectionShardingStateForbidden) String() string
- type GetCollectionShardingStateInternalServerError
- func (o *GetCollectionShardingStateInternalServerError) Code() int
- func (o *GetCollectionShardingStateInternalServerError) Error() string
- func (o *GetCollectionShardingStateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetCollectionShardingStateInternalServerError) IsClientError() bool
- func (o *GetCollectionShardingStateInternalServerError) IsCode(code int) bool
- func (o *GetCollectionShardingStateInternalServerError) IsRedirect() bool
- func (o *GetCollectionShardingStateInternalServerError) IsServerError() bool
- func (o *GetCollectionShardingStateInternalServerError) IsSuccess() bool
- func (o *GetCollectionShardingStateInternalServerError) String() string
- type GetCollectionShardingStateNotFound
- func (o *GetCollectionShardingStateNotFound) Code() int
- func (o *GetCollectionShardingStateNotFound) Error() string
- func (o *GetCollectionShardingStateNotFound) GetPayload() *models.ErrorResponse
- func (o *GetCollectionShardingStateNotFound) IsClientError() bool
- func (o *GetCollectionShardingStateNotFound) IsCode(code int) bool
- func (o *GetCollectionShardingStateNotFound) IsRedirect() bool
- func (o *GetCollectionShardingStateNotFound) IsServerError() bool
- func (o *GetCollectionShardingStateNotFound) IsSuccess() bool
- func (o *GetCollectionShardingStateNotFound) String() string
- type GetCollectionShardingStateOK
- func (o *GetCollectionShardingStateOK) Code() int
- func (o *GetCollectionShardingStateOK) Error() string
- func (o *GetCollectionShardingStateOK) GetPayload() *models.ReplicationShardingStateResponse
- func (o *GetCollectionShardingStateOK) IsClientError() bool
- func (o *GetCollectionShardingStateOK) IsCode(code int) bool
- func (o *GetCollectionShardingStateOK) IsRedirect() bool
- func (o *GetCollectionShardingStateOK) IsServerError() bool
- func (o *GetCollectionShardingStateOK) IsSuccess() bool
- func (o *GetCollectionShardingStateOK) String() string
- type GetCollectionShardingStateParams
- func NewGetCollectionShardingStateParams() *GetCollectionShardingStateParams
- func NewGetCollectionShardingStateParamsWithContext(ctx context.Context) *GetCollectionShardingStateParams
- func NewGetCollectionShardingStateParamsWithHTTPClient(client *http.Client) *GetCollectionShardingStateParams
- func NewGetCollectionShardingStateParamsWithTimeout(timeout time.Duration) *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) SetCollection(collection *string)
- func (o *GetCollectionShardingStateParams) SetContext(ctx context.Context)
- func (o *GetCollectionShardingStateParams) SetDefaults()
- func (o *GetCollectionShardingStateParams) SetHTTPClient(client *http.Client)
- func (o *GetCollectionShardingStateParams) SetShard(shard *string)
- func (o *GetCollectionShardingStateParams) SetTimeout(timeout time.Duration)
- func (o *GetCollectionShardingStateParams) WithCollection(collection *string) *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) WithContext(ctx context.Context) *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) WithDefaults() *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) WithHTTPClient(client *http.Client) *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) WithShard(shard *string) *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) WithTimeout(timeout time.Duration) *GetCollectionShardingStateParams
- func (o *GetCollectionShardingStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollectionShardingStateReader
- type GetCollectionShardingStateUnauthorized
- func (o *GetCollectionShardingStateUnauthorized) Code() int
- func (o *GetCollectionShardingStateUnauthorized) Error() string
- func (o *GetCollectionShardingStateUnauthorized) IsClientError() bool
- func (o *GetCollectionShardingStateUnauthorized) IsCode(code int) bool
- func (o *GetCollectionShardingStateUnauthorized) IsRedirect() bool
- func (o *GetCollectionShardingStateUnauthorized) IsServerError() bool
- func (o *GetCollectionShardingStateUnauthorized) IsSuccess() bool
- func (o *GetCollectionShardingStateUnauthorized) String() string
- type ListReplicationBadRequest
- func (o *ListReplicationBadRequest) Code() int
- func (o *ListReplicationBadRequest) Error() string
- func (o *ListReplicationBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListReplicationBadRequest) IsClientError() bool
- func (o *ListReplicationBadRequest) IsCode(code int) bool
- func (o *ListReplicationBadRequest) IsRedirect() bool
- func (o *ListReplicationBadRequest) IsServerError() bool
- func (o *ListReplicationBadRequest) IsSuccess() bool
- func (o *ListReplicationBadRequest) String() string
- type ListReplicationForbidden
- func (o *ListReplicationForbidden) Code() int
- func (o *ListReplicationForbidden) Error() string
- func (o *ListReplicationForbidden) GetPayload() *models.ErrorResponse
- func (o *ListReplicationForbidden) IsClientError() bool
- func (o *ListReplicationForbidden) IsCode(code int) bool
- func (o *ListReplicationForbidden) IsRedirect() bool
- func (o *ListReplicationForbidden) IsServerError() bool
- func (o *ListReplicationForbidden) IsSuccess() bool
- func (o *ListReplicationForbidden) String() string
- type ListReplicationInternalServerError
- func (o *ListReplicationInternalServerError) Code() int
- func (o *ListReplicationInternalServerError) Error() string
- func (o *ListReplicationInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListReplicationInternalServerError) IsClientError() bool
- func (o *ListReplicationInternalServerError) IsCode(code int) bool
- func (o *ListReplicationInternalServerError) IsRedirect() bool
- func (o *ListReplicationInternalServerError) IsServerError() bool
- func (o *ListReplicationInternalServerError) IsSuccess() bool
- func (o *ListReplicationInternalServerError) String() string
- type ListReplicationNotFound
- func (o *ListReplicationNotFound) Code() int
- func (o *ListReplicationNotFound) Error() string
- func (o *ListReplicationNotFound) GetPayload() *models.ErrorResponse
- func (o *ListReplicationNotFound) IsClientError() bool
- func (o *ListReplicationNotFound) IsCode(code int) bool
- func (o *ListReplicationNotFound) IsRedirect() bool
- func (o *ListReplicationNotFound) IsServerError() bool
- func (o *ListReplicationNotFound) IsSuccess() bool
- func (o *ListReplicationNotFound) String() string
- type ListReplicationOK
- func (o *ListReplicationOK) Code() int
- func (o *ListReplicationOK) Error() string
- func (o *ListReplicationOK) GetPayload() []*models.ReplicationReplicateDetailsReplicaResponse
- func (o *ListReplicationOK) IsClientError() bool
- func (o *ListReplicationOK) IsCode(code int) bool
- func (o *ListReplicationOK) IsRedirect() bool
- func (o *ListReplicationOK) IsServerError() bool
- func (o *ListReplicationOK) IsSuccess() bool
- func (o *ListReplicationOK) String() string
- type ListReplicationParams
- func NewListReplicationParams() *ListReplicationParams
- func NewListReplicationParamsWithContext(ctx context.Context) *ListReplicationParams
- func NewListReplicationParamsWithHTTPClient(client *http.Client) *ListReplicationParams
- func NewListReplicationParamsWithTimeout(timeout time.Duration) *ListReplicationParams
- func (o *ListReplicationParams) SetCollection(collection *string)
- func (o *ListReplicationParams) SetContext(ctx context.Context)
- func (o *ListReplicationParams) SetDefaults()
- func (o *ListReplicationParams) SetHTTPClient(client *http.Client)
- func (o *ListReplicationParams) SetIncludeHistory(includeHistory *bool)
- func (o *ListReplicationParams) SetNodeID(nodeID *string)
- func (o *ListReplicationParams) SetShard(shard *string)
- func (o *ListReplicationParams) SetTimeout(timeout time.Duration)
- func (o *ListReplicationParams) WithCollection(collection *string) *ListReplicationParams
- func (o *ListReplicationParams) WithContext(ctx context.Context) *ListReplicationParams
- func (o *ListReplicationParams) WithDefaults() *ListReplicationParams
- func (o *ListReplicationParams) WithHTTPClient(client *http.Client) *ListReplicationParams
- func (o *ListReplicationParams) WithIncludeHistory(includeHistory *bool) *ListReplicationParams
- func (o *ListReplicationParams) WithNodeID(nodeID *string) *ListReplicationParams
- func (o *ListReplicationParams) WithShard(shard *string) *ListReplicationParams
- func (o *ListReplicationParams) WithTimeout(timeout time.Duration) *ListReplicationParams
- func (o *ListReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReplicationReader
- type ListReplicationUnauthorized
- func (o *ListReplicationUnauthorized) Code() int
- func (o *ListReplicationUnauthorized) Error() string
- func (o *ListReplicationUnauthorized) IsClientError() bool
- func (o *ListReplicationUnauthorized) IsCode(code int) bool
- func (o *ListReplicationUnauthorized) IsRedirect() bool
- func (o *ListReplicationUnauthorized) IsServerError() bool
- func (o *ListReplicationUnauthorized) IsSuccess() bool
- func (o *ListReplicationUnauthorized) String() string
- type ReplicateBadRequest
- func (o *ReplicateBadRequest) Code() int
- func (o *ReplicateBadRequest) Error() string
- func (o *ReplicateBadRequest) GetPayload() *models.ErrorResponse
- func (o *ReplicateBadRequest) IsClientError() bool
- func (o *ReplicateBadRequest) IsCode(code int) bool
- func (o *ReplicateBadRequest) IsRedirect() bool
- func (o *ReplicateBadRequest) IsServerError() bool
- func (o *ReplicateBadRequest) IsSuccess() bool
- func (o *ReplicateBadRequest) String() string
- type ReplicateForbidden
- func (o *ReplicateForbidden) Code() int
- func (o *ReplicateForbidden) Error() string
- func (o *ReplicateForbidden) GetPayload() *models.ErrorResponse
- func (o *ReplicateForbidden) IsClientError() bool
- func (o *ReplicateForbidden) IsCode(code int) bool
- func (o *ReplicateForbidden) IsRedirect() bool
- func (o *ReplicateForbidden) IsServerError() bool
- func (o *ReplicateForbidden) IsSuccess() bool
- func (o *ReplicateForbidden) String() string
- type ReplicateInternalServerError
- func (o *ReplicateInternalServerError) Code() int
- func (o *ReplicateInternalServerError) Error() string
- func (o *ReplicateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ReplicateInternalServerError) IsClientError() bool
- func (o *ReplicateInternalServerError) IsCode(code int) bool
- func (o *ReplicateInternalServerError) IsRedirect() bool
- func (o *ReplicateInternalServerError) IsServerError() bool
- func (o *ReplicateInternalServerError) IsSuccess() bool
- func (o *ReplicateInternalServerError) String() string
- type ReplicateOK
- func (o *ReplicateOK) Code() int
- func (o *ReplicateOK) Error() string
- func (o *ReplicateOK) GetPayload() *models.ReplicationReplicateReplicaResponse
- func (o *ReplicateOK) IsClientError() bool
- func (o *ReplicateOK) IsCode(code int) bool
- func (o *ReplicateOK) IsRedirect() bool
- func (o *ReplicateOK) IsServerError() bool
- func (o *ReplicateOK) IsSuccess() bool
- func (o *ReplicateOK) String() string
- type ReplicateParams
- func (o *ReplicateParams) SetBody(body *models.ReplicationReplicateReplicaRequest)
- func (o *ReplicateParams) SetContext(ctx context.Context)
- func (o *ReplicateParams) SetDefaults()
- func (o *ReplicateParams) SetHTTPClient(client *http.Client)
- func (o *ReplicateParams) SetTimeout(timeout time.Duration)
- func (o *ReplicateParams) WithBody(body *models.ReplicationReplicateReplicaRequest) *ReplicateParams
- func (o *ReplicateParams) WithContext(ctx context.Context) *ReplicateParams
- func (o *ReplicateParams) WithDefaults() *ReplicateParams
- func (o *ReplicateParams) WithHTTPClient(client *http.Client) *ReplicateParams
- func (o *ReplicateParams) WithTimeout(timeout time.Duration) *ReplicateParams
- func (o *ReplicateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplicateReader
- type ReplicateUnauthorized
- func (o *ReplicateUnauthorized) Code() int
- func (o *ReplicateUnauthorized) Error() string
- func (o *ReplicateUnauthorized) IsClientError() bool
- func (o *ReplicateUnauthorized) IsCode(code int) bool
- func (o *ReplicateUnauthorized) IsRedirect() bool
- func (o *ReplicateUnauthorized) IsServerError() bool
- func (o *ReplicateUnauthorized) IsSuccess() bool
- func (o *ReplicateUnauthorized) String() string
- type ReplicateUnprocessableEntity
- func (o *ReplicateUnprocessableEntity) Code() int
- func (o *ReplicateUnprocessableEntity) Error() string
- func (o *ReplicateUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ReplicateUnprocessableEntity) IsClientError() bool
- func (o *ReplicateUnprocessableEntity) IsCode(code int) bool
- func (o *ReplicateUnprocessableEntity) IsRedirect() bool
- func (o *ReplicateUnprocessableEntity) IsServerError() bool
- func (o *ReplicateUnprocessableEntity) IsSuccess() bool
- func (o *ReplicateUnprocessableEntity) String() string
- type ReplicationDetailsForbidden
- func (o *ReplicationDetailsForbidden) Code() int
- func (o *ReplicationDetailsForbidden) Error() string
- func (o *ReplicationDetailsForbidden) GetPayload() *models.ErrorResponse
- func (o *ReplicationDetailsForbidden) IsClientError() bool
- func (o *ReplicationDetailsForbidden) IsCode(code int) bool
- func (o *ReplicationDetailsForbidden) IsRedirect() bool
- func (o *ReplicationDetailsForbidden) IsServerError() bool
- func (o *ReplicationDetailsForbidden) IsSuccess() bool
- func (o *ReplicationDetailsForbidden) String() string
- type ReplicationDetailsInternalServerError
- func (o *ReplicationDetailsInternalServerError) Code() int
- func (o *ReplicationDetailsInternalServerError) Error() string
- func (o *ReplicationDetailsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ReplicationDetailsInternalServerError) IsClientError() bool
- func (o *ReplicationDetailsInternalServerError) IsCode(code int) bool
- func (o *ReplicationDetailsInternalServerError) IsRedirect() bool
- func (o *ReplicationDetailsInternalServerError) IsServerError() bool
- func (o *ReplicationDetailsInternalServerError) IsSuccess() bool
- func (o *ReplicationDetailsInternalServerError) String() string
- type ReplicationDetailsNotFound
- func (o *ReplicationDetailsNotFound) Code() int
- func (o *ReplicationDetailsNotFound) Error() string
- func (o *ReplicationDetailsNotFound) IsClientError() bool
- func (o *ReplicationDetailsNotFound) IsCode(code int) bool
- func (o *ReplicationDetailsNotFound) IsRedirect() bool
- func (o *ReplicationDetailsNotFound) IsServerError() bool
- func (o *ReplicationDetailsNotFound) IsSuccess() bool
- func (o *ReplicationDetailsNotFound) String() string
- type ReplicationDetailsOK
- func (o *ReplicationDetailsOK) Code() int
- func (o *ReplicationDetailsOK) Error() string
- func (o *ReplicationDetailsOK) GetPayload() *models.ReplicationReplicateDetailsReplicaResponse
- func (o *ReplicationDetailsOK) IsClientError() bool
- func (o *ReplicationDetailsOK) IsCode(code int) bool
- func (o *ReplicationDetailsOK) IsRedirect() bool
- func (o *ReplicationDetailsOK) IsServerError() bool
- func (o *ReplicationDetailsOK) IsSuccess() bool
- func (o *ReplicationDetailsOK) String() string
- type ReplicationDetailsParams
- func NewReplicationDetailsParams() *ReplicationDetailsParams
- func NewReplicationDetailsParamsWithContext(ctx context.Context) *ReplicationDetailsParams
- func NewReplicationDetailsParamsWithHTTPClient(client *http.Client) *ReplicationDetailsParams
- func NewReplicationDetailsParamsWithTimeout(timeout time.Duration) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) SetContext(ctx context.Context)
- func (o *ReplicationDetailsParams) SetDefaults()
- func (o *ReplicationDetailsParams) SetHTTPClient(client *http.Client)
- func (o *ReplicationDetailsParams) SetID(id strfmt.UUID)
- func (o *ReplicationDetailsParams) SetIncludeHistory(includeHistory *bool)
- func (o *ReplicationDetailsParams) SetTimeout(timeout time.Duration)
- func (o *ReplicationDetailsParams) WithContext(ctx context.Context) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithDefaults() *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithHTTPClient(client *http.Client) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithID(id strfmt.UUID) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithIncludeHistory(includeHistory *bool) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WithTimeout(timeout time.Duration) *ReplicationDetailsParams
- func (o *ReplicationDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplicationDetailsReader
- type ReplicationDetailsUnauthorized
- func (o *ReplicationDetailsUnauthorized) Code() int
- func (o *ReplicationDetailsUnauthorized) Error() string
- func (o *ReplicationDetailsUnauthorized) IsClientError() bool
- func (o *ReplicationDetailsUnauthorized) IsCode(code int) bool
- func (o *ReplicationDetailsUnauthorized) IsRedirect() bool
- func (o *ReplicationDetailsUnauthorized) IsServerError() bool
- func (o *ReplicationDetailsUnauthorized) IsSuccess() bool
- func (o *ReplicationDetailsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelReplicationForbidden ¶
type CancelReplicationForbidden struct {
Payload *models.ErrorResponse
}
CancelReplicationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCancelReplicationForbidden ¶
func NewCancelReplicationForbidden() *CancelReplicationForbidden
NewCancelReplicationForbidden creates a CancelReplicationForbidden with default headers values
func (*CancelReplicationForbidden) Code ¶
func (o *CancelReplicationForbidden) Code() int
Code gets the status code for the cancel replication forbidden response
func (*CancelReplicationForbidden) Error ¶
func (o *CancelReplicationForbidden) Error() string
func (*CancelReplicationForbidden) GetPayload ¶
func (o *CancelReplicationForbidden) GetPayload() *models.ErrorResponse
func (*CancelReplicationForbidden) IsClientError ¶
func (o *CancelReplicationForbidden) IsClientError() bool
IsClientError returns true when this cancel replication forbidden response has a 4xx status code
func (*CancelReplicationForbidden) IsCode ¶
func (o *CancelReplicationForbidden) IsCode(code int) bool
IsCode returns true when this cancel replication forbidden response a status code equal to that given
func (*CancelReplicationForbidden) IsRedirect ¶
func (o *CancelReplicationForbidden) IsRedirect() bool
IsRedirect returns true when this cancel replication forbidden response has a 3xx status code
func (*CancelReplicationForbidden) IsServerError ¶
func (o *CancelReplicationForbidden) IsServerError() bool
IsServerError returns true when this cancel replication forbidden response has a 5xx status code
func (*CancelReplicationForbidden) IsSuccess ¶
func (o *CancelReplicationForbidden) IsSuccess() bool
IsSuccess returns true when this cancel replication forbidden response has a 2xx status code
func (*CancelReplicationForbidden) String ¶
func (o *CancelReplicationForbidden) String() string
type CancelReplicationInternalServerError ¶
type CancelReplicationInternalServerError struct {
Payload *models.ErrorResponse
}
CancelReplicationInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewCancelReplicationInternalServerError ¶
func NewCancelReplicationInternalServerError() *CancelReplicationInternalServerError
NewCancelReplicationInternalServerError creates a CancelReplicationInternalServerError with default headers values
func (*CancelReplicationInternalServerError) Code ¶
func (o *CancelReplicationInternalServerError) Code() int
Code gets the status code for the cancel replication internal server error response
func (*CancelReplicationInternalServerError) Error ¶
func (o *CancelReplicationInternalServerError) Error() string
func (*CancelReplicationInternalServerError) GetPayload ¶
func (o *CancelReplicationInternalServerError) GetPayload() *models.ErrorResponse
func (*CancelReplicationInternalServerError) IsClientError ¶
func (o *CancelReplicationInternalServerError) IsClientError() bool
IsClientError returns true when this cancel replication internal server error response has a 4xx status code
func (*CancelReplicationInternalServerError) IsCode ¶
func (o *CancelReplicationInternalServerError) IsCode(code int) bool
IsCode returns true when this cancel replication internal server error response a status code equal to that given
func (*CancelReplicationInternalServerError) IsRedirect ¶
func (o *CancelReplicationInternalServerError) IsRedirect() bool
IsRedirect returns true when this cancel replication internal server error response has a 3xx status code
func (*CancelReplicationInternalServerError) IsServerError ¶
func (o *CancelReplicationInternalServerError) IsServerError() bool
IsServerError returns true when this cancel replication internal server error response has a 5xx status code
func (*CancelReplicationInternalServerError) IsSuccess ¶
func (o *CancelReplicationInternalServerError) IsSuccess() bool
IsSuccess returns true when this cancel replication internal server error response has a 2xx status code
func (*CancelReplicationInternalServerError) String ¶
func (o *CancelReplicationInternalServerError) String() string
type CancelReplicationNoContent ¶
type CancelReplicationNoContent struct {
}
CancelReplicationNoContent describes a response with status code 204, with default header values.
Successfully cancelled.
func NewCancelReplicationNoContent ¶
func NewCancelReplicationNoContent() *CancelReplicationNoContent
NewCancelReplicationNoContent creates a CancelReplicationNoContent with default headers values
func (*CancelReplicationNoContent) Code ¶
func (o *CancelReplicationNoContent) Code() int
Code gets the status code for the cancel replication no content response
func (*CancelReplicationNoContent) Error ¶
func (o *CancelReplicationNoContent) Error() string
func (*CancelReplicationNoContent) IsClientError ¶
func (o *CancelReplicationNoContent) IsClientError() bool
IsClientError returns true when this cancel replication no content response has a 4xx status code
func (*CancelReplicationNoContent) IsCode ¶
func (o *CancelReplicationNoContent) IsCode(code int) bool
IsCode returns true when this cancel replication no content response a status code equal to that given
func (*CancelReplicationNoContent) IsRedirect ¶
func (o *CancelReplicationNoContent) IsRedirect() bool
IsRedirect returns true when this cancel replication no content response has a 3xx status code
func (*CancelReplicationNoContent) IsServerError ¶
func (o *CancelReplicationNoContent) IsServerError() bool
IsServerError returns true when this cancel replication no content response has a 5xx status code
func (*CancelReplicationNoContent) IsSuccess ¶
func (o *CancelReplicationNoContent) IsSuccess() bool
IsSuccess returns true when this cancel replication no content response has a 2xx status code
func (*CancelReplicationNoContent) String ¶
func (o *CancelReplicationNoContent) String() string
type CancelReplicationNotFound ¶
type CancelReplicationNotFound struct {
}
CancelReplicationNotFound describes a response with status code 404, with default header values.
Shard replica operation not found.
func NewCancelReplicationNotFound ¶
func NewCancelReplicationNotFound() *CancelReplicationNotFound
NewCancelReplicationNotFound creates a CancelReplicationNotFound with default headers values
func (*CancelReplicationNotFound) Code ¶
func (o *CancelReplicationNotFound) Code() int
Code gets the status code for the cancel replication not found response
func (*CancelReplicationNotFound) Error ¶
func (o *CancelReplicationNotFound) Error() string
func (*CancelReplicationNotFound) IsClientError ¶
func (o *CancelReplicationNotFound) IsClientError() bool
IsClientError returns true when this cancel replication not found response has a 4xx status code
func (*CancelReplicationNotFound) IsCode ¶
func (o *CancelReplicationNotFound) IsCode(code int) bool
IsCode returns true when this cancel replication not found response a status code equal to that given
func (*CancelReplicationNotFound) IsRedirect ¶
func (o *CancelReplicationNotFound) IsRedirect() bool
IsRedirect returns true when this cancel replication not found response has a 3xx status code
func (*CancelReplicationNotFound) IsServerError ¶
func (o *CancelReplicationNotFound) IsServerError() bool
IsServerError returns true when this cancel replication not found response has a 5xx status code
func (*CancelReplicationNotFound) IsSuccess ¶
func (o *CancelReplicationNotFound) IsSuccess() bool
IsSuccess returns true when this cancel replication not found response has a 2xx status code
func (*CancelReplicationNotFound) String ¶
func (o *CancelReplicationNotFound) String() string
type CancelReplicationParams ¶
type CancelReplicationParams struct {
/* ID.
The ID of the replication operation to cancel.
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CancelReplicationParams contains all the parameters to send to the API endpoint
for the cancel replication operation. Typically these are written to a http.Request.
func NewCancelReplicationParams ¶
func NewCancelReplicationParams() *CancelReplicationParams
NewCancelReplicationParams creates a new CancelReplicationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCancelReplicationParamsWithContext ¶
func NewCancelReplicationParamsWithContext(ctx context.Context) *CancelReplicationParams
NewCancelReplicationParamsWithContext creates a new CancelReplicationParams object with the ability to set a context for a request.
func NewCancelReplicationParamsWithHTTPClient ¶
func NewCancelReplicationParamsWithHTTPClient(client *http.Client) *CancelReplicationParams
NewCancelReplicationParamsWithHTTPClient creates a new CancelReplicationParams object with the ability to set a custom HTTPClient for a request.
func NewCancelReplicationParamsWithTimeout ¶
func NewCancelReplicationParamsWithTimeout(timeout time.Duration) *CancelReplicationParams
NewCancelReplicationParamsWithTimeout creates a new CancelReplicationParams object with the ability to set a timeout on a request.
func (*CancelReplicationParams) SetContext ¶
func (o *CancelReplicationParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel replication params
func (*CancelReplicationParams) SetDefaults ¶
func (o *CancelReplicationParams) SetDefaults()
SetDefaults hydrates default values in the cancel replication params (not the query body).
All values with no default are reset to their zero value.
func (*CancelReplicationParams) SetHTTPClient ¶
func (o *CancelReplicationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel replication params
func (*CancelReplicationParams) SetID ¶
func (o *CancelReplicationParams) SetID(id strfmt.UUID)
SetID adds the id to the cancel replication params
func (*CancelReplicationParams) SetTimeout ¶
func (o *CancelReplicationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel replication params
func (*CancelReplicationParams) WithContext ¶
func (o *CancelReplicationParams) WithContext(ctx context.Context) *CancelReplicationParams
WithContext adds the context to the cancel replication params
func (*CancelReplicationParams) WithDefaults ¶
func (o *CancelReplicationParams) WithDefaults() *CancelReplicationParams
WithDefaults hydrates default values in the cancel replication params (not the query body).
All values with no default are reset to their zero value.
func (*CancelReplicationParams) WithHTTPClient ¶
func (o *CancelReplicationParams) WithHTTPClient(client *http.Client) *CancelReplicationParams
WithHTTPClient adds the HTTPClient to the cancel replication params
func (*CancelReplicationParams) WithID ¶
func (o *CancelReplicationParams) WithID(id strfmt.UUID) *CancelReplicationParams
WithID adds the id to the cancel replication params
func (*CancelReplicationParams) WithTimeout ¶
func (o *CancelReplicationParams) WithTimeout(timeout time.Duration) *CancelReplicationParams
WithTimeout adds the timeout to the cancel replication params
func (*CancelReplicationParams) WriteToRequest ¶
func (o *CancelReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelReplicationReader ¶
type CancelReplicationReader struct {
// contains filtered or unexported fields
}
CancelReplicationReader is a Reader for the CancelReplication structure.
func (*CancelReplicationReader) ReadResponse ¶
func (o *CancelReplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelReplicationUnauthorized ¶
type CancelReplicationUnauthorized struct {
}
CancelReplicationUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewCancelReplicationUnauthorized ¶
func NewCancelReplicationUnauthorized() *CancelReplicationUnauthorized
NewCancelReplicationUnauthorized creates a CancelReplicationUnauthorized with default headers values
func (*CancelReplicationUnauthorized) Code ¶
func (o *CancelReplicationUnauthorized) Code() int
Code gets the status code for the cancel replication unauthorized response
func (*CancelReplicationUnauthorized) Error ¶
func (o *CancelReplicationUnauthorized) Error() string
func (*CancelReplicationUnauthorized) IsClientError ¶
func (o *CancelReplicationUnauthorized) IsClientError() bool
IsClientError returns true when this cancel replication unauthorized response has a 4xx status code
func (*CancelReplicationUnauthorized) IsCode ¶
func (o *CancelReplicationUnauthorized) IsCode(code int) bool
IsCode returns true when this cancel replication unauthorized response a status code equal to that given
func (*CancelReplicationUnauthorized) IsRedirect ¶
func (o *CancelReplicationUnauthorized) IsRedirect() bool
IsRedirect returns true when this cancel replication unauthorized response has a 3xx status code
func (*CancelReplicationUnauthorized) IsServerError ¶
func (o *CancelReplicationUnauthorized) IsServerError() bool
IsServerError returns true when this cancel replication unauthorized response has a 5xx status code
func (*CancelReplicationUnauthorized) IsSuccess ¶
func (o *CancelReplicationUnauthorized) IsSuccess() bool
IsSuccess returns true when this cancel replication unauthorized response has a 2xx status code
func (*CancelReplicationUnauthorized) String ¶
func (o *CancelReplicationUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for replication API
func (*Client) CancelReplication ¶
func (a *Client) CancelReplication(params *CancelReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelReplicationNoContent, error)
CancelReplication cancels a replication operation
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) 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)
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 ¶
func (o *DeleteAllReplicationsBadRequest) Code() int
Code gets the status code for the delete all replications bad request response
func (*DeleteAllReplicationsBadRequest) Error ¶
func (o *DeleteAllReplicationsBadRequest) Error() string
func (*DeleteAllReplicationsBadRequest) GetPayload ¶
func (o *DeleteAllReplicationsBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteAllReplicationsBadRequest) String() 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 ¶
func (o *DeleteAllReplicationsForbidden) Code() int
Code gets the status code for the delete all replications forbidden response
func (*DeleteAllReplicationsForbidden) Error ¶
func (o *DeleteAllReplicationsForbidden) Error() string
func (*DeleteAllReplicationsForbidden) GetPayload ¶
func (o *DeleteAllReplicationsForbidden) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteAllReplicationsForbidden) String() 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 ¶
func (o *DeleteAllReplicationsInternalServerError) Code() int
Code gets the status code for the delete all replications internal server error response
func (*DeleteAllReplicationsInternalServerError) Error ¶
func (o *DeleteAllReplicationsInternalServerError) Error() string
func (*DeleteAllReplicationsInternalServerError) GetPayload ¶
func (o *DeleteAllReplicationsInternalServerError) GetPayload() *models.ErrorResponse
func (*DeleteAllReplicationsInternalServerError) IsClientError ¶
func (o *DeleteAllReplicationsInternalServerError) IsClientError() bool
IsClientError returns true when this delete all replications internal server error response has a 4xx status code
func (*DeleteAllReplicationsInternalServerError) IsCode ¶
func (o *DeleteAllReplicationsInternalServerError) IsCode(code int) bool
IsCode returns true when this delete all replications internal server error response a status code equal to that given
func (*DeleteAllReplicationsInternalServerError) IsRedirect ¶
func (o *DeleteAllReplicationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete all replications internal server error response has a 3xx status code
func (*DeleteAllReplicationsInternalServerError) IsServerError ¶
func (o *DeleteAllReplicationsInternalServerError) IsServerError() bool
IsServerError returns true when this delete all replications internal server error response has a 5xx status code
func (*DeleteAllReplicationsInternalServerError) IsSuccess ¶
func (o *DeleteAllReplicationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete all replications internal server error response has a 2xx status code
func (*DeleteAllReplicationsInternalServerError) String ¶
func (o *DeleteAllReplicationsInternalServerError) String() 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 ¶
func (o *DeleteAllReplicationsNoContent) Code() int
Code gets the status code for the delete all replications no content response
func (*DeleteAllReplicationsNoContent) Error ¶
func (o *DeleteAllReplicationsNoContent) Error() string
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 ¶
func (o *DeleteAllReplicationsNoContent) String() 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 ¶
func (o *DeleteAllReplicationsParams) WithContext(ctx context.Context) *DeleteAllReplicationsParams
WithContext adds the context to the delete all replications params
func (*DeleteAllReplicationsParams) WithDefaults ¶
func (o *DeleteAllReplicationsParams) WithDefaults() *DeleteAllReplicationsParams
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 ¶
func (o *DeleteAllReplicationsParams) WithHTTPClient(client *http.Client) *DeleteAllReplicationsParams
WithHTTPClient adds the HTTPClient to the delete all replications params
func (*DeleteAllReplicationsParams) WithTimeout ¶
func (o *DeleteAllReplicationsParams) WithTimeout(timeout time.Duration) *DeleteAllReplicationsParams
WithTimeout adds the timeout to the delete all replications params
func (*DeleteAllReplicationsParams) WriteToRequest ¶
func (o *DeleteAllReplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteAllReplicationsUnauthorized) Code() int
Code gets the status code for the delete all replications unauthorized response
func (*DeleteAllReplicationsUnauthorized) Error ¶
func (o *DeleteAllReplicationsUnauthorized) Error() string
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 ¶
func (o *DeleteAllReplicationsUnauthorized) String() 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 ¶
func (o *DeleteAllReplicationsUnprocessableEntity) Code() int
Code gets the status code for the delete all replications unprocessable entity response
func (*DeleteAllReplicationsUnprocessableEntity) Error ¶
func (o *DeleteAllReplicationsUnprocessableEntity) Error() string
func (*DeleteAllReplicationsUnprocessableEntity) GetPayload ¶
func (o *DeleteAllReplicationsUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*DeleteAllReplicationsUnprocessableEntity) IsClientError ¶
func (o *DeleteAllReplicationsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this delete all replications unprocessable entity response has a 4xx status code
func (*DeleteAllReplicationsUnprocessableEntity) IsCode ¶
func (o *DeleteAllReplicationsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this delete all replications unprocessable entity response a status code equal to that given
func (*DeleteAllReplicationsUnprocessableEntity) IsRedirect ¶
func (o *DeleteAllReplicationsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this delete all replications unprocessable entity response has a 3xx status code
func (*DeleteAllReplicationsUnprocessableEntity) IsServerError ¶
func (o *DeleteAllReplicationsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this delete all replications unprocessable entity response has a 5xx status code
func (*DeleteAllReplicationsUnprocessableEntity) IsSuccess ¶
func (o *DeleteAllReplicationsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this delete all replications unprocessable entity response has a 2xx status code
func (*DeleteAllReplicationsUnprocessableEntity) String ¶
func (o *DeleteAllReplicationsUnprocessableEntity) 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 (o *DeleteReplicationForbidden) Error() string
func (*DeleteReplicationForbidden) GetPayload ¶
func (o *DeleteReplicationForbidden) GetPayload() *models.ErrorResponse
func (*DeleteReplicationForbidden) IsClientError ¶
func (o *DeleteReplicationForbidden) IsClientError() bool
IsClientError returns true when this delete replication forbidden response has a 4xx status code
func (*DeleteReplicationForbidden) IsCode ¶
func (o *DeleteReplicationForbidden) IsCode(code int) bool
IsCode returns true when this delete replication forbidden response a status code equal to that given
func (*DeleteReplicationForbidden) IsRedirect ¶
func (o *DeleteReplicationForbidden) IsRedirect() bool
IsRedirect returns true when this delete replication forbidden response has a 3xx status code
func (*DeleteReplicationForbidden) IsServerError ¶
func (o *DeleteReplicationForbidden) IsServerError() bool
IsServerError returns true when this delete replication forbidden response has a 5xx status code
func (*DeleteReplicationForbidden) IsSuccess ¶
func (o *DeleteReplicationForbidden) IsSuccess() bool
IsSuccess returns true when this delete replication forbidden response has a 2xx status code
func (*DeleteReplicationForbidden) String ¶
func (o *DeleteReplicationForbidden) String() string
type DeleteReplicationInternalServerError ¶
type DeleteReplicationInternalServerError struct {
Payload *models.ErrorResponse
}
DeleteReplicationInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewDeleteReplicationInternalServerError ¶
func NewDeleteReplicationInternalServerError() *DeleteReplicationInternalServerError
NewDeleteReplicationInternalServerError creates a DeleteReplicationInternalServerError with default headers values
func (*DeleteReplicationInternalServerError) Code ¶
func (o *DeleteReplicationInternalServerError) Code() int
Code gets the status code for the delete replication internal server error response
func (*DeleteReplicationInternalServerError) Error ¶
func (o *DeleteReplicationInternalServerError) Error() string
func (*DeleteReplicationInternalServerError) GetPayload ¶
func (o *DeleteReplicationInternalServerError) GetPayload() *models.ErrorResponse
func (*DeleteReplicationInternalServerError) IsClientError ¶
func (o *DeleteReplicationInternalServerError) IsClientError() bool
IsClientError returns true when this delete replication internal server error response has a 4xx status code
func (*DeleteReplicationInternalServerError) IsCode ¶
func (o *DeleteReplicationInternalServerError) IsCode(code int) bool
IsCode returns true when this delete replication internal server error response a status code equal to that given
func (*DeleteReplicationInternalServerError) IsRedirect ¶
func (o *DeleteReplicationInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete replication internal server error response has a 3xx status code
func (*DeleteReplicationInternalServerError) IsServerError ¶
func (o *DeleteReplicationInternalServerError) IsServerError() bool
IsServerError returns true when this delete replication internal server error response has a 5xx status code
func (*DeleteReplicationInternalServerError) IsSuccess ¶
func (o *DeleteReplicationInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete replication internal server error response has a 2xx status code
func (*DeleteReplicationInternalServerError) String ¶
func (o *DeleteReplicationInternalServerError) String() string
type DeleteReplicationNoContent ¶
type DeleteReplicationNoContent struct {
}
DeleteReplicationNoContent describes a response with status code 204, with default header values.
Successfully deleted.
func NewDeleteReplicationNoContent ¶
func NewDeleteReplicationNoContent() *DeleteReplicationNoContent
NewDeleteReplicationNoContent creates a DeleteReplicationNoContent with default headers values
func (*DeleteReplicationNoContent) Code ¶
func (o *DeleteReplicationNoContent) Code() int
Code gets the status code for the delete replication no content response
func (*DeleteReplicationNoContent) Error ¶
func (o *DeleteReplicationNoContent) Error() string
func (*DeleteReplicationNoContent) IsClientError ¶
func (o *DeleteReplicationNoContent) IsClientError() bool
IsClientError returns true when this delete replication no content response has a 4xx status code
func (*DeleteReplicationNoContent) IsCode ¶
func (o *DeleteReplicationNoContent) IsCode(code int) bool
IsCode returns true when this delete replication no content response a status code equal to that given
func (*DeleteReplicationNoContent) IsRedirect ¶
func (o *DeleteReplicationNoContent) IsRedirect() bool
IsRedirect returns true when this delete replication no content response has a 3xx status code
func (*DeleteReplicationNoContent) IsServerError ¶
func (o *DeleteReplicationNoContent) IsServerError() bool
IsServerError returns true when this delete replication no content response has a 5xx status code
func (*DeleteReplicationNoContent) IsSuccess ¶
func (o *DeleteReplicationNoContent) IsSuccess() bool
IsSuccess returns true when this delete replication no content response has a 2xx status code
func (*DeleteReplicationNoContent) String ¶
func (o *DeleteReplicationNoContent) String() string
type DeleteReplicationNotFound ¶
type DeleteReplicationNotFound struct {
}
DeleteReplicationNotFound describes a response with status code 404, with default header values.
Shard replica operation not found.
func NewDeleteReplicationNotFound ¶
func NewDeleteReplicationNotFound() *DeleteReplicationNotFound
NewDeleteReplicationNotFound creates a DeleteReplicationNotFound with default headers values
func (*DeleteReplicationNotFound) Code ¶
func (o *DeleteReplicationNotFound) Code() int
Code gets the status code for the delete replication not found response
func (*DeleteReplicationNotFound) Error ¶
func (o *DeleteReplicationNotFound) Error() string
func (*DeleteReplicationNotFound) IsClientError ¶
func (o *DeleteReplicationNotFound) IsClientError() bool
IsClientError returns true when this delete replication not found response has a 4xx status code
func (*DeleteReplicationNotFound) IsCode ¶
func (o *DeleteReplicationNotFound) IsCode(code int) bool
IsCode returns true when this delete replication not found response a status code equal to that given
func (*DeleteReplicationNotFound) IsRedirect ¶
func (o *DeleteReplicationNotFound) IsRedirect() bool
IsRedirect returns true when this delete replication not found response has a 3xx status code
func (*DeleteReplicationNotFound) IsServerError ¶
func (o *DeleteReplicationNotFound) IsServerError() bool
IsServerError returns true when this delete replication not found response has a 5xx status code
func (*DeleteReplicationNotFound) IsSuccess ¶
func (o *DeleteReplicationNotFound) IsSuccess() bool
IsSuccess returns true when this delete replication not found response has a 2xx status code
func (*DeleteReplicationNotFound) String ¶
func (o *DeleteReplicationNotFound) String() string
type DeleteReplicationParams ¶
type DeleteReplicationParams struct {
/* ID.
The ID of the replication operation to delete.
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteReplicationParams contains all the parameters to send to the API endpoint
for the delete replication operation. Typically these are written to a http.Request.
func NewDeleteReplicationParams ¶
func NewDeleteReplicationParams() *DeleteReplicationParams
NewDeleteReplicationParams creates a new DeleteReplicationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteReplicationParamsWithContext ¶
func NewDeleteReplicationParamsWithContext(ctx context.Context) *DeleteReplicationParams
NewDeleteReplicationParamsWithContext creates a new DeleteReplicationParams object with the ability to set a context for a request.
func NewDeleteReplicationParamsWithHTTPClient ¶
func NewDeleteReplicationParamsWithHTTPClient(client *http.Client) *DeleteReplicationParams
NewDeleteReplicationParamsWithHTTPClient creates a new DeleteReplicationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteReplicationParamsWithTimeout ¶
func NewDeleteReplicationParamsWithTimeout(timeout time.Duration) *DeleteReplicationParams
NewDeleteReplicationParamsWithTimeout creates a new DeleteReplicationParams object with the ability to set a timeout on a request.
func (*DeleteReplicationParams) SetContext ¶
func (o *DeleteReplicationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete replication params
func (*DeleteReplicationParams) SetDefaults ¶
func (o *DeleteReplicationParams) SetDefaults()
SetDefaults hydrates default values in the delete replication params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReplicationParams) SetHTTPClient ¶
func (o *DeleteReplicationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete replication params
func (*DeleteReplicationParams) SetID ¶
func (o *DeleteReplicationParams) SetID(id strfmt.UUID)
SetID adds the id to the delete replication params
func (*DeleteReplicationParams) SetTimeout ¶
func (o *DeleteReplicationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete replication params
func (*DeleteReplicationParams) WithContext ¶
func (o *DeleteReplicationParams) WithContext(ctx context.Context) *DeleteReplicationParams
WithContext adds the context to the delete replication params
func (*DeleteReplicationParams) WithDefaults ¶
func (o *DeleteReplicationParams) WithDefaults() *DeleteReplicationParams
WithDefaults hydrates default values in the delete replication params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReplicationParams) WithHTTPClient ¶
func (o *DeleteReplicationParams) WithHTTPClient(client *http.Client) *DeleteReplicationParams
WithHTTPClient adds the HTTPClient to the delete replication params
func (*DeleteReplicationParams) WithID ¶
func (o *DeleteReplicationParams) WithID(id strfmt.UUID) *DeleteReplicationParams
WithID adds the id to the delete replication params
func (*DeleteReplicationParams) WithTimeout ¶
func (o *DeleteReplicationParams) WithTimeout(timeout time.Duration) *DeleteReplicationParams
WithTimeout adds the timeout to the delete replication params
func (*DeleteReplicationParams) WriteToRequest ¶
func (o *DeleteReplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReplicationReader ¶
type DeleteReplicationReader struct {
// contains filtered or unexported fields
}
DeleteReplicationReader is a Reader for the DeleteReplication structure.
func (*DeleteReplicationReader) ReadResponse ¶
func (o *DeleteReplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteReplicationUnauthorized ¶
type DeleteReplicationUnauthorized struct {
}
DeleteReplicationUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewDeleteReplicationUnauthorized ¶
func NewDeleteReplicationUnauthorized() *DeleteReplicationUnauthorized
NewDeleteReplicationUnauthorized creates a DeleteReplicationUnauthorized with default headers values
func (*DeleteReplicationUnauthorized) Code ¶
func (o *DeleteReplicationUnauthorized) Code() int
Code gets the status code for the delete replication unauthorized response
func (*DeleteReplicationUnauthorized) Error ¶
func (o *DeleteReplicationUnauthorized) Error() string
func (*DeleteReplicationUnauthorized) IsClientError ¶
func (o *DeleteReplicationUnauthorized) IsClientError() bool
IsClientError returns true when this delete replication unauthorized response has a 4xx status code
func (*DeleteReplicationUnauthorized) IsCode ¶
func (o *DeleteReplicationUnauthorized) IsCode(code int) bool
IsCode returns true when this delete replication unauthorized response a status code equal to that given
func (*DeleteReplicationUnauthorized) IsRedirect ¶
func (o *DeleteReplicationUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete replication unauthorized response has a 3xx status code
func (*DeleteReplicationUnauthorized) IsServerError ¶
func (o *DeleteReplicationUnauthorized) IsServerError() bool
IsServerError returns true when this delete replication unauthorized response has a 5xx status code
func (*DeleteReplicationUnauthorized) IsSuccess ¶
func (o *DeleteReplicationUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete replication unauthorized response has a 2xx status code
func (*DeleteReplicationUnauthorized) String ¶
func (o *DeleteReplicationUnauthorized) String() string
type 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 ¶
func (o *GetCollectionShardingStateBadRequest) Code() int
Code gets the status code for the get collection sharding state bad request response
func (*GetCollectionShardingStateBadRequest) Error ¶
func (o *GetCollectionShardingStateBadRequest) Error() string
func (*GetCollectionShardingStateBadRequest) GetPayload ¶
func (o *GetCollectionShardingStateBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetCollectionShardingStateBadRequest) IsCode(code int) bool
IsCode returns true when this get collection sharding state bad request response a status code equal to that given
func (*GetCollectionShardingStateBadRequest) IsRedirect ¶
func (o *GetCollectionShardingStateBadRequest) IsRedirect() bool
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 ¶
func (o *GetCollectionShardingStateBadRequest) IsSuccess() bool
IsSuccess returns true when this get collection sharding state bad request response has a 2xx status code
func (*GetCollectionShardingStateBadRequest) String ¶
func (o *GetCollectionShardingStateBadRequest) String() 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 ¶
func (o *GetCollectionShardingStateForbidden) Code() int
Code gets the status code for the get collection sharding state forbidden response
func (*GetCollectionShardingStateForbidden) Error ¶
func (o *GetCollectionShardingStateForbidden) Error() string
func (*GetCollectionShardingStateForbidden) GetPayload ¶
func (o *GetCollectionShardingStateForbidden) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetCollectionShardingStateForbidden) IsCode(code int) bool
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 ¶
func (o *GetCollectionShardingStateForbidden) IsSuccess() bool
IsSuccess returns true when this get collection sharding state forbidden response has a 2xx status code
func (*GetCollectionShardingStateForbidden) String ¶
func (o *GetCollectionShardingStateForbidden) String() 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 ¶
func (o *GetCollectionShardingStateInternalServerError) Code() int
Code gets the status code for the get collection sharding state internal server error response
func (*GetCollectionShardingStateInternalServerError) Error ¶
func (o *GetCollectionShardingStateInternalServerError) Error() string
func (*GetCollectionShardingStateInternalServerError) GetPayload ¶
func (o *GetCollectionShardingStateInternalServerError) GetPayload() *models.ErrorResponse
func (*GetCollectionShardingStateInternalServerError) IsClientError ¶
func (o *GetCollectionShardingStateInternalServerError) IsClientError() bool
IsClientError returns true when this get collection sharding state internal server error response has a 4xx status code
func (*GetCollectionShardingStateInternalServerError) IsCode ¶
func (o *GetCollectionShardingStateInternalServerError) IsCode(code int) bool
IsCode returns true when this get collection sharding state internal server error response a status code equal to that given
func (*GetCollectionShardingStateInternalServerError) IsRedirect ¶
func (o *GetCollectionShardingStateInternalServerError) IsRedirect() bool
IsRedirect returns true when this get collection sharding state internal server error response has a 3xx status code
func (*GetCollectionShardingStateInternalServerError) IsServerError ¶
func (o *GetCollectionShardingStateInternalServerError) IsServerError() bool
IsServerError returns true when this get collection sharding state internal server error response has a 5xx status code
func (*GetCollectionShardingStateInternalServerError) IsSuccess ¶
func (o *GetCollectionShardingStateInternalServerError) IsSuccess() bool
IsSuccess returns true when this get collection sharding state internal server error response has a 2xx status code
func (*GetCollectionShardingStateInternalServerError) String ¶
func (o *GetCollectionShardingStateInternalServerError) String() 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 ¶
func (o *GetCollectionShardingStateNotFound) Code() int
Code gets the status code for the get collection sharding state not found response
func (*GetCollectionShardingStateNotFound) Error ¶
func (o *GetCollectionShardingStateNotFound) Error() string
func (*GetCollectionShardingStateNotFound) GetPayload ¶
func (o *GetCollectionShardingStateNotFound) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetCollectionShardingStateNotFound) IsCode(code int) bool
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 ¶
func (o *GetCollectionShardingStateNotFound) IsSuccess() bool
IsSuccess returns true when this get collection sharding state not found response has a 2xx status code
func (*GetCollectionShardingStateNotFound) String ¶
func (o *GetCollectionShardingStateNotFound) String() 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 ¶
func (o *GetCollectionShardingStateOK) Code() int
Code gets the status code for the get collection sharding state o k response
func (*GetCollectionShardingStateOK) Error ¶
func (o *GetCollectionShardingStateOK) Error() string
func (*GetCollectionShardingStateOK) GetPayload ¶
func (o *GetCollectionShardingStateOK) GetPayload() *models.ReplicationShardingStateResponse
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 ¶
func (o *GetCollectionShardingStateOK) String() 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 ¶
func (o *GetCollectionShardingStateParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCollectionShardingStateParams) WithCollection(collection *string) *GetCollectionShardingStateParams
WithCollection adds the collection to the get collection sharding state params
func (*GetCollectionShardingStateParams) WithContext ¶
func (o *GetCollectionShardingStateParams) WithContext(ctx context.Context) *GetCollectionShardingStateParams
WithContext adds the context to the get collection sharding state params
func (*GetCollectionShardingStateParams) WithDefaults ¶
func (o *GetCollectionShardingStateParams) WithDefaults() *GetCollectionShardingStateParams
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 ¶
func (o *GetCollectionShardingStateParams) WithHTTPClient(client *http.Client) *GetCollectionShardingStateParams
WithHTTPClient adds the HTTPClient to the get collection sharding state params
func (*GetCollectionShardingStateParams) WithShard ¶
func (o *GetCollectionShardingStateParams) WithShard(shard *string) *GetCollectionShardingStateParams
WithShard adds the shard to the get collection sharding state params
func (*GetCollectionShardingStateParams) WithTimeout ¶
func (o *GetCollectionShardingStateParams) WithTimeout(timeout time.Duration) *GetCollectionShardingStateParams
WithTimeout adds the timeout to the get collection sharding state params
func (*GetCollectionShardingStateParams) WriteToRequest ¶
func (o *GetCollectionShardingStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetCollectionShardingStateUnauthorized) Code() int
Code gets the status code for the get collection sharding state unauthorized response
func (*GetCollectionShardingStateUnauthorized) Error ¶
func (o *GetCollectionShardingStateUnauthorized) Error() string
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 ¶
func (o *GetCollectionShardingStateUnauthorized) IsCode(code int) bool
IsCode returns true when this get collection sharding state unauthorized response a status code equal to that given
func (*GetCollectionShardingStateUnauthorized) IsRedirect ¶
func (o *GetCollectionShardingStateUnauthorized) IsRedirect() bool
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 ¶
func (o *GetCollectionShardingStateUnauthorized) IsSuccess() bool
IsSuccess returns true when this get collection sharding state unauthorized response has a 2xx status code
func (*GetCollectionShardingStateUnauthorized) String ¶
func (o *GetCollectionShardingStateUnauthorized) String() 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 (o *ListReplicationBadRequest) GetPayload() *models.ErrorResponse
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 (o *ListReplicationForbidden) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListReplicationInternalServerError) Code() int
Code gets the status code for the list replication internal server error response
func (*ListReplicationInternalServerError) Error ¶
func (o *ListReplicationInternalServerError) Error() string
func (*ListReplicationInternalServerError) GetPayload ¶
func (o *ListReplicationInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListReplicationInternalServerError) IsCode(code int) bool
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 ¶
func (o *ListReplicationInternalServerError) IsSuccess() bool
IsSuccess returns true when this list replication internal server error response has a 2xx status code
func (*ListReplicationInternalServerError) String ¶
func (o *ListReplicationInternalServerError) String() 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 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 (o *ListReplicationOK) GetPayload() []*models.ReplicationReplicateDetailsReplicaResponse
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 ¶
func (o *ListReplicationParams) WithContext(ctx context.Context) *ListReplicationParams
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 (o *ListReplicationUnauthorized) Error() string
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 ¶
func (o *ReplicateInternalServerError) Code() int
Code gets the status code for the replicate internal server error response
func (*ReplicateInternalServerError) Error ¶
func (o *ReplicateInternalServerError) Error() string
func (*ReplicateInternalServerError) GetPayload ¶
func (o *ReplicateInternalServerError) GetPayload() *models.ErrorResponse
func (*ReplicateInternalServerError) IsClientError ¶
func (o *ReplicateInternalServerError) IsClientError() bool
IsClientError returns true when this replicate internal server error response has a 4xx status code
func (*ReplicateInternalServerError) IsCode ¶
func (o *ReplicateInternalServerError) IsCode(code int) bool
IsCode returns true when this replicate internal server error response a status code equal to that given
func (*ReplicateInternalServerError) IsRedirect ¶
func (o *ReplicateInternalServerError) IsRedirect() bool
IsRedirect returns true when this replicate internal server error response has a 3xx status code
func (*ReplicateInternalServerError) IsServerError ¶
func (o *ReplicateInternalServerError) IsServerError() bool
IsServerError returns true when this replicate internal server error response has a 5xx status code
func (*ReplicateInternalServerError) IsSuccess ¶
func (o *ReplicateInternalServerError) IsSuccess() bool
IsSuccess returns true when this replicate internal server error response has a 2xx status code
func (*ReplicateInternalServerError) String ¶
func (o *ReplicateInternalServerError) String() string
type ReplicateOK ¶
type ReplicateOK struct {
Payload *models.ReplicationReplicateReplicaResponse
}
ReplicateOK describes a response with status code 200, with default header values.
Replication operation registered successfully. 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 (o *ReplicateOK) GetPayload() *models.ReplicationReplicateReplicaResponse
func (*ReplicateOK) IsClientError ¶
func (o *ReplicateOK) IsClientError() bool
IsClientError returns true when this replicate o k response has a 4xx status code
func (*ReplicateOK) IsCode ¶
func (o *ReplicateOK) IsCode(code int) bool
IsCode returns true when this replicate o k response a status code equal to that given
func (*ReplicateOK) IsRedirect ¶
func (o *ReplicateOK) IsRedirect() bool
IsRedirect returns true when this replicate o k response has a 3xx status code
func (*ReplicateOK) IsServerError ¶
func (o *ReplicateOK) IsServerError() bool
IsServerError returns true when this replicate o k response has a 5xx status code
func (*ReplicateOK) IsSuccess ¶
func (o *ReplicateOK) IsSuccess() bool
IsSuccess returns true when this replicate o k response has a 2xx status code
func (*ReplicateOK) String ¶
func (o *ReplicateOK) String() string
type ReplicateParams ¶
type ReplicateParams struct {
// Body.
Body *models.ReplicationReplicateReplicaRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ReplicateParams contains all the parameters to send to the API endpoint
for the replicate operation. Typically these are written to a http.Request.
func NewReplicateParams ¶
func NewReplicateParams() *ReplicateParams
NewReplicateParams creates a new ReplicateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReplicateParamsWithContext ¶
func NewReplicateParamsWithContext(ctx context.Context) *ReplicateParams
NewReplicateParamsWithContext creates a new ReplicateParams object with the ability to set a context for a request.
func NewReplicateParamsWithHTTPClient ¶
func NewReplicateParamsWithHTTPClient(client *http.Client) *ReplicateParams
NewReplicateParamsWithHTTPClient creates a new ReplicateParams object with the ability to set a custom HTTPClient for a request.
func NewReplicateParamsWithTimeout ¶
func NewReplicateParamsWithTimeout(timeout time.Duration) *ReplicateParams
NewReplicateParamsWithTimeout creates a new ReplicateParams object with the ability to set a timeout on a request.
func (*ReplicateParams) SetBody ¶
func (o *ReplicateParams) SetBody(body *models.ReplicationReplicateReplicaRequest)
SetBody adds the body to the replicate params
func (*ReplicateParams) SetContext ¶
func (o *ReplicateParams) SetContext(ctx context.Context)
SetContext adds the context to the replicate params
func (*ReplicateParams) SetDefaults ¶
func (o *ReplicateParams) SetDefaults()
SetDefaults hydrates default values in the replicate params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicateParams) SetHTTPClient ¶
func (o *ReplicateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replicate params
func (*ReplicateParams) SetTimeout ¶
func (o *ReplicateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replicate params
func (*ReplicateParams) WithBody ¶
func (o *ReplicateParams) WithBody(body *models.ReplicationReplicateReplicaRequest) *ReplicateParams
WithBody adds the body to the replicate params
func (*ReplicateParams) WithContext ¶
func (o *ReplicateParams) WithContext(ctx context.Context) *ReplicateParams
WithContext adds the context to the replicate params
func (*ReplicateParams) WithDefaults ¶
func (o *ReplicateParams) WithDefaults() *ReplicateParams
WithDefaults hydrates default values in the replicate params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicateParams) WithHTTPClient ¶
func (o *ReplicateParams) WithHTTPClient(client *http.Client) *ReplicateParams
WithHTTPClient adds the HTTPClient to the replicate params
func (*ReplicateParams) WithTimeout ¶
func (o *ReplicateParams) WithTimeout(timeout time.Duration) *ReplicateParams
WithTimeout adds the timeout to the replicate params
func (*ReplicateParams) WriteToRequest ¶
func (o *ReplicateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplicateReader ¶
type ReplicateReader struct {
// contains filtered or unexported fields
}
ReplicateReader is a Reader for the Replicate structure.
func (*ReplicateReader) ReadResponse ¶
func (o *ReplicateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplicateUnauthorized ¶
type ReplicateUnauthorized struct {
}
ReplicateUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewReplicateUnauthorized ¶
func NewReplicateUnauthorized() *ReplicateUnauthorized
NewReplicateUnauthorized creates a ReplicateUnauthorized with default headers values
func (*ReplicateUnauthorized) Code ¶
func (o *ReplicateUnauthorized) Code() int
Code gets the status code for the replicate unauthorized response
func (*ReplicateUnauthorized) Error ¶
func (o *ReplicateUnauthorized) Error() string
func (*ReplicateUnauthorized) IsClientError ¶
func (o *ReplicateUnauthorized) IsClientError() bool
IsClientError returns true when this replicate unauthorized response has a 4xx status code
func (*ReplicateUnauthorized) IsCode ¶
func (o *ReplicateUnauthorized) IsCode(code int) bool
IsCode returns true when this replicate unauthorized response a status code equal to that given
func (*ReplicateUnauthorized) IsRedirect ¶
func (o *ReplicateUnauthorized) IsRedirect() bool
IsRedirect returns true when this replicate unauthorized response has a 3xx status code
func (*ReplicateUnauthorized) IsServerError ¶
func (o *ReplicateUnauthorized) IsServerError() bool
IsServerError returns true when this replicate unauthorized response has a 5xx status code
func (*ReplicateUnauthorized) IsSuccess ¶
func (o *ReplicateUnauthorized) IsSuccess() bool
IsSuccess returns true when this replicate unauthorized response has a 2xx status code
func (*ReplicateUnauthorized) String ¶
func (o *ReplicateUnauthorized) String() string
type ReplicateUnprocessableEntity ¶
type ReplicateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ReplicateUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous.
func NewReplicateUnprocessableEntity ¶
func NewReplicateUnprocessableEntity() *ReplicateUnprocessableEntity
NewReplicateUnprocessableEntity creates a ReplicateUnprocessableEntity with default headers values
func (*ReplicateUnprocessableEntity) Code ¶
func (o *ReplicateUnprocessableEntity) Code() int
Code gets the status code for the replicate unprocessable entity response
func (*ReplicateUnprocessableEntity) Error ¶
func (o *ReplicateUnprocessableEntity) Error() string
func (*ReplicateUnprocessableEntity) GetPayload ¶
func (o *ReplicateUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ReplicateUnprocessableEntity) IsClientError ¶
func (o *ReplicateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this replicate unprocessable entity response has a 4xx status code
func (*ReplicateUnprocessableEntity) IsCode ¶
func (o *ReplicateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this replicate unprocessable entity response a status code equal to that given
func (*ReplicateUnprocessableEntity) IsRedirect ¶
func (o *ReplicateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this replicate unprocessable entity response has a 3xx status code
func (*ReplicateUnprocessableEntity) IsServerError ¶
func (o *ReplicateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this replicate unprocessable entity response has a 5xx status code
func (*ReplicateUnprocessableEntity) IsSuccess ¶
func (o *ReplicateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this replicate unprocessable entity response has a 2xx status code
func (*ReplicateUnprocessableEntity) String ¶
func (o *ReplicateUnprocessableEntity) String() string
type ReplicationDetailsForbidden ¶
type ReplicationDetailsForbidden struct {
Payload *models.ErrorResponse
}
ReplicationDetailsForbidden describes a response with status code 403, with default header values.
Forbidden.
func NewReplicationDetailsForbidden ¶
func NewReplicationDetailsForbidden() *ReplicationDetailsForbidden
NewReplicationDetailsForbidden creates a ReplicationDetailsForbidden with default headers values
func (*ReplicationDetailsForbidden) Code ¶
func (o *ReplicationDetailsForbidden) Code() int
Code gets the status code for the replication details forbidden response
func (*ReplicationDetailsForbidden) Error ¶
func (o *ReplicationDetailsForbidden) Error() string
func (*ReplicationDetailsForbidden) GetPayload ¶
func (o *ReplicationDetailsForbidden) GetPayload() *models.ErrorResponse
func (*ReplicationDetailsForbidden) IsClientError ¶
func (o *ReplicationDetailsForbidden) IsClientError() bool
IsClientError returns true when this replication details forbidden response has a 4xx status code
func (*ReplicationDetailsForbidden) IsCode ¶
func (o *ReplicationDetailsForbidden) IsCode(code int) bool
IsCode returns true when this replication details forbidden response a status code equal to that given
func (*ReplicationDetailsForbidden) IsRedirect ¶
func (o *ReplicationDetailsForbidden) IsRedirect() bool
IsRedirect returns true when this replication details forbidden response has a 3xx status code
func (*ReplicationDetailsForbidden) IsServerError ¶
func (o *ReplicationDetailsForbidden) IsServerError() bool
IsServerError returns true when this replication details forbidden response has a 5xx status code
func (*ReplicationDetailsForbidden) IsSuccess ¶
func (o *ReplicationDetailsForbidden) IsSuccess() bool
IsSuccess returns true when this replication details forbidden response has a 2xx status code
func (*ReplicationDetailsForbidden) String ¶
func (o *ReplicationDetailsForbidden) String() string
type ReplicationDetailsInternalServerError ¶
type ReplicationDetailsInternalServerError struct {
Payload *models.ErrorResponse
}
ReplicationDetailsInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewReplicationDetailsInternalServerError ¶
func NewReplicationDetailsInternalServerError() *ReplicationDetailsInternalServerError
NewReplicationDetailsInternalServerError creates a ReplicationDetailsInternalServerError with default headers values
func (*ReplicationDetailsInternalServerError) Code ¶
func (o *ReplicationDetailsInternalServerError) Code() int
Code gets the status code for the replication details internal server error response
func (*ReplicationDetailsInternalServerError) Error ¶
func (o *ReplicationDetailsInternalServerError) Error() string
func (*ReplicationDetailsInternalServerError) GetPayload ¶
func (o *ReplicationDetailsInternalServerError) GetPayload() *models.ErrorResponse
func (*ReplicationDetailsInternalServerError) IsClientError ¶
func (o *ReplicationDetailsInternalServerError) IsClientError() bool
IsClientError returns true when this replication details internal server error response has a 4xx status code
func (*ReplicationDetailsInternalServerError) IsCode ¶
func (o *ReplicationDetailsInternalServerError) IsCode(code int) bool
IsCode returns true when this replication details internal server error response a status code equal to that given
func (*ReplicationDetailsInternalServerError) IsRedirect ¶
func (o *ReplicationDetailsInternalServerError) IsRedirect() bool
IsRedirect returns true when this replication details internal server error response has a 3xx status code
func (*ReplicationDetailsInternalServerError) IsServerError ¶
func (o *ReplicationDetailsInternalServerError) IsServerError() bool
IsServerError returns true when this replication details internal server error response has a 5xx status code
func (*ReplicationDetailsInternalServerError) IsSuccess ¶
func (o *ReplicationDetailsInternalServerError) IsSuccess() bool
IsSuccess returns true when this replication details internal server error response has a 2xx status code
func (*ReplicationDetailsInternalServerError) String ¶
func (o *ReplicationDetailsInternalServerError) String() string
type ReplicationDetailsNotFound ¶
type ReplicationDetailsNotFound struct {
}
ReplicationDetailsNotFound describes a response with status code 404, with default header values.
Shard replica operation not found.
func NewReplicationDetailsNotFound ¶
func NewReplicationDetailsNotFound() *ReplicationDetailsNotFound
NewReplicationDetailsNotFound creates a ReplicationDetailsNotFound with default headers values
func (*ReplicationDetailsNotFound) Code ¶
func (o *ReplicationDetailsNotFound) Code() int
Code gets the status code for the replication details not found response
func (*ReplicationDetailsNotFound) Error ¶
func (o *ReplicationDetailsNotFound) Error() string
func (*ReplicationDetailsNotFound) IsClientError ¶
func (o *ReplicationDetailsNotFound) IsClientError() bool
IsClientError returns true when this replication details not found response has a 4xx status code
func (*ReplicationDetailsNotFound) IsCode ¶
func (o *ReplicationDetailsNotFound) IsCode(code int) bool
IsCode returns true when this replication details not found response a status code equal to that given
func (*ReplicationDetailsNotFound) IsRedirect ¶
func (o *ReplicationDetailsNotFound) IsRedirect() bool
IsRedirect returns true when this replication details not found response has a 3xx status code
func (*ReplicationDetailsNotFound) IsServerError ¶
func (o *ReplicationDetailsNotFound) IsServerError() bool
IsServerError returns true when this replication details not found response has a 5xx status code
func (*ReplicationDetailsNotFound) IsSuccess ¶
func (o *ReplicationDetailsNotFound) IsSuccess() bool
IsSuccess returns true when this replication details not found response has a 2xx status code
func (*ReplicationDetailsNotFound) String ¶
func (o *ReplicationDetailsNotFound) String() string
type ReplicationDetailsOK ¶
type ReplicationDetailsOK struct {
Payload *models.ReplicationReplicateDetailsReplicaResponse
}
ReplicationDetailsOK describes a response with status code 200, with default header values.
The details of the replication operation.
func NewReplicationDetailsOK ¶
func NewReplicationDetailsOK() *ReplicationDetailsOK
NewReplicationDetailsOK creates a ReplicationDetailsOK with default headers values
func (*ReplicationDetailsOK) Code ¶
func (o *ReplicationDetailsOK) Code() int
Code gets the status code for the replication details o k response
func (*ReplicationDetailsOK) Error ¶
func (o *ReplicationDetailsOK) Error() string
func (*ReplicationDetailsOK) GetPayload ¶
func (o *ReplicationDetailsOK) GetPayload() *models.ReplicationReplicateDetailsReplicaResponse
func (*ReplicationDetailsOK) IsClientError ¶
func (o *ReplicationDetailsOK) IsClientError() bool
IsClientError returns true when this replication details o k response has a 4xx status code
func (*ReplicationDetailsOK) IsCode ¶
func (o *ReplicationDetailsOK) IsCode(code int) bool
IsCode returns true when this replication details o k response a status code equal to that given
func (*ReplicationDetailsOK) IsRedirect ¶
func (o *ReplicationDetailsOK) IsRedirect() bool
IsRedirect returns true when this replication details o k response has a 3xx status code
func (*ReplicationDetailsOK) IsServerError ¶
func (o *ReplicationDetailsOK) IsServerError() bool
IsServerError returns true when this replication details o k response has a 5xx status code
func (*ReplicationDetailsOK) IsSuccess ¶
func (o *ReplicationDetailsOK) IsSuccess() bool
IsSuccess returns true when this replication details o k response has a 2xx status code
func (*ReplicationDetailsOK) String ¶
func (o *ReplicationDetailsOK) String() string
type ReplicationDetailsParams ¶
type ReplicationDetailsParams struct {
/* ID.
The ID of the replication operation to get details for.
Format: uuid
*/
ID strfmt.UUID
/* IncludeHistory.
Whether to include the history of the replication operation.
*/
IncludeHistory *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ReplicationDetailsParams contains all the parameters to send to the API endpoint
for the replication details operation. Typically these are written to a http.Request.
func NewReplicationDetailsParams ¶
func NewReplicationDetailsParams() *ReplicationDetailsParams
NewReplicationDetailsParams creates a new ReplicationDetailsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReplicationDetailsParamsWithContext ¶
func NewReplicationDetailsParamsWithContext(ctx context.Context) *ReplicationDetailsParams
NewReplicationDetailsParamsWithContext creates a new ReplicationDetailsParams object with the ability to set a context for a request.
func NewReplicationDetailsParamsWithHTTPClient ¶
func NewReplicationDetailsParamsWithHTTPClient(client *http.Client) *ReplicationDetailsParams
NewReplicationDetailsParamsWithHTTPClient creates a new ReplicationDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewReplicationDetailsParamsWithTimeout ¶
func NewReplicationDetailsParamsWithTimeout(timeout time.Duration) *ReplicationDetailsParams
NewReplicationDetailsParamsWithTimeout creates a new ReplicationDetailsParams object with the ability to set a timeout on a request.
func (*ReplicationDetailsParams) SetContext ¶
func (o *ReplicationDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the replication details params
func (*ReplicationDetailsParams) SetDefaults ¶
func (o *ReplicationDetailsParams) SetDefaults()
SetDefaults hydrates default values in the replication details params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicationDetailsParams) SetHTTPClient ¶
func (o *ReplicationDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replication details params
func (*ReplicationDetailsParams) SetID ¶
func (o *ReplicationDetailsParams) SetID(id strfmt.UUID)
SetID adds the id to the replication details params
func (*ReplicationDetailsParams) SetIncludeHistory ¶
func (o *ReplicationDetailsParams) SetIncludeHistory(includeHistory *bool)
SetIncludeHistory adds the includeHistory to the replication details params
func (*ReplicationDetailsParams) SetTimeout ¶
func (o *ReplicationDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replication details params
func (*ReplicationDetailsParams) WithContext ¶
func (o *ReplicationDetailsParams) WithContext(ctx context.Context) *ReplicationDetailsParams
WithContext adds the context to the replication details params
func (*ReplicationDetailsParams) WithDefaults ¶
func (o *ReplicationDetailsParams) WithDefaults() *ReplicationDetailsParams
WithDefaults hydrates default values in the replication details params (not the query body).
All values with no default are reset to their zero value.
func (*ReplicationDetailsParams) WithHTTPClient ¶
func (o *ReplicationDetailsParams) WithHTTPClient(client *http.Client) *ReplicationDetailsParams
WithHTTPClient adds the HTTPClient to the replication details params
func (*ReplicationDetailsParams) WithID ¶
func (o *ReplicationDetailsParams) WithID(id strfmt.UUID) *ReplicationDetailsParams
WithID adds the id to the replication details params
func (*ReplicationDetailsParams) WithIncludeHistory ¶
func (o *ReplicationDetailsParams) WithIncludeHistory(includeHistory *bool) *ReplicationDetailsParams
WithIncludeHistory adds the includeHistory to the replication details params
func (*ReplicationDetailsParams) WithTimeout ¶
func (o *ReplicationDetailsParams) WithTimeout(timeout time.Duration) *ReplicationDetailsParams
WithTimeout adds the timeout to the replication details params
func (*ReplicationDetailsParams) WriteToRequest ¶
func (o *ReplicationDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplicationDetailsReader ¶
type ReplicationDetailsReader struct {
// contains filtered or unexported fields
}
ReplicationDetailsReader is a Reader for the ReplicationDetails structure.
func (*ReplicationDetailsReader) ReadResponse ¶
func (o *ReplicationDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplicationDetailsUnauthorized ¶
type ReplicationDetailsUnauthorized struct {
}
ReplicationDetailsUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewReplicationDetailsUnauthorized ¶
func NewReplicationDetailsUnauthorized() *ReplicationDetailsUnauthorized
NewReplicationDetailsUnauthorized creates a ReplicationDetailsUnauthorized with default headers values
func (*ReplicationDetailsUnauthorized) Code ¶
func (o *ReplicationDetailsUnauthorized) Code() int
Code gets the status code for the replication details unauthorized response
func (*ReplicationDetailsUnauthorized) Error ¶
func (o *ReplicationDetailsUnauthorized) Error() string
func (*ReplicationDetailsUnauthorized) IsClientError ¶
func (o *ReplicationDetailsUnauthorized) IsClientError() bool
IsClientError returns true when this replication details unauthorized response has a 4xx status code
func (*ReplicationDetailsUnauthorized) IsCode ¶
func (o *ReplicationDetailsUnauthorized) IsCode(code int) bool
IsCode returns true when this replication details unauthorized response a status code equal to that given
func (*ReplicationDetailsUnauthorized) IsRedirect ¶
func (o *ReplicationDetailsUnauthorized) IsRedirect() bool
IsRedirect returns true when this replication details unauthorized response has a 3xx status code
func (*ReplicationDetailsUnauthorized) IsServerError ¶
func (o *ReplicationDetailsUnauthorized) IsServerError() bool
IsServerError returns true when this replication details unauthorized response has a 5xx status code
func (*ReplicationDetailsUnauthorized) IsSuccess ¶
func (o *ReplicationDetailsUnauthorized) IsSuccess() bool
IsSuccess returns true when this replication details unauthorized response has a 2xx status code
func (*ReplicationDetailsUnauthorized) String ¶
func (o *ReplicationDetailsUnauthorized) String() string
Source Files
¶
- cancel_replication_parameters.go
- cancel_replication_responses.go
- delete_all_replications_parameters.go
- delete_all_replications_responses.go
- delete_replication_parameters.go
- delete_replication_responses.go
- get_collection_sharding_state_parameters.go
- get_collection_sharding_state_responses.go
- list_replication_parameters.go
- list_replication_responses.go
- replicate_parameters.go
- replicate_responses.go
- replication_client.go
- replication_details_parameters.go
- replication_details_responses.go