nodes

package
v1.17.5 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: BSD-3-Clause Imports: 10 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 nodes API

func (*Client) NodesGet

func (a *Client) NodesGet(params *NodesGetParams, authInfo runtime.ClientAuthInfoWriter) (*NodesGetOK, error)

NodesGet Returns status of Weaviate DB.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	NodesGet(params *NodesGetParams, authInfo runtime.ClientAuthInfoWriter) (*NodesGetOK, 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 nodes API client.

type NodesGetForbidden

type NodesGetForbidden struct {
	Payload *models.ErrorResponse
}

NodesGetForbidden handles this case with default header values.

Forbidden

func NewNodesGetForbidden

func NewNodesGetForbidden() *NodesGetForbidden

NewNodesGetForbidden creates a NodesGetForbidden with default headers values

func (*NodesGetForbidden) Error

func (o *NodesGetForbidden) Error() string

func (*NodesGetForbidden) GetPayload

func (o *NodesGetForbidden) GetPayload() *models.ErrorResponse

type NodesGetInternalServerError

type NodesGetInternalServerError struct {
	Payload *models.ErrorResponse
}

NodesGetInternalServerError 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 NewNodesGetInternalServerError

func NewNodesGetInternalServerError() *NodesGetInternalServerError

NewNodesGetInternalServerError creates a NodesGetInternalServerError with default headers values

func (*NodesGetInternalServerError) Error

func (*NodesGetInternalServerError) GetPayload

type NodesGetNotFound

type NodesGetNotFound struct {
	Payload *models.ErrorResponse
}

NodesGetNotFound handles this case with default header values.

Not Found - Backup does not exist

func NewNodesGetNotFound

func NewNodesGetNotFound() *NodesGetNotFound

NewNodesGetNotFound creates a NodesGetNotFound with default headers values

func (*NodesGetNotFound) Error

func (o *NodesGetNotFound) Error() string

func (*NodesGetNotFound) GetPayload

func (o *NodesGetNotFound) GetPayload() *models.ErrorResponse

type NodesGetOK

type NodesGetOK struct {
	Payload *models.NodesStatusResponse
}

NodesGetOK handles this case with default header values.

Nodes status successfully returned

func NewNodesGetOK

func NewNodesGetOK() *NodesGetOK

NewNodesGetOK creates a NodesGetOK with default headers values

func (*NodesGetOK) Error

func (o *NodesGetOK) Error() string

func (*NodesGetOK) GetPayload

func (o *NodesGetOK) GetPayload() *models.NodesStatusResponse

type NodesGetParams

type NodesGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NodesGetParams contains all the parameters to send to the API endpoint for the nodes get operation typically these are written to a http.Request

func NewNodesGetParams

func NewNodesGetParams() *NodesGetParams

NewNodesGetParams creates a new NodesGetParams object with the default values initialized.

func NewNodesGetParamsWithContext

func NewNodesGetParamsWithContext(ctx context.Context) *NodesGetParams

NewNodesGetParamsWithContext creates a new NodesGetParams object with the default values initialized, and the ability to set a context for a request

func NewNodesGetParamsWithHTTPClient

func NewNodesGetParamsWithHTTPClient(client *http.Client) *NodesGetParams

NewNodesGetParamsWithHTTPClient creates a new NodesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewNodesGetParamsWithTimeout

func NewNodesGetParamsWithTimeout(timeout time.Duration) *NodesGetParams

NewNodesGetParamsWithTimeout creates a new NodesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*NodesGetParams) SetContext

func (o *NodesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the nodes get params

func (*NodesGetParams) SetHTTPClient

func (o *NodesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the nodes get params

func (*NodesGetParams) SetTimeout

func (o *NodesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the nodes get params

func (*NodesGetParams) WithContext

func (o *NodesGetParams) WithContext(ctx context.Context) *NodesGetParams

WithContext adds the context to the nodes get params

func (*NodesGetParams) WithHTTPClient

func (o *NodesGetParams) WithHTTPClient(client *http.Client) *NodesGetParams

WithHTTPClient adds the HTTPClient to the nodes get params

func (*NodesGetParams) WithTimeout

func (o *NodesGetParams) WithTimeout(timeout time.Duration) *NodesGetParams

WithTimeout adds the timeout to the nodes get params

func (*NodesGetParams) WriteToRequest

func (o *NodesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type NodesGetReader

type NodesGetReader struct {
	// contains filtered or unexported fields
}

NodesGetReader is a Reader for the NodesGet structure.

func (*NodesGetReader) ReadResponse

func (o *NodesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NodesGetUnauthorized

type NodesGetUnauthorized struct {
}

NodesGetUnauthorized handles this case with default header values.

Unauthorized or invalid credentials.

func NewNodesGetUnauthorized

func NewNodesGetUnauthorized() *NodesGetUnauthorized

NewNodesGetUnauthorized creates a NodesGetUnauthorized with default headers values

func (*NodesGetUnauthorized) Error

func (o *NodesGetUnauthorized) Error() string

type NodesGetUnprocessableEntity

type NodesGetUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

NodesGetUnprocessableEntity handles this case with default header values.

Invalid backup restoration status attempt.

func NewNodesGetUnprocessableEntity

func NewNodesGetUnprocessableEntity() *NodesGetUnprocessableEntity

NewNodesGetUnprocessableEntity creates a NodesGetUnprocessableEntity with default headers values

func (*NodesGetUnprocessableEntity) Error

func (*NodesGetUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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