Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ClusterGetStatisticsForbidden
- func (o *ClusterGetStatisticsForbidden) Code() int
- func (o *ClusterGetStatisticsForbidden) Error() string
- func (o *ClusterGetStatisticsForbidden) GetPayload() *models.ErrorResponse
- func (o *ClusterGetStatisticsForbidden) IsClientError() bool
- func (o *ClusterGetStatisticsForbidden) IsCode(code int) bool
- func (o *ClusterGetStatisticsForbidden) IsRedirect() bool
- func (o *ClusterGetStatisticsForbidden) IsServerError() bool
- func (o *ClusterGetStatisticsForbidden) IsSuccess() bool
- func (o *ClusterGetStatisticsForbidden) String() string
- type ClusterGetStatisticsInternalServerError
- func (o *ClusterGetStatisticsInternalServerError) Code() int
- func (o *ClusterGetStatisticsInternalServerError) Error() string
- func (o *ClusterGetStatisticsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ClusterGetStatisticsInternalServerError) IsClientError() bool
- func (o *ClusterGetStatisticsInternalServerError) IsCode(code int) bool
- func (o *ClusterGetStatisticsInternalServerError) IsRedirect() bool
- func (o *ClusterGetStatisticsInternalServerError) IsServerError() bool
- func (o *ClusterGetStatisticsInternalServerError) IsSuccess() bool
- func (o *ClusterGetStatisticsInternalServerError) String() string
- type ClusterGetStatisticsOK
- func (o *ClusterGetStatisticsOK) Code() int
- func (o *ClusterGetStatisticsOK) Error() string
- func (o *ClusterGetStatisticsOK) GetPayload() *models.ClusterStatisticsResponse
- func (o *ClusterGetStatisticsOK) IsClientError() bool
- func (o *ClusterGetStatisticsOK) IsCode(code int) bool
- func (o *ClusterGetStatisticsOK) IsRedirect() bool
- func (o *ClusterGetStatisticsOK) IsServerError() bool
- func (o *ClusterGetStatisticsOK) IsSuccess() bool
- func (o *ClusterGetStatisticsOK) String() string
- type ClusterGetStatisticsParams
- func NewClusterGetStatisticsParams() *ClusterGetStatisticsParams
- func NewClusterGetStatisticsParamsWithContext(ctx context.Context) *ClusterGetStatisticsParams
- func NewClusterGetStatisticsParamsWithHTTPClient(client *http.Client) *ClusterGetStatisticsParams
- func NewClusterGetStatisticsParamsWithTimeout(timeout time.Duration) *ClusterGetStatisticsParams
- func (o *ClusterGetStatisticsParams) SetContext(ctx context.Context)
- func (o *ClusterGetStatisticsParams) SetDefaults()
- func (o *ClusterGetStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *ClusterGetStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *ClusterGetStatisticsParams) WithContext(ctx context.Context) *ClusterGetStatisticsParams
- func (o *ClusterGetStatisticsParams) WithDefaults() *ClusterGetStatisticsParams
- func (o *ClusterGetStatisticsParams) WithHTTPClient(client *http.Client) *ClusterGetStatisticsParams
- func (o *ClusterGetStatisticsParams) WithTimeout(timeout time.Duration) *ClusterGetStatisticsParams
- func (o *ClusterGetStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterGetStatisticsReader
- type ClusterGetStatisticsUnauthorized
- func (o *ClusterGetStatisticsUnauthorized) Code() int
- func (o *ClusterGetStatisticsUnauthorized) Error() string
- func (o *ClusterGetStatisticsUnauthorized) IsClientError() bool
- func (o *ClusterGetStatisticsUnauthorized) IsCode(code int) bool
- func (o *ClusterGetStatisticsUnauthorized) IsRedirect() bool
- func (o *ClusterGetStatisticsUnauthorized) IsServerError() bool
- func (o *ClusterGetStatisticsUnauthorized) IsSuccess() bool
- func (o *ClusterGetStatisticsUnauthorized) String() string
- type ClusterGetStatisticsUnprocessableEntity
- func (o *ClusterGetStatisticsUnprocessableEntity) Code() int
- func (o *ClusterGetStatisticsUnprocessableEntity) Error() string
- func (o *ClusterGetStatisticsUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ClusterGetStatisticsUnprocessableEntity) IsClientError() bool
- func (o *ClusterGetStatisticsUnprocessableEntity) IsCode(code int) bool
- func (o *ClusterGetStatisticsUnprocessableEntity) IsRedirect() bool
- func (o *ClusterGetStatisticsUnprocessableEntity) IsServerError() bool
- func (o *ClusterGetStatisticsUnprocessableEntity) IsSuccess() bool
- func (o *ClusterGetStatisticsUnprocessableEntity) 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 cluster API
func (*Client) ClusterGetStatistics ¶
func (a *Client) ClusterGetStatistics(params *ClusterGetStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterGetStatisticsOK, error)
ClusterGetStatistics sees raft cluster statistics
Returns Raft cluster statistics of Weaviate DB.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ClusterGetStatistics(params *ClusterGetStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterGetStatisticsOK, 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 cluster API client.
type ClusterGetStatisticsForbidden ¶
type ClusterGetStatisticsForbidden struct {
Payload *models.ErrorResponse
}
ClusterGetStatisticsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewClusterGetStatisticsForbidden ¶
func NewClusterGetStatisticsForbidden() *ClusterGetStatisticsForbidden
NewClusterGetStatisticsForbidden creates a ClusterGetStatisticsForbidden with default headers values
func (*ClusterGetStatisticsForbidden) Code ¶
func (o *ClusterGetStatisticsForbidden) Code() int
Code gets the status code for the cluster get statistics forbidden response
func (*ClusterGetStatisticsForbidden) Error ¶
func (o *ClusterGetStatisticsForbidden) Error() string
func (*ClusterGetStatisticsForbidden) GetPayload ¶
func (o *ClusterGetStatisticsForbidden) GetPayload() *models.ErrorResponse
func (*ClusterGetStatisticsForbidden) IsClientError ¶
func (o *ClusterGetStatisticsForbidden) IsClientError() bool
IsClientError returns true when this cluster get statistics forbidden response has a 4xx status code
func (*ClusterGetStatisticsForbidden) IsCode ¶
func (o *ClusterGetStatisticsForbidden) IsCode(code int) bool
IsCode returns true when this cluster get statistics forbidden response a status code equal to that given
func (*ClusterGetStatisticsForbidden) IsRedirect ¶
func (o *ClusterGetStatisticsForbidden) IsRedirect() bool
IsRedirect returns true when this cluster get statistics forbidden response has a 3xx status code
func (*ClusterGetStatisticsForbidden) IsServerError ¶
func (o *ClusterGetStatisticsForbidden) IsServerError() bool
IsServerError returns true when this cluster get statistics forbidden response has a 5xx status code
func (*ClusterGetStatisticsForbidden) IsSuccess ¶
func (o *ClusterGetStatisticsForbidden) IsSuccess() bool
IsSuccess returns true when this cluster get statistics forbidden response has a 2xx status code
func (*ClusterGetStatisticsForbidden) String ¶
func (o *ClusterGetStatisticsForbidden) String() string
type ClusterGetStatisticsInternalServerError ¶
type ClusterGetStatisticsInternalServerError struct {
Payload *models.ErrorResponse
}
ClusterGetStatisticsInternalServerError 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 NewClusterGetStatisticsInternalServerError ¶
func NewClusterGetStatisticsInternalServerError() *ClusterGetStatisticsInternalServerError
NewClusterGetStatisticsInternalServerError creates a ClusterGetStatisticsInternalServerError with default headers values
func (*ClusterGetStatisticsInternalServerError) Code ¶
func (o *ClusterGetStatisticsInternalServerError) Code() int
Code gets the status code for the cluster get statistics internal server error response
func (*ClusterGetStatisticsInternalServerError) Error ¶
func (o *ClusterGetStatisticsInternalServerError) Error() string
func (*ClusterGetStatisticsInternalServerError) GetPayload ¶
func (o *ClusterGetStatisticsInternalServerError) GetPayload() *models.ErrorResponse
func (*ClusterGetStatisticsInternalServerError) IsClientError ¶
func (o *ClusterGetStatisticsInternalServerError) IsClientError() bool
IsClientError returns true when this cluster get statistics internal server error response has a 4xx status code
func (*ClusterGetStatisticsInternalServerError) IsCode ¶
func (o *ClusterGetStatisticsInternalServerError) IsCode(code int) bool
IsCode returns true when this cluster get statistics internal server error response a status code equal to that given
func (*ClusterGetStatisticsInternalServerError) IsRedirect ¶
func (o *ClusterGetStatisticsInternalServerError) IsRedirect() bool
IsRedirect returns true when this cluster get statistics internal server error response has a 3xx status code
func (*ClusterGetStatisticsInternalServerError) IsServerError ¶
func (o *ClusterGetStatisticsInternalServerError) IsServerError() bool
IsServerError returns true when this cluster get statistics internal server error response has a 5xx status code
func (*ClusterGetStatisticsInternalServerError) IsSuccess ¶
func (o *ClusterGetStatisticsInternalServerError) IsSuccess() bool
IsSuccess returns true when this cluster get statistics internal server error response has a 2xx status code
func (*ClusterGetStatisticsInternalServerError) String ¶
func (o *ClusterGetStatisticsInternalServerError) String() string
type ClusterGetStatisticsOK ¶
type ClusterGetStatisticsOK struct {
Payload *models.ClusterStatisticsResponse
}
ClusterGetStatisticsOK describes a response with status code 200, with default header values.
Cluster statistics successfully returned
func NewClusterGetStatisticsOK ¶
func NewClusterGetStatisticsOK() *ClusterGetStatisticsOK
NewClusterGetStatisticsOK creates a ClusterGetStatisticsOK with default headers values
func (*ClusterGetStatisticsOK) Code ¶
func (o *ClusterGetStatisticsOK) Code() int
Code gets the status code for the cluster get statistics o k response
func (*ClusterGetStatisticsOK) Error ¶
func (o *ClusterGetStatisticsOK) Error() string
func (*ClusterGetStatisticsOK) GetPayload ¶
func (o *ClusterGetStatisticsOK) GetPayload() *models.ClusterStatisticsResponse
func (*ClusterGetStatisticsOK) IsClientError ¶
func (o *ClusterGetStatisticsOK) IsClientError() bool
IsClientError returns true when this cluster get statistics o k response has a 4xx status code
func (*ClusterGetStatisticsOK) IsCode ¶
func (o *ClusterGetStatisticsOK) IsCode(code int) bool
IsCode returns true when this cluster get statistics o k response a status code equal to that given
func (*ClusterGetStatisticsOK) IsRedirect ¶
func (o *ClusterGetStatisticsOK) IsRedirect() bool
IsRedirect returns true when this cluster get statistics o k response has a 3xx status code
func (*ClusterGetStatisticsOK) IsServerError ¶
func (o *ClusterGetStatisticsOK) IsServerError() bool
IsServerError returns true when this cluster get statistics o k response has a 5xx status code
func (*ClusterGetStatisticsOK) IsSuccess ¶
func (o *ClusterGetStatisticsOK) IsSuccess() bool
IsSuccess returns true when this cluster get statistics o k response has a 2xx status code
func (*ClusterGetStatisticsOK) String ¶
func (o *ClusterGetStatisticsOK) String() string
type ClusterGetStatisticsParams ¶
type ClusterGetStatisticsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterGetStatisticsParams contains all the parameters to send to the API endpoint
for the cluster get statistics operation. Typically these are written to a http.Request.
func NewClusterGetStatisticsParams ¶
func NewClusterGetStatisticsParams() *ClusterGetStatisticsParams
NewClusterGetStatisticsParams creates a new ClusterGetStatisticsParams 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 NewClusterGetStatisticsParamsWithContext ¶
func NewClusterGetStatisticsParamsWithContext(ctx context.Context) *ClusterGetStatisticsParams
NewClusterGetStatisticsParamsWithContext creates a new ClusterGetStatisticsParams object with the ability to set a context for a request.
func NewClusterGetStatisticsParamsWithHTTPClient ¶
func NewClusterGetStatisticsParamsWithHTTPClient(client *http.Client) *ClusterGetStatisticsParams
NewClusterGetStatisticsParamsWithHTTPClient creates a new ClusterGetStatisticsParams object with the ability to set a custom HTTPClient for a request.
func NewClusterGetStatisticsParamsWithTimeout ¶
func NewClusterGetStatisticsParamsWithTimeout(timeout time.Duration) *ClusterGetStatisticsParams
NewClusterGetStatisticsParamsWithTimeout creates a new ClusterGetStatisticsParams object with the ability to set a timeout on a request.
func (*ClusterGetStatisticsParams) SetContext ¶
func (o *ClusterGetStatisticsParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster get statistics params
func (*ClusterGetStatisticsParams) SetDefaults ¶
func (o *ClusterGetStatisticsParams) SetDefaults()
SetDefaults hydrates default values in the cluster get statistics params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterGetStatisticsParams) SetHTTPClient ¶
func (o *ClusterGetStatisticsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster get statistics params
func (*ClusterGetStatisticsParams) SetTimeout ¶
func (o *ClusterGetStatisticsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster get statistics params
func (*ClusterGetStatisticsParams) WithContext ¶
func (o *ClusterGetStatisticsParams) WithContext(ctx context.Context) *ClusterGetStatisticsParams
WithContext adds the context to the cluster get statistics params
func (*ClusterGetStatisticsParams) WithDefaults ¶
func (o *ClusterGetStatisticsParams) WithDefaults() *ClusterGetStatisticsParams
WithDefaults hydrates default values in the cluster get statistics params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterGetStatisticsParams) WithHTTPClient ¶
func (o *ClusterGetStatisticsParams) WithHTTPClient(client *http.Client) *ClusterGetStatisticsParams
WithHTTPClient adds the HTTPClient to the cluster get statistics params
func (*ClusterGetStatisticsParams) WithTimeout ¶
func (o *ClusterGetStatisticsParams) WithTimeout(timeout time.Duration) *ClusterGetStatisticsParams
WithTimeout adds the timeout to the cluster get statistics params
func (*ClusterGetStatisticsParams) WriteToRequest ¶
func (o *ClusterGetStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterGetStatisticsReader ¶
type ClusterGetStatisticsReader struct {
// contains filtered or unexported fields
}
ClusterGetStatisticsReader is a Reader for the ClusterGetStatistics structure.
func (*ClusterGetStatisticsReader) ReadResponse ¶
func (o *ClusterGetStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterGetStatisticsUnauthorized ¶
type ClusterGetStatisticsUnauthorized struct { }
ClusterGetStatisticsUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewClusterGetStatisticsUnauthorized ¶
func NewClusterGetStatisticsUnauthorized() *ClusterGetStatisticsUnauthorized
NewClusterGetStatisticsUnauthorized creates a ClusterGetStatisticsUnauthorized with default headers values
func (*ClusterGetStatisticsUnauthorized) Code ¶
func (o *ClusterGetStatisticsUnauthorized) Code() int
Code gets the status code for the cluster get statistics unauthorized response
func (*ClusterGetStatisticsUnauthorized) Error ¶
func (o *ClusterGetStatisticsUnauthorized) Error() string
func (*ClusterGetStatisticsUnauthorized) IsClientError ¶
func (o *ClusterGetStatisticsUnauthorized) IsClientError() bool
IsClientError returns true when this cluster get statistics unauthorized response has a 4xx status code
func (*ClusterGetStatisticsUnauthorized) IsCode ¶
func (o *ClusterGetStatisticsUnauthorized) IsCode(code int) bool
IsCode returns true when this cluster get statistics unauthorized response a status code equal to that given
func (*ClusterGetStatisticsUnauthorized) IsRedirect ¶
func (o *ClusterGetStatisticsUnauthorized) IsRedirect() bool
IsRedirect returns true when this cluster get statistics unauthorized response has a 3xx status code
func (*ClusterGetStatisticsUnauthorized) IsServerError ¶
func (o *ClusterGetStatisticsUnauthorized) IsServerError() bool
IsServerError returns true when this cluster get statistics unauthorized response has a 5xx status code
func (*ClusterGetStatisticsUnauthorized) IsSuccess ¶
func (o *ClusterGetStatisticsUnauthorized) IsSuccess() bool
IsSuccess returns true when this cluster get statistics unauthorized response has a 2xx status code
func (*ClusterGetStatisticsUnauthorized) String ¶
func (o *ClusterGetStatisticsUnauthorized) String() string
type ClusterGetStatisticsUnprocessableEntity ¶
type ClusterGetStatisticsUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ClusterGetStatisticsUnprocessableEntity describes a response with status code 422, with default header values.
Invalid backup restoration status attempt.
func NewClusterGetStatisticsUnprocessableEntity ¶
func NewClusterGetStatisticsUnprocessableEntity() *ClusterGetStatisticsUnprocessableEntity
NewClusterGetStatisticsUnprocessableEntity creates a ClusterGetStatisticsUnprocessableEntity with default headers values
func (*ClusterGetStatisticsUnprocessableEntity) Code ¶
func (o *ClusterGetStatisticsUnprocessableEntity) Code() int
Code gets the status code for the cluster get statistics unprocessable entity response
func (*ClusterGetStatisticsUnprocessableEntity) Error ¶
func (o *ClusterGetStatisticsUnprocessableEntity) Error() string
func (*ClusterGetStatisticsUnprocessableEntity) GetPayload ¶
func (o *ClusterGetStatisticsUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ClusterGetStatisticsUnprocessableEntity) IsClientError ¶
func (o *ClusterGetStatisticsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this cluster get statistics unprocessable entity response has a 4xx status code
func (*ClusterGetStatisticsUnprocessableEntity) IsCode ¶
func (o *ClusterGetStatisticsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this cluster get statistics unprocessable entity response a status code equal to that given
func (*ClusterGetStatisticsUnprocessableEntity) IsRedirect ¶
func (o *ClusterGetStatisticsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this cluster get statistics unprocessable entity response has a 3xx status code
func (*ClusterGetStatisticsUnprocessableEntity) IsServerError ¶
func (o *ClusterGetStatisticsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this cluster get statistics unprocessable entity response has a 5xx status code
func (*ClusterGetStatisticsUnprocessableEntity) IsSuccess ¶
func (o *ClusterGetStatisticsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this cluster get statistics unprocessable entity response has a 2xx status code
func (*ClusterGetStatisticsUnprocessableEntity) String ¶
func (o *ClusterGetStatisticsUnprocessableEntity) String() string