Documentation ¶
Index ¶
- type CheckDataIntegrityOK
- 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) SetHTTPClient(client *http.Client)
- func (o *CheckDataIntegrityParams) SetTimeout(timeout time.Duration)
- func (o *CheckDataIntegrityParams) WithContext(ctx context.Context) *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 CheckDataIntegrityUnauthorized
- type Client
- func (a *Client) CheckDataIntegrity(params *CheckDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter) (*CheckDataIntegrityOK, error)
- func (a *Client) CreateDatabaseSnapshot(params *CreateDatabaseSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseSnapshotOK, error)
- func (a *Client) FixDataIntegrity(params *FixDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter) (*FixDataIntegrityOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateDatabaseSnapshotOK
- 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) SetHTTPClient(client *http.Client)
- func (o *CreateDatabaseSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatabaseSnapshotParams) WithContext(ctx context.Context) *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
- type CreateDatabaseSnapshotUnauthorized
- type FixDataIntegrityOK
- 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) SetHTTPClient(client *http.Client)
- func (o *FixDataIntegrityParams) SetTimeout(timeout time.Duration)
- func (o *FixDataIntegrityParams) WithContext(ctx context.Context) *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 FixDataIntegrityUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckDataIntegrityOK ¶ added in v0.15.28
type CheckDataIntegrityOK struct {
Payload *rest_model.DataIntegrityCheckResultEnvelope
}
CheckDataIntegrityOK handles this case with default header values.
A list of data integrity issues found
func NewCheckDataIntegrityOK ¶ added in v0.15.28
func NewCheckDataIntegrityOK() *CheckDataIntegrityOK
NewCheckDataIntegrityOK creates a CheckDataIntegrityOK with default headers values
func (*CheckDataIntegrityOK) Error ¶ added in v0.15.28
func (o *CheckDataIntegrityOK) Error() string
func (*CheckDataIntegrityOK) GetPayload ¶ added in v0.15.28
func (o *CheckDataIntegrityOK) GetPayload() *rest_model.DataIntegrityCheckResultEnvelope
type CheckDataIntegrityParams ¶ added in v0.15.28
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 ¶ added in v0.15.28
func NewCheckDataIntegrityParams() *CheckDataIntegrityParams
NewCheckDataIntegrityParams creates a new CheckDataIntegrityParams object with the default values initialized.
func NewCheckDataIntegrityParamsWithContext ¶ added in v0.15.28
func NewCheckDataIntegrityParamsWithContext(ctx context.Context) *CheckDataIntegrityParams
NewCheckDataIntegrityParamsWithContext creates a new CheckDataIntegrityParams object with the default values initialized, and the ability to set a context for a request
func NewCheckDataIntegrityParamsWithHTTPClient ¶ added in v0.15.28
func NewCheckDataIntegrityParamsWithHTTPClient(client *http.Client) *CheckDataIntegrityParams
NewCheckDataIntegrityParamsWithHTTPClient creates a new CheckDataIntegrityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckDataIntegrityParamsWithTimeout ¶ added in v0.15.28
func NewCheckDataIntegrityParamsWithTimeout(timeout time.Duration) *CheckDataIntegrityParams
NewCheckDataIntegrityParamsWithTimeout creates a new CheckDataIntegrityParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckDataIntegrityParams) SetContext ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) SetContext(ctx context.Context)
SetContext adds the context to the check data integrity params
func (*CheckDataIntegrityParams) SetHTTPClient ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check data integrity params
func (*CheckDataIntegrityParams) SetTimeout ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check data integrity params
func (*CheckDataIntegrityParams) WithContext ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) WithContext(ctx context.Context) *CheckDataIntegrityParams
WithContext adds the context to the check data integrity params
func (*CheckDataIntegrityParams) WithHTTPClient ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) WithHTTPClient(client *http.Client) *CheckDataIntegrityParams
WithHTTPClient adds the HTTPClient to the check data integrity params
func (*CheckDataIntegrityParams) WithTimeout ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) WithTimeout(timeout time.Duration) *CheckDataIntegrityParams
WithTimeout adds the timeout to the check data integrity params
func (*CheckDataIntegrityParams) WriteToRequest ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckDataIntegrityReader ¶ added in v0.15.28
type CheckDataIntegrityReader struct {
// contains filtered or unexported fields
}
CheckDataIntegrityReader is a Reader for the CheckDataIntegrity structure.
func (*CheckDataIntegrityReader) ReadResponse ¶ added in v0.15.28
func (o *CheckDataIntegrityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckDataIntegrityUnauthorized ¶ added in v0.15.28
type CheckDataIntegrityUnauthorized struct {
}CheckDataIntegrityUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCheckDataIntegrityUnauthorized ¶ added in v0.15.28
func NewCheckDataIntegrityUnauthorized() *CheckDataIntegrityUnauthorized
NewCheckDataIntegrityUnauthorized creates a CheckDataIntegrityUnauthorized with default headers values
func (*CheckDataIntegrityUnauthorized) Error ¶ added in v0.15.28
func (o *CheckDataIntegrityUnauthorized) Error() string
func (*CheckDataIntegrityUnauthorized) GetPayload ¶ added in v0.15.28
func (o *CheckDataIntegrityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for database API
func (*Client) CheckDataIntegrity ¶ added in v0.15.28
func (a *Client) CheckDataIntegrity(params *CheckDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter) (*CheckDataIntegrityOK, error)
CheckDataIntegrity runs an data integrity scan on the datastore and returns any found issues
Runs an data integrity scan on the datastore and returns any found issues. Requires admin access.
func (*Client) CreateDatabaseSnapshot ¶
func (a *Client) CreateDatabaseSnapshot(params *CreateDatabaseSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseSnapshotOK, error)
CreateDatabaseSnapshot creates a new database snapshot
Create a new database snapshot. Requires admin access.
func (*Client) FixDataIntegrity ¶ added in v0.15.28
func (a *Client) FixDataIntegrity(params *FixDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter) (*FixDataIntegrityOK, error)
FixDataIntegrity runs an data integrity scan on the datastore attempts to fix any issues it can and returns any found issues
Runs an data integrity scan on the datastore, attempts to fix any issues it can, and returns any found issues. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CheckDataIntegrity(params *CheckDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter) (*CheckDataIntegrityOK, error) CreateDatabaseSnapshot(params *CreateDatabaseSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseSnapshotOK, error) FixDataIntegrity(params *FixDataIntegrityParams, authInfo runtime.ClientAuthInfoWriter) (*FixDataIntegrityOK, 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 handles this case 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
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 values initialized.
func NewCreateDatabaseSnapshotParamsWithContext ¶
func NewCreateDatabaseSnapshotParamsWithContext(ctx context.Context) *CreateDatabaseSnapshotParams
NewCreateDatabaseSnapshotParamsWithContext creates a new CreateDatabaseSnapshotParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type CreateDatabaseSnapshotUnauthorized ¶
type CreateDatabaseSnapshotUnauthorized struct {
}CreateDatabaseSnapshotUnauthorized handles this case 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
type FixDataIntegrityOK ¶ added in v0.15.28
type FixDataIntegrityOK struct {
Payload *rest_model.DataIntegrityCheckResultEnvelope
}
FixDataIntegrityOK handles this case with default header values.
A list of data integrity issues found
func NewFixDataIntegrityOK ¶ added in v0.15.28
func NewFixDataIntegrityOK() *FixDataIntegrityOK
NewFixDataIntegrityOK creates a FixDataIntegrityOK with default headers values
func (*FixDataIntegrityOK) Error ¶ added in v0.15.28
func (o *FixDataIntegrityOK) Error() string
func (*FixDataIntegrityOK) GetPayload ¶ added in v0.15.28
func (o *FixDataIntegrityOK) GetPayload() *rest_model.DataIntegrityCheckResultEnvelope
type FixDataIntegrityParams ¶ added in v0.15.28
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 ¶ added in v0.15.28
func NewFixDataIntegrityParams() *FixDataIntegrityParams
NewFixDataIntegrityParams creates a new FixDataIntegrityParams object with the default values initialized.
func NewFixDataIntegrityParamsWithContext ¶ added in v0.15.28
func NewFixDataIntegrityParamsWithContext(ctx context.Context) *FixDataIntegrityParams
NewFixDataIntegrityParamsWithContext creates a new FixDataIntegrityParams object with the default values initialized, and the ability to set a context for a request
func NewFixDataIntegrityParamsWithHTTPClient ¶ added in v0.15.28
func NewFixDataIntegrityParamsWithHTTPClient(client *http.Client) *FixDataIntegrityParams
NewFixDataIntegrityParamsWithHTTPClient creates a new FixDataIntegrityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFixDataIntegrityParamsWithTimeout ¶ added in v0.15.28
func NewFixDataIntegrityParamsWithTimeout(timeout time.Duration) *FixDataIntegrityParams
NewFixDataIntegrityParamsWithTimeout creates a new FixDataIntegrityParams object with the default values initialized, and the ability to set a timeout on a request
func (*FixDataIntegrityParams) SetContext ¶ added in v0.15.28
func (o *FixDataIntegrityParams) SetContext(ctx context.Context)
SetContext adds the context to the fix data integrity params
func (*FixDataIntegrityParams) SetHTTPClient ¶ added in v0.15.28
func (o *FixDataIntegrityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fix data integrity params
func (*FixDataIntegrityParams) SetTimeout ¶ added in v0.15.28
func (o *FixDataIntegrityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fix data integrity params
func (*FixDataIntegrityParams) WithContext ¶ added in v0.15.28
func (o *FixDataIntegrityParams) WithContext(ctx context.Context) *FixDataIntegrityParams
WithContext adds the context to the fix data integrity params
func (*FixDataIntegrityParams) WithHTTPClient ¶ added in v0.15.28
func (o *FixDataIntegrityParams) WithHTTPClient(client *http.Client) *FixDataIntegrityParams
WithHTTPClient adds the HTTPClient to the fix data integrity params
func (*FixDataIntegrityParams) WithTimeout ¶ added in v0.15.28
func (o *FixDataIntegrityParams) WithTimeout(timeout time.Duration) *FixDataIntegrityParams
WithTimeout adds the timeout to the fix data integrity params
func (*FixDataIntegrityParams) WriteToRequest ¶ added in v0.15.28
func (o *FixDataIntegrityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FixDataIntegrityReader ¶ added in v0.15.28
type FixDataIntegrityReader struct {
// contains filtered or unexported fields
}
FixDataIntegrityReader is a Reader for the FixDataIntegrity structure.
func (*FixDataIntegrityReader) ReadResponse ¶ added in v0.15.28
func (o *FixDataIntegrityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FixDataIntegrityUnauthorized ¶ added in v0.15.28
type FixDataIntegrityUnauthorized struct {
}FixDataIntegrityUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewFixDataIntegrityUnauthorized ¶ added in v0.15.28
func NewFixDataIntegrityUnauthorized() *FixDataIntegrityUnauthorized
NewFixDataIntegrityUnauthorized creates a FixDataIntegrityUnauthorized with default headers values
func (*FixDataIntegrityUnauthorized) Error ¶ added in v0.15.28
func (o *FixDataIntegrityUnauthorized) Error() string
func (*FixDataIntegrityUnauthorized) GetPayload ¶ added in v0.15.28
func (o *FixDataIntegrityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope