cluster

package
v1.26.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterGetStatisticsForbiddenCode int = 403

ClusterGetStatisticsForbiddenCode is the HTTP code returned for type ClusterGetStatisticsForbidden

View Source
const ClusterGetStatisticsInternalServerErrorCode int = 500

ClusterGetStatisticsInternalServerErrorCode is the HTTP code returned for type ClusterGetStatisticsInternalServerError

View Source
const ClusterGetStatisticsOKCode int = 200

ClusterGetStatisticsOKCode is the HTTP code returned for type ClusterGetStatisticsOK

View Source
const ClusterGetStatisticsUnauthorizedCode int = 401

ClusterGetStatisticsUnauthorizedCode is the HTTP code returned for type ClusterGetStatisticsUnauthorized

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

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

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

SetPayload sets the payload to the cluster get statistics internal server error response

func (*ClusterGetStatisticsInternalServerError) WithPayload

WithPayload adds the payload to the cluster get statistics internal server error response

func (*ClusterGetStatisticsInternalServerError) WriteResponse

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

SetPayload sets the payload to the cluster get statistics o k response

func (*ClusterGetStatisticsOK) WithPayload

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

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

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

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

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

SetPayload sets the payload to the cluster get statistics unprocessable entity response

func (*ClusterGetStatisticsUnprocessableEntity) WithPayload

WithPayload adds the payload to the cluster get statistics unprocessable entity response

func (*ClusterGetStatisticsUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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