Documentation ¶
Index ¶
- Constants
- type NodesGet
- 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 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 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 no default values defined in 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