nodes

package
v1.24.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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) NodesGetClass added in v1.20.0

func (a *Client) NodesGetClass(params *NodesGetClassParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NodesGetClassOK, error)

NodesGetClass 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)

	NodesGetClass(params *NodesGetClassParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NodesGetClassOK, 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 NodesGetClassForbidden added in v1.20.0

type NodesGetClassForbidden struct {
	Payload *models.ErrorResponse
}

NodesGetClassForbidden describes a response with status code 403, with default header values.

Forbidden

func NewNodesGetClassForbidden added in v1.20.0

func NewNodesGetClassForbidden() *NodesGetClassForbidden

NewNodesGetClassForbidden creates a NodesGetClassForbidden with default headers values

func (*NodesGetClassForbidden) Code added in v1.20.0

func (o *NodesGetClassForbidden) Code() int

Code gets the status code for the nodes get class forbidden response

func (*NodesGetClassForbidden) Error added in v1.20.0

func (o *NodesGetClassForbidden) Error() string

func (*NodesGetClassForbidden) GetPayload added in v1.20.0

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

func (*NodesGetClassForbidden) IsClientError added in v1.20.0

func (o *NodesGetClassForbidden) IsClientError() bool

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

func (*NodesGetClassForbidden) IsCode added in v1.20.0

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

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

func (*NodesGetClassForbidden) IsRedirect added in v1.20.0

func (o *NodesGetClassForbidden) IsRedirect() bool

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

func (*NodesGetClassForbidden) IsServerError added in v1.20.0

func (o *NodesGetClassForbidden) IsServerError() bool

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

func (*NodesGetClassForbidden) IsSuccess added in v1.20.0

func (o *NodesGetClassForbidden) IsSuccess() bool

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

func (*NodesGetClassForbidden) String added in v1.20.0

func (o *NodesGetClassForbidden) String() string

type NodesGetClassInternalServerError added in v1.20.0

type NodesGetClassInternalServerError struct {
	Payload *models.ErrorResponse
}

NodesGetClassInternalServerError 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 NewNodesGetClassInternalServerError added in v1.20.0

func NewNodesGetClassInternalServerError() *NodesGetClassInternalServerError

NewNodesGetClassInternalServerError creates a NodesGetClassInternalServerError with default headers values

func (*NodesGetClassInternalServerError) Code added in v1.20.0

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

func (*NodesGetClassInternalServerError) Error added in v1.20.0

func (*NodesGetClassInternalServerError) GetPayload added in v1.20.0

func (*NodesGetClassInternalServerError) IsClientError added in v1.20.0

func (o *NodesGetClassInternalServerError) IsClientError() bool

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

func (*NodesGetClassInternalServerError) IsCode added in v1.20.0

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

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

func (*NodesGetClassInternalServerError) IsRedirect added in v1.20.0

func (o *NodesGetClassInternalServerError) IsRedirect() bool

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

func (*NodesGetClassInternalServerError) IsServerError added in v1.20.0

func (o *NodesGetClassInternalServerError) IsServerError() bool

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

func (*NodesGetClassInternalServerError) IsSuccess added in v1.20.0

func (o *NodesGetClassInternalServerError) IsSuccess() bool

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

func (*NodesGetClassInternalServerError) String added in v1.20.0

type NodesGetClassNotFound added in v1.20.0

type NodesGetClassNotFound struct {
	Payload *models.ErrorResponse
}

NodesGetClassNotFound describes a response with status code 404, with default header values.

Not Found - Backup does not exist

func NewNodesGetClassNotFound added in v1.20.0

func NewNodesGetClassNotFound() *NodesGetClassNotFound

NewNodesGetClassNotFound creates a NodesGetClassNotFound with default headers values

func (*NodesGetClassNotFound) Code added in v1.20.0

func (o *NodesGetClassNotFound) Code() int

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

func (*NodesGetClassNotFound) Error added in v1.20.0

func (o *NodesGetClassNotFound) Error() string

func (*NodesGetClassNotFound) GetPayload added in v1.20.0

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

func (*NodesGetClassNotFound) IsClientError added in v1.20.0

func (o *NodesGetClassNotFound) IsClientError() bool

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

func (*NodesGetClassNotFound) IsCode added in v1.20.0

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

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

func (*NodesGetClassNotFound) IsRedirect added in v1.20.0

func (o *NodesGetClassNotFound) IsRedirect() bool

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

func (*NodesGetClassNotFound) IsServerError added in v1.20.0

func (o *NodesGetClassNotFound) IsServerError() bool

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

func (*NodesGetClassNotFound) IsSuccess added in v1.20.0

func (o *NodesGetClassNotFound) IsSuccess() bool

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

func (*NodesGetClassNotFound) String added in v1.20.0

func (o *NodesGetClassNotFound) String() string

type NodesGetClassOK added in v1.20.0

type NodesGetClassOK struct {
	Payload *models.NodesStatusResponse
}

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

Nodes status successfully returned

func NewNodesGetClassOK added in v1.20.0

func NewNodesGetClassOK() *NodesGetClassOK

NewNodesGetClassOK creates a NodesGetClassOK with default headers values

func (*NodesGetClassOK) Code added in v1.20.0

func (o *NodesGetClassOK) Code() int

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

func (*NodesGetClassOK) Error added in v1.20.0

func (o *NodesGetClassOK) Error() string

func (*NodesGetClassOK) GetPayload added in v1.20.0

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

func (*NodesGetClassOK) IsClientError added in v1.20.0

func (o *NodesGetClassOK) IsClientError() bool

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

func (*NodesGetClassOK) IsCode added in v1.20.0

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

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

func (*NodesGetClassOK) IsRedirect added in v1.20.0

func (o *NodesGetClassOK) IsRedirect() bool

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

func (*NodesGetClassOK) IsServerError added in v1.20.0

func (o *NodesGetClassOK) IsServerError() bool

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

func (*NodesGetClassOK) IsSuccess added in v1.20.0

func (o *NodesGetClassOK) IsSuccess() bool

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

func (*NodesGetClassOK) String added in v1.20.0

func (o *NodesGetClassOK) String() string

type NodesGetClassParams added in v1.20.0

type NodesGetClassParams struct {

	// ClassName.
	ClassName string

	/* Output.

	   Controls the verbosity of the output, possible values are: "minimal", "verbose". Defaults to "minimal".

	   Default: "minimal"
	*/
	Output *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NodesGetClassParams contains all the parameters to send to the API endpoint

for the nodes get class operation.

Typically these are written to a http.Request.

func NewNodesGetClassParams added in v1.20.0

func NewNodesGetClassParams() *NodesGetClassParams

NewNodesGetClassParams creates a new NodesGetClassParams 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 NewNodesGetClassParamsWithContext added in v1.20.0

func NewNodesGetClassParamsWithContext(ctx context.Context) *NodesGetClassParams

NewNodesGetClassParamsWithContext creates a new NodesGetClassParams object with the ability to set a context for a request.

func NewNodesGetClassParamsWithHTTPClient added in v1.20.0

func NewNodesGetClassParamsWithHTTPClient(client *http.Client) *NodesGetClassParams

NewNodesGetClassParamsWithHTTPClient creates a new NodesGetClassParams object with the ability to set a custom HTTPClient for a request.

func NewNodesGetClassParamsWithTimeout added in v1.20.0

func NewNodesGetClassParamsWithTimeout(timeout time.Duration) *NodesGetClassParams

NewNodesGetClassParamsWithTimeout creates a new NodesGetClassParams object with the ability to set a timeout on a request.

func (*NodesGetClassParams) SetClassName added in v1.20.0

func (o *NodesGetClassParams) SetClassName(className string)

SetClassName adds the className to the nodes get class params

func (*NodesGetClassParams) SetContext added in v1.20.0

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

SetContext adds the context to the nodes get class params

func (*NodesGetClassParams) SetDefaults added in v1.20.0

func (o *NodesGetClassParams) SetDefaults()

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

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

func (*NodesGetClassParams) SetHTTPClient added in v1.20.0

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

SetHTTPClient adds the HTTPClient to the nodes get class params

func (*NodesGetClassParams) SetOutput added in v1.23.0

func (o *NodesGetClassParams) SetOutput(output *string)

SetOutput adds the output to the nodes get class params

func (*NodesGetClassParams) SetTimeout added in v1.20.0

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

SetTimeout adds the timeout to the nodes get class params

func (*NodesGetClassParams) WithClassName added in v1.20.0

func (o *NodesGetClassParams) WithClassName(className string) *NodesGetClassParams

WithClassName adds the className to the nodes get class params

func (*NodesGetClassParams) WithContext added in v1.20.0

WithContext adds the context to the nodes get class params

func (*NodesGetClassParams) WithDefaults added in v1.20.0

func (o *NodesGetClassParams) WithDefaults() *NodesGetClassParams

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

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

func (*NodesGetClassParams) WithHTTPClient added in v1.20.0

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

WithHTTPClient adds the HTTPClient to the nodes get class params

func (*NodesGetClassParams) WithOutput added in v1.23.0

func (o *NodesGetClassParams) WithOutput(output *string) *NodesGetClassParams

WithOutput adds the output to the nodes get class params

func (*NodesGetClassParams) WithTimeout added in v1.20.0

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

WithTimeout adds the timeout to the nodes get class params

func (*NodesGetClassParams) WriteToRequest added in v1.20.0

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

WriteToRequest writes these params to a swagger request

type NodesGetClassReader added in v1.20.0

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

NodesGetClassReader is a Reader for the NodesGetClass structure.

func (*NodesGetClassReader) ReadResponse added in v1.20.0

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

ReadResponse reads a server response into the received o.

type NodesGetClassUnauthorized added in v1.20.0

type NodesGetClassUnauthorized struct {
}

NodesGetClassUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewNodesGetClassUnauthorized added in v1.20.0

func NewNodesGetClassUnauthorized() *NodesGetClassUnauthorized

NewNodesGetClassUnauthorized creates a NodesGetClassUnauthorized with default headers values

func (*NodesGetClassUnauthorized) Code added in v1.20.0

func (o *NodesGetClassUnauthorized) Code() int

Code gets the status code for the nodes get class unauthorized response

func (*NodesGetClassUnauthorized) Error added in v1.20.0

func (o *NodesGetClassUnauthorized) Error() string

func (*NodesGetClassUnauthorized) IsClientError added in v1.20.0

func (o *NodesGetClassUnauthorized) IsClientError() bool

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

func (*NodesGetClassUnauthorized) IsCode added in v1.20.0

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

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

func (*NodesGetClassUnauthorized) IsRedirect added in v1.20.0

func (o *NodesGetClassUnauthorized) IsRedirect() bool

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

func (*NodesGetClassUnauthorized) IsServerError added in v1.20.0

func (o *NodesGetClassUnauthorized) IsServerError() bool

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

func (*NodesGetClassUnauthorized) IsSuccess added in v1.20.0

func (o *NodesGetClassUnauthorized) IsSuccess() bool

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

func (*NodesGetClassUnauthorized) String added in v1.20.0

func (o *NodesGetClassUnauthorized) String() string

type NodesGetClassUnprocessableEntity added in v1.20.0

type NodesGetClassUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid backup restoration status attempt.

func NewNodesGetClassUnprocessableEntity added in v1.20.0

func NewNodesGetClassUnprocessableEntity() *NodesGetClassUnprocessableEntity

NewNodesGetClassUnprocessableEntity creates a NodesGetClassUnprocessableEntity with default headers values

func (*NodesGetClassUnprocessableEntity) Code added in v1.20.0

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

func (*NodesGetClassUnprocessableEntity) Error added in v1.20.0

func (*NodesGetClassUnprocessableEntity) GetPayload added in v1.20.0

func (*NodesGetClassUnprocessableEntity) IsClientError added in v1.20.0

func (o *NodesGetClassUnprocessableEntity) IsClientError() bool

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

func (*NodesGetClassUnprocessableEntity) IsCode added in v1.20.0

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

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

func (*NodesGetClassUnprocessableEntity) IsRedirect added in v1.20.0

func (o *NodesGetClassUnprocessableEntity) IsRedirect() bool

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

func (*NodesGetClassUnprocessableEntity) IsServerError added in v1.20.0

func (o *NodesGetClassUnprocessableEntity) IsServerError() bool

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

func (*NodesGetClassUnprocessableEntity) IsSuccess added in v1.20.0

func (o *NodesGetClassUnprocessableEntity) IsSuccess() bool

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

func (*NodesGetClassUnprocessableEntity) String added in v1.20.0

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 {

	/* Output.

	   Controls the verbosity of the output, possible values are: "minimal", "verbose". Defaults to "minimal".

	   Default: "minimal"
	*/
	Output *string

	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) SetOutput added in v1.23.0

func (o *NodesGetParams) SetOutput(output *string)

SetOutput adds the output 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) WithOutput added in v1.23.0

func (o *NodesGetParams) WithOutput(output *string) *NodesGetParams

WithOutput adds the output 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