Documentation ¶
Index ¶
- Constants
- type ClusterGetStatistics
- type ClusterGetStatisticsForbidden
- func (o *ClusterGetStatisticsForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *ClusterGetStatisticsForbidden) WithPayload(payload *models.ErrorResponse) *ClusterGetStatisticsForbidden
- func (o *ClusterGetStatisticsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterGetStatisticsHandler
- type ClusterGetStatisticsHandlerFunc
- type ClusterGetStatisticsInternalServerError
- func (o *ClusterGetStatisticsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *ClusterGetStatisticsInternalServerError) WithPayload(payload *models.ErrorResponse) *ClusterGetStatisticsInternalServerError
- func (o *ClusterGetStatisticsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterGetStatisticsOK
- type ClusterGetStatisticsParams
- type ClusterGetStatisticsURL
- func (o *ClusterGetStatisticsURL) Build() (*url.URL, error)
- func (o *ClusterGetStatisticsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ClusterGetStatisticsURL) Must(u *url.URL, err error) *url.URL
- func (o *ClusterGetStatisticsURL) SetBasePath(bp string)
- func (o *ClusterGetStatisticsURL) String() string
- func (o *ClusterGetStatisticsURL) StringFull(scheme, host string) string
- func (o *ClusterGetStatisticsURL) WithBasePath(bp string) *ClusterGetStatisticsURL
- type ClusterGetStatisticsUnauthorized
- type ClusterGetStatisticsUnprocessableEntity
- func (o *ClusterGetStatisticsUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *ClusterGetStatisticsUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *ClusterGetStatisticsUnprocessableEntity
- func (o *ClusterGetStatisticsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ClusterGetStatisticsForbiddenCode int = 403
ClusterGetStatisticsForbiddenCode is the HTTP code returned for type ClusterGetStatisticsForbidden
const ClusterGetStatisticsInternalServerErrorCode int = 500
ClusterGetStatisticsInternalServerErrorCode is the HTTP code returned for type ClusterGetStatisticsInternalServerError
const ClusterGetStatisticsOKCode int = 200
ClusterGetStatisticsOKCode is the HTTP code returned for type ClusterGetStatisticsOK
ClusterGetStatisticsUnauthorizedCode is the HTTP code returned for type ClusterGetStatisticsUnauthorized
const ClusterGetStatisticsUnprocessableEntityCode int = 422
ClusterGetStatisticsUnprocessableEntityCode is the HTTP code returned for type ClusterGetStatisticsUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterGetStatistics ¶
type ClusterGetStatistics struct { Context *middleware.Context Handler ClusterGetStatisticsHandler }
ClusterGetStatistics swagger:route GET /cluster/statistics cluster clusterGetStatistics
Returns Raft cluster statistics of Weaviate DB.
func NewClusterGetStatistics ¶
func NewClusterGetStatistics(ctx *middleware.Context, handler ClusterGetStatisticsHandler) *ClusterGetStatistics
NewClusterGetStatistics creates a new http.Handler for the cluster get statistics operation
func (*ClusterGetStatistics) ServeHTTP ¶
func (o *ClusterGetStatistics) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ClusterGetStatisticsForbidden ¶
type ClusterGetStatisticsForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
ClusterGetStatisticsForbidden Forbidden
swagger:response clusterGetStatisticsForbidden
func NewClusterGetStatisticsForbidden ¶
func NewClusterGetStatisticsForbidden() *ClusterGetStatisticsForbidden
NewClusterGetStatisticsForbidden creates ClusterGetStatisticsForbidden with default headers values
func (*ClusterGetStatisticsForbidden) SetPayload ¶
func (o *ClusterGetStatisticsForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the cluster get statistics forbidden response
func (*ClusterGetStatisticsForbidden) WithPayload ¶
func (o *ClusterGetStatisticsForbidden) WithPayload(payload *models.ErrorResponse) *ClusterGetStatisticsForbidden
WithPayload adds the payload to the cluster get statistics forbidden response
func (*ClusterGetStatisticsForbidden) WriteResponse ¶
func (o *ClusterGetStatisticsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterGetStatisticsHandler ¶
type ClusterGetStatisticsHandler interface {
Handle(ClusterGetStatisticsParams, *models.Principal) middleware.Responder
}
ClusterGetStatisticsHandler interface for that can handle valid cluster get statistics params
type ClusterGetStatisticsHandlerFunc ¶
type ClusterGetStatisticsHandlerFunc func(ClusterGetStatisticsParams, *models.Principal) middleware.Responder
ClusterGetStatisticsHandlerFunc turns a function with the right signature into a cluster get statistics handler
func (ClusterGetStatisticsHandlerFunc) Handle ¶
func (fn ClusterGetStatisticsHandlerFunc) Handle(params ClusterGetStatisticsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ClusterGetStatisticsInternalServerError ¶
type ClusterGetStatisticsInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
ClusterGetStatisticsInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response clusterGetStatisticsInternalServerError
func NewClusterGetStatisticsInternalServerError ¶
func NewClusterGetStatisticsInternalServerError() *ClusterGetStatisticsInternalServerError
NewClusterGetStatisticsInternalServerError creates ClusterGetStatisticsInternalServerError with default headers values
func (*ClusterGetStatisticsInternalServerError) SetPayload ¶
func (o *ClusterGetStatisticsInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the cluster get statistics internal server error response
func (*ClusterGetStatisticsInternalServerError) WithPayload ¶
func (o *ClusterGetStatisticsInternalServerError) WithPayload(payload *models.ErrorResponse) *ClusterGetStatisticsInternalServerError
WithPayload adds the payload to the cluster get statistics internal server error response
func (*ClusterGetStatisticsInternalServerError) WriteResponse ¶
func (o *ClusterGetStatisticsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterGetStatisticsOK ¶
type ClusterGetStatisticsOK struct { /* In: Body */ Payload *models.ClusterStatisticsResponse `json:"body,omitempty"` }
ClusterGetStatisticsOK Cluster statistics successfully returned
swagger:response clusterGetStatisticsOK
func NewClusterGetStatisticsOK ¶
func NewClusterGetStatisticsOK() *ClusterGetStatisticsOK
NewClusterGetStatisticsOK creates ClusterGetStatisticsOK with default headers values
func (*ClusterGetStatisticsOK) SetPayload ¶
func (o *ClusterGetStatisticsOK) SetPayload(payload *models.ClusterStatisticsResponse)
SetPayload sets the payload to the cluster get statistics o k response
func (*ClusterGetStatisticsOK) WithPayload ¶
func (o *ClusterGetStatisticsOK) WithPayload(payload *models.ClusterStatisticsResponse) *ClusterGetStatisticsOK
WithPayload adds the payload to the cluster get statistics o k response
func (*ClusterGetStatisticsOK) WriteResponse ¶
func (o *ClusterGetStatisticsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterGetStatisticsParams ¶
type ClusterGetStatisticsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ClusterGetStatisticsParams contains all the bound params for the cluster get statistics operation typically these are obtained from a http.Request
swagger:parameters cluster.get.statistics
func NewClusterGetStatisticsParams ¶
func NewClusterGetStatisticsParams() ClusterGetStatisticsParams
NewClusterGetStatisticsParams creates a new ClusterGetStatisticsParams object
There are no default values defined in the spec.
func (*ClusterGetStatisticsParams) BindRequest ¶
func (o *ClusterGetStatisticsParams) 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 NewClusterGetStatisticsParams() beforehand.
type ClusterGetStatisticsURL ¶
type ClusterGetStatisticsURL struct {
// contains filtered or unexported fields
}
ClusterGetStatisticsURL generates an URL for the cluster get statistics operation
func (*ClusterGetStatisticsURL) Build ¶
func (o *ClusterGetStatisticsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ClusterGetStatisticsURL) BuildFull ¶
func (o *ClusterGetStatisticsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ClusterGetStatisticsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ClusterGetStatisticsURL) SetBasePath ¶
func (o *ClusterGetStatisticsURL) 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 (*ClusterGetStatisticsURL) String ¶
func (o *ClusterGetStatisticsURL) String() string
String returns the string representation of the path with query string
func (*ClusterGetStatisticsURL) StringFull ¶
func (o *ClusterGetStatisticsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ClusterGetStatisticsURL) WithBasePath ¶
func (o *ClusterGetStatisticsURL) WithBasePath(bp string) *ClusterGetStatisticsURL
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 ClusterGetStatisticsUnauthorized ¶
type ClusterGetStatisticsUnauthorized struct { }
ClusterGetStatisticsUnauthorized Unauthorized or invalid credentials.
swagger:response clusterGetStatisticsUnauthorized
func NewClusterGetStatisticsUnauthorized ¶
func NewClusterGetStatisticsUnauthorized() *ClusterGetStatisticsUnauthorized
NewClusterGetStatisticsUnauthorized creates ClusterGetStatisticsUnauthorized with default headers values
func (*ClusterGetStatisticsUnauthorized) WriteResponse ¶
func (o *ClusterGetStatisticsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterGetStatisticsUnprocessableEntity ¶
type ClusterGetStatisticsUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
ClusterGetStatisticsUnprocessableEntity Invalid backup restoration status attempt.
swagger:response clusterGetStatisticsUnprocessableEntity
func NewClusterGetStatisticsUnprocessableEntity ¶
func NewClusterGetStatisticsUnprocessableEntity() *ClusterGetStatisticsUnprocessableEntity
NewClusterGetStatisticsUnprocessableEntity creates ClusterGetStatisticsUnprocessableEntity with default headers values
func (*ClusterGetStatisticsUnprocessableEntity) SetPayload ¶
func (o *ClusterGetStatisticsUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the cluster get statistics unprocessable entity response
func (*ClusterGetStatisticsUnprocessableEntity) WithPayload ¶
func (o *ClusterGetStatisticsUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *ClusterGetStatisticsUnprocessableEntity
WithPayload adds the payload to the cluster get statistics unprocessable entity response
func (*ClusterGetStatisticsUnprocessableEntity) WriteResponse ¶
func (o *ClusterGetStatisticsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client