Documentation ¶
Index ¶
- Constants
- type NodesGet
- type NodesGetClass
- type NodesGetClassForbidden
- type NodesGetClassHandler
- type NodesGetClassHandlerFunc
- type NodesGetClassInternalServerError
- func (o *NodesGetClassInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *NodesGetClassInternalServerError) WithPayload(payload *models.ErrorResponse) *NodesGetClassInternalServerError
- func (o *NodesGetClassInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type NodesGetClassNotFound
- type NodesGetClassOK
- type NodesGetClassParams
- type NodesGetClassURL
- func (o *NodesGetClassURL) Build() (*url.URL, error)
- func (o *NodesGetClassURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *NodesGetClassURL) Must(u *url.URL, err error) *url.URL
- func (o *NodesGetClassURL) SetBasePath(bp string)
- func (o *NodesGetClassURL) String() string
- func (o *NodesGetClassURL) StringFull(scheme, host string) string
- func (o *NodesGetClassURL) WithBasePath(bp string) *NodesGetClassURL
- type NodesGetClassUnauthorized
- type NodesGetClassUnprocessableEntity
- func (o *NodesGetClassUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *NodesGetClassUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *NodesGetClassUnprocessableEntity
- func (o *NodesGetClassUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type NodesGetForbidden
- type NodesGetHandler
- type NodesGetHandlerFunc
- type NodesGetInternalServerError
- type NodesGetNotFound
- type NodesGetOK
- type NodesGetParams
- type NodesGetURL
- func (o *NodesGetURL) Build() (*url.URL, error)
- func (o *NodesGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *NodesGetURL) Must(u *url.URL, err error) *url.URL
- func (o *NodesGetURL) SetBasePath(bp string)
- func (o *NodesGetURL) String() string
- func (o *NodesGetURL) StringFull(scheme, host string) string
- func (o *NodesGetURL) WithBasePath(bp string) *NodesGetURL
- type NodesGetUnauthorized
- type NodesGetUnprocessableEntity
Constants ¶
const NodesGetClassForbiddenCode int = 403
NodesGetClassForbiddenCode is the HTTP code returned for type NodesGetClassForbidden
const NodesGetClassInternalServerErrorCode int = 500
NodesGetClassInternalServerErrorCode is the HTTP code returned for type NodesGetClassInternalServerError
const NodesGetClassNotFoundCode int = 404
NodesGetClassNotFoundCode is the HTTP code returned for type NodesGetClassNotFound
const NodesGetClassOKCode int = 200
NodesGetClassOKCode is the HTTP code returned for type NodesGetClassOK
NodesGetClassUnauthorizedCode is the HTTP code returned for type NodesGetClassUnauthorized
const NodesGetClassUnprocessableEntityCode int = 422
NodesGetClassUnprocessableEntityCode is the HTTP code returned for type NodesGetClassUnprocessableEntity
const NodesGetForbiddenCode int = 403
NodesGetForbiddenCode is the HTTP code returned for type NodesGetForbidden
const NodesGetInternalServerErrorCode int = 500
NodesGetInternalServerErrorCode is the HTTP code returned for type NodesGetInternalServerError
const NodesGetNotFoundCode int = 404
NodesGetNotFoundCode is the HTTP code returned for type NodesGetNotFound
const NodesGetOKCode int = 200
NodesGetOKCode is the HTTP code returned for type NodesGetOK
NodesGetUnauthorizedCode is the HTTP code returned for type NodesGetUnauthorized
const NodesGetUnprocessableEntityCode int = 422
NodesGetUnprocessableEntityCode is the HTTP code returned for type NodesGetUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodesGet ¶
type NodesGet struct { Context *middleware.Context Handler NodesGetHandler }
NodesGet swagger:route GET /nodes nodes nodesGet
Returns status of Weaviate DB.
func NewNodesGet ¶
func NewNodesGet(ctx *middleware.Context, handler NodesGetHandler) *NodesGet
NewNodesGet creates a new http.Handler for the nodes get operation
type NodesGetClass ¶ added in v1.20.0
type NodesGetClass struct { Context *middleware.Context Handler NodesGetClassHandler }
NodesGetClass swagger:route GET /nodes/{className} nodes nodesGetClass
Returns status of Weaviate DB.
func NewNodesGetClass ¶ added in v1.20.0
func NewNodesGetClass(ctx *middleware.Context, handler NodesGetClassHandler) *NodesGetClass
NewNodesGetClass creates a new http.Handler for the nodes get class operation
func (*NodesGetClass) ServeHTTP ¶ added in v1.20.0
func (o *NodesGetClass) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type NodesGetClassForbidden ¶ added in v1.20.0
type NodesGetClassForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetClassForbidden Forbidden
swagger:response nodesGetClassForbidden
func NewNodesGetClassForbidden ¶ added in v1.20.0
func NewNodesGetClassForbidden() *NodesGetClassForbidden
NewNodesGetClassForbidden creates NodesGetClassForbidden with default headers values
func (*NodesGetClassForbidden) SetPayload ¶ added in v1.20.0
func (o *NodesGetClassForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get class forbidden response
func (*NodesGetClassForbidden) WithPayload ¶ added in v1.20.0
func (o *NodesGetClassForbidden) WithPayload(payload *models.ErrorResponse) *NodesGetClassForbidden
WithPayload adds the payload to the nodes get class forbidden response
func (*NodesGetClassForbidden) WriteResponse ¶ added in v1.20.0
func (o *NodesGetClassForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetClassHandler ¶ added in v1.20.0
type NodesGetClassHandler interface {
Handle(NodesGetClassParams, *models.Principal) middleware.Responder
}
NodesGetClassHandler interface for that can handle valid nodes get class params
type NodesGetClassHandlerFunc ¶ added in v1.20.0
type NodesGetClassHandlerFunc func(NodesGetClassParams, *models.Principal) middleware.Responder
NodesGetClassHandlerFunc turns a function with the right signature into a nodes get class handler
func (NodesGetClassHandlerFunc) Handle ¶ added in v1.20.0
func (fn NodesGetClassHandlerFunc) Handle(params NodesGetClassParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type NodesGetClassInternalServerError ¶ added in v1.20.0
type NodesGetClassInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetClassInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response nodesGetClassInternalServerError
func NewNodesGetClassInternalServerError ¶ added in v1.20.0
func NewNodesGetClassInternalServerError() *NodesGetClassInternalServerError
NewNodesGetClassInternalServerError creates NodesGetClassInternalServerError with default headers values
func (*NodesGetClassInternalServerError) SetPayload ¶ added in v1.20.0
func (o *NodesGetClassInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get class internal server error response
func (*NodesGetClassInternalServerError) WithPayload ¶ added in v1.20.0
func (o *NodesGetClassInternalServerError) WithPayload(payload *models.ErrorResponse) *NodesGetClassInternalServerError
WithPayload adds the payload to the nodes get class internal server error response
func (*NodesGetClassInternalServerError) WriteResponse ¶ added in v1.20.0
func (o *NodesGetClassInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetClassNotFound ¶ added in v1.20.0
type NodesGetClassNotFound struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetClassNotFound Not Found - Backup does not exist
swagger:response nodesGetClassNotFound
func NewNodesGetClassNotFound ¶ added in v1.20.0
func NewNodesGetClassNotFound() *NodesGetClassNotFound
NewNodesGetClassNotFound creates NodesGetClassNotFound with default headers values
func (*NodesGetClassNotFound) SetPayload ¶ added in v1.20.0
func (o *NodesGetClassNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get class not found response
func (*NodesGetClassNotFound) WithPayload ¶ added in v1.20.0
func (o *NodesGetClassNotFound) WithPayload(payload *models.ErrorResponse) *NodesGetClassNotFound
WithPayload adds the payload to the nodes get class not found response
func (*NodesGetClassNotFound) WriteResponse ¶ added in v1.20.0
func (o *NodesGetClassNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetClassOK ¶ added in v1.20.0
type NodesGetClassOK struct { /* In: Body */ Payload *models.NodesStatusResponse `json:"body,omitempty"` }
NodesGetClassOK Nodes status successfully returned
swagger:response nodesGetClassOK
func NewNodesGetClassOK ¶ added in v1.20.0
func NewNodesGetClassOK() *NodesGetClassOK
NewNodesGetClassOK creates NodesGetClassOK with default headers values
func (*NodesGetClassOK) SetPayload ¶ added in v1.20.0
func (o *NodesGetClassOK) SetPayload(payload *models.NodesStatusResponse)
SetPayload sets the payload to the nodes get class o k response
func (*NodesGetClassOK) WithPayload ¶ added in v1.20.0
func (o *NodesGetClassOK) WithPayload(payload *models.NodesStatusResponse) *NodesGetClassOK
WithPayload adds the payload to the nodes get class o k response
func (*NodesGetClassOK) WriteResponse ¶ added in v1.20.0
func (o *NodesGetClassOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetClassParams ¶ added in v1.20.0
type NodesGetClassParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClassName string }
NodesGetClassParams contains all the bound params for the nodes get class operation typically these are obtained from a http.Request
swagger:parameters nodes.get.class
func NewNodesGetClassParams ¶ added in v1.20.0
func NewNodesGetClassParams() NodesGetClassParams
NewNodesGetClassParams creates a new NodesGetClassParams object
There are no default values defined in the spec.
func (*NodesGetClassParams) BindRequest ¶ added in v1.20.0
func (o *NodesGetClassParams) 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 NewNodesGetClassParams() beforehand.
type NodesGetClassURL ¶ added in v1.20.0
type NodesGetClassURL struct { ClassName string // contains filtered or unexported fields }
NodesGetClassURL generates an URL for the nodes get class operation
func (*NodesGetClassURL) Build ¶ added in v1.20.0
func (o *NodesGetClassURL) Build() (*url.URL, error)
Build a url path and query string
func (*NodesGetClassURL) BuildFull ¶ added in v1.20.0
func (o *NodesGetClassURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*NodesGetClassURL) Must ¶ added in v1.20.0
Must is a helper function to panic when the url builder returns an error
func (*NodesGetClassURL) SetBasePath ¶ added in v1.20.0
func (o *NodesGetClassURL) 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 (*NodesGetClassURL) String ¶ added in v1.20.0
func (o *NodesGetClassURL) String() string
String returns the string representation of the path with query string
func (*NodesGetClassURL) StringFull ¶ added in v1.20.0
func (o *NodesGetClassURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*NodesGetClassURL) WithBasePath ¶ added in v1.20.0
func (o *NodesGetClassURL) WithBasePath(bp string) *NodesGetClassURL
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 NodesGetClassUnauthorized ¶ added in v1.20.0
type NodesGetClassUnauthorized struct { }
NodesGetClassUnauthorized Unauthorized or invalid credentials.
swagger:response nodesGetClassUnauthorized
func NewNodesGetClassUnauthorized ¶ added in v1.20.0
func NewNodesGetClassUnauthorized() *NodesGetClassUnauthorized
NewNodesGetClassUnauthorized creates NodesGetClassUnauthorized with default headers values
func (*NodesGetClassUnauthorized) WriteResponse ¶ added in v1.20.0
func (o *NodesGetClassUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetClassUnprocessableEntity ¶ added in v1.20.0
type NodesGetClassUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetClassUnprocessableEntity Invalid backup restoration status attempt.
swagger:response nodesGetClassUnprocessableEntity
func NewNodesGetClassUnprocessableEntity ¶ added in v1.20.0
func NewNodesGetClassUnprocessableEntity() *NodesGetClassUnprocessableEntity
NewNodesGetClassUnprocessableEntity creates NodesGetClassUnprocessableEntity with default headers values
func (*NodesGetClassUnprocessableEntity) SetPayload ¶ added in v1.20.0
func (o *NodesGetClassUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get class unprocessable entity response
func (*NodesGetClassUnprocessableEntity) WithPayload ¶ added in v1.20.0
func (o *NodesGetClassUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *NodesGetClassUnprocessableEntity
WithPayload adds the payload to the nodes get class unprocessable entity response
func (*NodesGetClassUnprocessableEntity) WriteResponse ¶ added in v1.20.0
func (o *NodesGetClassUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetForbidden ¶
type NodesGetForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetForbidden Forbidden
swagger:response nodesGetForbidden
func NewNodesGetForbidden ¶
func NewNodesGetForbidden() *NodesGetForbidden
NewNodesGetForbidden creates NodesGetForbidden with default headers values
func (*NodesGetForbidden) SetPayload ¶
func (o *NodesGetForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get forbidden response
func (*NodesGetForbidden) WithPayload ¶
func (o *NodesGetForbidden) WithPayload(payload *models.ErrorResponse) *NodesGetForbidden
WithPayload adds the payload to the nodes get forbidden response
func (*NodesGetForbidden) WriteResponse ¶
func (o *NodesGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetHandler ¶
type NodesGetHandler interface {
Handle(NodesGetParams, *models.Principal) middleware.Responder
}
NodesGetHandler interface for that can handle valid nodes get params
type NodesGetHandlerFunc ¶
type NodesGetHandlerFunc func(NodesGetParams, *models.Principal) middleware.Responder
NodesGetHandlerFunc turns a function with the right signature into a nodes get handler
func (NodesGetHandlerFunc) Handle ¶
func (fn NodesGetHandlerFunc) Handle(params NodesGetParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type NodesGetInternalServerError ¶
type NodesGetInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response nodesGetInternalServerError
func NewNodesGetInternalServerError ¶
func NewNodesGetInternalServerError() *NodesGetInternalServerError
NewNodesGetInternalServerError creates NodesGetInternalServerError with default headers values
func (*NodesGetInternalServerError) SetPayload ¶
func (o *NodesGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get internal server error response
func (*NodesGetInternalServerError) WithPayload ¶
func (o *NodesGetInternalServerError) WithPayload(payload *models.ErrorResponse) *NodesGetInternalServerError
WithPayload adds the payload to the nodes get internal server error response
func (*NodesGetInternalServerError) WriteResponse ¶
func (o *NodesGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetNotFound ¶
type NodesGetNotFound struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetNotFound Not Found - Backup does not exist
swagger:response nodesGetNotFound
func NewNodesGetNotFound ¶
func NewNodesGetNotFound() *NodesGetNotFound
NewNodesGetNotFound creates NodesGetNotFound with default headers values
func (*NodesGetNotFound) SetPayload ¶
func (o *NodesGetNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get not found response
func (*NodesGetNotFound) WithPayload ¶
func (o *NodesGetNotFound) WithPayload(payload *models.ErrorResponse) *NodesGetNotFound
WithPayload adds the payload to the nodes get not found response
func (*NodesGetNotFound) WriteResponse ¶
func (o *NodesGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetOK ¶
type NodesGetOK struct { /* In: Body */ Payload *models.NodesStatusResponse `json:"body,omitempty"` }
NodesGetOK Nodes status successfully returned
swagger:response nodesGetOK
func NewNodesGetOK ¶
func NewNodesGetOK() *NodesGetOK
NewNodesGetOK creates NodesGetOK with default headers values
func (*NodesGetOK) SetPayload ¶
func (o *NodesGetOK) SetPayload(payload *models.NodesStatusResponse)
SetPayload sets the payload to the nodes get o k response
func (*NodesGetOK) WithPayload ¶
func (o *NodesGetOK) WithPayload(payload *models.NodesStatusResponse) *NodesGetOK
WithPayload adds the payload to the nodes get o k response
func (*NodesGetOK) WriteResponse ¶
func (o *NodesGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetParams ¶
NodesGetParams contains all the bound params for the nodes get operation typically these are obtained from a http.Request
swagger:parameters nodes.get
func NewNodesGetParams ¶
func NewNodesGetParams() NodesGetParams
NewNodesGetParams creates a new NodesGetParams object
There are no default values defined in the spec.
func (*NodesGetParams) BindRequest ¶
func (o *NodesGetParams) 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 NewNodesGetParams() beforehand.
type NodesGetURL ¶
type NodesGetURL struct {
// contains filtered or unexported fields
}
NodesGetURL generates an URL for the nodes get operation
func (*NodesGetURL) Build ¶
func (o *NodesGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*NodesGetURL) BuildFull ¶
func (o *NodesGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*NodesGetURL) SetBasePath ¶
func (o *NodesGetURL) 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 (*NodesGetURL) String ¶
func (o *NodesGetURL) String() string
String returns the string representation of the path with query string
func (*NodesGetURL) StringFull ¶
func (o *NodesGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*NodesGetURL) WithBasePath ¶
func (o *NodesGetURL) WithBasePath(bp string) *NodesGetURL
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 NodesGetUnauthorized ¶
type NodesGetUnauthorized struct { }
NodesGetUnauthorized Unauthorized or invalid credentials.
swagger:response nodesGetUnauthorized
func NewNodesGetUnauthorized ¶
func NewNodesGetUnauthorized() *NodesGetUnauthorized
NewNodesGetUnauthorized creates NodesGetUnauthorized with default headers values
func (*NodesGetUnauthorized) WriteResponse ¶
func (o *NodesGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NodesGetUnprocessableEntity ¶
type NodesGetUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
NodesGetUnprocessableEntity Invalid backup restoration status attempt.
swagger:response nodesGetUnprocessableEntity
func NewNodesGetUnprocessableEntity ¶
func NewNodesGetUnprocessableEntity() *NodesGetUnprocessableEntity
NewNodesGetUnprocessableEntity creates NodesGetUnprocessableEntity with default headers values
func (*NodesGetUnprocessableEntity) SetPayload ¶
func (o *NodesGetUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the nodes get unprocessable entity response
func (*NodesGetUnprocessableEntity) WithPayload ¶
func (o *NodesGetUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *NodesGetUnprocessableEntity
WithPayload adds the payload to the nodes get unprocessable entity response
func (*NodesGetUnprocessableEntity) WriteResponse ¶
func (o *NodesGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client