operations

package
v1.17.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

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

type WeaviateRootOKBody struct {

	// links
	Links []*models.Link `json:"links"`
}

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

func (*WeaviateRootOKBody) Validate

func (o *WeaviateRootOKBody) Validate(formats strfmt.Registry) error

Validate validates this weaviate root o k body

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

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

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

WithContext adds the context to the weaviate wellknown liveness params

func (*WeaviateWellknownLivenessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the weaviate wellknown liveness params

func (*WeaviateWellknownLivenessParams) WithTimeout

WithTimeout adds the timeout to the weaviate wellknown liveness params

func (*WeaviateWellknownLivenessParams) WriteToRequest

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

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

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

WithContext adds the context to the weaviate wellknown readiness params

func (*WeaviateWellknownReadinessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the weaviate wellknown readiness params

func (*WeaviateWellknownReadinessParams) WithTimeout

WithTimeout adds the timeout to the weaviate wellknown readiness params

func (*WeaviateWellknownReadinessParams) WriteToRequest

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL