Documentation
¶
Index ¶
- type Client
- type ClientService
- type MetaGetForbidden
- type MetaGetInternalServerError
- type MetaGetOK
- type MetaGetParams
- func (o *MetaGetParams) SetContext(ctx context.Context)
- func (o *MetaGetParams) SetHTTPClient(client *http.Client)
- func (o *MetaGetParams) SetTimeout(timeout time.Duration)
- func (o *MetaGetParams) WithContext(ctx context.Context) *MetaGetParams
- func (o *MetaGetParams) WithHTTPClient(client *http.Client) *MetaGetParams
- func (o *MetaGetParams) WithTimeout(timeout time.Duration) *MetaGetParams
- func (o *MetaGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MetaGetReader
- type MetaGetUnauthorized
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 meta API
func (*Client) MetaGet ¶
func (a *Client) MetaGet(params *MetaGetParams, authInfo runtime.ClientAuthInfoWriter) (*MetaGetOK, error)
MetaGet returns meta information of the current weaviate instance
Gives meta information about the server and can be used to provide information to another Weaviate instance that wants to interact with the current instance.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { MetaGet(params *MetaGetParams, authInfo runtime.ClientAuthInfoWriter) (*MetaGetOK, 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 meta API client.
type MetaGetForbidden ¶
type MetaGetForbidden struct {
Payload *models.ErrorResponse
}
MetaGetForbidden handles this case with default header values.
Forbidden
func NewMetaGetForbidden ¶
func NewMetaGetForbidden() *MetaGetForbidden
NewMetaGetForbidden creates a MetaGetForbidden with default headers values
func (*MetaGetForbidden) Error ¶
func (o *MetaGetForbidden) Error() string
func (*MetaGetForbidden) GetPayload ¶
func (o *MetaGetForbidden) GetPayload() *models.ErrorResponse
type MetaGetInternalServerError ¶
type MetaGetInternalServerError struct {
Payload *models.ErrorResponse
}
MetaGetInternalServerError handles this case 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 NewMetaGetInternalServerError ¶
func NewMetaGetInternalServerError() *MetaGetInternalServerError
NewMetaGetInternalServerError creates a MetaGetInternalServerError with default headers values
func (*MetaGetInternalServerError) Error ¶
func (o *MetaGetInternalServerError) Error() string
func (*MetaGetInternalServerError) GetPayload ¶
func (o *MetaGetInternalServerError) GetPayload() *models.ErrorResponse
type MetaGetOK ¶
MetaGetOK handles this case with default header values.
Successful response.
func NewMetaGetOK ¶
func NewMetaGetOK() *MetaGetOK
NewMetaGetOK creates a MetaGetOK with default headers values
func (*MetaGetOK) GetPayload ¶
type MetaGetParams ¶
type MetaGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MetaGetParams contains all the parameters to send to the API endpoint for the meta get operation typically these are written to a http.Request
func NewMetaGetParams ¶
func NewMetaGetParams() *MetaGetParams
NewMetaGetParams creates a new MetaGetParams object with the default values initialized.
func NewMetaGetParamsWithContext ¶
func NewMetaGetParamsWithContext(ctx context.Context) *MetaGetParams
NewMetaGetParamsWithContext creates a new MetaGetParams object with the default values initialized, and the ability to set a context for a request
func NewMetaGetParamsWithHTTPClient ¶
func NewMetaGetParamsWithHTTPClient(client *http.Client) *MetaGetParams
NewMetaGetParamsWithHTTPClient creates a new MetaGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMetaGetParamsWithTimeout ¶
func NewMetaGetParamsWithTimeout(timeout time.Duration) *MetaGetParams
NewMetaGetParamsWithTimeout creates a new MetaGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*MetaGetParams) SetContext ¶
func (o *MetaGetParams) SetContext(ctx context.Context)
SetContext adds the context to the meta get params
func (*MetaGetParams) SetHTTPClient ¶
func (o *MetaGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the meta get params
func (*MetaGetParams) SetTimeout ¶
func (o *MetaGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the meta get params
func (*MetaGetParams) WithContext ¶
func (o *MetaGetParams) WithContext(ctx context.Context) *MetaGetParams
WithContext adds the context to the meta get params
func (*MetaGetParams) WithHTTPClient ¶
func (o *MetaGetParams) WithHTTPClient(client *http.Client) *MetaGetParams
WithHTTPClient adds the HTTPClient to the meta get params
func (*MetaGetParams) WithTimeout ¶
func (o *MetaGetParams) WithTimeout(timeout time.Duration) *MetaGetParams
WithTimeout adds the timeout to the meta get params
func (*MetaGetParams) WriteToRequest ¶
func (o *MetaGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MetaGetReader ¶
type MetaGetReader struct {
// contains filtered or unexported fields
}
MetaGetReader is a Reader for the MetaGet structure.
func (*MetaGetReader) ReadResponse ¶
func (o *MetaGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MetaGetUnauthorized ¶
type MetaGetUnauthorized struct { }
MetaGetUnauthorized handles this case with default header values.
Unauthorized or invalid credentials.
func NewMetaGetUnauthorized ¶
func NewMetaGetUnauthorized() *MetaGetUnauthorized
NewMetaGetUnauthorized creates a MetaGetUnauthorized with default headers values
func (*MetaGetUnauthorized) Error ¶
func (o *MetaGetUnauthorized) Error() string