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 ClientOption
- type ClientService
- type WeaviateRootOK
- func (o *WeaviateRootOK) Code() int
- func (o *WeaviateRootOK) Error() string
- func (o *WeaviateRootOK) GetPayload() *WeaviateRootOKBody
- func (o *WeaviateRootOK) IsClientError() bool
- func (o *WeaviateRootOK) IsCode(code int) bool
- func (o *WeaviateRootOK) IsRedirect() bool
- func (o *WeaviateRootOK) IsServerError() bool
- func (o *WeaviateRootOK) IsSuccess() bool
- func (o *WeaviateRootOK) String() string
- type WeaviateRootOKBody
- type WeaviateRootParams
- func (o *WeaviateRootParams) SetContext(ctx context.Context)
- func (o *WeaviateRootParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *WeaviateWellknownLivenessOK) Code() int
- func (o *WeaviateWellknownLivenessOK) Error() string
- func (o *WeaviateWellknownLivenessOK) IsClientError() bool
- func (o *WeaviateWellknownLivenessOK) IsCode(code int) bool
- func (o *WeaviateWellknownLivenessOK) IsRedirect() bool
- func (o *WeaviateWellknownLivenessOK) IsServerError() bool
- func (o *WeaviateWellknownLivenessOK) IsSuccess() bool
- func (o *WeaviateWellknownLivenessOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *WeaviateWellknownReadinessOK) Code() int
- func (o *WeaviateWellknownReadinessOK) Error() string
- func (o *WeaviateWellknownReadinessOK) IsClientError() bool
- func (o *WeaviateWellknownReadinessOK) IsCode(code int) bool
- func (o *WeaviateWellknownReadinessOK) IsRedirect() bool
- func (o *WeaviateWellknownReadinessOK) IsServerError() bool
- func (o *WeaviateWellknownReadinessOK) IsSuccess() bool
- func (o *WeaviateWellknownReadinessOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *WeaviateWellknownReadinessServiceUnavailable) Code() int
- func (o *WeaviateWellknownReadinessServiceUnavailable) Error() string
- func (o *WeaviateWellknownReadinessServiceUnavailable) IsClientError() bool
- func (o *WeaviateWellknownReadinessServiceUnavailable) IsCode(code int) bool
- func (o *WeaviateWellknownReadinessServiceUnavailable) IsRedirect() bool
- func (o *WeaviateWellknownReadinessServiceUnavailable) IsServerError() bool
- func (o *WeaviateWellknownReadinessServiceUnavailable) IsSuccess() bool
- func (o *WeaviateWellknownReadinessServiceUnavailable) 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 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, opts ...ClientOption) (*WeaviateRootOK, error)
WeaviateRoot Home. Discover the REST API
func (*Client) WeaviateWellknownLiveness ¶
func (a *Client) WeaviateWellknownLiveness(params *WeaviateWellknownLivenessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*WeaviateWellknownReadinessOK, error)
WeaviateWellknownReadiness Determines whether the application is ready to receive traffic. Can be used for kubernetes readiness probe.
type ClientOption ¶ added in v1.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { WeaviateRoot(params *WeaviateRootParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WeaviateRootOK, error) WeaviateWellknownLiveness(params *WeaviateWellknownLivenessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WeaviateWellknownLivenessOK, error) WeaviateWellknownReadiness(params *WeaviateWellknownReadinessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 200, 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) Code ¶ added in v1.18.0
func (o *WeaviateRootOK) Code() int
Code gets the status code for the weaviate root o k response
func (*WeaviateRootOK) Error ¶
func (o *WeaviateRootOK) Error() string
func (*WeaviateRootOK) GetPayload ¶
func (o *WeaviateRootOK) GetPayload() *WeaviateRootOKBody
func (*WeaviateRootOK) IsClientError ¶ added in v1.18.0
func (o *WeaviateRootOK) IsClientError() bool
IsClientError returns true when this weaviate root o k response has a 4xx status code
func (*WeaviateRootOK) IsCode ¶ added in v1.18.0
func (o *WeaviateRootOK) IsCode(code int) bool
IsCode returns true when this weaviate root o k response a status code equal to that given
func (*WeaviateRootOK) IsRedirect ¶ added in v1.18.0
func (o *WeaviateRootOK) IsRedirect() bool
IsRedirect returns true when this weaviate root o k response has a 3xx status code
func (*WeaviateRootOK) IsServerError ¶ added in v1.18.0
func (o *WeaviateRootOK) IsServerError() bool
IsServerError returns true when this weaviate root o k response has a 5xx status code
func (*WeaviateRootOK) IsSuccess ¶ added in v1.18.0
func (o *WeaviateRootOK) IsSuccess() bool
IsSuccess returns true when this weaviate root o k response has a 2xx status code
func (*WeaviateRootOK) String ¶ added in v1.18.0
func (o *WeaviateRootOK) String() string
type WeaviateRootOKBody ¶
WeaviateRootOKBody weaviate root o k body swagger:model WeaviateRootOKBody
func (*WeaviateRootOKBody) ContextValidate ¶ added in v1.18.0
ContextValidate validate this weaviate root o k body based on the context it is used
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 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 NewWeaviateRootParamsWithContext ¶
func NewWeaviateRootParamsWithContext(ctx context.Context) *WeaviateRootParams
NewWeaviateRootParamsWithContext creates a new WeaviateRootParams object with 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 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 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) SetDefaults ¶ added in v1.18.0
func (o *WeaviateRootParams) SetDefaults()
SetDefaults hydrates default values in the weaviate root params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.18.0
func (o *WeaviateRootParams) WithDefaults() *WeaviateRootParams
WithDefaults hydrates default values in the weaviate root params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, 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) Code ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) Code() int
Code gets the status code for the weaviate wellknown liveness o k response
func (*WeaviateWellknownLivenessOK) Error ¶
func (o *WeaviateWellknownLivenessOK) Error() string
func (*WeaviateWellknownLivenessOK) IsClientError ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) IsClientError() bool
IsClientError returns true when this weaviate wellknown liveness o k response has a 4xx status code
func (*WeaviateWellknownLivenessOK) IsCode ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) IsCode(code int) bool
IsCode returns true when this weaviate wellknown liveness o k response a status code equal to that given
func (*WeaviateWellknownLivenessOK) IsRedirect ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) IsRedirect() bool
IsRedirect returns true when this weaviate wellknown liveness o k response has a 3xx status code
func (*WeaviateWellknownLivenessOK) IsServerError ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) IsServerError() bool
IsServerError returns true when this weaviate wellknown liveness o k response has a 5xx status code
func (*WeaviateWellknownLivenessOK) IsSuccess ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) IsSuccess() bool
IsSuccess returns true when this weaviate wellknown liveness o k response has a 2xx status code
func (*WeaviateWellknownLivenessOK) String ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessOK) String() 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 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 NewWeaviateWellknownLivenessParamsWithContext ¶
func NewWeaviateWellknownLivenessParamsWithContext(ctx context.Context) *WeaviateWellknownLivenessParams
NewWeaviateWellknownLivenessParamsWithContext creates a new WeaviateWellknownLivenessParams object with 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 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 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) SetDefaults ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessParams) SetDefaults()
SetDefaults hydrates default values in the weaviate wellknown liveness params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.18.0
func (o *WeaviateWellknownLivenessParams) WithDefaults() *WeaviateWellknownLivenessParams
WithDefaults hydrates default values in the weaviate wellknown liveness params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, 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) Code ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) Code() int
Code gets the status code for the weaviate wellknown readiness o k response
func (*WeaviateWellknownReadinessOK) Error ¶
func (o *WeaviateWellknownReadinessOK) Error() string
func (*WeaviateWellknownReadinessOK) IsClientError ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) IsClientError() bool
IsClientError returns true when this weaviate wellknown readiness o k response has a 4xx status code
func (*WeaviateWellknownReadinessOK) IsCode ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) IsCode(code int) bool
IsCode returns true when this weaviate wellknown readiness o k response a status code equal to that given
func (*WeaviateWellknownReadinessOK) IsRedirect ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) IsRedirect() bool
IsRedirect returns true when this weaviate wellknown readiness o k response has a 3xx status code
func (*WeaviateWellknownReadinessOK) IsServerError ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) IsServerError() bool
IsServerError returns true when this weaviate wellknown readiness o k response has a 5xx status code
func (*WeaviateWellknownReadinessOK) IsSuccess ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) IsSuccess() bool
IsSuccess returns true when this weaviate wellknown readiness o k response has a 2xx status code
func (*WeaviateWellknownReadinessOK) String ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessOK) String() 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 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 NewWeaviateWellknownReadinessParamsWithContext ¶
func NewWeaviateWellknownReadinessParamsWithContext(ctx context.Context) *WeaviateWellknownReadinessParams
NewWeaviateWellknownReadinessParamsWithContext creates a new WeaviateWellknownReadinessParams object with 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 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 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) SetDefaults ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessParams) SetDefaults()
SetDefaults hydrates default values in the weaviate wellknown readiness params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessParams) WithDefaults() *WeaviateWellknownReadinessParams
WithDefaults hydrates default values in the weaviate wellknown readiness params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 503, 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) Code ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) Code() int
Code gets the status code for the weaviate wellknown readiness service unavailable response
func (*WeaviateWellknownReadinessServiceUnavailable) Error ¶
func (o *WeaviateWellknownReadinessServiceUnavailable) Error() string
func (*WeaviateWellknownReadinessServiceUnavailable) IsClientError ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) IsClientError() bool
IsClientError returns true when this weaviate wellknown readiness service unavailable response has a 4xx status code
func (*WeaviateWellknownReadinessServiceUnavailable) IsCode ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) IsCode(code int) bool
IsCode returns true when this weaviate wellknown readiness service unavailable response a status code equal to that given
func (*WeaviateWellknownReadinessServiceUnavailable) IsRedirect ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this weaviate wellknown readiness service unavailable response has a 3xx status code
func (*WeaviateWellknownReadinessServiceUnavailable) IsServerError ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) IsServerError() bool
IsServerError returns true when this weaviate wellknown readiness service unavailable response has a 5xx status code
func (*WeaviateWellknownReadinessServiceUnavailable) IsSuccess ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this weaviate wellknown readiness service unavailable response has a 2xx status code
func (*WeaviateWellknownReadinessServiceUnavailable) String ¶ added in v1.18.0
func (o *WeaviateWellknownReadinessServiceUnavailable) String() string