database

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const CheckDataIntegrityAcceptedCode int = 202

CheckDataIntegrityAcceptedCode is the HTTP code returned for type CheckDataIntegrityAccepted

View Source
const CheckDataIntegrityTooManyRequestsCode int = 429

CheckDataIntegrityTooManyRequestsCode is the HTTP code returned for type CheckDataIntegrityTooManyRequests

View Source
const CheckDataIntegrityUnauthorizedCode int = 401

CheckDataIntegrityUnauthorizedCode is the HTTP code returned for type CheckDataIntegrityUnauthorized

View Source
const CreateDatabaseSnapshotOKCode int = 200

CreateDatabaseSnapshotOKCode is the HTTP code returned for type CreateDatabaseSnapshotOK

View Source
const CreateDatabaseSnapshotTooManyRequestsCode int = 429

CreateDatabaseSnapshotTooManyRequestsCode is the HTTP code returned for type CreateDatabaseSnapshotTooManyRequests

View Source
const CreateDatabaseSnapshotUnauthorizedCode int = 401

CreateDatabaseSnapshotUnauthorizedCode is the HTTP code returned for type CreateDatabaseSnapshotUnauthorized

View Source
const CreateDatabaseSnapshotWithPathOKCode int = 200

CreateDatabaseSnapshotWithPathOKCode is the HTTP code returned for type CreateDatabaseSnapshotWithPathOK

View Source
const CreateDatabaseSnapshotWithPathTooManyRequestsCode int = 429

CreateDatabaseSnapshotWithPathTooManyRequestsCode is the HTTP code returned for type CreateDatabaseSnapshotWithPathTooManyRequests

View Source
const CreateDatabaseSnapshotWithPathUnauthorizedCode int = 401

CreateDatabaseSnapshotWithPathUnauthorizedCode is the HTTP code returned for type CreateDatabaseSnapshotWithPathUnauthorized

View Source
const DataIntegrityResultsOKCode int = 200

DataIntegrityResultsOKCode is the HTTP code returned for type DataIntegrityResultsOK

View Source
const DataIntegrityResultsTooManyRequestsCode int = 429

DataIntegrityResultsTooManyRequestsCode is the HTTP code returned for type DataIntegrityResultsTooManyRequests

View Source
const DataIntegrityResultsUnauthorizedCode int = 401

DataIntegrityResultsUnauthorizedCode is the HTTP code returned for type DataIntegrityResultsUnauthorized

View Source
const FixDataIntegrityAcceptedCode int = 202

FixDataIntegrityAcceptedCode is the HTTP code returned for type FixDataIntegrityAccepted

View Source
const FixDataIntegrityTooManyRequestsCode int = 429

FixDataIntegrityTooManyRequestsCode is the HTTP code returned for type FixDataIntegrityTooManyRequests

View Source
const FixDataIntegrityUnauthorizedCode int = 401

FixDataIntegrityUnauthorizedCode is the HTTP code returned for type FixDataIntegrityUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckDataIntegrity

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

func NewCheckDataIntegrity(ctx *middleware.Context, handler CheckDataIntegrityHandler) *CheckDataIntegrity

NewCheckDataIntegrity creates a new http.Handler for the check data integrity operation

func (*CheckDataIntegrity) ServeHTTP

func (o *CheckDataIntegrity) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CheckDataIntegrityAccepted

type CheckDataIntegrityAccepted struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

CheckDataIntegrityAccepted Base empty response

swagger:response checkDataIntegrityAccepted

func NewCheckDataIntegrityAccepted

func NewCheckDataIntegrityAccepted() *CheckDataIntegrityAccepted

NewCheckDataIntegrityAccepted creates CheckDataIntegrityAccepted with default headers values

func (*CheckDataIntegrityAccepted) SetPayload

func (o *CheckDataIntegrityAccepted) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the check data integrity accepted response

func (*CheckDataIntegrityAccepted) WithPayload

WithPayload adds the payload to the check data integrity accepted response

func (*CheckDataIntegrityAccepted) WriteResponse

