Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) WeaviateRoot(params *WeaviateRootParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateRootOK, error)
- func (a *Client) WeaviateWellknownLiveness(params *WeaviateWellknownLivenessParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateWellknownLivenessOK, error)
- func (a *Client) WeaviateWellknownReadiness(params *WeaviateWellknownReadinessParams, ...) (*WeaviateWellknownReadinessOK, error)
- type ClientService
- type WeaviateRootOK
- type WeaviateRootOKBody
- type WeaviateRootParams
- func (o *WeaviateRootParams) SetContext(ctx context.Context)
- func (o *WeaviateRootParams) SetHTTPClient(client *http.Client)
- func (o *WeaviateRootParams) SetTimeout(timeout time.Duration)
- func (o *WeaviateRootParams) WithContext(ctx context.Context) *WeaviateRootParams
- func (o *WeaviateRootParams) WithHTTPClient(client *http.Client) *WeaviateRootParams
- func (o *WeaviateRootParams) WithTimeout(timeout time.Duration) *WeaviateRootParams
- func (o *WeaviateRootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WeaviateRootReader
- type WeaviateWellknownLivenessOK
- type WeaviateWellknownLivenessParams
- func NewWeaviateWellknownLivenessParams() *WeaviateWellknownLivenessParams
- func NewWeaviateWellknownLivenessParamsWithContext(ctx context.Context) *WeaviateWellknownLivenessParams
- func NewWeaviateWellknownLivenessParamsWithHTTPClient(client *http.Client) *WeaviateWellknownLivenessParams
- func NewWeaviateWellknownLivenessParamsWithTimeout(timeout time.Duration) *WeaviateWellknownLivenessParams
- func (o *WeaviateWellknownLivenessParams) SetContext(ctx context.Context)
- func (o *WeaviateWellknownLivenessParams) SetHTTPClient(client *http.Client)
- func (o *WeaviateWellknownLivenessParams) SetTimeout(timeout time.Duration)
- func (o *WeaviateWellknownLivenessParams) WithContext(ctx context.Context) *WeaviateWellknownLivenessParams
- func (o *WeaviateWellknownLivenessParams) WithHTTPClient(client *http.Client) *WeaviateWellknownLivenessParams
- func (o *WeaviateWellknownLivenessParams) WithTimeout(timeout time.Duration) *WeaviateWellknownLivenessParams
- func (o *WeaviateWellknownLivenessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WeaviateWellknownLivenessReader
- type WeaviateWellknownReadinessOK
- type WeaviateWellknownReadinessParams
- func NewWeaviateWellknownReadinessParams() *WeaviateWellknownReadinessParams
- func NewWeaviateWellknownReadinessParamsWithContext(ctx context.Context) *WeaviateWellknownReadinessParams
- func NewWeaviateWellknownReadinessParamsWithHTTPClient(client *http.Client) *WeaviateWellknownReadinessParams
- func NewWeaviateWellknownReadinessParamsWithTimeout(timeout time.Duration) *WeaviateWellknownReadinessParams
- func (o *WeaviateWellknownReadinessParams) SetContext(ctx context.Context)
- func (o *WeaviateWellknownReadinessParams) SetHTTPClient(client *http.Client)
- func (o *WeaviateWellknownReadinessParams) SetTimeout(timeout time.Duration)
- func (o *WeaviateWellknownReadinessParams) WithContext(ctx context.Context) *WeaviateWellknownReadinessParams
- func (o *WeaviateWellknownReadinessParams) WithHTTPClient(client *http.Client) *WeaviateWellknownReadinessParams
- func (o *WeaviateWellknownReadinessParams) WithTimeout(timeout time.Duration) *WeaviateWellknownReadinessParams
- func (o *WeaviateWellknownReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WeaviateWellknownReadinessReader
- type WeaviateWellknownReadinessServiceUnavailable
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 operations API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) WeaviateRoot ¶
func (a *Client) WeaviateRoot(params *WeaviateRootParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateRootOK, error)
WeaviateRoot Home. Discover the REST API
func (*Client) WeaviateWellknownLiveness ¶
func (a *Client) WeaviateWellknownLiveness(params *WeaviateWellknownLivenessParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateWellknownLivenessOK, error)
WeaviateWellknownLiveness Determines whether the application is alive. Can be used for kubernetes liveness probe
func (*Client) WeaviateWellknownReadiness ¶
func (a *Client) WeaviateWellknownReadiness(params *WeaviateWellknownReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateWellknownReadinessOK, error)
WeaviateWellknownReadiness Determines whether the application is ready to receive traffic. Can be used for kubernetes readiness probe.
type ClientService ¶
type ClientService interface { WeaviateRoot(params *WeaviateRootParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateRootOK, error) WeaviateWellknownLiveness(params *WeaviateWellknownLivenessParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateWellknownLivenessOK, error) WeaviateWellknownReadiness(params *WeaviateWellknownReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*WeaviateWellknownReadinessOK, 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 operations API client.
type WeaviateRootOK ¶
type WeaviateRootOK struct {
Payload *WeaviateRootOKBody
}
WeaviateRootOK handles this case with default header values.
Weaviate is alive and ready to serve content
func NewWeaviateRootOK ¶
func NewWeaviateRootOK() *WeaviateRootOK
NewWeaviateRootOK creates a WeaviateRootOK with default headers values
func (*WeaviateRootOK) Error ¶
func (o *WeaviateRootOK) Error() string
func (*WeaviateRootOK) GetPayload ¶
func (o *WeaviateRootOK) GetPayload() *WeaviateRootOKBody
type WeaviateRootOKBody ¶
WeaviateRootOKBody weaviate root o k body swagger:model WeaviateRootOKBody
func (*WeaviateRootOKBody) MarshalBinary ¶
func (o *WeaviateRootOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WeaviateRootOKBody) UnmarshalBinary ¶
func (o *WeaviateRootOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WeaviateRootParams ¶
type WeaviateRootParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WeaviateRootParams contains all the parameters to send to the API endpoint for the weaviate root operation typically these are written to a http.Request
func NewWeaviateRootParams ¶
func NewWeaviateRootParams() *WeaviateRootParams
NewWeaviateRootParams creates a new WeaviateRootParams object with the default values initialized.
func NewWeaviateRootParamsWithContext ¶
func NewWeaviateRootParamsWithContext(ctx context.Context) *WeaviateRootParams
NewWeaviateRootParamsWithContext creates a new WeaviateRootParams object with the default values initialized, and the ability to set a context for a request
func NewWeaviateRootParamsWithHTTPClient ¶
func NewWeaviateRootParamsWithHTTPClient(client *http.Client) *WeaviateRootParams
NewWeaviateRootParamsWithHTTPClient creates a new WeaviateRootParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWeaviateRootParamsWithTimeout ¶
func NewWeaviateRootParamsWithTimeout(timeout time.Duration) *WeaviateRootParams
NewWeaviateRootParamsWithTimeout creates a new WeaviateRootParams object with the default values initialized, and the ability to set a timeout on a request
func (*WeaviateRootParams) SetContext ¶
func (o *WeaviateRootParams) SetContext(ctx context.Context)
SetContext adds the context to the weaviate root params
func (*WeaviateRootParams) SetHTTPClient ¶
func (o *WeaviateRootParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the weaviate root params
func (*WeaviateRootParams) SetTimeout ¶
func (o *WeaviateRootParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the weaviate root params
func (*WeaviateRootParams) WithContext ¶
func (o *WeaviateRootParams) WithContext(ctx context.Context) *WeaviateRootParams
WithContext adds the context to the weaviate root params
func (*WeaviateRootParams) WithHTTPClient ¶
func (o *WeaviateRootParams) WithHTTPClient(client *http.Client) *WeaviateRootParams
WithHTTPClient adds the HTTPClient to the weaviate root params
func (*WeaviateRootParams) WithTimeout ¶
func (o *WeaviateRootParams) WithTimeout(timeout time.Duration) *WeaviateRootParams
WithTimeout adds the timeout to the weaviate root params
func (*WeaviateRootParams) WriteToRequest ¶
func (o *WeaviateRootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WeaviateRootReader ¶
type WeaviateRootReader struct {
// contains filtered or unexported fields
}
WeaviateRootReader is a Reader for the WeaviateRoot structure.
func (*WeaviateRootReader) ReadResponse ¶
func (o *WeaviateRootReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WeaviateWellknownLivenessOK ¶
type WeaviateWellknownLivenessOK struct { }
WeaviateWellknownLivenessOK handles this case with default header values.
The application is able to respond to HTTP requests
func NewWeaviateWellknownLivenessOK ¶
func NewWeaviateWellknownLivenessOK() *WeaviateWellknownLivenessOK
NewWeaviateWellknownLivenessOK creates a WeaviateWellknownLivenessOK with default headers values
func (*WeaviateWellknownLivenessOK) Error ¶
func (o *WeaviateWellknownLivenessOK) Error() string
type WeaviateWellknownLivenessParams ¶
type WeaviateWellknownLivenessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WeaviateWellknownLivenessParams contains all the parameters to send to the API endpoint for the weaviate wellknown liveness operation typically these are written to a http.Request
func NewWeaviateWellknownLivenessParams ¶
func NewWeaviateWellknownLivenessParams() *WeaviateWellknownLivenessParams
NewWeaviateWellknownLivenessParams creates a new WeaviateWellknownLivenessParams object with the default values initialized.
func NewWeaviateWellknownLivenessParamsWithContext ¶
func NewWeaviateWellknownLivenessParamsWithContext(ctx context.Context) *WeaviateWellknownLivenessParams
NewWeaviateWellknownLivenessParamsWithContext creates a new WeaviateWellknownLivenessParams object with the default values initialized, and the ability to set a context for a request
func NewWeaviateWellknownLivenessParamsWithHTTPClient ¶
func NewWeaviateWellknownLivenessParamsWithHTTPClient(client *http.Client) *WeaviateWellknownLivenessParams
NewWeaviateWellknownLivenessParamsWithHTTPClient creates a new WeaviateWellknownLivenessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWeaviateWellknownLivenessParamsWithTimeout ¶
func NewWeaviateWellknownLivenessParamsWithTimeout(timeout time.Duration) *WeaviateWellknownLivenessParams
NewWeaviateWellknownLivenessParamsWithTimeout creates a new WeaviateWellknownLivenessParams object with the default values initialized, and the ability to set a timeout on a request
func (*WeaviateWellknownLivenessParams) SetContext ¶
func (o *WeaviateWellknownLivenessParams) SetContext(ctx context.Context)
SetContext adds the context to the weaviate wellknown liveness params
func (*WeaviateWellknownLivenessParams) SetHTTPClient ¶
func (o *WeaviateWellknownLivenessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the weaviate wellknown liveness params
func (*WeaviateWellknownLivenessParams) SetTimeout ¶
func (o *WeaviateWellknownLivenessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the weaviate wellknown liveness params
func (*WeaviateWellknownLivenessParams) WithContext ¶
func (o *WeaviateWellknownLivenessParams) WithContext(ctx context.Context) *WeaviateWellknownLivenessParams
WithContext adds the context to the weaviate wellknown liveness params
func (*WeaviateWellknownLivenessParams) WithHTTPClient ¶
func (o *WeaviateWellknownLivenessParams) WithHTTPClient(client *http.Client) *WeaviateWellknownLivenessParams
WithHTTPClient adds the HTTPClient to the weaviate wellknown liveness params
func (*WeaviateWellknownLivenessParams) WithTimeout ¶
func (o *WeaviateWellknownLivenessParams) WithTimeout(timeout time.Duration) *WeaviateWellknownLivenessParams
WithTimeout adds the timeout to the weaviate wellknown liveness params
func (*WeaviateWellknownLivenessParams) WriteToRequest ¶
func (o *WeaviateWellknownLivenessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WeaviateWellknownLivenessReader ¶
type WeaviateWellknownLivenessReader struct {
// contains filtered or unexported fields
}
WeaviateWellknownLivenessReader is a Reader for the WeaviateWellknownLiveness structure.
func (*WeaviateWellknownLivenessReader) ReadResponse ¶
func (o *WeaviateWellknownLivenessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WeaviateWellknownReadinessOK ¶
type WeaviateWellknownReadinessOK struct { }
WeaviateWellknownReadinessOK handles this case with default header values.
The application has completed its start-up routine and is ready to accept traffic.
func NewWeaviateWellknownReadinessOK ¶
func NewWeaviateWellknownReadinessOK() *WeaviateWellknownReadinessOK
NewWeaviateWellknownReadinessOK creates a WeaviateWellknownReadinessOK with default headers values
func (*WeaviateWellknownReadinessOK) Error ¶
func (o *WeaviateWellknownReadinessOK) Error() string
type WeaviateWellknownReadinessParams ¶
type WeaviateWellknownReadinessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WeaviateWellknownReadinessParams contains all the parameters to send to the API endpoint for the weaviate wellknown readiness operation typically these are written to a http.Request
func NewWeaviateWellknownReadinessParams ¶
func NewWeaviateWellknownReadinessParams() *WeaviateWellknownReadinessParams
NewWeaviateWellknownReadinessParams creates a new WeaviateWellknownReadinessParams object with the default values initialized.
func NewWeaviateWellknownReadinessParamsWithContext ¶
func NewWeaviateWellknownReadinessParamsWithContext(ctx context.Context) *WeaviateWellknownReadinessParams
NewWeaviateWellknownReadinessParamsWithContext creates a new WeaviateWellknownReadinessParams object with the default values initialized, and the ability to set a context for a request
func NewWeaviateWellknownReadinessParamsWithHTTPClient ¶
func NewWeaviateWellknownReadinessParamsWithHTTPClient(client *http.Client) *WeaviateWellknownReadinessParams
NewWeaviateWellknownReadinessParamsWithHTTPClient creates a new WeaviateWellknownReadinessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWeaviateWellknownReadinessParamsWithTimeout ¶
func NewWeaviateWellknownReadinessParamsWithTimeout(timeout time.Duration) *WeaviateWellknownReadinessParams
NewWeaviateWellknownReadinessParamsWithTimeout creates a new WeaviateWellknownReadinessParams object with the default values initialized, and the ability to set a timeout on a request
func (*WeaviateWellknownReadinessParams) SetContext ¶
func (o *WeaviateWellknownReadinessParams) SetContext(ctx context.Context)
SetContext adds the context to the weaviate wellknown readiness params
func (*WeaviateWellknownReadinessParams) SetHTTPClient ¶
func (o *WeaviateWellknownReadinessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the weaviate wellknown readiness params
func (*WeaviateWellknownReadinessParams) SetTimeout ¶
func (o *WeaviateWellknownReadinessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the weaviate wellknown readiness params
func (*WeaviateWellknownReadinessParams) WithContext ¶
func (o *WeaviateWellknownReadinessParams) WithContext(ctx context.Context) *WeaviateWellknownReadinessParams
WithContext adds the context to the weaviate wellknown readiness params
func (*WeaviateWellknownReadinessParams) WithHTTPClient ¶
func (o *WeaviateWellknownReadinessParams) WithHTTPClient(client *http.Client) *WeaviateWellknownReadinessParams
WithHTTPClient adds the HTTPClient to the weaviate wellknown readiness params
func (*WeaviateWellknownReadinessParams) WithTimeout ¶
func (o *WeaviateWellknownReadinessParams) WithTimeout(timeout time.Duration) *WeaviateWellknownReadinessParams
WithTimeout adds the timeout to the weaviate wellknown readiness params
func (*WeaviateWellknownReadinessParams) WriteToRequest ¶
func (o *WeaviateWellknownReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WeaviateWellknownReadinessReader ¶
type WeaviateWellknownReadinessReader struct {
// contains filtered or unexported fields
}
WeaviateWellknownReadinessReader is a Reader for the WeaviateWellknownReadiness structure.
func (*WeaviateWellknownReadinessReader) ReadResponse ¶
func (o *WeaviateWellknownReadinessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WeaviateWellknownReadinessServiceUnavailable ¶
type WeaviateWellknownReadinessServiceUnavailable struct { }
WeaviateWellknownReadinessServiceUnavailable handles this case with default header values.
The application is currently not able to serve traffic. If other horizontal replicas of weaviate are available and they are capable of receiving traffic, all traffic should be redirected there instead.
func NewWeaviateWellknownReadinessServiceUnavailable ¶
func NewWeaviateWellknownReadinessServiceUnavailable() *WeaviateWellknownReadinessServiceUnavailable
NewWeaviateWellknownReadinessServiceUnavailable creates a WeaviateWellknownReadinessServiceUnavailable with default headers values
func (*WeaviateWellknownReadinessServiceUnavailable) Error ¶
func (o *WeaviateWellknownReadinessServiceUnavailable) Error() string