Documentation ¶
Index ¶
- Constants
- type CheckDataIntegrity
- type CheckDataIntegrityAccepted
- type CheckDataIntegrityHandler
- type CheckDataIntegrityHandlerFunc
- type CheckDataIntegrityParams
- type CheckDataIntegrityTooManyRequests
- func (o *CheckDataIntegrityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CheckDataIntegrityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CheckDataIntegrityTooManyRequests
- func (o *CheckDataIntegrityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckDataIntegrityURL
- func (o *CheckDataIntegrityURL) Build() (*url.URL, error)
- func (o *CheckDataIntegrityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CheckDataIntegrityURL) Must(u *url.URL, err error) *url.URL
- func (o *CheckDataIntegrityURL) SetBasePath(bp string)
- func (o *CheckDataIntegrityURL) String() string
- func (o *CheckDataIntegrityURL) StringFull(scheme, host string) string
- func (o *CheckDataIntegrityURL) WithBasePath(bp string) *CheckDataIntegrityURL
- type CheckDataIntegrityUnauthorized
- func (o *CheckDataIntegrityUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CheckDataIntegrityUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CheckDataIntegrityUnauthorized
- func (o *CheckDataIntegrityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDatabaseSnapshot
- type CreateDatabaseSnapshotHandler
- type CreateDatabaseSnapshotHandlerFunc
- type CreateDatabaseSnapshotOK
- type CreateDatabaseSnapshotParams
- type CreateDatabaseSnapshotTooManyRequests
- func (o *CreateDatabaseSnapshotTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateDatabaseSnapshotTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateDatabaseSnapshotTooManyRequests
- func (o *CreateDatabaseSnapshotTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDatabaseSnapshotURL
- func (o *CreateDatabaseSnapshotURL) Build() (*url.URL, error)
- func (o *CreateDatabaseSnapshotURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateDatabaseSnapshotURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateDatabaseSnapshotURL) SetBasePath(bp string)
- func (o *CreateDatabaseSnapshotURL) String() string
- func (o *CreateDatabaseSnapshotURL) StringFull(scheme, host string) string
- func (o *CreateDatabaseSnapshotURL) WithBasePath(bp string) *CreateDatabaseSnapshotURL
- type CreateDatabaseSnapshotUnauthorized
- func (o *CreateDatabaseSnapshotUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateDatabaseSnapshotUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateDatabaseSnapshotUnauthorized
- func (o *CreateDatabaseSnapshotUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DataIntegrityResults
- type DataIntegrityResultsHandler
- type DataIntegrityResultsHandlerFunc
- type DataIntegrityResultsOK
- func (o *DataIntegrityResultsOK) SetPayload(payload *rest_model.DataIntegrityCheckResultEnvelope)
- func (o *DataIntegrityResultsOK) WithPayload(payload *rest_model.DataIntegrityCheckResultEnvelope) *DataIntegrityResultsOK
- func (o *DataIntegrityResultsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DataIntegrityResultsParams
- type DataIntegrityResultsURL
- func (o *DataIntegrityResultsURL) Build() (*url.URL, error)
- func (o *DataIntegrityResultsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DataIntegrityResultsURL) Must(u *url.URL, err error) *url.URL
- func (o *DataIntegrityResultsURL) SetBasePath(bp string)
- func (o *DataIntegrityResultsURL) String() string
- func (o *DataIntegrityResultsURL) StringFull(scheme, host string) string
- func (o *DataIntegrityResultsURL) WithBasePath(bp string) *DataIntegrityResultsURL
- type DataIntegrityResultsUnauthorized
- func (o *DataIntegrityResultsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DataIntegrityResultsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DataIntegrityResultsUnauthorized
- func (o *DataIntegrityResultsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FixDataIntegrity
- type FixDataIntegrityAccepted
- type FixDataIntegrityHandler
- type FixDataIntegrityHandlerFunc
- type FixDataIntegrityParams
- type FixDataIntegrityTooManyRequests
- func (o *FixDataIntegrityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *FixDataIntegrityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *FixDataIntegrityTooManyRequests
- func (o *FixDataIntegrityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FixDataIntegrityURL
- func (o *FixDataIntegrityURL) Build() (*url.URL, error)
- func (o *FixDataIntegrityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FixDataIntegrityURL) Must(u *url.URL, err error) *url.URL
- func (o *FixDataIntegrityURL) SetBasePath(bp string)
- func (o *FixDataIntegrityURL) String() string
- func (o *FixDataIntegrityURL) StringFull(scheme, host string) string
- func (o *FixDataIntegrityURL) WithBasePath(bp string) *FixDataIntegrityURL
- type FixDataIntegrityUnauthorized
- func (o *FixDataIntegrityUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *FixDataIntegrityUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *FixDataIntegrityUnauthorized
- func (o *FixDataIntegrityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CheckDataIntegrityAcceptedCode int = 202
CheckDataIntegrityAcceptedCode is the HTTP code returned for type CheckDataIntegrityAccepted
const CheckDataIntegrityTooManyRequestsCode int = 429
CheckDataIntegrityTooManyRequestsCode is the HTTP code returned for type CheckDataIntegrityTooManyRequests
CheckDataIntegrityUnauthorizedCode is the HTTP code returned for type CheckDataIntegrityUnauthorized
const CreateDatabaseSnapshotOKCode int = 200
CreateDatabaseSnapshotOKCode is the HTTP code returned for type CreateDatabaseSnapshotOK
const CreateDatabaseSnapshotTooManyRequestsCode int = 429
CreateDatabaseSnapshotTooManyRequestsCode is the HTTP code returned for type CreateDatabaseSnapshotTooManyRequests
CreateDatabaseSnapshotUnauthorizedCode is the HTTP code returned for type CreateDatabaseSnapshotUnauthorized
const DataIntegrityResultsOKCode int = 200
DataIntegrityResultsOKCode is the HTTP code returned for type DataIntegrityResultsOK
DataIntegrityResultsUnauthorizedCode is the HTTP code returned for type DataIntegrityResultsUnauthorized
const FixDataIntegrityAcceptedCode int = 202
FixDataIntegrityAcceptedCode is the HTTP code returned for type FixDataIntegrityAccepted
const FixDataIntegrityTooManyRequestsCode int = 429
FixDataIntegrityTooManyRequestsCode is the HTTP code returned for type FixDataIntegrityTooManyRequests
FixDataIntegrityUnauthorizedCode is the HTTP code returned for type FixDataIntegrityUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckDataIntegrity ¶ added in v0.15.28
type CheckDataIntegrity struct { Context *middleware.Context Handler CheckDataIntegrityHandler }
CheckDataIntegrity swagger:route POST /database/check-data-integrity Database 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 NewCheckDataIntegrity ¶ added in v0.15.28
func NewCheckDataIntegrity(ctx *middleware.Context, handler CheckDataIntegrityHandler) *CheckDataIntegrity
NewCheckDataIntegrity creates a new http.Handler for the check data integrity operation
func (*CheckDataIntegrity) ServeHTTP ¶ added in v0.15.28
func (o *CheckDataIntegrity) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckDataIntegrityAccepted ¶ added in v0.17.40
type CheckDataIntegrityAccepted struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
CheckDataIntegrityAccepted Base empty response
swagger:response checkDataIntegrityAccepted
func NewCheckDataIntegrityAccepted ¶ added in v0.17.40
func NewCheckDataIntegrityAccepted() *CheckDataIntegrityAccepted
NewCheckDataIntegrityAccepted creates CheckDataIntegrityAccepted with default headers values
func (*CheckDataIntegrityAccepted) SetPayload ¶ added in v0.17.40
func (o *CheckDataIntegrityAccepted) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the check data integrity accepted response
func (*CheckDataIntegrityAccepted) WithPayload ¶ added in v0.17.40
func (o *CheckDataIntegrityAccepted) WithPayload(payload *rest_model.Empty) *CheckDataIntegrityAccepted
WithPayload adds the payload to the check data integrity accepted response
func (*CheckDataIntegrityAccepted) WriteResponse ¶ added in v0.17.40
func (o *CheckDataIntegrityAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckDataIntegrityHandler ¶ added in v0.15.28
type CheckDataIntegrityHandler interface {
Handle(CheckDataIntegrityParams, interface{}) middleware.Responder
}
CheckDataIntegrityHandler interface for that can handle valid check data integrity params
type CheckDataIntegrityHandlerFunc ¶ added in v0.15.28
type CheckDataIntegrityHandlerFunc func(CheckDataIntegrityParams, interface{}) middleware.Responder
CheckDataIntegrityHandlerFunc turns a function with the right signature into a check data integrity handler
func (CheckDataIntegrityHandlerFunc) Handle ¶ added in v0.15.28
func (fn CheckDataIntegrityHandlerFunc) Handle(params CheckDataIntegrityParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CheckDataIntegrityParams ¶ added in v0.15.28
type CheckDataIntegrityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
CheckDataIntegrityParams contains all the bound params for the check data integrity operation typically these are obtained from a http.Request
swagger:parameters checkDataIntegrity
func NewCheckDataIntegrityParams ¶ added in v0.15.28
func NewCheckDataIntegrityParams() CheckDataIntegrityParams
NewCheckDataIntegrityParams creates a new CheckDataIntegrityParams object no default values defined in spec.
func (*CheckDataIntegrityParams) BindRequest ¶ added in v0.15.28
func (o *CheckDataIntegrityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCheckDataIntegrityParams() beforehand.
type CheckDataIntegrityTooManyRequests ¶ added in v0.17.40
type CheckDataIntegrityTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CheckDataIntegrityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response checkDataIntegrityTooManyRequests
func NewCheckDataIntegrityTooManyRequests ¶ added in v0.17.40
func NewCheckDataIntegrityTooManyRequests() *CheckDataIntegrityTooManyRequests
NewCheckDataIntegrityTooManyRequests creates CheckDataIntegrityTooManyRequests with default headers values
func (*CheckDataIntegrityTooManyRequests) SetPayload ¶ added in v0.17.40
func (o *CheckDataIntegrityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the check data integrity too many requests response
func (*CheckDataIntegrityTooManyRequests) WithPayload ¶ added in v0.17.40
func (o *CheckDataIntegrityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CheckDataIntegrityTooManyRequests
WithPayload adds the payload to the check data integrity too many requests response
func (*CheckDataIntegrityTooManyRequests) WriteResponse ¶ added in v0.17.40
func (o *CheckDataIntegrityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckDataIntegrityURL ¶ added in v0.15.28
type CheckDataIntegrityURL struct {
// contains filtered or unexported fields
}
CheckDataIntegrityURL generates an URL for the check data integrity operation
func (*CheckDataIntegrityURL) Build ¶ added in v0.15.28
func (o *CheckDataIntegrityURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckDataIntegrityURL) BuildFull ¶ added in v0.15.28
func (o *CheckDataIntegrityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CheckDataIntegrityURL) Must ¶ added in v0.15.28
Must is a helper function to panic when the url builder returns an error
func (*CheckDataIntegrityURL) SetBasePath ¶ added in v0.15.28
func (o *CheckDataIntegrityURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CheckDataIntegrityURL) String ¶ added in v0.15.28
func (o *CheckDataIntegrityURL) String() string
String returns the string representation of the path with query string
func (*CheckDataIntegrityURL) StringFull ¶ added in v0.15.28
func (o *CheckDataIntegrityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckDataIntegrityURL) WithBasePath ¶ added in v0.15.28
func (o *CheckDataIntegrityURL) WithBasePath(bp string) *CheckDataIntegrityURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CheckDataIntegrityUnauthorized ¶ added in v0.15.28
type CheckDataIntegrityUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CheckDataIntegrityUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response checkDataIntegrityUnauthorized
func NewCheckDataIntegrityUnauthorized ¶ added in v0.15.28
func NewCheckDataIntegrityUnauthorized() *CheckDataIntegrityUnauthorized
NewCheckDataIntegrityUnauthorized creates CheckDataIntegrityUnauthorized with default headers values
func (*CheckDataIntegrityUnauthorized) SetPayload ¶ added in v0.15.28
func (o *CheckDataIntegrityUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the check data integrity unauthorized response
func (*CheckDataIntegrityUnauthorized) WithPayload ¶ added in v0.15.28
func (o *CheckDataIntegrityUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CheckDataIntegrityUnauthorized
WithPayload adds the payload to the check data integrity unauthorized response
func (*CheckDataIntegrityUnauthorized) WriteResponse ¶ added in v0.15.28
func (o *CheckDataIntegrityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDatabaseSnapshot ¶
type CreateDatabaseSnapshot struct { Context *middleware.Context Handler CreateDatabaseSnapshotHandler }
CreateDatabaseSnapshot swagger:route POST /database/snapshot Database createDatabaseSnapshot
Create a new database snapshot ¶
Create a new database snapshot. Requires admin access.
func NewCreateDatabaseSnapshot ¶
func NewCreateDatabaseSnapshot(ctx *middleware.Context, handler CreateDatabaseSnapshotHandler) *CreateDatabaseSnapshot
NewCreateDatabaseSnapshot creates a new http.Handler for the create database snapshot operation
func (*CreateDatabaseSnapshot) ServeHTTP ¶
func (o *CreateDatabaseSnapshot) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateDatabaseSnapshotHandler ¶
type CreateDatabaseSnapshotHandler interface {
Handle(CreateDatabaseSnapshotParams, interface{}) middleware.Responder
}
CreateDatabaseSnapshotHandler interface for that can handle valid create database snapshot params
type CreateDatabaseSnapshotHandlerFunc ¶
type CreateDatabaseSnapshotHandlerFunc func(CreateDatabaseSnapshotParams, interface{}) middleware.Responder
CreateDatabaseSnapshotHandlerFunc turns a function with the right signature into a create database snapshot handler
func (CreateDatabaseSnapshotHandlerFunc) Handle ¶
func (fn CreateDatabaseSnapshotHandlerFunc) Handle(params CreateDatabaseSnapshotParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateDatabaseSnapshotOK ¶
type CreateDatabaseSnapshotOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
CreateDatabaseSnapshotOK Base empty response
swagger:response createDatabaseSnapshotOK
func NewCreateDatabaseSnapshotOK ¶
func NewCreateDatabaseSnapshotOK() *CreateDatabaseSnapshotOK
NewCreateDatabaseSnapshotOK creates CreateDatabaseSnapshotOK with default headers values
func (*CreateDatabaseSnapshotOK) SetPayload ¶
func (o *CreateDatabaseSnapshotOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the create database snapshot o k response
func (*CreateDatabaseSnapshotOK) WithPayload ¶
func (o *CreateDatabaseSnapshotOK) WithPayload(payload *rest_model.Empty) *CreateDatabaseSnapshotOK
WithPayload adds the payload to the create database snapshot o k response
func (*CreateDatabaseSnapshotOK) WriteResponse ¶
func (o *CreateDatabaseSnapshotOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDatabaseSnapshotParams ¶
type CreateDatabaseSnapshotParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
CreateDatabaseSnapshotParams contains all the bound params for the create database snapshot operation typically these are obtained from a http.Request
swagger:parameters createDatabaseSnapshot
func NewCreateDatabaseSnapshotParams ¶
func NewCreateDatabaseSnapshotParams() CreateDatabaseSnapshotParams
NewCreateDatabaseSnapshotParams creates a new CreateDatabaseSnapshotParams object no default values defined in spec.
func (*CreateDatabaseSnapshotParams) BindRequest ¶
func (o *CreateDatabaseSnapshotParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateDatabaseSnapshotParams() beforehand.
type CreateDatabaseSnapshotTooManyRequests ¶
type CreateDatabaseSnapshotTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateDatabaseSnapshotTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response createDatabaseSnapshotTooManyRequests
func NewCreateDatabaseSnapshotTooManyRequests ¶
func NewCreateDatabaseSnapshotTooManyRequests() *CreateDatabaseSnapshotTooManyRequests
NewCreateDatabaseSnapshotTooManyRequests creates CreateDatabaseSnapshotTooManyRequests with default headers values
func (*CreateDatabaseSnapshotTooManyRequests) SetPayload ¶
func (o *CreateDatabaseSnapshotTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create database snapshot too many requests response
func (*CreateDatabaseSnapshotTooManyRequests) WithPayload ¶
func (o *CreateDatabaseSnapshotTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateDatabaseSnapshotTooManyRequests
WithPayload adds the payload to the create database snapshot too many requests response
func (*CreateDatabaseSnapshotTooManyRequests) WriteResponse ¶
func (o *CreateDatabaseSnapshotTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDatabaseSnapshotURL ¶
type CreateDatabaseSnapshotURL struct {
// contains filtered or unexported fields
}
CreateDatabaseSnapshotURL generates an URL for the create database snapshot operation
func (*CreateDatabaseSnapshotURL) Build ¶
func (o *CreateDatabaseSnapshotURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateDatabaseSnapshotURL) BuildFull ¶
func (o *CreateDatabaseSnapshotURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateDatabaseSnapshotURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateDatabaseSnapshotURL) SetBasePath ¶
func (o *CreateDatabaseSnapshotURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateDatabaseSnapshotURL) String ¶
func (o *CreateDatabaseSnapshotURL) String() string
String returns the string representation of the path with query string
func (*CreateDatabaseSnapshotURL) StringFull ¶
func (o *CreateDatabaseSnapshotURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateDatabaseSnapshotURL) WithBasePath ¶
func (o *CreateDatabaseSnapshotURL) WithBasePath(bp string) *CreateDatabaseSnapshotURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateDatabaseSnapshotUnauthorized ¶
type CreateDatabaseSnapshotUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateDatabaseSnapshotUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createDatabaseSnapshotUnauthorized
func NewCreateDatabaseSnapshotUnauthorized ¶
func NewCreateDatabaseSnapshotUnauthorized() *CreateDatabaseSnapshotUnauthorized
NewCreateDatabaseSnapshotUnauthorized creates CreateDatabaseSnapshotUnauthorized with default headers values
func (*CreateDatabaseSnapshotUnauthorized) SetPayload ¶
func (o *CreateDatabaseSnapshotUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create database snapshot unauthorized response
func (*CreateDatabaseSnapshotUnauthorized) WithPayload ¶
func (o *CreateDatabaseSnapshotUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateDatabaseSnapshotUnauthorized
WithPayload adds the payload to the create database snapshot unauthorized response
func (*CreateDatabaseSnapshotUnauthorized) WriteResponse ¶
func (o *CreateDatabaseSnapshotUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DataIntegrityResults ¶ added in v0.17.40
type DataIntegrityResults struct { Context *middleware.Context Handler DataIntegrityResultsHandler }
DataIntegrityResults swagger:route GET /database/data-integrity-results Database dataIntegrityResults
Returns any results found from in-progress integrity checks ¶
Returns any results found from in-progress integrity checks. Requires admin access.
func NewDataIntegrityResults ¶ added in v0.17.40
func NewDataIntegrityResults(ctx *middleware.Context, handler DataIntegrityResultsHandler) *DataIntegrityResults
NewDataIntegrityResults creates a new http.Handler for the data integrity results operation
func (*DataIntegrityResults) ServeHTTP ¶ added in v0.17.40
func (o *DataIntegrityResults) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DataIntegrityResultsHandler ¶ added in v0.17.40
type DataIntegrityResultsHandler interface {
Handle(DataIntegrityResultsParams, interface{}) middleware.Responder
}
DataIntegrityResultsHandler interface for that can handle valid data integrity results params
type DataIntegrityResultsHandlerFunc ¶ added in v0.17.40
type DataIntegrityResultsHandlerFunc func(DataIntegrityResultsParams, interface{}) middleware.Responder
DataIntegrityResultsHandlerFunc turns a function with the right signature into a data integrity results handler
func (DataIntegrityResultsHandlerFunc) Handle ¶ added in v0.17.40
func (fn DataIntegrityResultsHandlerFunc) Handle(params DataIntegrityResultsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DataIntegrityResultsOK ¶ added in v0.17.40
type DataIntegrityResultsOK struct { /* In: Body */ Payload *rest_model.DataIntegrityCheckResultEnvelope `json:"body,omitempty"` }
DataIntegrityResultsOK A list of data integrity issues found
swagger:response dataIntegrityResultsOK
func NewDataIntegrityResultsOK ¶ added in v0.17.40
func NewDataIntegrityResultsOK() *DataIntegrityResultsOK
NewDataIntegrityResultsOK creates DataIntegrityResultsOK with default headers values
func (*DataIntegrityResultsOK) SetPayload ¶ added in v0.17.40
func (o *DataIntegrityResultsOK) SetPayload(payload *rest_model.DataIntegrityCheckResultEnvelope)
SetPayload sets the payload to the data integrity results o k response
func (*DataIntegrityResultsOK) WithPayload ¶ added in v0.17.40
func (o *DataIntegrityResultsOK) WithPayload(payload *rest_model.DataIntegrityCheckResultEnvelope) *DataIntegrityResultsOK
WithPayload adds the payload to the data integrity results o k response
func (*DataIntegrityResultsOK) WriteResponse ¶ added in v0.17.40
func (o *DataIntegrityResultsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DataIntegrityResultsParams ¶ added in v0.17.40
type DataIntegrityResultsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
DataIntegrityResultsParams contains all the bound params for the data integrity results operation typically these are obtained from a http.Request
swagger:parameters dataIntegrityResults
func NewDataIntegrityResultsParams ¶ added in v0.17.40
func NewDataIntegrityResultsParams() DataIntegrityResultsParams
NewDataIntegrityResultsParams creates a new DataIntegrityResultsParams object no default values defined in spec.
func (*DataIntegrityResultsParams) BindRequest ¶ added in v0.17.40
func (o *DataIntegrityResultsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDataIntegrityResultsParams() beforehand.
type DataIntegrityResultsURL ¶ added in v0.17.40
type DataIntegrityResultsURL struct {
// contains filtered or unexported fields
}
DataIntegrityResultsURL generates an URL for the data integrity results operation
func (*DataIntegrityResultsURL) Build ¶ added in v0.17.40
func (o *DataIntegrityResultsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DataIntegrityResultsURL) BuildFull ¶ added in v0.17.40
func (o *DataIntegrityResultsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DataIntegrityResultsURL) Must ¶ added in v0.17.40
Must is a helper function to panic when the url builder returns an error
func (*DataIntegrityResultsURL) SetBasePath ¶ added in v0.17.40
func (o *DataIntegrityResultsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DataIntegrityResultsURL) String ¶ added in v0.17.40
func (o *DataIntegrityResultsURL) String() string
String returns the string representation of the path with query string
func (*DataIntegrityResultsURL) StringFull ¶ added in v0.17.40
func (o *DataIntegrityResultsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DataIntegrityResultsURL) WithBasePath ¶ added in v0.17.40
func (o *DataIntegrityResultsURL) WithBasePath(bp string) *DataIntegrityResultsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DataIntegrityResultsUnauthorized ¶ added in v0.17.40
type DataIntegrityResultsUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DataIntegrityResultsUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response dataIntegrityResultsUnauthorized
func NewDataIntegrityResultsUnauthorized ¶ added in v0.17.40
func NewDataIntegrityResultsUnauthorized() *DataIntegrityResultsUnauthorized
NewDataIntegrityResultsUnauthorized creates DataIntegrityResultsUnauthorized with default headers values
func (*DataIntegrityResultsUnauthorized) SetPayload ¶ added in v0.17.40
func (o *DataIntegrityResultsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the data integrity results unauthorized response
func (*DataIntegrityResultsUnauthorized) WithPayload ¶ added in v0.17.40
func (o *DataIntegrityResultsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DataIntegrityResultsUnauthorized
WithPayload adds the payload to the data integrity results unauthorized response
func (*DataIntegrityResultsUnauthorized) WriteResponse ¶ added in v0.17.40
func (o *DataIntegrityResultsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FixDataIntegrity ¶ added in v0.15.28
type FixDataIntegrity struct { Context *middleware.Context Handler FixDataIntegrityHandler }
FixDataIntegrity swagger:route POST /database/fix-data-integrity Database 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 NewFixDataIntegrity ¶ added in v0.15.28
func NewFixDataIntegrity(ctx *middleware.Context, handler FixDataIntegrityHandler) *FixDataIntegrity
NewFixDataIntegrity creates a new http.Handler for the fix data integrity operation
func (*FixDataIntegrity) ServeHTTP ¶ added in v0.15.28
func (o *FixDataIntegrity) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FixDataIntegrityAccepted ¶ added in v0.17.40
type FixDataIntegrityAccepted struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
FixDataIntegrityAccepted Base empty response
swagger:response fixDataIntegrityAccepted
func NewFixDataIntegrityAccepted ¶ added in v0.17.40
func NewFixDataIntegrityAccepted() *FixDataIntegrityAccepted
NewFixDataIntegrityAccepted creates FixDataIntegrityAccepted with default headers values
func (*FixDataIntegrityAccepted) SetPayload ¶ added in v0.17.40
func (o *FixDataIntegrityAccepted) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the fix data integrity accepted response
func (*FixDataIntegrityAccepted) WithPayload ¶ added in v0.17.40
func (o *FixDataIntegrityAccepted) WithPayload(payload *rest_model.Empty) *FixDataIntegrityAccepted
WithPayload adds the payload to the fix data integrity accepted response
func (*FixDataIntegrityAccepted) WriteResponse ¶ added in v0.17.40
func (o *FixDataIntegrityAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FixDataIntegrityHandler ¶ added in v0.15.28
type FixDataIntegrityHandler interface {
Handle(FixDataIntegrityParams, interface{}) middleware.Responder
}
FixDataIntegrityHandler interface for that can handle valid fix data integrity params
type FixDataIntegrityHandlerFunc ¶ added in v0.15.28
type FixDataIntegrityHandlerFunc func(FixDataIntegrityParams, interface{}) middleware.Responder
FixDataIntegrityHandlerFunc turns a function with the right signature into a fix data integrity handler
func (FixDataIntegrityHandlerFunc) Handle ¶ added in v0.15.28
func (fn FixDataIntegrityHandlerFunc) Handle(params FixDataIntegrityParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type FixDataIntegrityParams ¶ added in v0.15.28
FixDataIntegrityParams contains all the bound params for the fix data integrity operation typically these are obtained from a http.Request
swagger:parameters fixDataIntegrity
func NewFixDataIntegrityParams ¶ added in v0.15.28
func NewFixDataIntegrityParams() FixDataIntegrityParams
NewFixDataIntegrityParams creates a new FixDataIntegrityParams object no default values defined in spec.
func (*FixDataIntegrityParams) BindRequest ¶ added in v0.15.28
func (o *FixDataIntegrityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewFixDataIntegrityParams() beforehand.
type FixDataIntegrityTooManyRequests ¶ added in v0.17.40
type FixDataIntegrityTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
FixDataIntegrityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response fixDataIntegrityTooManyRequests
func NewFixDataIntegrityTooManyRequests ¶ added in v0.17.40
func NewFixDataIntegrityTooManyRequests() *FixDataIntegrityTooManyRequests
NewFixDataIntegrityTooManyRequests creates FixDataIntegrityTooManyRequests with default headers values
func (*FixDataIntegrityTooManyRequests) SetPayload ¶ added in v0.17.40
func (o *FixDataIntegrityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the fix data integrity too many requests response
func (*FixDataIntegrityTooManyRequests) WithPayload ¶ added in v0.17.40
func (o *FixDataIntegrityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *FixDataIntegrityTooManyRequests
WithPayload adds the payload to the fix data integrity too many requests response
func (*FixDataIntegrityTooManyRequests) WriteResponse ¶ added in v0.17.40
func (o *FixDataIntegrityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FixDataIntegrityURL ¶ added in v0.15.28
type FixDataIntegrityURL struct {
// contains filtered or unexported fields
}
FixDataIntegrityURL generates an URL for the fix data integrity operation
func (*FixDataIntegrityURL) Build ¶ added in v0.15.28
func (o *FixDataIntegrityURL) Build() (*url.URL, error)
Build a url path and query string
func (*FixDataIntegrityURL) BuildFull ¶ added in v0.15.28
func (o *FixDataIntegrityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FixDataIntegrityURL) Must ¶ added in v0.15.28
Must is a helper function to panic when the url builder returns an error
func (*FixDataIntegrityURL) SetBasePath ¶ added in v0.15.28
func (o *FixDataIntegrityURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*FixDataIntegrityURL) String ¶ added in v0.15.28
func (o *FixDataIntegrityURL) String() string
String returns the string representation of the path with query string
func (*FixDataIntegrityURL) StringFull ¶ added in v0.15.28
func (o *FixDataIntegrityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FixDataIntegrityURL) WithBasePath ¶ added in v0.15.28
func (o *FixDataIntegrityURL) WithBasePath(bp string) *FixDataIntegrityURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type FixDataIntegrityUnauthorized ¶ added in v0.15.28
type FixDataIntegrityUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
FixDataIntegrityUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response fixDataIntegrityUnauthorized
func NewFixDataIntegrityUnauthorized ¶ added in v0.15.28
func NewFixDataIntegrityUnauthorized() *FixDataIntegrityUnauthorized
NewFixDataIntegrityUnauthorized creates FixDataIntegrityUnauthorized with default headers values
func (*FixDataIntegrityUnauthorized) SetPayload ¶ added in v0.15.28
func (o *FixDataIntegrityUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the fix data integrity unauthorized response
func (*FixDataIntegrityUnauthorized) WithPayload ¶ added in v0.15.28
func (o *FixDataIntegrityUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *FixDataIntegrityUnauthorized
WithPayload adds the payload to the fix data integrity unauthorized response
func (*FixDataIntegrityUnauthorized) WriteResponse ¶ added in v0.15.28
func (o *FixDataIntegrityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- check_data_integrity.go
- check_data_integrity_parameters.go
- check_data_integrity_responses.go
- check_data_integrity_urlbuilder.go
- create_database_snapshot.go
- create_database_snapshot_parameters.go
- create_database_snapshot_responses.go
- create_database_snapshot_urlbuilder.go
- data_integrity_results.go
- data_integrity_results_parameters.go
- data_integrity_results_responses.go
- data_integrity_results_urlbuilder.go
- fix_data_integrity.go
- fix_data_integrity_parameters.go
- fix_data_integrity_responses.go
- fix_data_integrity_urlbuilder.go