Documentation ¶
Index ¶
- type CheckDataIntegrityAccepted
- func (o *CheckDataIntegrityAccepted) Error() string
- func (o *CheckDataIntegrityAccepted) GetPayload() *rest_model.Empty
- func (o *CheckDataIntegrityAccepted) IsClientError() bool
- func (o *CheckDataIntegrityAccepted) IsCode(code int) bool
- func (o *CheckDataIntegrityAccepted) IsRedirect() bool
- func (o *CheckDataIntegrityAccepted) IsServerError() bool
- func (o *CheckDataIntegrityAccepted) IsSuccess() bool
- func (o *CheckDataIntegrityAccepted) String() string
- type CheckDataIntegrityParams
- func NewCheckDataIntegrityParams() *CheckDataIntegrityParams
- func NewCheckDataIntegrityParamsWithContext(ctx context.Context) *CheckDataIntegrityParams
- func NewCheckDataIntegrityParamsWithHTTPClient(client *http.Client) *CheckDataIntegrityParams
- func NewCheckDataIntegrityParamsWithTimeout(timeout time.Duration) *CheckDataIntegrityParams
- func (o *CheckDataIntegrityParams) SetContext(ctx context.Context)
- func (o *CheckDataIntegrityParams) SetDefaults()
- func (o *CheckDataIntegrityParams) SetHTTPClient(client *http.Client)
- func (o *CheckDataIntegrityParams) SetTimeout(timeout time.Duration)
- func (o *CheckDataIntegrityParams) WithContext(ctx context.Context) *CheckDataIntegrityParams
- func (o *CheckDataIntegrityParams) WithDefaults() *CheckDataIntegrityParams
- func (o *CheckDataIntegrityParams) WithHTTPClient(client *http.Client) *CheckDataIntegrityParams
- func (o *CheckDataIntegrityParams) WithTimeout(timeout time.Duration) *CheckDataIntegrityParams
- func (o *CheckDataIntegrityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckDataIntegrityReader
- type CheckDataIntegrityTooManyRequests
- func (o *CheckDataIntegrityTooManyRequests) Error() string
- func (o *CheckDataIntegrityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CheckDataIntegrityTooManyRequests) IsClientError() bool
- func (o *CheckDataIntegrityTooManyRequests) IsCode(code int) bool
- func (o *CheckDataIntegrityTooManyRequests) IsRedirect() bool
- func (o *CheckDataIntegrityTooManyRequests) IsServerError() bool
- func (o *CheckDataIntegrityTooManyRequests) IsSuccess() bool
- func (o *CheckDataIntegrityTooManyRequests) String() string
- type CheckDataIntegrityUnauthorized
- func (o *CheckDataIntegrityUnauthorized) Error() string
- func (o *CheckDataIntegrityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CheckDataIntegrityUnauthorized) IsClientError() bool
- func (o *CheckDataIntegrityUnauthorized) IsCode(code int) bool
- func (o *CheckDataIntegrityUnauthorized) IsRedirect() bool
- func (o *CheckDataIntegrityUnauthorized) IsServerError() bool
- func (o *CheckDataIntegrityUnauthorized) IsSuccess() bool
- func (o *CheckDataIntegrityUnauthorized) String() string
- type Client
- func (a *Client) CheckDataIntegrity(params *CheckDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CheckDataIntegrityAccepted, error)
- func (a *Client) CreateDatabaseSnapshot(params *CreateDatabaseSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDatabaseSnapshotOK, error)
- func (a *Client) DataIntegrityResults(params *DataIntegrityResultsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DataIntegrityResultsOK, error)
- func (a *Client) FixDataIntegrity(params *FixDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FixDataIntegrityAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDatabaseSnapshotOK
- func (o *CreateDatabaseSnapshotOK) Error() string
- func (o *CreateDatabaseSnapshotOK) GetPayload() *rest_model.Empty
- func (o *CreateDatabaseSnapshotOK) IsClientError() bool
- func (o *CreateDatabaseSnapshotOK) IsCode(code int) bool
- func (o *CreateDatabaseSnapshotOK) IsRedirect() bool
- func (o *CreateDatabaseSnapshotOK) IsServerError() bool
- func (o *CreateDatabaseSnapshotOK) IsSuccess() bool
- func (o *CreateDatabaseSnapshotOK) String() string
- type CreateDatabaseSnapshotParams
- func NewCreateDatabaseSnapshotParams() *CreateDatabaseSnapshotParams
- func NewCreateDatabaseSnapshotParamsWithContext(ctx context.Context) *CreateDatabaseSnapshotParams
- func NewCreateDatabaseSnapshotParamsWithHTTPClient(client *http.Client) *CreateDatabaseSnapshotParams
- func NewCreateDatabaseSnapshotParamsWithTimeout(timeout time.Duration) *CreateDatabaseSnapshotParams
- func (o *CreateDatabaseSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateDatabaseSnapshotParams) SetDefaults()
- func (o *CreateDatabaseSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatabaseSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatabaseSnapshotParams) WithContext(ctx context.Context) *CreateDatabaseSnapshotParams
- func (o *CreateDatabaseSnapshotParams) WithDefaults() *CreateDatabaseSnapshotParams
- func (o *CreateDatabaseSnapshotParams) WithHTTPClient(client *http.Client) *CreateDatabaseSnapshotParams
- func (o *CreateDatabaseSnapshotParams) WithTimeout(timeout time.Duration) *CreateDatabaseSnapshotParams
- func (o *CreateDatabaseSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatabaseSnapshotReader
- type CreateDatabaseSnapshotTooManyRequests
- func (o *CreateDatabaseSnapshotTooManyRequests) Error() string
- func (o *CreateDatabaseSnapshotTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateDatabaseSnapshotTooManyRequests) IsClientError() bool
- func (o *CreateDatabaseSnapshotTooManyRequests) IsCode(code int) bool
- func (o *CreateDatabaseSnapshotTooManyRequests) IsRedirect() bool
- func (o *CreateDatabaseSnapshotTooManyRequests) IsServerError() bool
- func (o *CreateDatabaseSnapshotTooManyRequests) IsSuccess() bool
- func (o *CreateDatabaseSnapshotTooManyRequests) String() string
- type CreateDatabaseSnapshotUnauthorized
- func (o *CreateDatabaseSnapshotUnauthorized) Error() string
- func (o *CreateDatabaseSnapshotUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateDatabaseSnapshotUnauthorized) IsClientError() bool
- func (o *CreateDatabaseSnapshotUnauthorized) IsCode(code int) bool
- func (o *CreateDatabaseSnapshotUnauthorized) IsRedirect() bool
- func (o *CreateDatabaseSnapshotUnauthorized) IsServerError() bool
- func (o *CreateDatabaseSnapshotUnauthorized) IsSuccess() bool
- func (o *CreateDatabaseSnapshotUnauthorized) String() string
- type DataIntegrityResultsOK
- func (o *DataIntegrityResultsOK) Error() string
- func (o *DataIntegrityResultsOK) GetPayload() *rest_model.DataIntegrityCheckResultEnvelope
- func (o *DataIntegrityResultsOK) IsClientError() bool
- func (o *DataIntegrityResultsOK) IsCode(code int) bool
- func (o *DataIntegrityResultsOK) IsRedirect() bool
- func (o *DataIntegrityResultsOK) IsServerError() bool
- func (o *DataIntegrityResultsOK) IsSuccess() bool
- func (o *DataIntegrityResultsOK) String() string
- type DataIntegrityResultsParams
- func NewDataIntegrityResultsParams() *DataIntegrityResultsParams
- func NewDataIntegrityResultsParamsWithContext(ctx context.Context) *DataIntegrityResultsParams
- func NewDataIntegrityResultsParamsWithHTTPClient(client *http.Client) *DataIntegrityResultsParams
- func NewDataIntegrityResultsParamsWithTimeout(timeout time.Duration) *DataIntegrityResultsParams
- func (o *DataIntegrityResultsParams) SetContext(ctx context.Context)
- func (o *DataIntegrityResultsParams) SetDefaults()
- func (o *DataIntegrityResultsParams) SetHTTPClient(client *http.Client)
- func (o *DataIntegrityResultsParams) SetTimeout(timeout time.Duration)
- func (o *DataIntegrityResultsParams) WithContext(ctx context.Context) *DataIntegrityResultsParams
- func (o *DataIntegrityResultsParams) WithDefaults() *DataIntegrityResultsParams
- func (o *DataIntegrityResultsParams) WithHTTPClient(client *http.Client) *DataIntegrityResultsParams
- func (o *DataIntegrityResultsParams) WithTimeout(timeout time.Duration) *DataIntegrityResultsParams
- func (o *DataIntegrityResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DataIntegrityResultsReader
- type DataIntegrityResultsUnauthorized
- func (o *DataIntegrityResultsUnauthorized) Error() string
- func (o *DataIntegrityResultsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DataIntegrityResultsUnauthorized) IsClientError() bool
- func (o *DataIntegrityResultsUnauthorized) IsCode(code int) bool
- func (o *DataIntegrityResultsUnauthorized) IsRedirect() bool
- func (o *DataIntegrityResultsUnauthorized) IsServerError() bool
- func (o *DataIntegrityResultsUnauthorized) IsSuccess() bool
- func (o *DataIntegrityResultsUnauthorized) String() string
- type FixDataIntegrityAccepted
- func (o *FixDataIntegrityAccepted) Error() string
- func (o *FixDataIntegrityAccepted) GetPayload() *rest_model.Empty
- func (o *FixDataIntegrityAccepted) IsClientError() bool
- func (o *FixDataIntegrityAccepted) IsCode(code int) bool
- func (o *FixDataIntegrityAccepted) IsRedirect() bool
- func (o *FixDataIntegrityAccepted) IsServerError() bool
- func (o *FixDataIntegrityAccepted) IsSuccess() bool
- func (o *FixDataIntegrityAccepted) String() string
- type FixDataIntegrityParams
- func NewFixDataIntegrityParams() *FixDataIntegrityParams
- func NewFixDataIntegrityParamsWithContext(ctx context.Context) *FixDataIntegrityParams
- func NewFixDataIntegrityParamsWithHTTPClient(client *http.Client) *FixDataIntegrityParams
- func NewFixDataIntegrityParamsWithTimeout(timeout time.Duration) *FixDataIntegrityParams
- func (o *FixDataIntegrityParams) SetContext(ctx context.Context)
- func (o *FixDataIntegrityParams) SetDefaults()
- func (o *FixDataIntegrityParams) SetHTTPClient(client *http.Client)
- func (o *FixDataIntegrityParams) SetTimeout(timeout time.Duration)
- func (o *FixDataIntegrityParams) WithContext(ctx context.Context) *FixDataIntegrityParams
- func (o *FixDataIntegrityParams) WithDefaults() *FixDataIntegrityParams
- func (o *FixDataIntegrityParams) WithHTTPClient(client *http.Client) *FixDataIntegrityParams
- func (o *FixDataIntegrityParams) WithTimeout(timeout time.Duration) *FixDataIntegrityParams
- func (o *FixDataIntegrityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FixDataIntegrityReader
- type FixDataIntegrityTooManyRequests
- func (o *FixDataIntegrityTooManyRequests) Error() string
- func (o *FixDataIntegrityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *FixDataIntegrityTooManyRequests) IsClientError() bool
- func (o *FixDataIntegrityTooManyRequests) IsCode(code int) bool
- func (o *FixDataIntegrityTooManyRequests) IsRedirect() bool
- func (o *FixDataIntegrityTooManyRequests) IsServerError() bool
- func (o *FixDataIntegrityTooManyRequests) IsSuccess() bool
- func (o *FixDataIntegrityTooManyRequests) String() string
- type FixDataIntegrityUnauthorized
- func (o *FixDataIntegrityUnauthorized) Error() string
- func (o *FixDataIntegrityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *FixDataIntegrityUnauthorized) IsClientError() bool
- func (o *FixDataIntegrityUnauthorized) IsCode(code int) bool
- func (o *FixDataIntegrityUnauthorized) IsRedirect() bool
- func (o *FixDataIntegrityUnauthorized) IsServerError() bool
- func (o *FixDataIntegrityUnauthorized) IsSuccess() bool
- func (o *FixDataIntegrityUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckDataIntegrityAccepted ¶
type CheckDataIntegrityAccepted struct {
Payload *rest_model.Empty
}
CheckDataIntegrityAccepted describes a response with status code 202, with default header values.
Base empty response
func NewCheckDataIntegrityAccepted ¶
func NewCheckDataIntegrityAccepted() *CheckDataIntegrityAccepted
NewCheckDataIntegrityAccepted creates a CheckDataIntegrityAccepted with default headers values
func (*CheckDataIntegrityAccepted) Error ¶
func (o *CheckDataIntegrityAccepted) Error() string
func (*CheckDataIntegrityAccepted) GetPayload ¶
func (o *CheckDataIntegrityAccepted) GetPayload() *rest_model.Empty
func (*CheckDataIntegrityAccepted) IsClientError ¶ added in v0.21.38
func (o *CheckDataIntegrityAccepted) IsClientError() bool
IsClientError returns true when this check data integrity accepted response has a 4xx status code
func (*CheckDataIntegrityAccepted) IsCode ¶ added in v0.21.38
func (o *CheckDataIntegrityAccepted) IsCode(code int) bool
IsCode returns true when this check data integrity accepted response a status code equal to that given
func (*CheckDataIntegrityAccepted) IsRedirect ¶ added in v0.21.38
func (o *CheckDataIntegrityAccepted) IsRedirect() bool
IsRedirect returns true when this check data integrity accepted response has a 3xx status code
func (*CheckDataIntegrityAccepted) IsServerError ¶ added in v0.21.38
func (o *CheckDataIntegrityAccepted) IsServerError() bool
IsServerError returns true when this check data integrity accepted response has a 5xx status code
func (*CheckDataIntegrityAccepted) IsSuccess ¶ added in v0.21.38
func (o *CheckDataIntegrityAccepted) IsSuccess() bool
IsSuccess returns true when this check data integrity accepted response has a 2xx status code
func (*CheckDataIntegrityAccepted) String ¶ added in v0.21.38
func (o *CheckDataIntegrityAccepted) String() string
type CheckDataIntegrityParams ¶
type CheckDataIntegrityParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckDataIntegrityParams contains all the parameters to send to the API endpoint
for the check data integrity operation. Typically these are written to a http.Request.
func NewCheckDataIntegrityParams ¶
func NewCheckDataIntegrityParams() *CheckDataIntegrityParams
NewCheckDataIntegrityParams creates a new CheckDataIntegrityParams 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 NewCheckDataIntegrityParamsWithContext ¶
func NewCheckDataIntegrityParamsWithContext(ctx context.Context) *CheckDataIntegrityParams
NewCheckDataIntegrityParamsWithContext creates a new CheckDataIntegrityParams object with the ability to set a context for a request.
func NewCheckDataIntegrityParamsWithHTTPClient ¶
func NewCheckDataIntegrityParamsWithHTTPClient(client *http.Client) *CheckDataIntegrityParams
NewCheckDataIntegrityParamsWithHTTPClient creates a new CheckDataIntegrityParams object with the ability to set a custom HTTPClient for a request.
func NewCheckDataIntegrityParamsWithTimeout ¶
func NewCheckDataIntegrityParamsWithTimeout(timeout time.Duration) *CheckDataIntegrityParams
NewCheckDataIntegrityParamsWithTimeout creates a new CheckDataIntegrityParams object with the ability to set a timeout on a request.
func (*CheckDataIntegrityParams) SetContext ¶
func (o *CheckDataIntegrityParams) SetContext(ctx context.Context)
SetContext adds the context to the check data integrity params
func (*CheckDataIntegrityParams) SetDefaults ¶
func (o *CheckDataIntegrityParams) SetDefaults()
SetDefaults hydrates default values in the check data integrity params (not the query body).
All values with no default are reset to their zero value.
func (*CheckDataIntegrityParams) SetHTTPClient ¶
func (o *CheckDataIntegrityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check data integrity params
func (*CheckDataIntegrityParams) SetTimeout ¶
func (o *CheckDataIntegrityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check data integrity params
func (*CheckDataIntegrityParams) WithContext ¶
func (o *CheckDataIntegrityParams) WithContext(ctx context.Context) *CheckDataIntegrityParams
WithContext adds the context to the check data integrity params
func (*CheckDataIntegrityParams) WithDefaults ¶
func (o *CheckDataIntegrityParams) WithDefaults() *CheckDataIntegrityParams
WithDefaults hydrates default values in the check data integrity params (not the query body).
All values with no default are reset to their zero value.
func (*CheckDataIntegrityParams) WithHTTPClient ¶
func (o *CheckDataIntegrityParams) WithHTTPClient(client *http.Client) *CheckDataIntegrityParams
WithHTTPClient adds the HTTPClient to the check data integrity params
func (*CheckDataIntegrityParams) WithTimeout ¶
func (o *CheckDataIntegrityParams) WithTimeout(timeout time.Duration) *CheckDataIntegrityParams
WithTimeout adds the timeout to the check data integrity params
func (*CheckDataIntegrityParams) WriteToRequest ¶
func (o *CheckDataIntegrityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckDataIntegrityReader ¶
type CheckDataIntegrityReader struct {
// contains filtered or unexported fields
}
CheckDataIntegrityReader is a Reader for the CheckDataIntegrity structure.
func (*CheckDataIntegrityReader) ReadResponse ¶
func (o *CheckDataIntegrityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckDataIntegrityTooManyRequests ¶
type CheckDataIntegrityTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
CheckDataIntegrityTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCheckDataIntegrityTooManyRequests ¶
func NewCheckDataIntegrityTooManyRequests() *CheckDataIntegrityTooManyRequests
NewCheckDataIntegrityTooManyRequests creates a CheckDataIntegrityTooManyRequests with default headers values
func (*CheckDataIntegrityTooManyRequests) Error ¶
func (o *CheckDataIntegrityTooManyRequests) Error() string
func (*CheckDataIntegrityTooManyRequests) GetPayload ¶
func (o *CheckDataIntegrityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*CheckDataIntegrityTooManyRequests) IsClientError ¶ added in v0.21.38
func (o *CheckDataIntegrityTooManyRequests) IsClientError() bool
IsClientError returns true when this check data integrity too many requests response has a 4xx status code
func (*CheckDataIntegrityTooManyRequests) IsCode ¶ added in v0.21.38
func (o *CheckDataIntegrityTooManyRequests) IsCode(code int) bool
IsCode returns true when this check data integrity too many requests response a status code equal to that given
func (*CheckDataIntegrityTooManyRequests) IsRedirect ¶ added in v0.21.38
func (o *CheckDataIntegrityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this check data integrity too many requests response has a 3xx status code
func (*CheckDataIntegrityTooManyRequests) IsServerError ¶ added in v0.21.38
func (o *CheckDataIntegrityTooManyRequests) IsServerError() bool
IsServerError returns true when this check data integrity too many requests response has a 5xx status code
func (*CheckDataIntegrityTooManyRequests) IsSuccess ¶ added in v0.21.38
func (o *CheckDataIntegrityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this check data integrity too many requests response has a 2xx status code
func (*CheckDataIntegrityTooManyRequests) String ¶ added in v0.21.38
func (o *CheckDataIntegrityTooManyRequests) String() string
type CheckDataIntegrityUnauthorized ¶
type CheckDataIntegrityUnauthorized struct {
}CheckDataIntegrityUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCheckDataIntegrityUnauthorized ¶
func NewCheckDataIntegrityUnauthorized() *CheckDataIntegrityUnauthorized
NewCheckDataIntegrityUnauthorized creates a CheckDataIntegrityUnauthorized with default headers values
func (*CheckDataIntegrityUnauthorized) Error ¶
func (o *CheckDataIntegrityUnauthorized) Error() string
func (*CheckDataIntegrityUnauthorized) GetPayload ¶
func (o *CheckDataIntegrityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CheckDataIntegrityUnauthorized) IsClientError ¶ added in v0.21.38
func (o *CheckDataIntegrityUnauthorized) IsClientError() bool
IsClientError returns true when this check data integrity unauthorized response has a 4xx status code
func (*CheckDataIntegrityUnauthorized) IsCode ¶ added in v0.21.38
func (o *CheckDataIntegrityUnauthorized) IsCode(code int) bool
IsCode returns true when this check data integrity unauthorized response a status code equal to that given
func (*CheckDataIntegrityUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *CheckDataIntegrityUnauthorized) IsRedirect() bool
IsRedirect returns true when this check data integrity unauthorized response has a 3xx status code
func (*CheckDataIntegrityUnauthorized) IsServerError ¶ added in v0.21.38
func (o *CheckDataIntegrityUnauthorized) IsServerError() bool
IsServerError returns true when this check data integrity unauthorized response has a 5xx status code
func (*CheckDataIntegrityUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *CheckDataIntegrityUnauthorized) IsSuccess() bool
IsSuccess returns true when this check data integrity unauthorized response has a 2xx status code
func (*CheckDataIntegrityUnauthorized) String ¶ added in v0.21.38
func (o *CheckDataIntegrityUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for database API
func (*Client) CheckDataIntegrity ¶
func (a *Client) CheckDataIntegrity(params *CheckDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckDataIntegrityAccepted, error)
CheckDataIntegrity starts a data integrity scan on the datastore
Starts a data integrity scan on the datastore. Requires admin access. Only once instance may run at a time, including runs of fixDataIntegrity.
func (*Client) CreateDatabaseSnapshot ¶
func (a *Client) CreateDatabaseSnapshot(params *CreateDatabaseSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDatabaseSnapshotOK, error)
CreateDatabaseSnapshot creates a new database snapshot
Create a new database snapshot. Requires admin access.
func (*Client) DataIntegrityResults ¶
func (a *Client) DataIntegrityResults(params *DataIntegrityResultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DataIntegrityResultsOK, error)
DataIntegrityResults returns any results found from in progress integrity checks
Returns any results found from in-progress integrity checks. Requires admin access.
func (*Client) FixDataIntegrity ¶
func (a *Client) FixDataIntegrity(params *FixDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixDataIntegrityAccepted, error)
FixDataIntegrity runs a data integrity scan on the datastore attempts to fix any issues it can and returns any found issues
Runs a data integrity scan on the datastore, attempts to fix any issues it can, and returns any found issues. Requires admin access. Only once instance may run at a time, including runs of checkDataIntegrity.
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 { CheckDataIntegrity(params *CheckDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckDataIntegrityAccepted, error) CreateDatabaseSnapshot(params *CreateDatabaseSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDatabaseSnapshotOK, error) DataIntegrityResults(params *DataIntegrityResultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DataIntegrityResultsOK, error) FixDataIntegrity(params *FixDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FixDataIntegrityAccepted, 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 database API client.
type CreateDatabaseSnapshotOK ¶
type CreateDatabaseSnapshotOK struct {
Payload *rest_model.Empty
}
CreateDatabaseSnapshotOK describes a response with status code 200, with default header values.
Base empty response
func NewCreateDatabaseSnapshotOK ¶
func NewCreateDatabaseSnapshotOK() *CreateDatabaseSnapshotOK
NewCreateDatabaseSnapshotOK creates a CreateDatabaseSnapshotOK with default headers values
func (*CreateDatabaseSnapshotOK) Error ¶
func (o *CreateDatabaseSnapshotOK) Error() string
func (*CreateDatabaseSnapshotOK) GetPayload ¶
func (o *CreateDatabaseSnapshotOK) GetPayload() *rest_model.Empty
func (*CreateDatabaseSnapshotOK) IsClientError ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotOK) IsClientError() bool
IsClientError returns true when this create database snapshot o k response has a 4xx status code
func (*CreateDatabaseSnapshotOK) IsCode ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotOK) IsCode(code int) bool
IsCode returns true when this create database snapshot o k response a status code equal to that given
func (*CreateDatabaseSnapshotOK) IsRedirect ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotOK) IsRedirect() bool
IsRedirect returns true when this create database snapshot o k response has a 3xx status code
func (*CreateDatabaseSnapshotOK) IsServerError ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotOK) IsServerError() bool
IsServerError returns true when this create database snapshot o k response has a 5xx status code
func (*CreateDatabaseSnapshotOK) IsSuccess ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotOK) IsSuccess() bool
IsSuccess returns true when this create database snapshot o k response has a 2xx status code
func (*CreateDatabaseSnapshotOK) String ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotOK) String() string
type CreateDatabaseSnapshotParams ¶
type CreateDatabaseSnapshotParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatabaseSnapshotParams contains all the parameters to send to the API endpoint
for the create database snapshot operation. Typically these are written to a http.Request.
func NewCreateDatabaseSnapshotParams ¶
func NewCreateDatabaseSnapshotParams() *CreateDatabaseSnapshotParams
NewCreateDatabaseSnapshotParams creates a new CreateDatabaseSnapshotParams 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 NewCreateDatabaseSnapshotParamsWithContext ¶
func NewCreateDatabaseSnapshotParamsWithContext(ctx context.Context) *CreateDatabaseSnapshotParams
NewCreateDatabaseSnapshotParamsWithContext creates a new CreateDatabaseSnapshotParams object with the ability to set a context for a request.
func NewCreateDatabaseSnapshotParamsWithHTTPClient ¶
func NewCreateDatabaseSnapshotParamsWithHTTPClient(client *http.Client) *CreateDatabaseSnapshotParams
NewCreateDatabaseSnapshotParamsWithHTTPClient creates a new CreateDatabaseSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDatabaseSnapshotParamsWithTimeout ¶
func NewCreateDatabaseSnapshotParamsWithTimeout(timeout time.Duration) *CreateDatabaseSnapshotParams
NewCreateDatabaseSnapshotParamsWithTimeout creates a new CreateDatabaseSnapshotParams object with the ability to set a timeout on a request.
func (*CreateDatabaseSnapshotParams) SetContext ¶
func (o *CreateDatabaseSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create database snapshot params
func (*CreateDatabaseSnapshotParams) SetDefaults ¶
func (o *CreateDatabaseSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create database snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatabaseSnapshotParams) SetHTTPClient ¶
func (o *CreateDatabaseSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create database snapshot params
func (*CreateDatabaseSnapshotParams) SetTimeout ¶
func (o *CreateDatabaseSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create database snapshot params
func (*CreateDatabaseSnapshotParams) WithContext ¶
func (o *CreateDatabaseSnapshotParams) WithContext(ctx context.Context) *CreateDatabaseSnapshotParams
WithContext adds the context to the create database snapshot params
func (*CreateDatabaseSnapshotParams) WithDefaults ¶
func (o *CreateDatabaseSnapshotParams) WithDefaults() *CreateDatabaseSnapshotParams
WithDefaults hydrates default values in the create database snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatabaseSnapshotParams) WithHTTPClient ¶
func (o *CreateDatabaseSnapshotParams) WithHTTPClient(client *http.Client) *CreateDatabaseSnapshotParams
WithHTTPClient adds the HTTPClient to the create database snapshot params
func (*CreateDatabaseSnapshotParams) WithTimeout ¶
func (o *CreateDatabaseSnapshotParams) WithTimeout(timeout time.Duration) *CreateDatabaseSnapshotParams
WithTimeout adds the timeout to the create database snapshot params
func (*CreateDatabaseSnapshotParams) WriteToRequest ¶
func (o *CreateDatabaseSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatabaseSnapshotReader ¶
type CreateDatabaseSnapshotReader struct {
// contains filtered or unexported fields
}
CreateDatabaseSnapshotReader is a Reader for the CreateDatabaseSnapshot structure.
func (*CreateDatabaseSnapshotReader) ReadResponse ¶
func (o *CreateDatabaseSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDatabaseSnapshotTooManyRequests ¶
type CreateDatabaseSnapshotTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
CreateDatabaseSnapshotTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCreateDatabaseSnapshotTooManyRequests ¶
func NewCreateDatabaseSnapshotTooManyRequests() *CreateDatabaseSnapshotTooManyRequests
NewCreateDatabaseSnapshotTooManyRequests creates a CreateDatabaseSnapshotTooManyRequests with default headers values
func (*CreateDatabaseSnapshotTooManyRequests) Error ¶
func (o *CreateDatabaseSnapshotTooManyRequests) Error() string
func (*CreateDatabaseSnapshotTooManyRequests) GetPayload ¶
func (o *CreateDatabaseSnapshotTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateDatabaseSnapshotTooManyRequests) IsClientError ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotTooManyRequests) IsClientError() bool
IsClientError returns true when this create database snapshot too many requests response has a 4xx status code
func (*CreateDatabaseSnapshotTooManyRequests) IsCode ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotTooManyRequests) IsCode(code int) bool
IsCode returns true when this create database snapshot too many requests response a status code equal to that given
func (*CreateDatabaseSnapshotTooManyRequests) IsRedirect ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create database snapshot too many requests response has a 3xx status code
func (*CreateDatabaseSnapshotTooManyRequests) IsServerError ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotTooManyRequests) IsServerError() bool
IsServerError returns true when this create database snapshot too many requests response has a 5xx status code
func (*CreateDatabaseSnapshotTooManyRequests) IsSuccess ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create database snapshot too many requests response has a 2xx status code
func (*CreateDatabaseSnapshotTooManyRequests) String ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotTooManyRequests) String() string
type CreateDatabaseSnapshotUnauthorized ¶
type CreateDatabaseSnapshotUnauthorized struct {
}CreateDatabaseSnapshotUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateDatabaseSnapshotUnauthorized ¶
func NewCreateDatabaseSnapshotUnauthorized() *CreateDatabaseSnapshotUnauthorized
NewCreateDatabaseSnapshotUnauthorized creates a CreateDatabaseSnapshotUnauthorized with default headers values
func (*CreateDatabaseSnapshotUnauthorized) Error ¶
func (o *CreateDatabaseSnapshotUnauthorized) Error() string
func (*CreateDatabaseSnapshotUnauthorized) GetPayload ¶
func (o *CreateDatabaseSnapshotUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateDatabaseSnapshotUnauthorized) IsClientError ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotUnauthorized) IsClientError() bool
IsClientError returns true when this create database snapshot unauthorized response has a 4xx status code
func (*CreateDatabaseSnapshotUnauthorized) IsCode ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotUnauthorized) IsCode(code int) bool
IsCode returns true when this create database snapshot unauthorized response a status code equal to that given
func (*CreateDatabaseSnapshotUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotUnauthorized) IsRedirect() bool
IsRedirect returns true when this create database snapshot unauthorized response has a 3xx status code
func (*CreateDatabaseSnapshotUnauthorized) IsServerError ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotUnauthorized) IsServerError() bool
IsServerError returns true when this create database snapshot unauthorized response has a 5xx status code
func (*CreateDatabaseSnapshotUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotUnauthorized) IsSuccess() bool
IsSuccess returns true when this create database snapshot unauthorized response has a 2xx status code
func (*CreateDatabaseSnapshotUnauthorized) String ¶ added in v0.21.38
func (o *CreateDatabaseSnapshotUnauthorized) String() string
type DataIntegrityResultsOK ¶
type DataIntegrityResultsOK struct {
Payload *rest_model.DataIntegrityCheckResultEnvelope
}
DataIntegrityResultsOK describes a response with status code 200, with default header values.
A list of data integrity issues found
func NewDataIntegrityResultsOK ¶
func NewDataIntegrityResultsOK() *DataIntegrityResultsOK
NewDataIntegrityResultsOK creates a DataIntegrityResultsOK with default headers values
func (*DataIntegrityResultsOK) Error ¶
func (o *DataIntegrityResultsOK) Error() string
func (*DataIntegrityResultsOK) GetPayload ¶
func (o *DataIntegrityResultsOK) GetPayload() *rest_model.DataIntegrityCheckResultEnvelope
func (*DataIntegrityResultsOK) IsClientError ¶ added in v0.21.38
func (o *DataIntegrityResultsOK) IsClientError() bool
IsClientError returns true when this data integrity results o k response has a 4xx status code
func (*DataIntegrityResultsOK) IsCode ¶ added in v0.21.38
func (o *DataIntegrityResultsOK) IsCode(code int) bool
IsCode returns true when this data integrity results o k response a status code equal to that given
func (*DataIntegrityResultsOK) IsRedirect ¶ added in v0.21.38
func (o *DataIntegrityResultsOK) IsRedirect() bool
IsRedirect returns true when this data integrity results o k response has a 3xx status code
func (*DataIntegrityResultsOK) IsServerError ¶ added in v0.21.38
func (o *DataIntegrityResultsOK) IsServerError() bool
IsServerError returns true when this data integrity results o k response has a 5xx status code
func (*DataIntegrityResultsOK) IsSuccess ¶ added in v0.21.38
func (o *DataIntegrityResultsOK) IsSuccess() bool
IsSuccess returns true when this data integrity results o k response has a 2xx status code
func (*DataIntegrityResultsOK) String ¶ added in v0.21.38
func (o *DataIntegrityResultsOK) String() string
type DataIntegrityResultsParams ¶
type DataIntegrityResultsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DataIntegrityResultsParams contains all the parameters to send to the API endpoint
for the data integrity results operation. Typically these are written to a http.Request.
func NewDataIntegrityResultsParams ¶
func NewDataIntegrityResultsParams() *DataIntegrityResultsParams
NewDataIntegrityResultsParams creates a new DataIntegrityResultsParams 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 NewDataIntegrityResultsParamsWithContext ¶
func NewDataIntegrityResultsParamsWithContext(ctx context.Context) *DataIntegrityResultsParams
NewDataIntegrityResultsParamsWithContext creates a new DataIntegrityResultsParams object with the ability to set a context for a request.
func NewDataIntegrityResultsParamsWithHTTPClient ¶
func NewDataIntegrityResultsParamsWithHTTPClient(client *http.Client) *DataIntegrityResultsParams
NewDataIntegrityResultsParamsWithHTTPClient creates a new DataIntegrityResultsParams object with the ability to set a custom HTTPClient for a request.
func NewDataIntegrityResultsParamsWithTimeout ¶
func NewDataIntegrityResultsParamsWithTimeout(timeout time.Duration) *DataIntegrityResultsParams
NewDataIntegrityResultsParamsWithTimeout creates a new DataIntegrityResultsParams object with the ability to set a timeout on a request.
func (*DataIntegrityResultsParams) SetContext ¶
func (o *DataIntegrityResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the data integrity results params
func (*DataIntegrityResultsParams) SetDefaults ¶
func (o *DataIntegrityResultsParams) SetDefaults()
SetDefaults hydrates default values in the data integrity results params (not the query body).
All values with no default are reset to their zero value.
func (*DataIntegrityResultsParams) SetHTTPClient ¶
func (o *DataIntegrityResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the data integrity results params
func (*DataIntegrityResultsParams) SetTimeout ¶
func (o *DataIntegrityResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the data integrity results params
func (*DataIntegrityResultsParams) WithContext ¶
func (o *DataIntegrityResultsParams) WithContext(ctx context.Context) *DataIntegrityResultsParams
WithContext adds the context to the data integrity results params
func (*DataIntegrityResultsParams) WithDefaults ¶
func (o *DataIntegrityResultsParams) WithDefaults() *DataIntegrityResultsParams
WithDefaults hydrates default values in the data integrity results params (not the query body).
All values with no default are reset to their zero value.
func (*DataIntegrityResultsParams) WithHTTPClient ¶
func (o *DataIntegrityResultsParams) WithHTTPClient(client *http.Client) *DataIntegrityResultsParams
WithHTTPClient adds the HTTPClient to the data integrity results params
func (*DataIntegrityResultsParams) WithTimeout ¶
func (o *DataIntegrityResultsParams) WithTimeout(timeout time.Duration) *DataIntegrityResultsParams
WithTimeout adds the timeout to the data integrity results params
func (*DataIntegrityResultsParams) WriteToRequest ¶
func (o *DataIntegrityResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DataIntegrityResultsReader ¶
type DataIntegrityResultsReader struct {
// contains filtered or unexported fields
}
DataIntegrityResultsReader is a Reader for the DataIntegrityResults structure.
func (*DataIntegrityResultsReader) ReadResponse ¶
func (o *DataIntegrityResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DataIntegrityResultsUnauthorized ¶
type DataIntegrityResultsUnauthorized struct {
}DataIntegrityResultsUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDataIntegrityResultsUnauthorized ¶
func NewDataIntegrityResultsUnauthorized() *DataIntegrityResultsUnauthorized
NewDataIntegrityResultsUnauthorized creates a DataIntegrityResultsUnauthorized with default headers values
func (*DataIntegrityResultsUnauthorized) Error ¶
func (o *DataIntegrityResultsUnauthorized) Error() string
func (*DataIntegrityResultsUnauthorized) GetPayload ¶
func (o *DataIntegrityResultsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DataIntegrityResultsUnauthorized) IsClientError ¶ added in v0.21.38
func (o *DataIntegrityResultsUnauthorized) IsClientError() bool
IsClientError returns true when this data integrity results unauthorized response has a 4xx status code
func (*DataIntegrityResultsUnauthorized) IsCode ¶ added in v0.21.38
func (o *DataIntegrityResultsUnauthorized) IsCode(code int) bool
IsCode returns true when this data integrity results unauthorized response a status code equal to that given
func (*DataIntegrityResultsUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *DataIntegrityResultsUnauthorized) IsRedirect() bool
IsRedirect returns true when this data integrity results unauthorized response has a 3xx status code
func (*DataIntegrityResultsUnauthorized) IsServerError ¶ added in v0.21.38
func (o *DataIntegrityResultsUnauthorized) IsServerError() bool
IsServerError returns true when this data integrity results unauthorized response has a 5xx status code
func (*DataIntegrityResultsUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *DataIntegrityResultsUnauthorized) IsSuccess() bool
IsSuccess returns true when this data integrity results unauthorized response has a 2xx status code
func (*DataIntegrityResultsUnauthorized) String ¶ added in v0.21.38
func (o *DataIntegrityResultsUnauthorized) String() string
type FixDataIntegrityAccepted ¶
type FixDataIntegrityAccepted struct {
Payload *rest_model.Empty
}
FixDataIntegrityAccepted describes a response with status code 202, with default header values.
Base empty response
func NewFixDataIntegrityAccepted ¶
func NewFixDataIntegrityAccepted() *FixDataIntegrityAccepted
NewFixDataIntegrityAccepted creates a FixDataIntegrityAccepted with default headers values
func (*FixDataIntegrityAccepted) Error ¶
func (o *FixDataIntegrityAccepted) Error() string
func (*FixDataIntegrityAccepted) GetPayload ¶
func (o *FixDataIntegrityAccepted) GetPayload() *rest_model.Empty
func (*FixDataIntegrityAccepted) IsClientError ¶ added in v0.21.38
func (o *FixDataIntegrityAccepted) IsClientError() bool
IsClientError returns true when this fix data integrity accepted response has a 4xx status code
func (*FixDataIntegrityAccepted) IsCode ¶ added in v0.21.38
func (o *FixDataIntegrityAccepted) IsCode(code int) bool
IsCode returns true when this fix data integrity accepted response a status code equal to that given
func (*FixDataIntegrityAccepted) IsRedirect ¶ added in v0.21.38
func (o *FixDataIntegrityAccepted) IsRedirect() bool
IsRedirect returns true when this fix data integrity accepted response has a 3xx status code
func (*FixDataIntegrityAccepted) IsServerError ¶ added in v0.21.38
func (o *FixDataIntegrityAccepted) IsServerError() bool
IsServerError returns true when this fix data integrity accepted response has a 5xx status code
func (*FixDataIntegrityAccepted) IsSuccess ¶ added in v0.21.38
func (o *FixDataIntegrityAccepted) IsSuccess() bool
IsSuccess returns true when this fix data integrity accepted response has a 2xx status code
func (*FixDataIntegrityAccepted) String ¶ added in v0.21.38
func (o *FixDataIntegrityAccepted) String() string
type FixDataIntegrityParams ¶
type FixDataIntegrityParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FixDataIntegrityParams contains all the parameters to send to the API endpoint
for the fix data integrity operation. Typically these are written to a http.Request.
func NewFixDataIntegrityParams ¶
func NewFixDataIntegrityParams() *FixDataIntegrityParams
NewFixDataIntegrityParams creates a new FixDataIntegrityParams 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 NewFixDataIntegrityParamsWithContext ¶
func NewFixDataIntegrityParamsWithContext(ctx context.Context) *FixDataIntegrityParams
NewFixDataIntegrityParamsWithContext creates a new FixDataIntegrityParams object with the ability to set a context for a request.
func NewFixDataIntegrityParamsWithHTTPClient ¶
func NewFixDataIntegrityParamsWithHTTPClient(client *http.Client) *FixDataIntegrityParams
NewFixDataIntegrityParamsWithHTTPClient creates a new FixDataIntegrityParams object with the ability to set a custom HTTPClient for a request.
func NewFixDataIntegrityParamsWithTimeout ¶
func NewFixDataIntegrityParamsWithTimeout(timeout time.Duration) *FixDataIntegrityParams
NewFixDataIntegrityParamsWithTimeout creates a new FixDataIntegrityParams object with the ability to set a timeout on a request.
func (*FixDataIntegrityParams) SetContext ¶
func (o *FixDataIntegrityParams) SetContext(ctx context.Context)
SetContext adds the context to the fix data integrity params
func (*FixDataIntegrityParams) SetDefaults ¶
func (o *FixDataIntegrityParams) SetDefaults()
SetDefaults hydrates default values in the fix data integrity params (not the query body).
All values with no default are reset to their zero value.
func (*FixDataIntegrityParams) SetHTTPClient ¶
func (o *FixDataIntegrityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fix data integrity params
func (*FixDataIntegrityParams) SetTimeout ¶
func (o *FixDataIntegrityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fix data integrity params
func (*FixDataIntegrityParams) WithContext ¶
func (o *FixDataIntegrityParams) WithContext(ctx context.Context) *FixDataIntegrityParams
WithContext adds the context to the fix data integrity params
func (*FixDataIntegrityParams) WithDefaults ¶
func (o *FixDataIntegrityParams) WithDefaults() *FixDataIntegrityParams
WithDefaults hydrates default values in the fix data integrity params (not the query body).
All values with no default are reset to their zero value.
func (*FixDataIntegrityParams) WithHTTPClient ¶
func (o *FixDataIntegrityParams) WithHTTPClient(client *http.Client) *FixDataIntegrityParams
WithHTTPClient adds the HTTPClient to the fix data integrity params
func (*FixDataIntegrityParams) WithTimeout ¶
func (o *FixDataIntegrityParams) WithTimeout(timeout time.Duration) *FixDataIntegrityParams
WithTimeout adds the timeout to the fix data integrity params
func (*FixDataIntegrityParams) WriteToRequest ¶
func (o *FixDataIntegrityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FixDataIntegrityReader ¶
type FixDataIntegrityReader struct {
// contains filtered or unexported fields
}
FixDataIntegrityReader is a Reader for the FixDataIntegrity structure.
func (*FixDataIntegrityReader) ReadResponse ¶
func (o *FixDataIntegrityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FixDataIntegrityTooManyRequests ¶
type FixDataIntegrityTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
FixDataIntegrityTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewFixDataIntegrityTooManyRequests ¶
func NewFixDataIntegrityTooManyRequests() *FixDataIntegrityTooManyRequests
NewFixDataIntegrityTooManyRequests creates a FixDataIntegrityTooManyRequests with default headers values
func (*FixDataIntegrityTooManyRequests) Error ¶
func (o *FixDataIntegrityTooManyRequests) Error() string
func (*FixDataIntegrityTooManyRequests) GetPayload ¶
func (o *FixDataIntegrityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*FixDataIntegrityTooManyRequests) IsClientError ¶ added in v0.21.38
func (o *FixDataIntegrityTooManyRequests) IsClientError() bool
IsClientError returns true when this fix data integrity too many requests response has a 4xx status code
func (*FixDataIntegrityTooManyRequests) IsCode ¶ added in v0.21.38
func (o *FixDataIntegrityTooManyRequests) IsCode(code int) bool
IsCode returns true when this fix data integrity too many requests response a status code equal to that given
func (*FixDataIntegrityTooManyRequests) IsRedirect ¶ added in v0.21.38
func (o *FixDataIntegrityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this fix data integrity too many requests response has a 3xx status code
func (*FixDataIntegrityTooManyRequests) IsServerError ¶ added in v0.21.38
func (o *FixDataIntegrityTooManyRequests) IsServerError() bool
IsServerError returns true when this fix data integrity too many requests response has a 5xx status code
func (*FixDataIntegrityTooManyRequests) IsSuccess ¶ added in v0.21.38
func (o *FixDataIntegrityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this fix data integrity too many requests response has a 2xx status code
func (*FixDataIntegrityTooManyRequests) String ¶ added in v0.21.38
func (o *FixDataIntegrityTooManyRequests) String() string
type FixDataIntegrityUnauthorized ¶
type FixDataIntegrityUnauthorized struct {
}FixDataIntegrityUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewFixDataIntegrityUnauthorized ¶
func NewFixDataIntegrityUnauthorized() *FixDataIntegrityUnauthorized
NewFixDataIntegrityUnauthorized creates a FixDataIntegrityUnauthorized with default headers values
func (*FixDataIntegrityUnauthorized) Error ¶
func (o *FixDataIntegrityUnauthorized) Error() string
func (*FixDataIntegrityUnauthorized) GetPayload ¶
func (o *FixDataIntegrityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*FixDataIntegrityUnauthorized) IsClientError ¶ added in v0.21.38
func (o *FixDataIntegrityUnauthorized) IsClientError() bool
IsClientError returns true when this fix data integrity unauthorized response has a 4xx status code
func (*FixDataIntegrityUnauthorized) IsCode ¶ added in v0.21.38
func (o *FixDataIntegrityUnauthorized) IsCode(code int) bool
IsCode returns true when this fix data integrity unauthorized response a status code equal to that given
func (*FixDataIntegrityUnauthorized) IsRedirect ¶ added in v0.21.38
func (o *FixDataIntegrityUnauthorized) IsRedirect() bool
IsRedirect returns true when this fix data integrity unauthorized response has a 3xx status code
func (*FixDataIntegrityUnauthorized) IsServerError ¶ added in v0.21.38
func (o *FixDataIntegrityUnauthorized) IsServerError() bool
IsServerError returns true when this fix data integrity unauthorized response has a 5xx status code
func (*FixDataIntegrityUnauthorized) IsSuccess ¶ added in v0.21.38
func (o *FixDataIntegrityUnauthorized) IsSuccess() bool
IsSuccess returns true when this fix data integrity unauthorized response has a 2xx status code
func (*FixDataIntegrityUnauthorized) String ¶ added in v0.21.38
func (o *FixDataIntegrityUnauthorized) String() string
Source Files ¶
- check_data_integrity_parameters.go
- check_data_integrity_responses.go
- create_database_snapshot_parameters.go
- create_database_snapshot_responses.go
- data_integrity_results_parameters.go
- data_integrity_results_responses.go
- database_client.go
- fix_data_integrity_parameters.go
- fix_data_integrity_responses.go