nodes

package
v1.19.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 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, opts ...ClientOption) (*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 ClientOption added in v1.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	NodesGet(params *NodesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 403, with default header values.

Forbidden

func NewNodesGetForbidden

func NewNodesGetForbidden() *NodesGetForbidden

NewNodesGetForbidden creates a NodesGetForbidden with default headers values

func (*NodesGetForbidden) Code added in v1.18.0

func (o *NodesGetForbidden) Code() int

Code gets the status code for the nodes get forbidden response

func (*NodesGetForbidden) Error

func (o *NodesGetForbidden) Error() string

func (*NodesGetForbidden) GetPayload

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

func (*NodesGetForbidden) IsClientError added in v1.18.0

func (o *NodesGetForbidden) IsClientError() bool

IsClientError returns true when this nodes get forbidden response has a 4xx status code

func (*NodesGetForbidden) IsCode added in v1.18.0

func (o *NodesGetForbidden) IsCode(code int) bool

IsCode returns true when this nodes get forbidden response a status code equal to that given

func (*NodesGetForbidden) IsRedirect added in v1.18.0

func (o *NodesGetForbidden) IsRedirect() bool

IsRedirect returns true when this nodes get forbidden response has a 3xx status code

func (*NodesGetForbidden) IsServerError added in v1.18.0

func (o *NodesGetForbidden) IsServerError() bool

IsServerError returns true when this nodes get forbidden response has a 5xx status code

func (*NodesGetForbidden) IsSuccess added in v1.18.0

func (o *NodesGetForbidden) IsSuccess() bool

IsSuccess returns true when this nodes get forbidden response has a 2xx status code

func (*NodesGetForbidden) String added in v1.18.0

func (o *NodesGetForbidden) String() string

type NodesGetInternalServerError

type NodesGetInternalServerError struct {
	Payload *models.ErrorResponse
}

NodesGetInternalServerError describes a response with status code 500, 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) Code added in v1.18.0

func (o *NodesGetInternalServerError) Code() int

Code gets the status code for the nodes get internal server error response

func (*NodesGetInternalServerError) Error

func (*NodesGetInternalServerError) GetPayload

func (*NodesGetInternalServerError) IsClientError added in v1.18.0

func (o *NodesGetInternalServerError) IsClientError() bool

IsClientError returns true when this nodes get internal server error response has a 4xx status code

func (*NodesGetInternalServerError) IsCode added in v1.18.0

func (o *NodesGetInternalServerError) IsCode(code int) bool

IsCode returns true when this nodes get internal server error response a status code equal to that given

func (*NodesGetInternalServerError) IsRedirect added in v1.18.0

func (o *NodesGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this nodes get internal server error response has a 3xx status code

func (*NodesGetInternalServerError) IsServerError added in v1.18.0

func (o *NodesGetInternalServerError) IsServerError() bool

IsServerError returns true when this nodes get internal server error response has a 5xx status code

func (*NodesGetInternalServerError) IsSuccess added in v1.18.0

func (o *NodesGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this nodes get internal server error response has a 2xx status code

func (*NodesGetInternalServerError) String added in v1.18.0

func (o *NodesGetInternalServerError) String() string

type NodesGetNotFound

type NodesGetNotFound struct {
	Payload *models.ErrorResponse
}

NodesGetNotFound describes a response with status code 404, 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) Code added in v1.18.0

func (o *NodesGetNotFound) Code() int

Code gets the status code for the nodes get not found response

func (*NodesGetNotFound) Error

func (o *NodesGetNotFound) Error() string

func (*NodesGetNotFound) GetPayload

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

func (*NodesGetNotFound) IsClientError added in v1.18.0

func (o *NodesGetNotFound) IsClientError() bool

IsClientError returns true when this nodes get not found response has a 4xx status code

func (*NodesGetNotFound) IsCode added in v1.18.0

func (o *NodesGetNotFound) IsCode(code int) bool

IsCode returns true when this nodes get not found response a status code equal to that given

func (*NodesGetNotFound) IsRedirect added in v1.18.0

func (o *NodesGetNotFound) IsRedirect() bool

IsRedirect returns true when this nodes get not found response has a 3xx status code

func (*NodesGetNotFound) IsServerError added in v1.18.0

func (o *NodesGetNotFound) IsServerError() bool

IsServerError returns true when this nodes get not found response has a 5xx status code

func (*NodesGetNotFound) IsSuccess added in v1.18.0

func (o *NodesGetNotFound) IsSuccess() bool

IsSuccess returns true when this nodes get not found response has a 2xx status code

func (*NodesGetNotFound) String added in v1.18.0

func (o *NodesGetNotFound) String() string

type NodesGetOK

type NodesGetOK struct {
	Payload *models.NodesStatusResponse
}

NodesGetOK describes a response with status code 200, with default header values.

Nodes status successfully returned

func NewNodesGetOK

func NewNodesGetOK() *NodesGetOK

NewNodesGetOK creates a NodesGetOK with default headers values

func (*NodesGetOK) Code added in v1.18.0

func (o *NodesGetOK) Code() int

Code gets the status code for the nodes get o k response

func (*NodesGetOK) Error

func (o *NodesGetOK) Error() string

func (*NodesGetOK) GetPayload

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

func (*NodesGetOK) IsClientError added in v1.18.0

func (o *NodesGetOK) IsClientError() bool

IsClientError returns true when this nodes get o k response has a 4xx status code

func (*NodesGetOK) IsCode added in v1.18.0

func (o *NodesGetOK) IsCode(code int) bool

IsCode returns true when this nodes get o k response a status code equal to that given

func (*NodesGetOK) IsRedirect added in v1.18.0

func (o *NodesGetOK) IsRedirect() bool

IsRedirect returns true when this nodes get o k response has a 3xx status code

func (*NodesGetOK) IsServerError added in v1.18.0

func (o *NodesGetOK) IsServerError() bool

IsServerError returns true when this nodes get o k response has a 5xx status code

func (*NodesGetOK) IsSuccess added in v1.18.0

func (o *NodesGetOK) IsSuccess() bool

IsSuccess returns true when this nodes get o k response has a 2xx status code

func (*NodesGetOK) String added in v1.18.0

func (o *NodesGetOK) String() string

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 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 NewNodesGetParamsWithContext

func NewNodesGetParamsWithContext(ctx context.Context) *NodesGetParams

NewNodesGetParamsWithContext creates a new NodesGetParams object with 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 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 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) SetDefaults added in v1.18.0

func (o *NodesGetParams) SetDefaults()

SetDefaults hydrates default values in the nodes get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.18.0

func (o *NodesGetParams) WithDefaults() *NodesGetParams

WithDefaults hydrates default values in the nodes get params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewNodesGetUnauthorized

func NewNodesGetUnauthorized() *NodesGetUnauthorized

NewNodesGetUnauthorized creates a NodesGetUnauthorized with default headers values

func (*NodesGetUnauthorized) Code added in v1.18.0

func (o *NodesGetUnauthorized) Code() int

Code gets the status code for the nodes get unauthorized response

func (*NodesGetUnauthorized) Error

func (o *NodesGetUnauthorized) Error() string

func (*NodesGetUnauthorized) IsClientError added in v1.18.0

func (o *NodesGetUnauthorized) IsClientError() bool

IsClientError returns true when this nodes get unauthorized response has a 4xx status code

func (*NodesGetUnauthorized) IsCode added in v1.18.0

func (o *NodesGetUnauthorized) IsCode(code int) bool

IsCode returns true when this nodes get unauthorized response a status code equal to that given

func (*NodesGetUnauthorized) IsRedirect added in v1.18.0

func (o *NodesGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this nodes get unauthorized response has a 3xx status code

func (*NodesGetUnauthorized) IsServerError added in v1.18.0

func (o *NodesGetUnauthorized) IsServerError() bool

IsServerError returns true when this nodes get unauthorized response has a 5xx status code

func (*NodesGetUnauthorized) IsSuccess added in v1.18.0

func (o *NodesGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this nodes get unauthorized response has a 2xx status code

func (*NodesGetUnauthorized) String added in v1.18.0

func (o *NodesGetUnauthorized) String() string

type NodesGetUnprocessableEntity

type NodesGetUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

NodesGetUnprocessableEntity describes a response with status code 422, with default header values.

Invalid backup restoration status attempt.

func NewNodesGetUnprocessableEntity

func NewNodesGetUnprocessableEntity() *NodesGetUnprocessableEntity

NewNodesGetUnprocessableEntity creates a NodesGetUnprocessableEntity with default headers values

func (*NodesGetUnprocessableEntity) Code added in v1.18.0

func (o *NodesGetUnprocessableEntity) Code() int

Code gets the status code for the nodes get unprocessable entity response

func (*NodesGetUnprocessableEntity) Error

func (*NodesGetUnprocessableEntity) GetPayload

func (*NodesGetUnprocessableEntity) IsClientError added in v1.18.0

func (o *NodesGetUnprocessableEntity) IsClientError() bool

IsClientError returns true when this nodes get unprocessable entity response has a 4xx status code

func (*NodesGetUnprocessableEntity) IsCode added in v1.18.0

func (o *NodesGetUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this nodes get unprocessable entity response a status code equal to that given

func (*NodesGetUnprocessableEntity) IsRedirect added in v1.18.0

func (o *NodesGetUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this nodes get unprocessable entity response has a 3xx status code

func (*NodesGetUnprocessableEntity) IsServerError added in v1.18.0

func (o *NodesGetUnprocessableEntity) IsServerError() bool

IsServerError returns true when this nodes get unprocessable entity response has a 5xx status code

func (*NodesGetUnprocessableEntity) IsSuccess added in v1.18.0

func (o *NodesGetUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this nodes get unprocessable entity response has a 2xx status code

func (*NodesGetUnprocessableEntity) String added in v1.18.0

func (o *NodesGetUnprocessableEntity) String() string

Jump to

Keyboard shortcuts

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