Documentation
¶
Index ¶
- type ApplyReplicationScalePlanBadRequest
- func (o *ApplyReplicationScalePlanBadRequest) Code() int
- func (o *ApplyReplicationScalePlanBadRequest) Error() string
- func (o *ApplyReplicationScalePlanBadRequest) GetPayload() *models.ErrorResponse
- func (o *ApplyReplicationScalePlanBadRequest) IsClientError() bool
- func (o *ApplyReplicationScalePlanBadRequest) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanBadRequest) IsRedirect() bool
- func (o *ApplyReplicationScalePlanBadRequest) IsServerError() bool
- func (o *ApplyReplicationScalePlanBadRequest) IsSuccess() bool
- func (o *ApplyReplicationScalePlanBadRequest) String() string
- type ApplyReplicationScalePlanForbidden
- func (o *ApplyReplicationScalePlanForbidden) Code() int
- func (o *ApplyReplicationScalePlanForbidden) Error() string
- func (o *ApplyReplicationScalePlanForbidden) GetPayload() *models.ErrorResponse
- func (o *ApplyReplicationScalePlanForbidden) IsClientError() bool
- func (o *ApplyReplicationScalePlanForbidden) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanForbidden) IsRedirect() bool
- func (o *ApplyReplicationScalePlanForbidden) IsServerError() bool
- func (o *ApplyReplicationScalePlanForbidden) IsSuccess() bool
- func (o *ApplyReplicationScalePlanForbidden) String() string
- type ApplyReplicationScalePlanInternalServerError
- func (o *ApplyReplicationScalePlanInternalServerError) Code() int
- func (o *ApplyReplicationScalePlanInternalServerError) Error() string
- func (o *ApplyReplicationScalePlanInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ApplyReplicationScalePlanInternalServerError) IsClientError() bool
- func (o *ApplyReplicationScalePlanInternalServerError) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanInternalServerError) IsRedirect() bool
- func (o *ApplyReplicationScalePlanInternalServerError) IsServerError() bool
- func (o *ApplyReplicationScalePlanInternalServerError) IsSuccess() bool
- func (o *ApplyReplicationScalePlanInternalServerError) String() string
- type ApplyReplicationScalePlanNotFound
- func (o *ApplyReplicationScalePlanNotFound) Code() int
- func (o *ApplyReplicationScalePlanNotFound) Error() string
- func (o *ApplyReplicationScalePlanNotFound) GetPayload() *models.ErrorResponse
- func (o *ApplyReplicationScalePlanNotFound) IsClientError() bool
- func (o *ApplyReplicationScalePlanNotFound) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanNotFound) IsRedirect() bool
- func (o *ApplyReplicationScalePlanNotFound) IsServerError() bool
- func (o *ApplyReplicationScalePlanNotFound) IsSuccess() bool
- func (o *ApplyReplicationScalePlanNotFound) String() string
- type ApplyReplicationScalePlanNotImplemented
- func (o *ApplyReplicationScalePlanNotImplemented) Code() int
- func (o *ApplyReplicationScalePlanNotImplemented) Error() string
- func (o *ApplyReplicationScalePlanNotImplemented) GetPayload() *models.ErrorResponse
- func (o *ApplyReplicationScalePlanNotImplemented) IsClientError() bool
- func (o *ApplyReplicationScalePlanNotImplemented) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanNotImplemented) IsRedirect() bool
- func (o *ApplyReplicationScalePlanNotImplemented) IsServerError() bool
- func (o *ApplyReplicationScalePlanNotImplemented) IsSuccess() bool
- func (o *ApplyReplicationScalePlanNotImplemented) String() string
- type ApplyReplicationScalePlanOK
- func (o *ApplyReplicationScalePlanOK) Code() int
- func (o *ApplyReplicationScalePlanOK) Error() string
- func (o *ApplyReplicationScalePlanOK) GetPayload() *models.ReplicationScaleApplyResponse
- func (o *ApplyReplicationScalePlanOK) IsClientError() bool
- func (o *ApplyReplicationScalePlanOK) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanOK) IsRedirect() bool
- func (o *ApplyReplicationScalePlanOK) IsServerError() bool
- func (o *ApplyReplicationScalePlanOK) IsSuccess() bool
- func (o *ApplyReplicationScalePlanOK) String() string
- type ApplyReplicationScalePlanParams
- func NewApplyReplicationScalePlanParams() *ApplyReplicationScalePlanParams
- func NewApplyReplicationScalePlanParamsWithContext(ctx context.Context) *ApplyReplicationScalePlanParams
- func NewApplyReplicationScalePlanParamsWithHTTPClient(client *http.Client) *ApplyReplicationScalePlanParams
- func NewApplyReplicationScalePlanParamsWithTimeout(timeout time.Duration) *ApplyReplicationScalePlanParams
- func (o *ApplyReplicationScalePlanParams) SetBody(body *models.ReplicationScalePlan)
- func (o *ApplyReplicationScalePlanParams) SetContext(ctx context.Context)
- func (o *ApplyReplicationScalePlanParams) SetDefaults()
- func (o *ApplyReplicationScalePlanParams) SetHTTPClient(client *http.Client)
- func (o *ApplyReplicationScalePlanParams) SetTimeout(timeout time.Duration)
- func (o *ApplyReplicationScalePlanParams) WithBody(body *models.ReplicationScalePlan) *ApplyReplicationScalePlanParams
- func (o *ApplyReplicationScalePlanParams) WithContext(ctx context.Context) *ApplyReplicationScalePlanParams
- func (o *ApplyReplicationScalePlanParams) WithDefaults() *ApplyReplicationScalePlanParams
- func (o *ApplyReplicationScalePlanParams) WithHTTPClient(client *http.Client) *ApplyReplicationScalePlanParams
- func (o *ApplyReplicationScalePlanParams) WithTimeout(timeout time.Duration) *ApplyReplicationScalePlanParams
- func (o *ApplyReplicationScalePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplyReplicationScalePlanReader
- type ApplyReplicationScalePlanUnauthorized
- func (o *ApplyReplicationScalePlanUnauthorized) Code() int
- func (o *ApplyReplicationScalePlanUnauthorized) Error() string
- func (o *ApplyReplicationScalePlanUnauthorized) IsClientError() bool
- func (o *ApplyReplicationScalePlanUnauthorized) IsCode(code int) bool
- func (o *ApplyReplicationScalePlanUnauthorized) IsRedirect() bool
- func (o *ApplyReplicationScalePlanUnauthorized) IsServerError() bool
- func (o *ApplyReplicationScalePlanUnauthorized) IsSuccess() bool
- func (o *ApplyReplicationScalePlanUnauthorized) String() string
- type CancelReplicationConflict
- func (o *CancelReplicationConflict) Code() int
- func (o *CancelReplicationConflict) Error() string
- func (o *CancelReplicationConflict) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationConflict) IsClientError() bool
- func (o *CancelReplicationConflict) IsCode(code int) bool
- func (o *CancelReplicationConflict) IsRedirect() bool
- func (o *CancelReplicationConflict) IsServerError() bool
- func (o *CancelReplicationConflict) IsSuccess() bool
- func (o *CancelReplicationConflict) String() string
- 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 CancelReplicationNotImplemented
- func (o *CancelReplicationNotImplemented) Code() int
- func (o *CancelReplicationNotImplemented) Error() string
- func (o *CancelReplicationNotImplemented) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationNotImplemented) IsClientError() bool
- func (o *CancelReplicationNotImplemented) IsCode(code int) bool
- func (o *CancelReplicationNotImplemented) IsRedirect() bool
- func (o *CancelReplicationNotImplemented) IsServerError() bool
- func (o *CancelReplicationNotImplemented) IsSuccess() bool
- func (o *CancelReplicationNotImplemented) 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 CancelReplicationUnprocessableEntity
- func (o *CancelReplicationUnprocessableEntity) Code() int
- func (o *CancelReplicationUnprocessableEntity) Error() string
- func (o *CancelReplicationUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *CancelReplicationUnprocessableEntity) IsClientError() bool
- func (o *CancelReplicationUnprocessableEntity) IsCode(code int) bool
- func (o *CancelReplicationUnprocessableEntity) IsRedirect() bool
- func (o *CancelReplicationUnprocessableEntity) IsServerError() bool
- func (o *CancelReplicationUnprocessableEntity) IsSuccess() bool
- func (o *CancelReplicationUnprocessableEntity) String() string
- type Client
- func (a *Client) ApplyReplicationScalePlan(params *ApplyReplicationScalePlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ApplyReplicationScalePlanOK, error)
- 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) ForceDeleteReplications(params *ForceDeleteReplicationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ForceDeleteReplicationsOK, error)
- func (a *Client) GetCollectionShardingState(params *GetCollectionShardingStateParams, ...) (*GetCollectionShardingStateOK, error)
- func (a *Client) GetReplicationScalePlan(params *GetReplicationScalePlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReplicationScalePlanOK, 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 DeleteAllReplicationsNotImplemented
- func (o *DeleteAllReplicationsNotImplemented) Code() int
- func (o *DeleteAllReplicationsNotImplemented) Error() string
- func (o *DeleteAllReplicationsNotImplemented) GetPayload() *models.ErrorResponse
- func (o *DeleteAllReplicationsNotImplemented) IsClientError() bool
- func (o *DeleteAllReplicationsNotImplemented) IsCode(code int) bool
- func (o *DeleteAllReplicationsNotImplemented) IsRedirect() bool
- func (o *DeleteAllReplicationsNotImplemented) IsServerError() bool
- func (o *DeleteAllReplicationsNotImplemented) IsSuccess() bool
- func (o *DeleteAllReplicationsNotImplemented) 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 DeleteReplicationConflict
- func (o *DeleteReplicationConflict) Code() int
- func (o *DeleteReplicationConflict) Error() string
- func (o *DeleteReplicationConflict) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationConflict) IsClientError() bool
- func (o *DeleteReplicationConflict) IsCode(code int) bool
- func (o *DeleteReplicationConflict) IsRedirect() bool
- func (o *DeleteReplicationConflict) IsServerError() bool
- func (o *DeleteReplicationConflict) IsSuccess() bool
- func (o *DeleteReplicationConflict) 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 DeleteReplicationNotImplemented
- func (o *DeleteReplicationNotImplemented) Code() int
- func (o *DeleteReplicationNotImplemented) Error() string
- func (o *DeleteReplicationNotImplemented) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationNotImplemented) IsClientError() bool
- func (o *DeleteReplicationNotImplemented) IsCode(code int) bool
- func (o *DeleteReplicationNotImplemented) IsRedirect() bool
- func (o *DeleteReplicationNotImplemented) IsServerError() bool
- func (o *DeleteReplicationNotImplemented) IsSuccess() bool
- func (o *DeleteReplicationNotImplemented) 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 DeleteReplicationUnprocessableEntity
- func (o *DeleteReplicationUnprocessableEntity) Code() int
- func (o *DeleteReplicationUnprocessableEntity) Error() string
- func (o *DeleteReplicationUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *DeleteReplicationUnprocessableEntity) IsClientError() bool
- func (o *DeleteReplicationUnprocessableEntity) IsCode(code int) bool
- func (o *DeleteReplicationUnprocessableEntity) IsRedirect() bool
- func (o *DeleteReplicationUnprocessableEntity) IsServerError() bool
- func (o *DeleteReplicationUnprocessableEntity) IsSuccess() bool
- func (o *DeleteReplicationUnprocessableEntity) String() string
- type ForceDeleteReplicationsBadRequest
- func (o *ForceDeleteReplicationsBadRequest) Code() int
- func (o *ForceDeleteReplicationsBadRequest) Error() string
- func (o *ForceDeleteReplicationsBadRequest) GetPayload() *models.ErrorResponse
- func (o *ForceDeleteReplicationsBadRequest) IsClientError() bool
- func (o *ForceDeleteReplicationsBadRequest) IsCode(code int) bool
- func (o *ForceDeleteReplicationsBadRequest) IsRedirect() bool
- func (o *ForceDeleteReplicationsBadRequest) IsServerError() bool
- func (o *ForceDeleteReplicationsBadRequest) IsSuccess() bool
- func (o *ForceDeleteReplicationsBadRequest) String() string
- type ForceDeleteReplicationsForbidden
- func (o *ForceDeleteReplicationsForbidden) Code() int
- func (o *ForceDeleteReplicationsForbidden) Error() string
- func (o *ForceDeleteReplicationsForbidden) GetPayload() *models.ErrorResponse
- func (o *ForceDeleteReplicationsForbidden) IsClientError() bool
- func (o *ForceDeleteReplicationsForbidden) IsCode(code int) bool
- func (o *ForceDeleteReplicationsForbidden) IsRedirect() bool
- func (o *ForceDeleteReplicationsForbidden) IsServerError() bool
- func (o *ForceDeleteReplicationsForbidden) IsSuccess() bool
- func (o *ForceDeleteReplicationsForbidden) String() string
- type ForceDeleteReplicationsInternalServerError
- func (o *ForceDeleteReplicationsInternalServerError) Code() int
- func (o *ForceDeleteReplicationsInternalServerError) Error() string
- func (o *ForceDeleteReplicationsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ForceDeleteReplicationsInternalServerError) IsClientError() bool
- func (o *ForceDeleteReplicationsInternalServerError) IsCode(code int) bool
- func (o *ForceDeleteReplicationsInternalServerError) IsRedirect() bool
- func (o *ForceDeleteReplicationsInternalServerError) IsServerError() bool
- func (o *ForceDeleteReplicationsInternalServerError) IsSuccess() bool
- func (o *ForceDeleteReplicationsInternalServerError) String() string
- type ForceDeleteReplicationsOK
- func (o *ForceDeleteReplicationsOK) Code() int
- func (o *ForceDeleteReplicationsOK) Error() string
- func (o *ForceDeleteReplicationsOK) GetPayload() *models.ReplicationReplicateForceDeleteResponse
- func (o *ForceDeleteReplicationsOK) IsClientError() bool
- func (o *ForceDeleteReplicationsOK) IsCode(code int) bool
- func (o *ForceDeleteReplicationsOK) IsRedirect() bool
- func (o *ForceDeleteReplicationsOK) IsServerError() bool
- func (o *ForceDeleteReplicationsOK) IsSuccess() bool
- func (o *ForceDeleteReplicationsOK) String() string
- type ForceDeleteReplicationsParams
- func NewForceDeleteReplicationsParams() *ForceDeleteReplicationsParams
- func NewForceDeleteReplicationsParamsWithContext(ctx context.Context) *ForceDeleteReplicationsParams
- func NewForceDeleteReplicationsParamsWithHTTPClient(client *http.Client) *ForceDeleteReplicationsParams
- func NewForceDeleteReplicationsParamsWithTimeout(timeout time.Duration) *ForceDeleteReplicationsParams
- func (o *ForceDeleteReplicationsParams) SetBody(body *models.ReplicationReplicateForceDeleteRequest)
- func (o *ForceDeleteReplicationsParams) SetContext(ctx context.Context)
- func (o *ForceDeleteReplicationsParams) SetDefaults()
- func (o *ForceDeleteReplicationsParams) SetHTTPClient(client *http.Client)
- func (o *ForceDeleteReplicationsParams) SetTimeout(timeout time.Duration)
- func (o *ForceDeleteReplicationsParams) WithBody(body *models.ReplicationReplicateForceDeleteRequest) *ForceDeleteReplicationsParams
- func (o *ForceDeleteReplicationsParams) WithContext(ctx context.Context) *ForceDeleteReplicationsParams
- func (o *ForceDeleteReplicationsParams) WithDefaults() *ForceDeleteReplicationsParams
- func (o *ForceDeleteReplicationsParams) WithHTTPClient(client *http.Client) *ForceDeleteReplicationsParams
- func (o *ForceDeleteReplicationsParams) WithTimeout(timeout time.Duration) *ForceDeleteReplicationsParams
- func (o *ForceDeleteReplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ForceDeleteReplicationsReader
- type ForceDeleteReplicationsUnauthorized
- func (o *ForceDeleteReplicationsUnauthorized) Code() int
- func (o *ForceDeleteReplicationsUnauthorized) Error() string
- func (o *ForceDeleteReplicationsUnauthorized) IsClientError() bool
- func (o *ForceDeleteReplicationsUnauthorized) IsCode(code int) bool
- func (o *ForceDeleteReplicationsUnauthorized) IsRedirect() bool
- func (o *ForceDeleteReplicationsUnauthorized) IsServerError() bool
- func (o *ForceDeleteReplicationsUnauthorized) IsSuccess() bool
- func (o *ForceDeleteReplicationsUnauthorized) String() string
- type ForceDeleteReplicationsUnprocessableEntity
- func (o *ForceDeleteReplicationsUnprocessableEntity) Code() int
- func (o *ForceDeleteReplicationsUnprocessableEntity) Error() string
- func (o *ForceDeleteReplicationsUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ForceDeleteReplicationsUnprocessableEntity) IsClientError() bool
- func (o *ForceDeleteReplicationsUnprocessableEntity) IsCode(code int) bool
- func (o *ForceDeleteReplicationsUnprocessableEntity) IsRedirect() bool
- func (o *ForceDeleteReplicationsUnprocessableEntity) IsServerError() bool
- func (o *ForceDeleteReplicationsUnprocessableEntity) IsSuccess() bool
- func (o *ForceDeleteReplicationsUnprocessableEntity) 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 GetCollectionShardingStateNotImplemented
- func (o *GetCollectionShardingStateNotImplemented) Code() int
- func (o *GetCollectionShardingStateNotImplemented) Error() string
- func (o *GetCollectionShardingStateNotImplemented) GetPayload() *models.ErrorResponse
- func (o *GetCollectionShardingStateNotImplemented) IsClientError() bool
- func (o *GetCollectionShardingStateNotImplemented) IsCode(code int) bool
- func (o *GetCollectionShardingStateNotImplemented) IsRedirect() bool
- func (o *GetCollectionShardingStateNotImplemented) IsServerError() bool
- func (o *GetCollectionShardingStateNotImplemented) IsSuccess() bool
- func (o *GetCollectionShardingStateNotImplemented) 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 GetReplicationScalePlanBadRequest
- func (o *GetReplicationScalePlanBadRequest) Code() int
- func (o *GetReplicationScalePlanBadRequest) Error() string
- func (o *GetReplicationScalePlanBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetReplicationScalePlanBadRequest) IsClientError() bool
- func (o *GetReplicationScalePlanBadRequest) IsCode(code int) bool
- func (o *GetReplicationScalePlanBadRequest) IsRedirect() bool
- func (o *GetReplicationScalePlanBadRequest) IsServerError() bool
- func (o *GetReplicationScalePlanBadRequest) IsSuccess() bool
- func (o *GetReplicationScalePlanBadRequest) String() string
- type GetReplicationScalePlanForbidden
- func (o *GetReplicationScalePlanForbidden) Code() int
- func (o *GetReplicationScalePlanForbidden) Error() string
- func (o *GetReplicationScalePlanForbidden) GetPayload() *models.ErrorResponse
- func (o *GetReplicationScalePlanForbidden) IsClientError() bool
- func (o *GetReplicationScalePlanForbidden) IsCode(code int) bool
- func (o *GetReplicationScalePlanForbidden) IsRedirect() bool
- func (o *GetReplicationScalePlanForbidden) IsServerError() bool
- func (o *GetReplicationScalePlanForbidden) IsSuccess() bool
- func (o *GetReplicationScalePlanForbidden) String() string
- type GetReplicationScalePlanInternalServerError
- func (o *GetReplicationScalePlanInternalServerError) Code() int
- func (o *GetReplicationScalePlanInternalServerError) Error() string
- func (o *GetReplicationScalePlanInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetReplicationScalePlanInternalServerError) IsClientError() bool
- func (o *GetReplicationScalePlanInternalServerError) IsCode(code int) bool
- func (o *GetReplicationScalePlanInternalServerError) IsRedirect() bool
- func (o *GetReplicationScalePlanInternalServerError) IsServerError() bool
- func (o *GetReplicationScalePlanInternalServerError) IsSuccess() bool
- func (o *GetReplicationScalePlanInternalServerError) String() string
- type GetReplicationScalePlanNotFound
- func (o *GetReplicationScalePlanNotFound) Code() int
- func (o *GetReplicationScalePlanNotFound) Error() string
- func (o *GetReplicationScalePlanNotFound) GetPayload() *models.ErrorResponse
- func (o *GetReplicationScalePlanNotFound) IsClientError() bool
- func (o *GetReplicationScalePlanNotFound) IsCode(code int) bool
- func (o *GetReplicationScalePlanNotFound) IsRedirect() bool
- func (o *GetReplicationScalePlanNotFound) IsServerError() bool
- func (o *GetReplicationScalePlanNotFound) IsSuccess() bool
- func (o *GetReplicationScalePlanNotFound) String() string
- type GetReplicationScalePlanNotImplemented
- func (o *GetReplicationScalePlanNotImplemented) Code() int
- func (o *GetReplicationScalePlanNotImplemented) Error() string
- func (o *GetReplicationScalePlanNotImplemented) GetPayload() *models.ErrorResponse
- func (o *GetReplicationScalePlanNotImplemented) IsClientError() bool
- func (o *GetReplicationScalePlanNotImplemented) IsCode(code int) bool
- func (o *GetReplicationScalePlanNotImplemented) IsRedirect() bool
- func (o *GetReplicationScalePlanNotImplemented) IsServerError() bool
- func (o *GetReplicationScalePlanNotImplemented) IsSuccess() bool
- func (o *GetReplicationScalePlanNotImplemented) String() string
- type GetReplicationScalePlanOK
- func (o *GetReplicationScalePlanOK) Code() int
- func (o *GetReplicationScalePlanOK) Error() string
- func (o *GetReplicationScalePlanOK) GetPayload() *models.ReplicationScalePlan
- func (o *GetReplicationScalePlanOK) IsClientError() bool
- func (o *GetReplicationScalePlanOK) IsCode(code int) bool
- func (o *GetReplicationScalePlanOK) IsRedirect() bool
- func (o *GetReplicationScalePlanOK) IsServerError() bool
- func (o *GetReplicationScalePlanOK) IsSuccess() bool
- func (o *GetReplicationScalePlanOK) String() string
- type GetReplicationScalePlanParams
- func NewGetReplicationScalePlanParams() *GetReplicationScalePlanParams
- func NewGetReplicationScalePlanParamsWithContext(ctx context.Context) *GetReplicationScalePlanParams
- func NewGetReplicationScalePlanParamsWithHTTPClient(client *http.Client) *GetReplicationScalePlanParams
- func NewGetReplicationScalePlanParamsWithTimeout(timeout time.Duration) *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) SetCollection(collection string)
- func (o *GetReplicationScalePlanParams) SetContext(ctx context.Context)
- func (o *GetReplicationScalePlanParams) SetDefaults()
- func (o *GetReplicationScalePlanParams) SetHTTPClient(client *http.Client)
- func (o *GetReplicationScalePlanParams) SetReplicationFactor(replicationFactor int64)
- func (o *GetReplicationScalePlanParams) SetTimeout(timeout time.Duration)
- func (o *GetReplicationScalePlanParams) WithCollection(collection string) *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) WithContext(ctx context.Context) *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) WithDefaults() *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) WithHTTPClient(client *http.Client) *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) WithReplicationFactor(replicationFactor int64) *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) WithTimeout(timeout time.Duration) *GetReplicationScalePlanParams
- func (o *GetReplicationScalePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReplicationScalePlanReader
- type GetReplicationScalePlanUnauthorized
- func (o *GetReplicationScalePlanUnauthorized) Code() int
- func (o *GetReplicationScalePlanUnauthorized) Error() string
- func (o *GetReplicationScalePlanUnauthorized) IsClientError() bool
- func (o *GetReplicationScalePlanUnauthorized) IsCode(code int) bool
- func (o *GetReplicationScalePlanUnauthorized) IsRedirect() bool
- func (o *GetReplicationScalePlanUnauthorized) IsServerError() bool
- func (o *GetReplicationScalePlanUnauthorized) IsSuccess() bool
- func (o *GetReplicationScalePlanUnauthorized) 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 ListReplicationNotImplemented
- func (o *ListReplicationNotImplemented) Code() int
- func (o *ListReplicationNotImplemented) Error() string
- func (o *ListReplicationNotImplemented) GetPayload() *models.ErrorResponse
- func (o *ListReplicationNotImplemented) IsClientError() bool
- func (o *ListReplicationNotImplemented) IsCode(code int) bool
- func (o *ListReplicationNotImplemented) IsRedirect() bool
- func (o *ListReplicationNotImplemented) IsServerError() bool
- func (o *ListReplicationNotImplemented) IsSuccess() bool
- func (o *ListReplicationNotImplemented) 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) SetShard(shard *string)
- func (o *ListReplicationParams) SetTargetNode(targetNode *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) WithShard(shard *string) *ListReplicationParams
- func (o *ListReplicationParams) WithTargetNode(targetNode *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 ReplicateNotImplemented
- func (o *ReplicateNotImplemented) Code() int
- func (o *ReplicateNotImplemented) Error() string
- func (o *ReplicateNotImplemented) GetPayload() *models.ErrorResponse
- func (o *ReplicateNotImplemented) IsClientError() bool
- func (o *ReplicateNotImplemented) IsCode(code int) bool
- func (o *ReplicateNotImplemented) IsRedirect() bool
- func (o *ReplicateNotImplemented) IsServerError() bool
- func (o *ReplicateNotImplemented) IsSuccess() bool
- func (o *ReplicateNotImplemented) 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 ReplicationDetailsNotImplemented
- func (o *ReplicationDetailsNotImplemented) Code() int
- func (o *ReplicationDetailsNotImplemented) Error() string
- func (o *ReplicationDetailsNotImplemented) GetPayload() *models.ErrorResponse
- func (o *ReplicationDetailsNotImplemented) IsClientError() bool
- func (o *ReplicationDetailsNotImplemented) IsCode(code int) bool
- func (o *ReplicationDetailsNotImplemented) IsRedirect() bool
- func (o *ReplicationDetailsNotImplemented) IsServerError() bool
- func (o *ReplicationDetailsNotImplemented) IsSuccess() bool
- func (o *ReplicationDetailsNotImplemented) 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
- type ReplicationDetailsUnprocessableEntity
- func (o *ReplicationDetailsUnprocessableEntity) Code() int
- func (o *ReplicationDetailsUnprocessableEntity) Error() string
- func (o *ReplicationDetailsUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ReplicationDetailsUnprocessableEntity) IsClientError() bool
- func (o *ReplicationDetailsUnprocessableEntity) IsCode(code int) bool
- func (o *ReplicationDetailsUnprocessableEntity) IsRedirect() bool
- func (o *ReplicationDetailsUnprocessableEntity) IsServerError() bool
- func (o *ReplicationDetailsUnprocessableEntity) IsSuccess() bool
- func (o *ReplicationDetailsUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyReplicationScalePlanBadRequest ¶ added in v1.31.20
type ApplyReplicationScalePlanBadRequest struct {
Payload *models.ErrorResponse
}
ApplyReplicationScalePlanBadRequest describes a response with status code 400, with default header values.
Bad request.
func NewApplyReplicationScalePlanBadRequest ¶ added in v1.31.20
func NewApplyReplicationScalePlanBadRequest() *ApplyReplicationScalePlanBadRequest
NewApplyReplicationScalePlanBadRequest creates a ApplyReplicationScalePlanBadRequest with default headers values
func (*ApplyReplicationScalePlanBadRequest) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) Code() int
Code gets the status code for the apply replication scale plan bad request response
func (*ApplyReplicationScalePlanBadRequest) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) Error() string
func (*ApplyReplicationScalePlanBadRequest) GetPayload ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) GetPayload() *models.ErrorResponse
func (*ApplyReplicationScalePlanBadRequest) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) IsClientError() bool
IsClientError returns true when this apply replication scale plan bad request response has a 4xx status code
func (*ApplyReplicationScalePlanBadRequest) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) IsCode(code int) bool
IsCode returns true when this apply replication scale plan bad request response a status code equal to that given
func (*ApplyReplicationScalePlanBadRequest) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan bad request response has a 3xx status code
func (*ApplyReplicationScalePlanBadRequest) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) IsServerError() bool
IsServerError returns true when this apply replication scale plan bad request response has a 5xx status code
func (*ApplyReplicationScalePlanBadRequest) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan bad request response has a 2xx status code
func (*ApplyReplicationScalePlanBadRequest) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanBadRequest) String() string
type ApplyReplicationScalePlanForbidden ¶ added in v1.31.20
type ApplyReplicationScalePlanForbidden struct {
Payload *models.ErrorResponse
}
ApplyReplicationScalePlanForbidden describes a response with status code 403, with default header values.
Forbidden
func NewApplyReplicationScalePlanForbidden ¶ added in v1.31.20
func NewApplyReplicationScalePlanForbidden() *ApplyReplicationScalePlanForbidden
NewApplyReplicationScalePlanForbidden creates a ApplyReplicationScalePlanForbidden with default headers values
func (*ApplyReplicationScalePlanForbidden) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) Code() int
Code gets the status code for the apply replication scale plan forbidden response
func (*ApplyReplicationScalePlanForbidden) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) Error() string
func (*ApplyReplicationScalePlanForbidden) GetPayload ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) GetPayload() *models.ErrorResponse
func (*ApplyReplicationScalePlanForbidden) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) IsClientError() bool
IsClientError returns true when this apply replication scale plan forbidden response has a 4xx status code
func (*ApplyReplicationScalePlanForbidden) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) IsCode(code int) bool
IsCode returns true when this apply replication scale plan forbidden response a status code equal to that given
func (*ApplyReplicationScalePlanForbidden) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan forbidden response has a 3xx status code
func (*ApplyReplicationScalePlanForbidden) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) IsServerError() bool
IsServerError returns true when this apply replication scale plan forbidden response has a 5xx status code
func (*ApplyReplicationScalePlanForbidden) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan forbidden response has a 2xx status code
func (*ApplyReplicationScalePlanForbidden) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanForbidden) String() string
type ApplyReplicationScalePlanInternalServerError ¶ added in v1.31.20
type ApplyReplicationScalePlanInternalServerError struct {
Payload *models.ErrorResponse
}
ApplyReplicationScalePlanInternalServerError 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 NewApplyReplicationScalePlanInternalServerError ¶ added in v1.31.20
func NewApplyReplicationScalePlanInternalServerError() *ApplyReplicationScalePlanInternalServerError
NewApplyReplicationScalePlanInternalServerError creates a ApplyReplicationScalePlanInternalServerError with default headers values
func (*ApplyReplicationScalePlanInternalServerError) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) Code() int
Code gets the status code for the apply replication scale plan internal server error response
func (*ApplyReplicationScalePlanInternalServerError) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) Error() string
func (*ApplyReplicationScalePlanInternalServerError) GetPayload ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) GetPayload() *models.ErrorResponse
func (*ApplyReplicationScalePlanInternalServerError) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) IsClientError() bool
IsClientError returns true when this apply replication scale plan internal server error response has a 4xx status code
func (*ApplyReplicationScalePlanInternalServerError) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) IsCode(code int) bool
IsCode returns true when this apply replication scale plan internal server error response a status code equal to that given
func (*ApplyReplicationScalePlanInternalServerError) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan internal server error response has a 3xx status code
func (*ApplyReplicationScalePlanInternalServerError) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) IsServerError() bool
IsServerError returns true when this apply replication scale plan internal server error response has a 5xx status code
func (*ApplyReplicationScalePlanInternalServerError) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan internal server error response has a 2xx status code
func (*ApplyReplicationScalePlanInternalServerError) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanInternalServerError) String() string
type ApplyReplicationScalePlanNotFound ¶ added in v1.31.20
type ApplyReplicationScalePlanNotFound struct {
Payload *models.ErrorResponse
}
ApplyReplicationScalePlanNotFound describes a response with status code 404, with default header values.
Collection not found.
func NewApplyReplicationScalePlanNotFound ¶ added in v1.31.20
func NewApplyReplicationScalePlanNotFound() *ApplyReplicationScalePlanNotFound
NewApplyReplicationScalePlanNotFound creates a ApplyReplicationScalePlanNotFound with default headers values
func (*ApplyReplicationScalePlanNotFound) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) Code() int
Code gets the status code for the apply replication scale plan not found response
func (*ApplyReplicationScalePlanNotFound) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) Error() string
func (*ApplyReplicationScalePlanNotFound) GetPayload ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) GetPayload() *models.ErrorResponse
func (*ApplyReplicationScalePlanNotFound) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) IsClientError() bool
IsClientError returns true when this apply replication scale plan not found response has a 4xx status code
func (*ApplyReplicationScalePlanNotFound) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) IsCode(code int) bool
IsCode returns true when this apply replication scale plan not found response a status code equal to that given
func (*ApplyReplicationScalePlanNotFound) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan not found response has a 3xx status code
func (*ApplyReplicationScalePlanNotFound) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) IsServerError() bool
IsServerError returns true when this apply replication scale plan not found response has a 5xx status code
func (*ApplyReplicationScalePlanNotFound) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan not found response has a 2xx status code
func (*ApplyReplicationScalePlanNotFound) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotFound) String() string
type ApplyReplicationScalePlanNotImplemented ¶ added in v1.31.20
type ApplyReplicationScalePlanNotImplemented struct {
Payload *models.ErrorResponse
}
ApplyReplicationScalePlanNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewApplyReplicationScalePlanNotImplemented ¶ added in v1.31.20
func NewApplyReplicationScalePlanNotImplemented() *ApplyReplicationScalePlanNotImplemented
NewApplyReplicationScalePlanNotImplemented creates a ApplyReplicationScalePlanNotImplemented with default headers values
func (*ApplyReplicationScalePlanNotImplemented) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) Code() int
Code gets the status code for the apply replication scale plan not implemented response
func (*ApplyReplicationScalePlanNotImplemented) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) Error() string
func (*ApplyReplicationScalePlanNotImplemented) GetPayload ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) GetPayload() *models.ErrorResponse
func (*ApplyReplicationScalePlanNotImplemented) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) IsClientError() bool
IsClientError returns true when this apply replication scale plan not implemented response has a 4xx status code
func (*ApplyReplicationScalePlanNotImplemented) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) IsCode(code int) bool
IsCode returns true when this apply replication scale plan not implemented response a status code equal to that given
func (*ApplyReplicationScalePlanNotImplemented) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan not implemented response has a 3xx status code
func (*ApplyReplicationScalePlanNotImplemented) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) IsServerError() bool
IsServerError returns true when this apply replication scale plan not implemented response has a 5xx status code
func (*ApplyReplicationScalePlanNotImplemented) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan not implemented response has a 2xx status code
func (*ApplyReplicationScalePlanNotImplemented) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanNotImplemented) String() string
type ApplyReplicationScalePlanOK ¶ added in v1.31.20
type ApplyReplicationScalePlanOK struct {
Payload *models.ReplicationScaleApplyResponse
}
ApplyReplicationScalePlanOK describes a response with status code 200, with default header values.
List of replication shard copy operation IDs initiated for the scale operation
func NewApplyReplicationScalePlanOK ¶ added in v1.31.20
func NewApplyReplicationScalePlanOK() *ApplyReplicationScalePlanOK
NewApplyReplicationScalePlanOK creates a ApplyReplicationScalePlanOK with default headers values
func (*ApplyReplicationScalePlanOK) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) Code() int
Code gets the status code for the apply replication scale plan o k response
func (*ApplyReplicationScalePlanOK) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) Error() string
func (*ApplyReplicationScalePlanOK) GetPayload ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) GetPayload() *models.ReplicationScaleApplyResponse
func (*ApplyReplicationScalePlanOK) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) IsClientError() bool
IsClientError returns true when this apply replication scale plan o k response has a 4xx status code
func (*ApplyReplicationScalePlanOK) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) IsCode(code int) bool
IsCode returns true when this apply replication scale plan o k response a status code equal to that given
func (*ApplyReplicationScalePlanOK) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan o k response has a 3xx status code
func (*ApplyReplicationScalePlanOK) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) IsServerError() bool
IsServerError returns true when this apply replication scale plan o k response has a 5xx status code
func (*ApplyReplicationScalePlanOK) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan o k response has a 2xx status code
func (*ApplyReplicationScalePlanOK) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanOK) String() string
type ApplyReplicationScalePlanParams ¶ added in v1.31.20
type ApplyReplicationScalePlanParams struct {
/* Body.
The replication scaling plan specifying the collection and its shard-level replica adjustments.
*/
Body *models.ReplicationScalePlan
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ApplyReplicationScalePlanParams contains all the parameters to send to the API endpoint
for the apply replication scale plan operation. Typically these are written to a http.Request.
func NewApplyReplicationScalePlanParams ¶ added in v1.31.20
func NewApplyReplicationScalePlanParams() *ApplyReplicationScalePlanParams
NewApplyReplicationScalePlanParams creates a new ApplyReplicationScalePlanParams 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 NewApplyReplicationScalePlanParamsWithContext ¶ added in v1.31.20
func NewApplyReplicationScalePlanParamsWithContext(ctx context.Context) *ApplyReplicationScalePlanParams
NewApplyReplicationScalePlanParamsWithContext creates a new ApplyReplicationScalePlanParams object with the ability to set a context for a request.
func NewApplyReplicationScalePlanParamsWithHTTPClient ¶ added in v1.31.20
func NewApplyReplicationScalePlanParamsWithHTTPClient(client *http.Client) *ApplyReplicationScalePlanParams
NewApplyReplicationScalePlanParamsWithHTTPClient creates a new ApplyReplicationScalePlanParams object with the ability to set a custom HTTPClient for a request.
func NewApplyReplicationScalePlanParamsWithTimeout ¶ added in v1.31.20
func NewApplyReplicationScalePlanParamsWithTimeout(timeout time.Duration) *ApplyReplicationScalePlanParams
NewApplyReplicationScalePlanParamsWithTimeout creates a new ApplyReplicationScalePlanParams object with the ability to set a timeout on a request.
func (*ApplyReplicationScalePlanParams) SetBody ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) SetBody(body *models.ReplicationScalePlan)
SetBody adds the body to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) SetContext ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) SetDefaults ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) SetDefaults()
SetDefaults hydrates default values in the apply replication scale plan params (not the query body).
All values with no default are reset to their zero value.
func (*ApplyReplicationScalePlanParams) SetHTTPClient ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) SetTimeout ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) WithBody ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) WithBody(body *models.ReplicationScalePlan) *ApplyReplicationScalePlanParams
WithBody adds the body to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) WithContext ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) WithContext(ctx context.Context) *ApplyReplicationScalePlanParams
WithContext adds the context to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) WithDefaults ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) WithDefaults() *ApplyReplicationScalePlanParams
WithDefaults hydrates default values in the apply replication scale plan params (not the query body).
All values with no default are reset to their zero value.
func (*ApplyReplicationScalePlanParams) WithHTTPClient ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) WithHTTPClient(client *http.Client) *ApplyReplicationScalePlanParams
WithHTTPClient adds the HTTPClient to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) WithTimeout ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) WithTimeout(timeout time.Duration) *ApplyReplicationScalePlanParams
WithTimeout adds the timeout to the apply replication scale plan params
func (*ApplyReplicationScalePlanParams) WriteToRequest ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ApplyReplicationScalePlanReader ¶ added in v1.31.20
type ApplyReplicationScalePlanReader struct {
// contains filtered or unexported fields
}
ApplyReplicationScalePlanReader is a Reader for the ApplyReplicationScalePlan structure.
func (*ApplyReplicationScalePlanReader) ReadResponse ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ApplyReplicationScalePlanUnauthorized ¶ added in v1.31.20
type ApplyReplicationScalePlanUnauthorized struct {
}
ApplyReplicationScalePlanUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewApplyReplicationScalePlanUnauthorized ¶ added in v1.31.20
func NewApplyReplicationScalePlanUnauthorized() *ApplyReplicationScalePlanUnauthorized
NewApplyReplicationScalePlanUnauthorized creates a ApplyReplicationScalePlanUnauthorized with default headers values
func (*ApplyReplicationScalePlanUnauthorized) Code ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) Code() int
Code gets the status code for the apply replication scale plan unauthorized response
func (*ApplyReplicationScalePlanUnauthorized) Error ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) Error() string
func (*ApplyReplicationScalePlanUnauthorized) IsClientError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) IsClientError() bool
IsClientError returns true when this apply replication scale plan unauthorized response has a 4xx status code
func (*ApplyReplicationScalePlanUnauthorized) IsCode ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) IsCode(code int) bool
IsCode returns true when this apply replication scale plan unauthorized response a status code equal to that given
func (*ApplyReplicationScalePlanUnauthorized) IsRedirect ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) IsRedirect() bool
IsRedirect returns true when this apply replication scale plan unauthorized response has a 3xx status code
func (*ApplyReplicationScalePlanUnauthorized) IsServerError ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) IsServerError() bool
IsServerError returns true when this apply replication scale plan unauthorized response has a 5xx status code
func (*ApplyReplicationScalePlanUnauthorized) IsSuccess ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) IsSuccess() bool
IsSuccess returns true when this apply replication scale plan unauthorized response has a 2xx status code
func (*ApplyReplicationScalePlanUnauthorized) String ¶ added in v1.31.20
func (o *ApplyReplicationScalePlanUnauthorized) String() string
type CancelReplicationConflict ¶
type CancelReplicationConflict struct {
Payload *models.ErrorResponse
}
CancelReplicationConflict describes a response with status code 409, with default header values.
The operation is not in a cancellable state, e.g. it is READY or is a MOVE op in the DEHYDRATING state.
func NewCancelReplicationConflict ¶
func NewCancelReplicationConflict() *CancelReplicationConflict
NewCancelReplicationConflict creates a CancelReplicationConflict with default headers values
func (*CancelReplicationConflict) Code ¶
func (o *CancelReplicationConflict) Code() int
Code gets the status code for the cancel replication conflict response
func (*CancelReplicationConflict) Error ¶
func (o *CancelReplicationConflict) Error() string
func (*CancelReplicationConflict) GetPayload ¶
func (o *CancelReplicationConflict) GetPayload() *models.ErrorResponse
func (*CancelReplicationConflict) IsClientError ¶
func (o *CancelReplicationConflict) IsClientError() bool
IsClientError returns true when this cancel replication conflict response has a 4xx status code
func (*CancelReplicationConflict) IsCode ¶
func (o *CancelReplicationConflict) IsCode(code int) bool
IsCode returns true when this cancel replication conflict response a status code equal to that given
func (*CancelReplicationConflict) IsRedirect ¶
func (o *CancelReplicationConflict) IsRedirect() bool
IsRedirect returns true when this cancel replication conflict response has a 3xx status code
func (*CancelReplicationConflict) IsServerError ¶
func (o *CancelReplicationConflict) IsServerError() bool
IsServerError returns true when this cancel replication conflict response has a 5xx status code
func (*CancelReplicationConflict) IsSuccess ¶
func (o *CancelReplicationConflict) IsSuccess() bool
IsSuccess returns true when this cancel replication conflict response has a 2xx status code
func (*CancelReplicationConflict) String ¶
func (o *CancelReplicationConflict) String() string
type CancelReplicationForbidden ¶
type CancelReplicationForbidden struct {
Payload *models.ErrorResponse
}
CancelReplicationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCancelReplicationForbidden ¶
func NewCancelReplicationForbidden() *CancelReplicationForbidden
NewCancelReplicationForbidden creates a CancelReplicationForbidden with default headers values
func (*CancelReplicationForbidden) Code ¶
func (o *CancelReplicationForbidden) Code() int
Code gets the status code for the cancel replication forbidden response
func (*CancelReplicationForbidden) Error ¶
func (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 CancelReplicationNotImplemented ¶
type CancelReplicationNotImplemented struct {
Payload *models.ErrorResponse
}
CancelReplicationNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewCancelReplicationNotImplemented ¶
func NewCancelReplicationNotImplemented() *CancelReplicationNotImplemented
NewCancelReplicationNotImplemented creates a CancelReplicationNotImplemented with default headers values
func (*CancelReplicationNotImplemented) Code ¶
func (o *CancelReplicationNotImplemented) Code() int
Code gets the status code for the cancel replication not implemented response
func (*CancelReplicationNotImplemented) Error ¶
func (o *CancelReplicationNotImplemented) Error() string
func (*CancelReplicationNotImplemented) GetPayload ¶
func (o *CancelReplicationNotImplemented) GetPayload() *models.ErrorResponse
func (*CancelReplicationNotImplemented) IsClientError ¶
func (o *CancelReplicationNotImplemented) IsClientError() bool
IsClientError returns true when this cancel replication not implemented response has a 4xx status code
func (*CancelReplicationNotImplemented) IsCode ¶
func (o *CancelReplicationNotImplemented) IsCode(code int) bool
IsCode returns true when this cancel replication not implemented response a status code equal to that given
func (*CancelReplicationNotImplemented) IsRedirect ¶
func (o *CancelReplicationNotImplemented) IsRedirect() bool
IsRedirect returns true when this cancel replication not implemented response has a 3xx status code
func (*CancelReplicationNotImplemented) IsServerError ¶
func (o *CancelReplicationNotImplemented) IsServerError() bool
IsServerError returns true when this cancel replication not implemented response has a 5xx status code
func (*CancelReplicationNotImplemented) IsSuccess ¶
func (o *CancelReplicationNotImplemented) IsSuccess() bool
IsSuccess returns true when this cancel replication not implemented response has a 2xx status code
func (*CancelReplicationNotImplemented) String ¶
func (o *CancelReplicationNotImplemented) 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 CancelReplicationUnprocessableEntity ¶
type CancelReplicationUnprocessableEntity struct {
Payload *models.ErrorResponse
}
CancelReplicationUnprocessableEntity describes a response with status code 422, with default header values.
The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.
func NewCancelReplicationUnprocessableEntity ¶
func NewCancelReplicationUnprocessableEntity() *CancelReplicationUnprocessableEntity
NewCancelReplicationUnprocessableEntity creates a CancelReplicationUnprocessableEntity with default headers values
func (*CancelReplicationUnprocessableEntity) Code ¶
func (o *CancelReplicationUnprocessableEntity) Code() int
Code gets the status code for the cancel replication unprocessable entity response
func (*CancelReplicationUnprocessableEntity) Error ¶
func (o *CancelReplicationUnprocessableEntity) Error() string
func (*CancelReplicationUnprocessableEntity) GetPayload ¶
func (o *CancelReplicationUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*CancelReplicationUnprocessableEntity) IsClientError ¶
func (o *CancelReplicationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this cancel replication unprocessable entity response has a 4xx status code
func (*CancelReplicationUnprocessableEntity) IsCode ¶
func (o *CancelReplicationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this cancel replication unprocessable entity response a status code equal to that given
func (*CancelReplicationUnprocessableEntity) IsRedirect ¶
func (o *CancelReplicationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this cancel replication unprocessable entity response has a 3xx status code
func (*CancelReplicationUnprocessableEntity) IsServerError ¶
func (o *CancelReplicationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this cancel replication unprocessable entity response has a 5xx status code
func (*CancelReplicationUnprocessableEntity) IsSuccess ¶
func (o *CancelReplicationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this cancel replication unprocessable entity response has a 2xx status code
func (*CancelReplicationUnprocessableEntity) String ¶
func (o *CancelReplicationUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for replication API
func (*Client) ApplyReplicationScalePlan ¶ added in v1.31.20
func (a *Client) ApplyReplicationScalePlan(params *ApplyReplicationScalePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyReplicationScalePlanOK, error)
ApplyReplicationScalePlan applies replication scaling plan
Apply a replication scaling plan that specifies nodes to add or remove per shard for a given collection.
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 deletes all replication operations
Schedules all replication operations for deletion across all collections, shards, and nodes.
func (*Client) DeleteReplication ¶
func (a *Client) DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReplicationNoContent, error)
DeleteReplication deletes a replication operation
Removes a specific replication operation. If the operation is currently active, it will be cancelled and its resources cleaned up before the operation is deleted.
func (*Client) ForceDeleteReplications ¶
func (a *Client) ForceDeleteReplications(params *ForceDeleteReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForceDeleteReplicationsOK, error)
ForceDeleteReplications forces delete replication operations
USE AT OWN RISK! Synchronously force delete operations from the FSM. This will not perform any checks on which state the operation is in so may lead to data corruption or loss. It is recommended to first scale the number of replication engine workers to 0 before calling this endpoint to ensure no operations are in-flight.
func (*Client) GetCollectionShardingState ¶
func (a *Client) GetCollectionShardingState(params *GetCollectionShardingStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionShardingStateOK, error)
GetCollectionShardingState gets sharding state
Fetches the current sharding state, including replica locations and statuses, for all collections or a specified collection. If a shard name is provided along with a collection, the state for that specific shard is returned.
func (*Client) GetReplicationScalePlan ¶ added in v1.31.20
func (a *Client) GetReplicationScalePlan(params *GetReplicationScalePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationScalePlanOK, error)
GetReplicationScalePlan gets replication scale plan
Computes and returns a replication scale plan for a given collection and desired replication factor. The plan includes, for each shard, a list of nodes to be added and a list of nodes to be removed.
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 {
ApplyReplicationScalePlan(params *ApplyReplicationScalePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplyReplicationScalePlanOK, error)
CancelReplication(params *CancelReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelReplicationNoContent, error)
DeleteAllReplications(params *DeleteAllReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllReplicationsNoContent, error)
DeleteReplication(params *DeleteReplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReplicationNoContent, error)
ForceDeleteReplications(params *ForceDeleteReplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForceDeleteReplicationsOK, error)
GetCollectionShardingState(params *GetCollectionShardingStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionShardingStateOK, error)
GetReplicationScalePlan(params *GetReplicationScalePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReplicationScalePlanOK, 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 DeleteAllReplicationsNotImplemented ¶
type DeleteAllReplicationsNotImplemented struct {
Payload *models.ErrorResponse
}
DeleteAllReplicationsNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewDeleteAllReplicationsNotImplemented ¶
func NewDeleteAllReplicationsNotImplemented() *DeleteAllReplicationsNotImplemented
NewDeleteAllReplicationsNotImplemented creates a DeleteAllReplicationsNotImplemented with default headers values
func (*DeleteAllReplicationsNotImplemented) Code ¶
func (o *DeleteAllReplicationsNotImplemented) Code() int
Code gets the status code for the delete all replications not implemented response
func (*DeleteAllReplicationsNotImplemented) Error ¶
func (o *DeleteAllReplicationsNotImplemented) Error() string
func (*DeleteAllReplicationsNotImplemented) GetPayload ¶
func (o *DeleteAllReplicationsNotImplemented) GetPayload() *models.ErrorResponse
func (*DeleteAllReplicationsNotImplemented) IsClientError ¶
func (o *DeleteAllReplicationsNotImplemented) IsClientError() bool
IsClientError returns true when this delete all replications not implemented response has a 4xx status code
func (*DeleteAllReplicationsNotImplemented) IsCode ¶
func (o *DeleteAllReplicationsNotImplemented) IsCode(code int) bool
IsCode returns true when this delete all replications not implemented response a status code equal to that given
func (*DeleteAllReplicationsNotImplemented) IsRedirect ¶
func (o *DeleteAllReplicationsNotImplemented) IsRedirect() bool
IsRedirect returns true when this delete all replications not implemented response has a 3xx status code
func (*DeleteAllReplicationsNotImplemented) IsServerError ¶
func (o *DeleteAllReplicationsNotImplemented) IsServerError() bool
IsServerError returns true when this delete all replications not implemented response has a 5xx status code
func (*DeleteAllReplicationsNotImplemented) IsSuccess ¶
func (o *DeleteAllReplicationsNotImplemented) IsSuccess() bool
IsSuccess returns true when this delete all replications not implemented response has a 2xx status code
func (*DeleteAllReplicationsNotImplemented) String ¶
func (o *DeleteAllReplicationsNotImplemented) 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.
The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.
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 DeleteReplicationConflict ¶
type DeleteReplicationConflict struct {
Payload *models.ErrorResponse
}
DeleteReplicationConflict describes a response with status code 409, with default header values.
The operation is not in a deletable state, e.g. it is a MOVE op in the DEHYDRATING state.
func NewDeleteReplicationConflict ¶
func NewDeleteReplicationConflict() *DeleteReplicationConflict
NewDeleteReplicationConflict creates a DeleteReplicationConflict with default headers values
func (*DeleteReplicationConflict) Code ¶
func (o *DeleteReplicationConflict) Code() int
Code gets the status code for the delete replication conflict response
func (*DeleteReplicationConflict) Error ¶
func (o *DeleteReplicationConflict) Error() string
func (*DeleteReplicationConflict) GetPayload ¶
func (o *DeleteReplicationConflict) GetPayload() *models.ErrorResponse
func (*DeleteReplicationConflict) IsClientError ¶
func (o *DeleteReplicationConflict) IsClientError() bool
IsClientError returns true when this delete replication conflict response has a 4xx status code
func (*DeleteReplicationConflict) IsCode ¶
func (o *DeleteReplicationConflict) IsCode(code int) bool
IsCode returns true when this delete replication conflict response a status code equal to that given
func (*DeleteReplicationConflict) IsRedirect ¶
func (o *DeleteReplicationConflict) IsRedirect() bool
IsRedirect returns true when this delete replication conflict response has a 3xx status code
func (*DeleteReplicationConflict) IsServerError ¶
func (o *DeleteReplicationConflict) IsServerError() bool
IsServerError returns true when this delete replication conflict response has a 5xx status code
func (*DeleteReplicationConflict) IsSuccess ¶
func (o *DeleteReplicationConflict) IsSuccess() bool
IsSuccess returns true when this delete replication conflict response has a 2xx status code
func (*DeleteReplicationConflict) String ¶
func (o *DeleteReplicationConflict) String() string
type DeleteReplicationForbidden ¶
type DeleteReplicationForbidden struct {
Payload *models.ErrorResponse
}
DeleteReplicationForbidden describes a response with status code 403, with default header values.
Forbidden.
func NewDeleteReplicationForbidden ¶
func NewDeleteReplicationForbidden() *DeleteReplicationForbidden
NewDeleteReplicationForbidden creates a DeleteReplicationForbidden with default headers values
func (*DeleteReplicationForbidden) Code ¶
func (o *DeleteReplicationForbidden) Code() int
Code gets the status code for the delete replication forbidden response
func (*DeleteReplicationForbidden) Error ¶
func (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 DeleteReplicationNotImplemented ¶
type DeleteReplicationNotImplemented struct {
Payload *models.ErrorResponse
}
DeleteReplicationNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewDeleteReplicationNotImplemented ¶
func NewDeleteReplicationNotImplemented() *DeleteReplicationNotImplemented
NewDeleteReplicationNotImplemented creates a DeleteReplicationNotImplemented with default headers values
func (*DeleteReplicationNotImplemented) Code ¶
func (o *DeleteReplicationNotImplemented) Code() int
Code gets the status code for the delete replication not implemented response
func (*DeleteReplicationNotImplemented) Error ¶
func (o *DeleteReplicationNotImplemented) Error() string
func (*DeleteReplicationNotImplemented) GetPayload ¶
func (o *DeleteReplicationNotImplemented) GetPayload() *models.ErrorResponse
func (*DeleteReplicationNotImplemented) IsClientError ¶
func (o *DeleteReplicationNotImplemented) IsClientError() bool
IsClientError returns true when this delete replication not implemented response has a 4xx status code
func (*DeleteReplicationNotImplemented) IsCode ¶
func (o *DeleteReplicationNotImplemented) IsCode(code int) bool
IsCode returns true when this delete replication not implemented response a status code equal to that given
func (*DeleteReplicationNotImplemented) IsRedirect ¶
func (o *DeleteReplicationNotImplemented) IsRedirect() bool
IsRedirect returns true when this delete replication not implemented response has a 3xx status code
func (*DeleteReplicationNotImplemented) IsServerError ¶
func (o *DeleteReplicationNotImplemented) IsServerError() bool
IsServerError returns true when this delete replication not implemented response has a 5xx status code
func (*DeleteReplicationNotImplemented) IsSuccess ¶
func (o *DeleteReplicationNotImplemented) IsSuccess() bool
IsSuccess returns true when this delete replication not implemented response has a 2xx status code
func (*DeleteReplicationNotImplemented) String ¶
func (o *DeleteReplicationNotImplemented) 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 DeleteReplicationUnprocessableEntity ¶
type DeleteReplicationUnprocessableEntity struct {
Payload *models.ErrorResponse
}
DeleteReplicationUnprocessableEntity describes a response with status code 422, with default header values.
The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.
func NewDeleteReplicationUnprocessableEntity ¶
func NewDeleteReplicationUnprocessableEntity() *DeleteReplicationUnprocessableEntity
NewDeleteReplicationUnprocessableEntity creates a DeleteReplicationUnprocessableEntity with default headers values
func (*DeleteReplicationUnprocessableEntity) Code ¶
func (o *DeleteReplicationUnprocessableEntity) Code() int
Code gets the status code for the delete replication unprocessable entity response
func (*DeleteReplicationUnprocessableEntity) Error ¶
func (o *DeleteReplicationUnprocessableEntity) Error() string
func (*DeleteReplicationUnprocessableEntity) GetPayload ¶
func (o *DeleteReplicationUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*DeleteReplicationUnprocessableEntity) IsClientError ¶
func (o *DeleteReplicationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this delete replication unprocessable entity response has a 4xx status code
func (*DeleteReplicationUnprocessableEntity) IsCode ¶
func (o *DeleteReplicationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this delete replication unprocessable entity response a status code equal to that given
func (*DeleteReplicationUnprocessableEntity) IsRedirect ¶
func (o *DeleteReplicationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this delete replication unprocessable entity response has a 3xx status code
func (*DeleteReplicationUnprocessableEntity) IsServerError ¶
func (o *DeleteReplicationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this delete replication unprocessable entity response has a 5xx status code
func (*DeleteReplicationUnprocessableEntity) IsSuccess ¶
func (o *DeleteReplicationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this delete replication unprocessable entity response has a 2xx status code
func (*DeleteReplicationUnprocessableEntity) String ¶
func (o *DeleteReplicationUnprocessableEntity) String() string
type ForceDeleteReplicationsBadRequest ¶
type ForceDeleteReplicationsBadRequest struct {
Payload *models.ErrorResponse
}
ForceDeleteReplicationsBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewForceDeleteReplicationsBadRequest ¶
func NewForceDeleteReplicationsBadRequest() *ForceDeleteReplicationsBadRequest
NewForceDeleteReplicationsBadRequest creates a ForceDeleteReplicationsBadRequest with default headers values
func (*ForceDeleteReplicationsBadRequest) Code ¶
func (o *ForceDeleteReplicationsBadRequest) Code() int
Code gets the status code for the force delete replications bad request response
func (*ForceDeleteReplicationsBadRequest) Error ¶
func (o *ForceDeleteReplicationsBadRequest) Error() string
func (*ForceDeleteReplicationsBadRequest) GetPayload ¶
func (o *ForceDeleteReplicationsBadRequest) GetPayload() *models.ErrorResponse
func (*ForceDeleteReplicationsBadRequest) IsClientError ¶
func (o *ForceDeleteReplicationsBadRequest) IsClientError() bool
IsClientError returns true when this force delete replications bad request response has a 4xx status code
func (*ForceDeleteReplicationsBadRequest) IsCode ¶
func (o *ForceDeleteReplicationsBadRequest) IsCode(code int) bool
IsCode returns true when this force delete replications bad request response a status code equal to that given
func (*ForceDeleteReplicationsBadRequest) IsRedirect ¶
func (o *ForceDeleteReplicationsBadRequest) IsRedirect() bool
IsRedirect returns true when this force delete replications bad request response has a 3xx status code
func (*ForceDeleteReplicationsBadRequest) IsServerError ¶
func (o *ForceDeleteReplicationsBadRequest) IsServerError() bool
IsServerError returns true when this force delete replications bad request response has a 5xx status code
func (*ForceDeleteReplicationsBadRequest) IsSuccess ¶
func (o *ForceDeleteReplicationsBadRequest) IsSuccess() bool
IsSuccess returns true when this force delete replications bad request response has a 2xx status code
func (*ForceDeleteReplicationsBadRequest) String ¶
func (o *ForceDeleteReplicationsBadRequest) String() string
type ForceDeleteReplicationsForbidden ¶
type ForceDeleteReplicationsForbidden struct {
Payload *models.ErrorResponse
}
ForceDeleteReplicationsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewForceDeleteReplicationsForbidden ¶
func NewForceDeleteReplicationsForbidden() *ForceDeleteReplicationsForbidden
NewForceDeleteReplicationsForbidden creates a ForceDeleteReplicationsForbidden with default headers values
func (*ForceDeleteReplicationsForbidden) Code ¶
func (o *ForceDeleteReplicationsForbidden) Code() int
Code gets the status code for the force delete replications forbidden response
func (*ForceDeleteReplicationsForbidden) Error ¶
func (o *ForceDeleteReplicationsForbidden) Error() string
func (*ForceDeleteReplicationsForbidden) GetPayload ¶
func (o *ForceDeleteReplicationsForbidden) GetPayload() *models.ErrorResponse
func (*ForceDeleteReplicationsForbidden) IsClientError ¶
func (o *ForceDeleteReplicationsForbidden) IsClientError() bool
IsClientError returns true when this force delete replications forbidden response has a 4xx status code
func (*ForceDeleteReplicationsForbidden) IsCode ¶
func (o *ForceDeleteReplicationsForbidden) IsCode(code int) bool
IsCode returns true when this force delete replications forbidden response a status code equal to that given
func (*ForceDeleteReplicationsForbidden) IsRedirect ¶
func (o *ForceDeleteReplicationsForbidden) IsRedirect() bool
IsRedirect returns true when this force delete replications forbidden response has a 3xx status code
func (*ForceDeleteReplicationsForbidden) IsServerError ¶
func (o *ForceDeleteReplicationsForbidden) IsServerError() bool
IsServerError returns true when this force delete replications forbidden response has a 5xx status code
func (*ForceDeleteReplicationsForbidden) IsSuccess ¶
func (o *ForceDeleteReplicationsForbidden) IsSuccess() bool
IsSuccess returns true when this force delete replications forbidden response has a 2xx status code
func (*ForceDeleteReplicationsForbidden) String ¶
func (o *ForceDeleteReplicationsForbidden) String() string
type ForceDeleteReplicationsInternalServerError ¶
type ForceDeleteReplicationsInternalServerError struct {
Payload *models.ErrorResponse
}
ForceDeleteReplicationsInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewForceDeleteReplicationsInternalServerError ¶
func NewForceDeleteReplicationsInternalServerError() *ForceDeleteReplicationsInternalServerError
NewForceDeleteReplicationsInternalServerError creates a ForceDeleteReplicationsInternalServerError with default headers values
func (*ForceDeleteReplicationsInternalServerError) Code ¶
func (o *ForceDeleteReplicationsInternalServerError) Code() int
Code gets the status code for the force delete replications internal server error response
func (*ForceDeleteReplicationsInternalServerError) Error ¶
func (o *ForceDeleteReplicationsInternalServerError) Error() string
func (*ForceDeleteReplicationsInternalServerError) GetPayload ¶
func (o *ForceDeleteReplicationsInternalServerError) GetPayload() *models.ErrorResponse
func (*ForceDeleteReplicationsInternalServerError) IsClientError ¶
func (o *ForceDeleteReplicationsInternalServerError) IsClientError() bool
IsClientError returns true when this force delete replications internal server error response has a 4xx status code
func (*ForceDeleteReplicationsInternalServerError) IsCode ¶
func (o *ForceDeleteReplicationsInternalServerError) IsCode(code int) bool
IsCode returns true when this force delete replications internal server error response a status code equal to that given
func (*ForceDeleteReplicationsInternalServerError) IsRedirect ¶
func (o *ForceDeleteReplicationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this force delete replications internal server error response has a 3xx status code
func (*ForceDeleteReplicationsInternalServerError) IsServerError ¶
func (o *ForceDeleteReplicationsInternalServerError) IsServerError() bool
IsServerError returns true when this force delete replications internal server error response has a 5xx status code
func (*ForceDeleteReplicationsInternalServerError) IsSuccess ¶
func (o *ForceDeleteReplicationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this force delete replications internal server error response has a 2xx status code
func (*ForceDeleteReplicationsInternalServerError) String ¶
func (o *ForceDeleteReplicationsInternalServerError) String() string
type ForceDeleteReplicationsOK ¶
type ForceDeleteReplicationsOK struct {
Payload *models.ReplicationReplicateForceDeleteResponse
}
ForceDeleteReplicationsOK describes a response with status code 200, with default header values.
Replication operations force deleted successfully.
func NewForceDeleteReplicationsOK ¶
func NewForceDeleteReplicationsOK() *ForceDeleteReplicationsOK
NewForceDeleteReplicationsOK creates a ForceDeleteReplicationsOK with default headers values
func (*ForceDeleteReplicationsOK) Code ¶
func (o *ForceDeleteReplicationsOK) Code() int
Code gets the status code for the force delete replications o k response
func (*ForceDeleteReplicationsOK) Error ¶
func (o *ForceDeleteReplicationsOK) Error() string
func (*ForceDeleteReplicationsOK) GetPayload ¶
func (o *ForceDeleteReplicationsOK) GetPayload() *models.ReplicationReplicateForceDeleteResponse
func (*ForceDeleteReplicationsOK) IsClientError ¶
func (o *ForceDeleteReplicationsOK) IsClientError() bool
IsClientError returns true when this force delete replications o k response has a 4xx status code
func (*ForceDeleteReplicationsOK) IsCode ¶
func (o *ForceDeleteReplicationsOK) IsCode(code int) bool
IsCode returns true when this force delete replications o k response a status code equal to that given
func (*ForceDeleteReplicationsOK) IsRedirect ¶
func (o *ForceDeleteReplicationsOK) IsRedirect() bool
IsRedirect returns true when this force delete replications o k response has a 3xx status code
func (*ForceDeleteReplicationsOK) IsServerError ¶
func (o *ForceDeleteReplicationsOK) IsServerError() bool
IsServerError returns true when this force delete replications o k response has a 5xx status code
func (*ForceDeleteReplicationsOK) IsSuccess ¶
func (o *ForceDeleteReplicationsOK) IsSuccess() bool
IsSuccess returns true when this force delete replications o k response has a 2xx status code
func (*ForceDeleteReplicationsOK) String ¶
func (o *ForceDeleteReplicationsOK) String() string
type ForceDeleteReplicationsParams ¶
type ForceDeleteReplicationsParams struct {
// Body.
Body *models.ReplicationReplicateForceDeleteRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ForceDeleteReplicationsParams contains all the parameters to send to the API endpoint
for the force delete replications operation. Typically these are written to a http.Request.
func NewForceDeleteReplicationsParams ¶
func NewForceDeleteReplicationsParams() *ForceDeleteReplicationsParams
NewForceDeleteReplicationsParams creates a new ForceDeleteReplicationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewForceDeleteReplicationsParamsWithContext ¶
func NewForceDeleteReplicationsParamsWithContext(ctx context.Context) *ForceDeleteReplicationsParams
NewForceDeleteReplicationsParamsWithContext creates a new ForceDeleteReplicationsParams object with the ability to set a context for a request.
func NewForceDeleteReplicationsParamsWithHTTPClient ¶
func NewForceDeleteReplicationsParamsWithHTTPClient(client *http.Client) *ForceDeleteReplicationsParams
NewForceDeleteReplicationsParamsWithHTTPClient creates a new ForceDeleteReplicationsParams object with the ability to set a custom HTTPClient for a request.
func NewForceDeleteReplicationsParamsWithTimeout ¶
func NewForceDeleteReplicationsParamsWithTimeout(timeout time.Duration) *ForceDeleteReplicationsParams
NewForceDeleteReplicationsParamsWithTimeout creates a new ForceDeleteReplicationsParams object with the ability to set a timeout on a request.
func (*ForceDeleteReplicationsParams) SetBody ¶
func (o *ForceDeleteReplicationsParams) SetBody(body *models.ReplicationReplicateForceDeleteRequest)
SetBody adds the body to the force delete replications params
func (*ForceDeleteReplicationsParams) SetContext ¶
func (o *ForceDeleteReplicationsParams) SetContext(ctx context.Context)
SetContext adds the context to the force delete replications params
func (*ForceDeleteReplicationsParams) SetDefaults ¶
func (o *ForceDeleteReplicationsParams) SetDefaults()
SetDefaults hydrates default values in the force delete replications params (not the query body).
All values with no default are reset to their zero value.
func (*ForceDeleteReplicationsParams) SetHTTPClient ¶
func (o *ForceDeleteReplicationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the force delete replications params
func (*ForceDeleteReplicationsParams) SetTimeout ¶
func (o *ForceDeleteReplicationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the force delete replications params
func (*ForceDeleteReplicationsParams) WithBody ¶
func (o *ForceDeleteReplicationsParams) WithBody(body *models.ReplicationReplicateForceDeleteRequest) *ForceDeleteReplicationsParams
WithBody adds the body to the force delete replications params
func (*ForceDeleteReplicationsParams) WithContext ¶
func (o *ForceDeleteReplicationsParams) WithContext(ctx context.Context) *ForceDeleteReplicationsParams
WithContext adds the context to the force delete replications params
func (*ForceDeleteReplicationsParams) WithDefaults ¶
func (o *ForceDeleteReplicationsParams) WithDefaults() *ForceDeleteReplicationsParams
WithDefaults hydrates default values in the force delete replications params (not the query body).
All values with no default are reset to their zero value.
func (*ForceDeleteReplicationsParams) WithHTTPClient ¶
func (o *ForceDeleteReplicationsParams) WithHTTPClient(client *http.Client) *ForceDeleteReplicationsParams
WithHTTPClient adds the HTTPClient to the force delete replications params
func (*ForceDeleteReplicationsParams) WithTimeout ¶
func (o *ForceDeleteReplicationsParams) WithTimeout(timeout time.Duration) *ForceDeleteReplicationsParams
WithTimeout adds the timeout to the force delete replications params
func (*ForceDeleteReplicationsParams) WriteToRequest ¶
func (o *ForceDeleteReplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ForceDeleteReplicationsReader ¶
type ForceDeleteReplicationsReader struct {
// contains filtered or unexported fields
}
ForceDeleteReplicationsReader is a Reader for the ForceDeleteReplications structure.
func (*ForceDeleteReplicationsReader) ReadResponse ¶
func (o *ForceDeleteReplicationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ForceDeleteReplicationsUnauthorized ¶
type ForceDeleteReplicationsUnauthorized struct {
}
ForceDeleteReplicationsUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewForceDeleteReplicationsUnauthorized ¶
func NewForceDeleteReplicationsUnauthorized() *ForceDeleteReplicationsUnauthorized
NewForceDeleteReplicationsUnauthorized creates a ForceDeleteReplicationsUnauthorized with default headers values
func (*ForceDeleteReplicationsUnauthorized) Code ¶
func (o *ForceDeleteReplicationsUnauthorized) Code() int
Code gets the status code for the force delete replications unauthorized response
func (*ForceDeleteReplicationsUnauthorized) Error ¶
func (o *ForceDeleteReplicationsUnauthorized) Error() string
func (*ForceDeleteReplicationsUnauthorized) IsClientError ¶
func (o *ForceDeleteReplicationsUnauthorized) IsClientError() bool
IsClientError returns true when this force delete replications unauthorized response has a 4xx status code
func (*ForceDeleteReplicationsUnauthorized) IsCode ¶
func (o *ForceDeleteReplicationsUnauthorized) IsCode(code int) bool
IsCode returns true when this force delete replications unauthorized response a status code equal to that given
func (*ForceDeleteReplicationsUnauthorized) IsRedirect ¶
func (o *ForceDeleteReplicationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this force delete replications unauthorized response has a 3xx status code
func (*ForceDeleteReplicationsUnauthorized) IsServerError ¶
func (o *ForceDeleteReplicationsUnauthorized) IsServerError() bool
IsServerError returns true when this force delete replications unauthorized response has a 5xx status code
func (*ForceDeleteReplicationsUnauthorized) IsSuccess ¶
func (o *ForceDeleteReplicationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this force delete replications unauthorized response has a 2xx status code
func (*ForceDeleteReplicationsUnauthorized) String ¶
func (o *ForceDeleteReplicationsUnauthorized) String() string
type ForceDeleteReplicationsUnprocessableEntity ¶
type ForceDeleteReplicationsUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ForceDeleteReplicationsUnprocessableEntity describes a response with status code 422, with default header values.
The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.
func NewForceDeleteReplicationsUnprocessableEntity ¶
func NewForceDeleteReplicationsUnprocessableEntity() *ForceDeleteReplicationsUnprocessableEntity
NewForceDeleteReplicationsUnprocessableEntity creates a ForceDeleteReplicationsUnprocessableEntity with default headers values
func (*ForceDeleteReplicationsUnprocessableEntity) Code ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) Code() int
Code gets the status code for the force delete replications unprocessable entity response
func (*ForceDeleteReplicationsUnprocessableEntity) Error ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) Error() string
func (*ForceDeleteReplicationsUnprocessableEntity) GetPayload ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ForceDeleteReplicationsUnprocessableEntity) IsClientError ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this force delete replications unprocessable entity response has a 4xx status code
func (*ForceDeleteReplicationsUnprocessableEntity) IsCode ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this force delete replications unprocessable entity response a status code equal to that given
func (*ForceDeleteReplicationsUnprocessableEntity) IsRedirect ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this force delete replications unprocessable entity response has a 3xx status code
func (*ForceDeleteReplicationsUnprocessableEntity) IsServerError ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this force delete replications unprocessable entity response has a 5xx status code
func (*ForceDeleteReplicationsUnprocessableEntity) IsSuccess ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this force delete replications unprocessable entity response has a 2xx status code
func (*ForceDeleteReplicationsUnprocessableEntity) String ¶
func (o *ForceDeleteReplicationsUnprocessableEntity) 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 GetCollectionShardingStateNotImplemented ¶
type GetCollectionShardingStateNotImplemented struct {
Payload *models.ErrorResponse
}
GetCollectionShardingStateNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewGetCollectionShardingStateNotImplemented ¶
func NewGetCollectionShardingStateNotImplemented() *GetCollectionShardingStateNotImplemented
NewGetCollectionShardingStateNotImplemented creates a GetCollectionShardingStateNotImplemented with default headers values
func (*GetCollectionShardingStateNotImplemented) Code ¶
func (o *GetCollectionShardingStateNotImplemented) Code() int
Code gets the status code for the get collection sharding state not implemented response
func (*GetCollectionShardingStateNotImplemented) Error ¶
func (o *GetCollectionShardingStateNotImplemented) Error() string
func (*GetCollectionShardingStateNotImplemented) GetPayload ¶
func (o *GetCollectionShardingStateNotImplemented) GetPayload() *models.ErrorResponse
func (*GetCollectionShardingStateNotImplemented) IsClientError ¶
func (o *GetCollectionShardingStateNotImplemented) IsClientError() bool
IsClientError returns true when this get collection sharding state not implemented response has a 4xx status code
func (*GetCollectionShardingStateNotImplemented) IsCode ¶
func (o *GetCollectionShardingStateNotImplemented) IsCode(code int) bool
IsCode returns true when this get collection sharding state not implemented response a status code equal to that given
func (*GetCollectionShardingStateNotImplemented) IsRedirect ¶
func (o *GetCollectionShardingStateNotImplemented) IsRedirect() bool
IsRedirect returns true when this get collection sharding state not implemented response has a 3xx status code
func (*GetCollectionShardingStateNotImplemented) IsServerError ¶
func (o *GetCollectionShardingStateNotImplemented) IsServerError() bool
IsServerError returns true when this get collection sharding state not implemented response has a 5xx status code
func (*GetCollectionShardingStateNotImplemented) IsSuccess ¶
func (o *GetCollectionShardingStateNotImplemented) IsSuccess() bool
IsSuccess returns true when this get collection sharding state not implemented response has a 2xx status code
func (*GetCollectionShardingStateNotImplemented) String ¶
func (o *GetCollectionShardingStateNotImplemented) 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 GetReplicationScalePlanBadRequest ¶ added in v1.31.20
type GetReplicationScalePlanBadRequest struct {
Payload *models.ErrorResponse
}
GetReplicationScalePlanBadRequest describes a response with status code 400, with default header values.
Bad request.
func NewGetReplicationScalePlanBadRequest ¶ added in v1.31.20
func NewGetReplicationScalePlanBadRequest() *GetReplicationScalePlanBadRequest
NewGetReplicationScalePlanBadRequest creates a GetReplicationScalePlanBadRequest with default headers values
func (*GetReplicationScalePlanBadRequest) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) Code() int
Code gets the status code for the get replication scale plan bad request response
func (*GetReplicationScalePlanBadRequest) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) Error() string
func (*GetReplicationScalePlanBadRequest) GetPayload ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) GetPayload() *models.ErrorResponse
func (*GetReplicationScalePlanBadRequest) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) IsClientError() bool
IsClientError returns true when this get replication scale plan bad request response has a 4xx status code
func (*GetReplicationScalePlanBadRequest) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) IsCode(code int) bool
IsCode returns true when this get replication scale plan bad request response a status code equal to that given
func (*GetReplicationScalePlanBadRequest) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) IsRedirect() bool
IsRedirect returns true when this get replication scale plan bad request response has a 3xx status code
func (*GetReplicationScalePlanBadRequest) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) IsServerError() bool
IsServerError returns true when this get replication scale plan bad request response has a 5xx status code
func (*GetReplicationScalePlanBadRequest) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) IsSuccess() bool
IsSuccess returns true when this get replication scale plan bad request response has a 2xx status code
func (*GetReplicationScalePlanBadRequest) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanBadRequest) String() string
type GetReplicationScalePlanForbidden ¶ added in v1.31.20
type GetReplicationScalePlanForbidden struct {
Payload *models.ErrorResponse
}
GetReplicationScalePlanForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetReplicationScalePlanForbidden ¶ added in v1.31.20
func NewGetReplicationScalePlanForbidden() *GetReplicationScalePlanForbidden
NewGetReplicationScalePlanForbidden creates a GetReplicationScalePlanForbidden with default headers values
func (*GetReplicationScalePlanForbidden) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) Code() int
Code gets the status code for the get replication scale plan forbidden response
func (*GetReplicationScalePlanForbidden) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) Error() string
func (*GetReplicationScalePlanForbidden) GetPayload ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) GetPayload() *models.ErrorResponse
func (*GetReplicationScalePlanForbidden) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) IsClientError() bool
IsClientError returns true when this get replication scale plan forbidden response has a 4xx status code
func (*GetReplicationScalePlanForbidden) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) IsCode(code int) bool
IsCode returns true when this get replication scale plan forbidden response a status code equal to that given
func (*GetReplicationScalePlanForbidden) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) IsRedirect() bool
IsRedirect returns true when this get replication scale plan forbidden response has a 3xx status code
func (*GetReplicationScalePlanForbidden) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) IsServerError() bool
IsServerError returns true when this get replication scale plan forbidden response has a 5xx status code
func (*GetReplicationScalePlanForbidden) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) IsSuccess() bool
IsSuccess returns true when this get replication scale plan forbidden response has a 2xx status code
func (*GetReplicationScalePlanForbidden) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanForbidden) String() string
type GetReplicationScalePlanInternalServerError ¶ added in v1.31.20
type GetReplicationScalePlanInternalServerError struct {
Payload *models.ErrorResponse
}
GetReplicationScalePlanInternalServerError 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 NewGetReplicationScalePlanInternalServerError ¶ added in v1.31.20
func NewGetReplicationScalePlanInternalServerError() *GetReplicationScalePlanInternalServerError
NewGetReplicationScalePlanInternalServerError creates a GetReplicationScalePlanInternalServerError with default headers values
func (*GetReplicationScalePlanInternalServerError) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) Code() int
Code gets the status code for the get replication scale plan internal server error response
func (*GetReplicationScalePlanInternalServerError) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) Error() string
func (*GetReplicationScalePlanInternalServerError) GetPayload ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) GetPayload() *models.ErrorResponse
func (*GetReplicationScalePlanInternalServerError) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) IsClientError() bool
IsClientError returns true when this get replication scale plan internal server error response has a 4xx status code
func (*GetReplicationScalePlanInternalServerError) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) IsCode(code int) bool
IsCode returns true when this get replication scale plan internal server error response a status code equal to that given
func (*GetReplicationScalePlanInternalServerError) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) IsRedirect() bool
IsRedirect returns true when this get replication scale plan internal server error response has a 3xx status code
func (*GetReplicationScalePlanInternalServerError) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) IsServerError() bool
IsServerError returns true when this get replication scale plan internal server error response has a 5xx status code
func (*GetReplicationScalePlanInternalServerError) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) IsSuccess() bool
IsSuccess returns true when this get replication scale plan internal server error response has a 2xx status code
func (*GetReplicationScalePlanInternalServerError) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanInternalServerError) String() string
type GetReplicationScalePlanNotFound ¶ added in v1.31.20
type GetReplicationScalePlanNotFound struct {
Payload *models.ErrorResponse
}
GetReplicationScalePlanNotFound describes a response with status code 404, with default header values.
Collection not found.
func NewGetReplicationScalePlanNotFound ¶ added in v1.31.20
func NewGetReplicationScalePlanNotFound() *GetReplicationScalePlanNotFound
NewGetReplicationScalePlanNotFound creates a GetReplicationScalePlanNotFound with default headers values
func (*GetReplicationScalePlanNotFound) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) Code() int
Code gets the status code for the get replication scale plan not found response
func (*GetReplicationScalePlanNotFound) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) Error() string
func (*GetReplicationScalePlanNotFound) GetPayload ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) GetPayload() *models.ErrorResponse
func (*GetReplicationScalePlanNotFound) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) IsClientError() bool
IsClientError returns true when this get replication scale plan not found response has a 4xx status code
func (*GetReplicationScalePlanNotFound) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) IsCode(code int) bool
IsCode returns true when this get replication scale plan not found response a status code equal to that given
func (*GetReplicationScalePlanNotFound) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) IsRedirect() bool
IsRedirect returns true when this get replication scale plan not found response has a 3xx status code
func (*GetReplicationScalePlanNotFound) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) IsServerError() bool
IsServerError returns true when this get replication scale plan not found response has a 5xx status code
func (*GetReplicationScalePlanNotFound) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) IsSuccess() bool
IsSuccess returns true when this get replication scale plan not found response has a 2xx status code
func (*GetReplicationScalePlanNotFound) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotFound) String() string
type GetReplicationScalePlanNotImplemented ¶ added in v1.31.20
type GetReplicationScalePlanNotImplemented struct {
Payload *models.ErrorResponse
}
GetReplicationScalePlanNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewGetReplicationScalePlanNotImplemented ¶ added in v1.31.20
func NewGetReplicationScalePlanNotImplemented() *GetReplicationScalePlanNotImplemented
NewGetReplicationScalePlanNotImplemented creates a GetReplicationScalePlanNotImplemented with default headers values
func (*GetReplicationScalePlanNotImplemented) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) Code() int
Code gets the status code for the get replication scale plan not implemented response
func (*GetReplicationScalePlanNotImplemented) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) Error() string
func (*GetReplicationScalePlanNotImplemented) GetPayload ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) GetPayload() *models.ErrorResponse
func (*GetReplicationScalePlanNotImplemented) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) IsClientError() bool
IsClientError returns true when this get replication scale plan not implemented response has a 4xx status code
func (*GetReplicationScalePlanNotImplemented) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) IsCode(code int) bool
IsCode returns true when this get replication scale plan not implemented response a status code equal to that given
func (*GetReplicationScalePlanNotImplemented) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) IsRedirect() bool
IsRedirect returns true when this get replication scale plan not implemented response has a 3xx status code
func (*GetReplicationScalePlanNotImplemented) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) IsServerError() bool
IsServerError returns true when this get replication scale plan not implemented response has a 5xx status code
func (*GetReplicationScalePlanNotImplemented) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) IsSuccess() bool
IsSuccess returns true when this get replication scale plan not implemented response has a 2xx status code
func (*GetReplicationScalePlanNotImplemented) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanNotImplemented) String() string
type GetReplicationScalePlanOK ¶ added in v1.31.20
type GetReplicationScalePlanOK struct {
Payload *models.ReplicationScalePlan
}
GetReplicationScalePlanOK describes a response with status code 200, with default header values.
Replication scale plan showing node additions and removals per shard.
func NewGetReplicationScalePlanOK ¶ added in v1.31.20
func NewGetReplicationScalePlanOK() *GetReplicationScalePlanOK
NewGetReplicationScalePlanOK creates a GetReplicationScalePlanOK with default headers values
func (*GetReplicationScalePlanOK) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) Code() int
Code gets the status code for the get replication scale plan o k response
func (*GetReplicationScalePlanOK) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) Error() string
func (*GetReplicationScalePlanOK) GetPayload ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) GetPayload() *models.ReplicationScalePlan
func (*GetReplicationScalePlanOK) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) IsClientError() bool
IsClientError returns true when this get replication scale plan o k response has a 4xx status code
func (*GetReplicationScalePlanOK) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) IsCode(code int) bool
IsCode returns true when this get replication scale plan o k response a status code equal to that given
func (*GetReplicationScalePlanOK) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) IsRedirect() bool
IsRedirect returns true when this get replication scale plan o k response has a 3xx status code
func (*GetReplicationScalePlanOK) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) IsServerError() bool
IsServerError returns true when this get replication scale plan o k response has a 5xx status code
func (*GetReplicationScalePlanOK) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) IsSuccess() bool
IsSuccess returns true when this get replication scale plan o k response has a 2xx status code
func (*GetReplicationScalePlanOK) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanOK) String() string
type GetReplicationScalePlanParams ¶ added in v1.31.20
type GetReplicationScalePlanParams struct {
/* Collection.
The collection name to get the scaling plan for.
*/
Collection string
/* ReplicationFactor.
The desired replication factor to scale to. Must be a positive integer greater than zero.
*/
ReplicationFactor int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetReplicationScalePlanParams contains all the parameters to send to the API endpoint
for the get replication scale plan operation. Typically these are written to a http.Request.
func NewGetReplicationScalePlanParams ¶ added in v1.31.20
func NewGetReplicationScalePlanParams() *GetReplicationScalePlanParams
NewGetReplicationScalePlanParams creates a new GetReplicationScalePlanParams 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 NewGetReplicationScalePlanParamsWithContext ¶ added in v1.31.20
func NewGetReplicationScalePlanParamsWithContext(ctx context.Context) *GetReplicationScalePlanParams
NewGetReplicationScalePlanParamsWithContext creates a new GetReplicationScalePlanParams object with the ability to set a context for a request.
func NewGetReplicationScalePlanParamsWithHTTPClient ¶ added in v1.31.20
func NewGetReplicationScalePlanParamsWithHTTPClient(client *http.Client) *GetReplicationScalePlanParams
NewGetReplicationScalePlanParamsWithHTTPClient creates a new GetReplicationScalePlanParams object with the ability to set a custom HTTPClient for a request.
func NewGetReplicationScalePlanParamsWithTimeout ¶ added in v1.31.20
func NewGetReplicationScalePlanParamsWithTimeout(timeout time.Duration) *GetReplicationScalePlanParams
NewGetReplicationScalePlanParamsWithTimeout creates a new GetReplicationScalePlanParams object with the ability to set a timeout on a request.
func (*GetReplicationScalePlanParams) SetCollection ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) SetCollection(collection string)
SetCollection adds the collection to the get replication scale plan params
func (*GetReplicationScalePlanParams) SetContext ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the get replication scale plan params
func (*GetReplicationScalePlanParams) SetDefaults ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) SetDefaults()
SetDefaults hydrates default values in the get replication scale plan params (not the query body).
All values with no default are reset to their zero value.
func (*GetReplicationScalePlanParams) SetHTTPClient ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get replication scale plan params
func (*GetReplicationScalePlanParams) SetReplicationFactor ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) SetReplicationFactor(replicationFactor int64)
SetReplicationFactor adds the replicationFactor to the get replication scale plan params
func (*GetReplicationScalePlanParams) SetTimeout ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get replication scale plan params
func (*GetReplicationScalePlanParams) WithCollection ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WithCollection(collection string) *GetReplicationScalePlanParams
WithCollection adds the collection to the get replication scale plan params
func (*GetReplicationScalePlanParams) WithContext ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WithContext(ctx context.Context) *GetReplicationScalePlanParams
WithContext adds the context to the get replication scale plan params
func (*GetReplicationScalePlanParams) WithDefaults ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WithDefaults() *GetReplicationScalePlanParams
WithDefaults hydrates default values in the get replication scale plan params (not the query body).
All values with no default are reset to their zero value.
func (*GetReplicationScalePlanParams) WithHTTPClient ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WithHTTPClient(client *http.Client) *GetReplicationScalePlanParams
WithHTTPClient adds the HTTPClient to the get replication scale plan params
func (*GetReplicationScalePlanParams) WithReplicationFactor ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WithReplicationFactor(replicationFactor int64) *GetReplicationScalePlanParams
WithReplicationFactor adds the replicationFactor to the get replication scale plan params
func (*GetReplicationScalePlanParams) WithTimeout ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WithTimeout(timeout time.Duration) *GetReplicationScalePlanParams
WithTimeout adds the timeout to the get replication scale plan params
func (*GetReplicationScalePlanParams) WriteToRequest ¶ added in v1.31.20
func (o *GetReplicationScalePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReplicationScalePlanReader ¶ added in v1.31.20
type GetReplicationScalePlanReader struct {
// contains filtered or unexported fields
}
GetReplicationScalePlanReader is a Reader for the GetReplicationScalePlan structure.
func (*GetReplicationScalePlanReader) ReadResponse ¶ added in v1.31.20
func (o *GetReplicationScalePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReplicationScalePlanUnauthorized ¶ added in v1.31.20
type GetReplicationScalePlanUnauthorized struct {
}
GetReplicationScalePlanUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewGetReplicationScalePlanUnauthorized ¶ added in v1.31.20
func NewGetReplicationScalePlanUnauthorized() *GetReplicationScalePlanUnauthorized
NewGetReplicationScalePlanUnauthorized creates a GetReplicationScalePlanUnauthorized with default headers values
func (*GetReplicationScalePlanUnauthorized) Code ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) Code() int
Code gets the status code for the get replication scale plan unauthorized response
func (*GetReplicationScalePlanUnauthorized) Error ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) Error() string
func (*GetReplicationScalePlanUnauthorized) IsClientError ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) IsClientError() bool
IsClientError returns true when this get replication scale plan unauthorized response has a 4xx status code
func (*GetReplicationScalePlanUnauthorized) IsCode ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) IsCode(code int) bool
IsCode returns true when this get replication scale plan unauthorized response a status code equal to that given
func (*GetReplicationScalePlanUnauthorized) IsRedirect ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) IsRedirect() bool
IsRedirect returns true when this get replication scale plan unauthorized response has a 3xx status code
func (*GetReplicationScalePlanUnauthorized) IsServerError ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) IsServerError() bool
IsServerError returns true when this get replication scale plan unauthorized response has a 5xx status code
func (*GetReplicationScalePlanUnauthorized) IsSuccess ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) IsSuccess() bool
IsSuccess returns true when this get replication scale plan unauthorized response has a 2xx status code
func (*GetReplicationScalePlanUnauthorized) String ¶ added in v1.31.20
func (o *GetReplicationScalePlanUnauthorized) 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 ListReplicationNotImplemented ¶
type ListReplicationNotImplemented struct {
Payload *models.ErrorResponse
}
ListReplicationNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewListReplicationNotImplemented ¶
func NewListReplicationNotImplemented() *ListReplicationNotImplemented
NewListReplicationNotImplemented creates a ListReplicationNotImplemented with default headers values
func (*ListReplicationNotImplemented) Code ¶
func (o *ListReplicationNotImplemented) Code() int
Code gets the status code for the list replication not implemented response
func (*ListReplicationNotImplemented) Error ¶
func (o *ListReplicationNotImplemented) Error() string
func (*ListReplicationNotImplemented) GetPayload ¶
func (o *ListReplicationNotImplemented) GetPayload() *models.ErrorResponse
func (*ListReplicationNotImplemented) IsClientError ¶
func (o *ListReplicationNotImplemented) IsClientError() bool
IsClientError returns true when this list replication not implemented response has a 4xx status code
func (*ListReplicationNotImplemented) IsCode ¶
func (o *ListReplicationNotImplemented) IsCode(code int) bool
IsCode returns true when this list replication not implemented response a status code equal to that given
func (*ListReplicationNotImplemented) IsRedirect ¶
func (o *ListReplicationNotImplemented) IsRedirect() bool
IsRedirect returns true when this list replication not implemented response has a 3xx status code
func (*ListReplicationNotImplemented) IsServerError ¶
func (o *ListReplicationNotImplemented) IsServerError() bool
IsServerError returns true when this list replication not implemented response has a 5xx status code
func (*ListReplicationNotImplemented) IsSuccess ¶
func (o *ListReplicationNotImplemented) IsSuccess() bool
IsSuccess returns true when this list replication not implemented response has a 2xx status code
func (*ListReplicationNotImplemented) String ¶
func (o *ListReplicationNotImplemented) 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
/* Shard.
The shard to get details for.
*/
Shard *string
/* TargetNode.
The name of the target node to get details for.
*/
TargetNode *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) SetShard ¶
func (o *ListReplicationParams) SetShard(shard *string)
SetShard adds the shard to the list replication params
func (*ListReplicationParams) SetTargetNode ¶ added in v1.32.0
func (o *ListReplicationParams) SetTargetNode(targetNode *string)
SetTargetNode adds the targetNode 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) WithShard ¶
func (o *ListReplicationParams) WithShard(shard *string) *ListReplicationParams
WithShard adds the shard to the list replication params
func (*ListReplicationParams) WithTargetNode ¶ added in v1.32.0
func (o *ListReplicationParams) WithTargetNode(targetNode *string) *ListReplicationParams
WithTargetNode adds the targetNode 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 ReplicateNotImplemented ¶
type ReplicateNotImplemented struct {
Payload *models.ErrorResponse
}
ReplicateNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewReplicateNotImplemented ¶
func NewReplicateNotImplemented() *ReplicateNotImplemented
NewReplicateNotImplemented creates a ReplicateNotImplemented with default headers values
func (*ReplicateNotImplemented) Code ¶
func (o *ReplicateNotImplemented) Code() int
Code gets the status code for the replicate not implemented response
func (*ReplicateNotImplemented) Error ¶
func (o *ReplicateNotImplemented) Error() string
func (*ReplicateNotImplemented) GetPayload ¶
func (o *ReplicateNotImplemented) GetPayload() *models.ErrorResponse
func (*ReplicateNotImplemented) IsClientError ¶
func (o *ReplicateNotImplemented) IsClientError() bool
IsClientError returns true when this replicate not implemented response has a 4xx status code
func (*ReplicateNotImplemented) IsCode ¶
func (o *ReplicateNotImplemented) IsCode(code int) bool
IsCode returns true when this replicate not implemented response a status code equal to that given
func (*ReplicateNotImplemented) IsRedirect ¶
func (o *ReplicateNotImplemented) IsRedirect() bool
IsRedirect returns true when this replicate not implemented response has a 3xx status code
func (*ReplicateNotImplemented) IsServerError ¶
func (o *ReplicateNotImplemented) IsServerError() bool
IsServerError returns true when this replicate not implemented response has a 5xx status code
func (*ReplicateNotImplemented) IsSuccess ¶
func (o *ReplicateNotImplemented) IsSuccess() bool
IsSuccess returns true when this replicate not implemented response has a 2xx status code
func (*ReplicateNotImplemented) String ¶
func (o *ReplicateNotImplemented) String() string
type ReplicateOK ¶
type ReplicateOK struct {
Payload *models.ReplicationReplicateReplicaResponse
}
ReplicateOK describes a response with status code 200, with default header values.
Replication operation registered successfully. ID of the operation is returned.
func NewReplicateOK ¶
func NewReplicateOK() *ReplicateOK
NewReplicateOK creates a ReplicateOK with default headers values
func (*ReplicateOK) Code ¶
func (o *ReplicateOK) Code() int
Code gets the status code for the replicate o k response
func (*ReplicateOK) Error ¶
func (o *ReplicateOK) Error() string
func (*ReplicateOK) GetPayload ¶
func (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.
The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.
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 ReplicationDetailsNotImplemented ¶
type ReplicationDetailsNotImplemented struct {
Payload *models.ErrorResponse
}
ReplicationDetailsNotImplemented describes a response with status code 501, with default header values.
Replica movement operations are disabled.
func NewReplicationDetailsNotImplemented ¶
func NewReplicationDetailsNotImplemented() *ReplicationDetailsNotImplemented
NewReplicationDetailsNotImplemented creates a ReplicationDetailsNotImplemented with default headers values
func (*ReplicationDetailsNotImplemented) Code ¶
func (o *ReplicationDetailsNotImplemented) Code() int
Code gets the status code for the replication details not implemented response
func (*ReplicationDetailsNotImplemented) Error ¶
func (o *ReplicationDetailsNotImplemented) Error() string
func (*ReplicationDetailsNotImplemented) GetPayload ¶
func (o *ReplicationDetailsNotImplemented) GetPayload() *models.ErrorResponse
func (*ReplicationDetailsNotImplemented) IsClientError ¶
func (o *ReplicationDetailsNotImplemented) IsClientError() bool
IsClientError returns true when this replication details not implemented response has a 4xx status code
func (*ReplicationDetailsNotImplemented) IsCode ¶
func (o *ReplicationDetailsNotImplemented) IsCode(code int) bool
IsCode returns true when this replication details not implemented response a status code equal to that given
func (*ReplicationDetailsNotImplemented) IsRedirect ¶
func (o *ReplicationDetailsNotImplemented) IsRedirect() bool
IsRedirect returns true when this replication details not implemented response has a 3xx status code
func (*ReplicationDetailsNotImplemented) IsServerError ¶
func (o *ReplicationDetailsNotImplemented) IsServerError() bool
IsServerError returns true when this replication details not implemented response has a 5xx status code
func (*ReplicationDetailsNotImplemented) IsSuccess ¶
func (o *ReplicationDetailsNotImplemented) IsSuccess() bool
IsSuccess returns true when this replication details not implemented response has a 2xx status code
func (*ReplicationDetailsNotImplemented) String ¶
func (o *ReplicationDetailsNotImplemented) 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
type ReplicationDetailsUnprocessableEntity ¶
type ReplicationDetailsUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ReplicationDetailsUnprocessableEntity describes a response with status code 422, with default header values.
The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.
func NewReplicationDetailsUnprocessableEntity ¶
func NewReplicationDetailsUnprocessableEntity() *ReplicationDetailsUnprocessableEntity
NewReplicationDetailsUnprocessableEntity creates a ReplicationDetailsUnprocessableEntity with default headers values
func (*ReplicationDetailsUnprocessableEntity) Code ¶
func (o *ReplicationDetailsUnprocessableEntity) Code() int
Code gets the status code for the replication details unprocessable entity response
func (*ReplicationDetailsUnprocessableEntity) Error ¶
func (o *ReplicationDetailsUnprocessableEntity) Error() string
func (*ReplicationDetailsUnprocessableEntity) GetPayload ¶
func (o *ReplicationDetailsUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ReplicationDetailsUnprocessableEntity) IsClientError ¶
func (o *ReplicationDetailsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this replication details unprocessable entity response has a 4xx status code
func (*ReplicationDetailsUnprocessableEntity) IsCode ¶
func (o *ReplicationDetailsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this replication details unprocessable entity response a status code equal to that given
func (*ReplicationDetailsUnprocessableEntity) IsRedirect ¶
func (o *ReplicationDetailsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this replication details unprocessable entity response has a 3xx status code
func (*ReplicationDetailsUnprocessableEntity) IsServerError ¶
func (o *ReplicationDetailsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this replication details unprocessable entity response has a 5xx status code
func (*ReplicationDetailsUnprocessableEntity) IsSuccess ¶
func (o *ReplicationDetailsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this replication details unprocessable entity response has a 2xx status code
func (*ReplicationDetailsUnprocessableEntity) String ¶
func (o *ReplicationDetailsUnprocessableEntity) String() string
Source Files
¶
- apply_replication_scale_plan_parameters.go
- apply_replication_scale_plan_responses.go
- 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
- force_delete_replications_parameters.go
- force_delete_replications_responses.go
- get_collection_sharding_state_parameters.go
- get_collection_sharding_state_responses.go
- get_replication_scale_plan_parameters.go
- get_replication_scale_plan_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