func (o *CheckDataIntegrityAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CheckDataIntegrityHandler

type CheckDataIntegrityHandler interface {
	Handle(CheckDataIntegrityParams, interface{}) middleware.Responder
}

CheckDataIntegrityHandler interface for that can handle valid check data integrity params

type CheckDataIntegrityHandlerFunc

type CheckDataIntegrityHandlerFunc func(CheckDataIntegrityParams, interface{}) middleware.Responder

CheckDataIntegrityHandlerFunc turns a function with the right signature into a check data integrity handler

func (CheckDataIntegrityHandlerFunc) Handle

func (fn CheckDataIntegrityHandlerFunc) Handle(params CheckDataIntegrityParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CheckDataIntegrityParams

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

func NewCheckDataIntegrityParams() CheckDataIntegrityParams

NewCheckDataIntegrityParams creates a new CheckDataIntegrityParams object

There are no default values defined in the spec.

func (*CheckDataIntegrityParams) BindRequest

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

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

func NewCheckDataIntegrityTooManyRequests() *CheckDataIntegrityTooManyRequests

NewCheckDataIntegrityTooManyRequests creates CheckDataIntegrityTooManyRequests with default headers values

func (*CheckDataIntegrityTooManyRequests) SetPayload

SetPayload sets the payload to the check data integrity too many requests response

func (*CheckDataIntegrityTooManyRequests) WithPayload

WithPayload adds the payload to the check data integrity too many requests response

func (*CheckDataIntegrityTooManyRequests) WriteResponse

func (o *CheckDataIntegrityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CheckDataIntegrityURL

type CheckDataIntegrityURL struct {
	// contains filtered or unexported fields
}

CheckDataIntegrityURL generates an URL for the check data integrity operation

func (*CheckDataIntegrityURL) Build

func (o *CheckDataIntegrityURL) Build() (*url.URL, error)

Build a url path and query string

func (*CheckDataIntegrityURL) BuildFull

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

func (o *CheckDataIntegrityURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CheckDataIntegrityURL) SetBasePath

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

func (o *CheckDataIntegrityURL) String() string

String returns the string representation of the path with query string

func (*CheckDataIntegrityURL) StringFull

func (o *CheckDataIntegrityURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CheckDataIntegrityURL) WithBasePath

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

type CheckDataIntegrityUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CheckDataIntegrityUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response checkDataIntegrityUnauthorized

func NewCheckDataIntegrityUnauthorized

func NewCheckDataIntegrityUnauthorized() *CheckDataIntegrityUnauthorized

NewCheckDataIntegrityUnauthorized creates CheckDataIntegrityUnauthorized with default headers values

func (*CheckDataIntegrityUnauthorized) SetPayload

SetPayload sets the payload to the check data integrity unauthorized response

func (*CheckDataIntegrityUnauthorized) WithPayload

WithPayload adds the payload to the check data integrity unauthorized response

func (*CheckDataIntegrityUnauthorized) WriteResponse

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 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

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

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

There are no default values defined in the spec.

func (*CreateDatabaseSnapshotParams) BindRequest

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

SetPayload sets the payload to the create database snapshot too many requests response

func (*CreateDatabaseSnapshotTooManyRequests) WithPayload

WithPayload adds the payload to the create database snapshot too many requests response

func (*CreateDatabaseSnapshotTooManyRequests) WriteResponse

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

func (o *CreateDatabaseSnapshotURL) Must(u *url.URL, err error) *url.URL

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

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

SetPayload sets the payload to the create database snapshot unauthorized response

func (*CreateDatabaseSnapshotUnauthorized) WithPayload

WithPayload adds the payload to the create database snapshot unauthorized response

func (*CreateDatabaseSnapshotUnauthorized) WriteResponse

WriteResponse to the client

type CreateDatabaseSnapshotWithPath

type CreateDatabaseSnapshotWithPath struct {
	Context *middleware.Context
	Handler CreateDatabaseSnapshotWithPathHandler
}
CreateDatabaseSnapshotWithPath swagger:route POST /database/snapshot Database createDatabaseSnapshotWithPath

Create a new database snapshot with path

Create a new database snapshot with path. Requires admin access.

func NewCreateDatabaseSnapshotWithPath

func NewCreateDatabaseSnapshotWithPath(ctx *middleware.Context, handler CreateDatabaseSnapshotWithPathHandler) *CreateDatabaseSnapshotWithPath

NewCreateDatabaseSnapshotWithPath creates a new http.Handler for the create database snapshot with path operation

func (*CreateDatabaseSnapshotWithPath) ServeHTTP

type CreateDatabaseSnapshotWithPathHandler

type CreateDatabaseSnapshotWithPathHandler interface {
	Handle(CreateDatabaseSnapshotWithPathParams) middleware.Responder
}

CreateDatabaseSnapshotWithPathHandler interface for that can handle valid create database snapshot with path params

type CreateDatabaseSnapshotWithPathHandlerFunc

type CreateDatabaseSnapshotWithPathHandlerFunc func(CreateDatabaseSnapshotWithPathParams) middleware.Responder

CreateDatabaseSnapshotWithPathHandlerFunc turns a function with the right signature into a create database snapshot with path handler

func (CreateDatabaseSnapshotWithPathHandlerFunc) Handle

Handle executing the request and returning a response

type CreateDatabaseSnapshotWithPathOK

type CreateDatabaseSnapshotWithPathOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DatabaseSnapshotCreateResultEnvelope `json:"body,omitempty"`
}

CreateDatabaseSnapshotWithPathOK The path to the created snapshot

swagger:response createDatabaseSnapshotWithPathOK

func NewCreateDatabaseSnapshotWithPathOK

func NewCreateDatabaseSnapshotWithPathOK() *CreateDatabaseSnapshotWithPathOK

NewCreateDatabaseSnapshotWithPathOK creates CreateDatabaseSnapshotWithPathOK with default headers values

func (*CreateDatabaseSnapshotWithPathOK) SetPayload

SetPayload sets the payload to the create database snapshot with path o k response

func (*CreateDatabaseSnapshotWithPathOK) WithPayload

WithPayload adds the payload to the create database snapshot with path o k response

func (*CreateDatabaseSnapshotWithPathOK) WriteResponse

func (o *CreateDatabaseSnapshotWithPathOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateDatabaseSnapshotWithPathParams

type CreateDatabaseSnapshotWithPathParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*snapshot parameters
	  Required: true
	  In: body
	*/
	Snapshot *rest_model.DatabaseSnapshotCreate
}

CreateDatabaseSnapshotWithPathParams contains all the bound params for the create database snapshot with path operation typically these are obtained from a http.Request

swagger:parameters createDatabaseSnapshotWithPath

func NewCreateDatabaseSnapshotWithPathParams

func NewCreateDatabaseSnapshotWithPathParams() CreateDatabaseSnapshotWithPathParams

NewCreateDatabaseSnapshotWithPathParams creates a new CreateDatabaseSnapshotWithPathParams object

There are no default values defined in the spec.

func (*CreateDatabaseSnapshotWithPathParams) BindRequest

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 NewCreateDatabaseSnapshotWithPathParams() beforehand.

type CreateDatabaseSnapshotWithPathTooManyRequests

type CreateDatabaseSnapshotWithPathTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateDatabaseSnapshotWithPathTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response createDatabaseSnapshotWithPathTooManyRequests

func NewCreateDatabaseSnapshotWithPathTooManyRequests

func NewCreateDatabaseSnapshotWithPathTooManyRequests() *CreateDatabaseSnapshotWithPathTooManyRequests

NewCreateDatabaseSnapshotWithPathTooManyRequests creates CreateDatabaseSnapshotWithPathTooManyRequests with default headers values

func (*CreateDatabaseSnapshotWithPathTooManyRequests) SetPayload

SetPayload sets the payload to the create database snapshot with path too many requests response

func (*CreateDatabaseSnapshotWithPathTooManyRequests) WithPayload

WithPayload adds the payload to the create database snapshot with path too many requests response

func (*CreateDatabaseSnapshotWithPathTooManyRequests) WriteResponse

WriteResponse to the client

type CreateDatabaseSnapshotWithPathURL

type CreateDatabaseSnapshotWithPathURL struct {
	// contains filtered or unexported fields
}

CreateDatabaseSnapshotWithPathURL generates an URL for the create database snapshot with path operation

func (*CreateDatabaseSnapshotWithPathURL) Build

Build a url path and query string

func (*CreateDatabaseSnapshotWithPathURL) BuildFull

func (o *CreateDatabaseSnapshotWithPathURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateDatabaseSnapshotWithPathURL) Must

Must is a helper function to panic when the url builder returns an error

func (*CreateDatabaseSnapshotWithPathURL) SetBasePath

func (o *CreateDatabaseSnapshotWithPathURL) 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 (*CreateDatabaseSnapshotWithPathURL) String

String returns the string representation of the path with query string

func (*CreateDatabaseSnapshotWithPathURL) StringFull

func (o *CreateDatabaseSnapshotWithPathURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateDatabaseSnapshotWithPathURL) WithBasePath

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 CreateDatabaseSnapshotWithPathUnauthorized

type CreateDatabaseSnapshotWithPathUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateDatabaseSnapshotWithPathUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response createDatabaseSnapshotWithPathUnauthorized

func NewCreateDatabaseSnapshotWithPathUnauthorized

func NewCreateDatabaseSnapshotWithPathUnauthorized() *CreateDatabaseSnapshotWithPathUnauthorized

NewCreateDatabaseSnapshotWithPathUnauthorized creates CreateDatabaseSnapshotWithPathUnauthorized with default headers values

func (*CreateDatabaseSnapshotWithPathUnauthorized) SetPayload

SetPayload sets the payload to the create database snapshot with path unauthorized response

func (*CreateDatabaseSnapshotWithPathUnauthorized) WithPayload

WithPayload adds the payload to the create database snapshot with path unauthorized response

func (*CreateDatabaseSnapshotWithPathUnauthorized) WriteResponse

WriteResponse to the client

type DataIntegrityResults

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

func NewDataIntegrityResults(ctx *middleware.Context, handler DataIntegrityResultsHandler) *DataIntegrityResults

NewDataIntegrityResults creates a new http.Handler for the data integrity results operation

func (*DataIntegrityResults) ServeHTTP

func (o *DataIntegrityResults) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DataIntegrityResultsHandler

type DataIntegrityResultsHandler interface {
	Handle(DataIntegrityResultsParams, interface{}) middleware.Responder
}

DataIntegrityResultsHandler interface for that can handle valid data integrity results params

type DataIntegrityResultsHandlerFunc

type DataIntegrityResultsHandlerFunc func(DataIntegrityResultsParams, interface{}) middleware.Responder

DataIntegrityResultsHandlerFunc turns a function with the right signature into a data integrity results handler

func (DataIntegrityResultsHandlerFunc) Handle

func (fn DataIntegrityResultsHandlerFunc) Handle(params DataIntegrityResultsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DataIntegrityResultsOK

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

func NewDataIntegrityResultsOK() *DataIntegrityResultsOK

NewDataIntegrityResultsOK creates DataIntegrityResultsOK with default headers values

func (*DataIntegrityResultsOK) SetPayload

SetPayload sets the payload to the data integrity results o k response

func (*DataIntegrityResultsOK) WithPayload

WithPayload adds the payload to the data integrity results o k response

func (*DataIntegrityResultsOK) WriteResponse

func (o *DataIntegrityResultsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DataIntegrityResultsParams

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

func NewDataIntegrityResultsParams() DataIntegrityResultsParams

NewDataIntegrityResultsParams creates a new DataIntegrityResultsParams object

There are no default values defined in the spec.

func (*DataIntegrityResultsParams) BindRequest

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 DataIntegrityResultsTooManyRequests added in v0.31.0

type DataIntegrityResultsTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DataIntegrityResultsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response dataIntegrityResultsTooManyRequests

func NewDataIntegrityResultsTooManyRequests added in v0.31.0

func NewDataIntegrityResultsTooManyRequests() *DataIntegrityResultsTooManyRequests

NewDataIntegrityResultsTooManyRequests creates DataIntegrityResultsTooManyRequests with default headers values

func (*DataIntegrityResultsTooManyRequests) SetPayload added in v0.31.0

SetPayload sets the payload to the data integrity results too many requests response

func (*DataIntegrityResultsTooManyRequests) WithPayload added in v0.31.0

WithPayload adds the payload to the data integrity results too many requests response

func (*DataIntegrityResultsTooManyRequests) WriteResponse added in v0.31.0

WriteResponse to the client

type DataIntegrityResultsURL

type DataIntegrityResultsURL struct {
	// contains filtered or unexported fields
}

DataIntegrityResultsURL generates an URL for the data integrity results operation

func (*DataIntegrityResultsURL) Build

func (o *DataIntegrityResultsURL) Build() (*url.URL, error)

Build a url path and query string

func (*DataIntegrityResultsURL) BuildFull

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

func (o *DataIntegrityResultsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DataIntegrityResultsURL) SetBasePath

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

func (o *DataIntegrityResultsURL) String() string

String returns the string representation of the path with query string

func (*DataIntegrityResultsURL) StringFull

func (o *DataIntegrityResultsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DataIntegrityResultsURL) WithBasePath

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

type DataIntegrityResultsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DataIntegrityResultsUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response dataIntegrityResultsUnauthorized

func NewDataIntegrityResultsUnauthorized

func NewDataIntegrityResultsUnauthorized() *DataIntegrityResultsUnauthorized

NewDataIntegrityResultsUnauthorized creates DataIntegrityResultsUnauthorized with default headers values

func (*DataIntegrityResultsUnauthorized) SetPayload

SetPayload sets the payload to the data integrity results unauthorized response

func (*DataIntegrityResultsUnauthorized) WithPayload

WithPayload adds the payload to the data integrity results unauthorized response

func (*DataIntegrityResultsUnauthorized) WriteResponse

func (o *DataIntegrityResultsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type FixDataIntegrity

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

func NewFixDataIntegrity(ctx *middleware.Context, handler FixDataIntegrityHandler) *FixDataIntegrity

NewFixDataIntegrity creates a new http.Handler for the fix data integrity operation

func (*FixDataIntegrity) ServeHTTP

func (o *FixDataIntegrity) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type FixDataIntegrityAccepted

type FixDataIntegrityAccepted struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

FixDataIntegrityAccepted Base empty response

swagger:response fixDataIntegrityAccepted

func NewFixDataIntegrityAccepted

func NewFixDataIntegrityAccepted() *FixDataIntegrityAccepted

NewFixDataIntegrityAccepted creates FixDataIntegrityAccepted with default headers values

func (*FixDataIntegrityAccepted) SetPayload

func (o *FixDataIntegrityAccepted) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the fix data integrity accepted response

func (*FixDataIntegrityAccepted) WithPayload

WithPayload adds the payload to the fix data integrity accepted response

func (*FixDataIntegrityAccepted) WriteResponse

func (o *FixDataIntegrityAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type FixDataIntegrityHandler

type FixDataIntegrityHandler interface {
	Handle(FixDataIntegrityParams, interface{}) middleware.Responder
}

FixDataIntegrityHandler interface for that can handle valid fix data integrity params

type FixDataIntegrityHandlerFunc

type FixDataIntegrityHandlerFunc func(FixDataIntegrityParams, interface{}) middleware.Responder

FixDataIntegrityHandlerFunc turns a function with the right signature into a fix data integrity handler

func (FixDataIntegrityHandlerFunc) Handle

func (fn FixDataIntegrityHandlerFunc) Handle(params FixDataIntegrityParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type FixDataIntegrityParams

type FixDataIntegrityParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

func NewFixDataIntegrityParams() FixDataIntegrityParams

NewFixDataIntegrityParams creates a new FixDataIntegrityParams object

There are no default values defined in the spec.

func (*FixDataIntegrityParams) BindRequest

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

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

func NewFixDataIntegrityTooManyRequests() *FixDataIntegrityTooManyRequests

NewFixDataIntegrityTooManyRequests creates FixDataIntegrityTooManyRequests with default headers values

func (*FixDataIntegrityTooManyRequests) SetPayload

SetPayload sets the payload to the fix data integrity too many requests response

func (*FixDataIntegrityTooManyRequests) WithPayload

WithPayload adds the payload to the fix data integrity too many requests response

func (*FixDataIntegrityTooManyRequests) WriteResponse

func (o *FixDataIntegrityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type FixDataIntegrityURL

type FixDataIntegrityURL struct {
	// contains filtered or unexported fields
}

FixDataIntegrityURL generates an URL for the fix data integrity operation

func (*FixDataIntegrityURL) Build

func (o *FixDataIntegrityURL) Build() (*url.URL, error)

Build a url path and query string

func (*FixDataIntegrityURL) BuildFull

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

func (o *FixDataIntegrityURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*FixDataIntegrityURL) SetBasePath

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

func (o *FixDataIntegrityURL) String() string

String returns the string representation of the path with query string

func (*FixDataIntegrityURL) StringFull

func (o *FixDataIntegrityURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*FixDataIntegrityURL) WithBasePath

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

type FixDataIntegrityUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

FixDataIntegrityUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response fixDataIntegrityUnauthorized

func NewFixDataIntegrityUnauthorized

func NewFixDataIntegrityUnauthorized() *FixDataIntegrityUnauthorized

NewFixDataIntegrityUnauthorized creates FixDataIntegrityUnauthorized with default headers values

func (*FixDataIntegrityUnauthorized) SetPayload

SetPayload sets the payload to the fix data integrity unauthorized response

func (*FixDataIntegrityUnauthorized) WithPayload

WithPayload adds the payload to the fix data integrity unauthorized response

func (*FixDataIntegrityUnauthorized) WriteResponse

func (o *FixDataIntegrityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL