Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type NodesGetForbidden
- func (o *NodesGetForbidden) Code() int
- func (o *NodesGetForbidden) Error() string
- func (o *NodesGetForbidden) GetPayload() *models.ErrorResponse
- func (o *NodesGetForbidden) IsClientError() bool
- func (o *NodesGetForbidden) IsCode(code int) bool
- func (o *NodesGetForbidden) IsRedirect() bool
- func (o *NodesGetForbidden) IsServerError() bool
- func (o *NodesGetForbidden) IsSuccess() bool
- func (o *NodesGetForbidden) String() string
- type NodesGetInternalServerError
- func (o *NodesGetInternalServerError) Code() int
- func (o *NodesGetInternalServerError) Error() string
- func (o *NodesGetInternalServerError) GetPayload() *models.ErrorResponse
- func (o *NodesGetInternalServerError) IsClientError() bool
- func (o *NodesGetInternalServerError) IsCode(code int) bool
- func (o *NodesGetInternalServerError) IsRedirect() bool
- func (o *NodesGetInternalServerError) IsServerError() bool
- func (o *NodesGetInternalServerError) IsSuccess() bool
- func (o *NodesGetInternalServerError) String() string
- type NodesGetNotFound
- func (o *NodesGetNotFound) Code() int
- func (o *NodesGetNotFound) Error() string
- func (o *NodesGetNotFound) GetPayload() *models.ErrorResponse
- func (o *NodesGetNotFound) IsClientError() bool
- func (o *NodesGetNotFound) IsCode(code int) bool
- func (o *NodesGetNotFound) IsRedirect() bool
- func (o *NodesGetNotFound) IsServerError() bool
- func (o *NodesGetNotFound) IsSuccess() bool
- func (o *NodesGetNotFound) String() string
- type NodesGetOK
- func (o *NodesGetOK) Code() int
- func (o *NodesGetOK) Error() string
- func (o *NodesGetOK) GetPayload() *models.NodesStatusResponse
- func (o *NodesGetOK) IsClientError() bool
- func (o *NodesGetOK) IsCode(code int) bool
- func (o *NodesGetOK) IsRedirect() bool
- func (o *NodesGetOK) IsServerError() bool
- func (o *NodesGetOK) IsSuccess() bool
- func (o *NodesGetOK) String() string
- type NodesGetParams
- func (o *NodesGetParams) SetContext(ctx context.Context)
- func (o *NodesGetParams) SetDefaults()
- func (o *NodesGetParams) SetHTTPClient(client *http.Client)
- func (o *NodesGetParams) SetTimeout(timeout time.Duration)
- func (o *NodesGetParams) WithContext(ctx context.Context) *NodesGetParams
- func (o *NodesGetParams) WithDefaults() *NodesGetParams
- func (o *NodesGetParams) WithHTTPClient(client *http.Client) *NodesGetParams
- func (o *NodesGetParams) WithTimeout(timeout time.Duration) *NodesGetParams
- func (o *NodesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NodesGetReader
- type NodesGetUnauthorized
- func (o *NodesGetUnauthorized) Code() int
- func (o *NodesGetUnauthorized) Error() string
- func (o *NodesGetUnauthorized) IsClientError() bool
- func (o *NodesGetUnauthorized) IsCode(code int) bool
- func (o *NodesGetUnauthorized) IsRedirect() bool
- func (o *NodesGetUnauthorized) IsServerError() bool
- func (o *NodesGetUnauthorized) IsSuccess() bool
- func (o *NodesGetUnauthorized) String() string
- type NodesGetUnprocessableEntity
- func (o *NodesGetUnprocessableEntity) Code() int
- func (o *NodesGetUnprocessableEntity) Error() string
- func (o *NodesGetUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *NodesGetUnprocessableEntity) IsClientError() bool
- func (o *NodesGetUnprocessableEntity) IsCode(code int) bool
- func (o *NodesGetUnprocessableEntity) IsRedirect() bool
- func (o *NodesGetUnprocessableEntity) IsServerError() bool
- func (o *NodesGetUnprocessableEntity) IsSuccess() bool
- func (o *NodesGetUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for nodes API
func (*Client) NodesGet ¶
func (a *Client) NodesGet(params *NodesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NodesGetOK, error)
NodesGet Returns status of Weaviate DB.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { NodesGet(params *NodesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NodesGetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new nodes API client.
type NodesGetForbidden ¶
type NodesGetForbidden struct {
Payload *models.ErrorResponse
}
NodesGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewNodesGetForbidden ¶
func NewNodesGetForbidden() *NodesGetForbidden
NewNodesGetForbidden creates a NodesGetForbidden with default headers values
func (*NodesGetForbidden) Code ¶ added in v1.18.0
func (o *NodesGetForbidden) Code() int
Code gets the status code for the nodes get forbidden response
func (*NodesGetForbidden) Error ¶
func (o *NodesGetForbidden) Error() string
func (*NodesGetForbidden) GetPayload ¶
func (o *NodesGetForbidden) GetPayload() *models.ErrorResponse
func (*NodesGetForbidden) IsClientError ¶ added in v1.18.0
func (o *NodesGetForbidden) IsClientError() bool
IsClientError returns true when this nodes get forbidden response has a 4xx status code
func (*NodesGetForbidden) IsCode ¶ added in v1.18.0
func (o *NodesGetForbidden) IsCode(code int) bool
IsCode returns true when this nodes get forbidden response a status code equal to that given
func (*NodesGetForbidden) IsRedirect ¶ added in v1.18.0
func (o *NodesGetForbidden) IsRedirect() bool
IsRedirect returns true when this nodes get forbidden response has a 3xx status code
func (*NodesGetForbidden) IsServerError ¶ added in v1.18.0
func (o *NodesGetForbidden) IsServerError() bool
IsServerError returns true when this nodes get forbidden response has a 5xx status code
func (*NodesGetForbidden) IsSuccess ¶ added in v1.18.0
func (o *NodesGetForbidden) IsSuccess() bool
IsSuccess returns true when this nodes get forbidden response has a 2xx status code
func (*NodesGetForbidden) String ¶ added in v1.18.0
func (o *NodesGetForbidden) String() string
type NodesGetInternalServerError ¶
type NodesGetInternalServerError struct {
Payload *models.ErrorResponse
}
NodesGetInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewNodesGetInternalServerError ¶
func NewNodesGetInternalServerError() *NodesGetInternalServerError
NewNodesGetInternalServerError creates a NodesGetInternalServerError with default headers values
func (*NodesGetInternalServerError) Code ¶ added in v1.18.0
func (o *NodesGetInternalServerError) Code() int
Code gets the status code for the nodes get internal server error response
func (*NodesGetInternalServerError) Error ¶
func (o *NodesGetInternalServerError) Error() string
func (*NodesGetInternalServerError) GetPayload ¶
func (o *NodesGetInternalServerError) GetPayload() *models.ErrorResponse
func (*NodesGetInternalServerError) IsClientError ¶ added in v1.18.0
func (o *NodesGetInternalServerError) IsClientError() bool
IsClientError returns true when this nodes get internal server error response has a 4xx status code
func (*NodesGetInternalServerError) IsCode ¶ added in v1.18.0
func (o *NodesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this nodes get internal server error response a status code equal to that given
func (*NodesGetInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *NodesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this nodes get internal server error response has a 3xx status code
func (*NodesGetInternalServerError) IsServerError ¶ added in v1.18.0
func (o *NodesGetInternalServerError) IsServerError() bool
IsServerError returns true when this nodes get internal server error response has a 5xx status code
func (*NodesGetInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *NodesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this nodes get internal server error response has a 2xx status code
func (*NodesGetInternalServerError) String ¶ added in v1.18.0
func (o *NodesGetInternalServerError) String() string
type NodesGetNotFound ¶
type NodesGetNotFound struct {
Payload *models.ErrorResponse
}
NodesGetNotFound describes a response with status code 404, with default header values.
Not Found - Backup does not exist
func NewNodesGetNotFound ¶
func NewNodesGetNotFound() *NodesGetNotFound
NewNodesGetNotFound creates a NodesGetNotFound with default headers values
func (*NodesGetNotFound) Code ¶ added in v1.18.0
func (o *NodesGetNotFound) Code() int
Code gets the status code for the nodes get not found response
func (*NodesGetNotFound) Error ¶
func (o *NodesGetNotFound) Error() string
func (*NodesGetNotFound) GetPayload ¶
func (o *NodesGetNotFound) GetPayload() *models.ErrorResponse
func (*NodesGetNotFound) IsClientError ¶ added in v1.18.0
func (o *NodesGetNotFound) IsClientError() bool
IsClientError returns true when this nodes get not found response has a 4xx status code
func (*NodesGetNotFound) IsCode ¶ added in v1.18.0
func (o *NodesGetNotFound) IsCode(code int) bool
IsCode returns true when this nodes get not found response a status code equal to that given
func (*NodesGetNotFound) IsRedirect ¶ added in v1.18.0
func (o *NodesGetNotFound) IsRedirect() bool
IsRedirect returns true when this nodes get not found response has a 3xx status code
func (*NodesGetNotFound) IsServerError ¶ added in v1.18.0
func (o *NodesGetNotFound) IsServerError() bool
IsServerError returns true when this nodes get not found response has a 5xx status code
func (*NodesGetNotFound) IsSuccess ¶ added in v1.18.0
func (o *NodesGetNotFound) IsSuccess() bool
IsSuccess returns true when this nodes get not found response has a 2xx status code
func (*NodesGetNotFound) String ¶ added in v1.18.0
func (o *NodesGetNotFound) String() string
type NodesGetOK ¶
type NodesGetOK struct {
Payload *models.NodesStatusResponse
}
NodesGetOK describes a response with status code 200, with default header values.
Nodes status successfully returned
func NewNodesGetOK ¶
func NewNodesGetOK() *NodesGetOK
NewNodesGetOK creates a NodesGetOK with default headers values
func (*NodesGetOK) Code ¶ added in v1.18.0
func (o *NodesGetOK) Code() int
Code gets the status code for the nodes get o k response
func (*NodesGetOK) Error ¶
func (o *NodesGetOK) Error() string
func (*NodesGetOK) GetPayload ¶
func (o *NodesGetOK) GetPayload() *models.NodesStatusResponse
func (*NodesGetOK) IsClientError ¶ added in v1.18.0
func (o *NodesGetOK) IsClientError() bool
IsClientError returns true when this nodes get o k response has a 4xx status code
func (*NodesGetOK) IsCode ¶ added in v1.18.0
func (o *NodesGetOK) IsCode(code int) bool
IsCode returns true when this nodes get o k response a status code equal to that given
func (*NodesGetOK) IsRedirect ¶ added in v1.18.0
func (o *NodesGetOK) IsRedirect() bool
IsRedirect returns true when this nodes get o k response has a 3xx status code
func (*NodesGetOK) IsServerError ¶ added in v1.18.0
func (o *NodesGetOK) IsServerError() bool
IsServerError returns true when this nodes get o k response has a 5xx status code
func (*NodesGetOK) IsSuccess ¶ added in v1.18.0
func (o *NodesGetOK) IsSuccess() bool
IsSuccess returns true when this nodes get o k response has a 2xx status code
func (*NodesGetOK) String ¶ added in v1.18.0
func (o *NodesGetOK) String() string
type NodesGetParams ¶
type NodesGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NodesGetParams contains all the parameters to send to the API endpoint
for the nodes get operation. Typically these are written to a http.Request.
func NewNodesGetParams ¶
func NewNodesGetParams() *NodesGetParams
NewNodesGetParams creates a new NodesGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewNodesGetParamsWithContext ¶
func NewNodesGetParamsWithContext(ctx context.Context) *NodesGetParams
NewNodesGetParamsWithContext creates a new NodesGetParams object with the ability to set a context for a request.
func NewNodesGetParamsWithHTTPClient ¶
func NewNodesGetParamsWithHTTPClient(client *http.Client) *NodesGetParams
NewNodesGetParamsWithHTTPClient creates a new NodesGetParams object with the ability to set a custom HTTPClient for a request.
func NewNodesGetParamsWithTimeout ¶
func NewNodesGetParamsWithTimeout(timeout time.Duration) *NodesGetParams
NewNodesGetParamsWithTimeout creates a new NodesGetParams object with the ability to set a timeout on a request.
func (*NodesGetParams) SetContext ¶
func (o *NodesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the nodes get params
func (*NodesGetParams) SetDefaults ¶ added in v1.18.0
func (o *NodesGetParams) SetDefaults()
SetDefaults hydrates default values in the nodes get params (not the query body).
All values with no default are reset to their zero value.
func (*NodesGetParams) SetHTTPClient ¶
func (o *NodesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the nodes get params
func (*NodesGetParams) SetTimeout ¶
func (o *NodesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the nodes get params
func (*NodesGetParams) WithContext ¶
func (o *NodesGetParams) WithContext(ctx context.Context) *NodesGetParams
WithContext adds the context to the nodes get params
func (*NodesGetParams) WithDefaults ¶ added in v1.18.0
func (o *NodesGetParams) WithDefaults() *NodesGetParams
WithDefaults hydrates default values in the nodes get params (not the query body).
All values with no default are reset to their zero value.
func (*NodesGetParams) WithHTTPClient ¶
func (o *NodesGetParams) WithHTTPClient(client *http.Client) *NodesGetParams
WithHTTPClient adds the HTTPClient to the nodes get params
func (*NodesGetParams) WithTimeout ¶
func (o *NodesGetParams) WithTimeout(timeout time.Duration) *NodesGetParams
WithTimeout adds the timeout to the nodes get params
func (*NodesGetParams) WriteToRequest ¶
func (o *NodesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NodesGetReader ¶
type NodesGetReader struct {
// contains filtered or unexported fields
}
NodesGetReader is a Reader for the NodesGet structure.
func (*NodesGetReader) ReadResponse ¶
func (o *NodesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NodesGetUnauthorized ¶
type NodesGetUnauthorized struct { }
NodesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewNodesGetUnauthorized ¶
func NewNodesGetUnauthorized() *NodesGetUnauthorized
NewNodesGetUnauthorized creates a NodesGetUnauthorized with default headers values
func (*NodesGetUnauthorized) Code ¶ added in v1.18.0
func (o *NodesGetUnauthorized) Code() int
Code gets the status code for the nodes get unauthorized response
func (*NodesGetUnauthorized) Error ¶
func (o *NodesGetUnauthorized) Error() string
func (*NodesGetUnauthorized) IsClientError ¶ added in v1.18.0
func (o *NodesGetUnauthorized) IsClientError() bool
IsClientError returns true when this nodes get unauthorized response has a 4xx status code
func (*NodesGetUnauthorized) IsCode ¶ added in v1.18.0
func (o *NodesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this nodes get unauthorized response a status code equal to that given
func (*NodesGetUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *NodesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this nodes get unauthorized response has a 3xx status code
func (*NodesGetUnauthorized) IsServerError ¶ added in v1.18.0
func (o *NodesGetUnauthorized) IsServerError() bool
IsServerError returns true when this nodes get unauthorized response has a 5xx status code
func (*NodesGetUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *NodesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this nodes get unauthorized response has a 2xx status code
func (*NodesGetUnauthorized) String ¶ added in v1.18.0
func (o *NodesGetUnauthorized) String() string
type NodesGetUnprocessableEntity ¶
type NodesGetUnprocessableEntity struct {
Payload *models.ErrorResponse
}
NodesGetUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup restoration status attempt.
func NewNodesGetUnprocessableEntity ¶
func NewNodesGetUnprocessableEntity() *NodesGetUnprocessableEntity
NewNodesGetUnprocessableEntity creates a NodesGetUnprocessableEntity with default headers values
func (*NodesGetUnprocessableEntity) Code ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) Code() int
Code gets the status code for the nodes get unprocessable entity response
func (*NodesGetUnprocessableEntity) Error ¶
func (o *NodesGetUnprocessableEntity) Error() string
func (*NodesGetUnprocessableEntity) GetPayload ¶
func (o *NodesGetUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*NodesGetUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this nodes get unprocessable entity response has a 4xx status code
func (*NodesGetUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this nodes get unprocessable entity response a status code equal to that given
func (*NodesGetUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this nodes get unprocessable entity response has a 3xx status code
func (*NodesGetUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this nodes get unprocessable entity response has a 5xx status code
func (*NodesGetUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this nodes get unprocessable entity response has a 2xx status code
func (*NodesGetUnprocessableEntity) String ¶ added in v1.18.0
func (o *NodesGetUnprocessableEntity) String() string