nodes

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: MPL-2.0 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 nodes API

func (*Client) GetNode

func (a *Client) GetNode(params *GetNodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeOK, error)

GetNode get node API

func (*Client) ListClusterNodes

func (a *Client) ListClusterNodes(params *ListClusterNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterNodesOK, error)

ListClusterNodes list cluster nodes API

func (*Client) ListNodes

func (a *Client) ListNodes(params *ListNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNodesOK, error)

ListNodes nodes API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetNode(params *GetNodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeOK, error)

	ListClusterNodes(params *ListClusterNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterNodesOK, error)

	ListNodes(params *ListNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNodesOK, 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 GetNodeDefault

type GetNodeDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetNodeDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetNodeDefault

func NewGetNodeDefault(code int) *GetNodeDefault

NewGetNodeDefault creates a GetNodeDefault with default headers values

func (*GetNodeDefault) Code

func (o *GetNodeDefault) Code() int

Code gets the status code for the get node default response

func (*GetNodeDefault) Error

func (o *GetNodeDefault) Error() string

func (*GetNodeDefault) GetPayload

func (o *GetNodeDefault) GetPayload() *cloud.GoogleRPCStatus

func (*GetNodeDefault) IsClientError

func (o *GetNodeDefault) IsClientError() bool

IsClientError returns true when this get node default response has a 4xx status code

func (*GetNodeDefault) IsCode

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

IsCode returns true when this get node default response a status code equal to that given

func (*GetNodeDefault) IsRedirect

func (o *GetNodeDefault) IsRedirect() bool

IsRedirect returns true when this get node default response has a 3xx status code

func (*GetNodeDefault) IsServerError

func (o *GetNodeDefault) IsServerError() bool

IsServerError returns true when this get node default response has a 5xx status code

func (*GetNodeDefault) IsSuccess

func (o *GetNodeDefault) IsSuccess() bool

IsSuccess returns true when this get node default response has a 2xx status code

func (*GetNodeDefault) String

func (o *GetNodeDefault) String() string

type GetNodeOK

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

A successful response.

func NewGetNodeOK

func NewGetNodeOK() *GetNodeOK

NewGetNodeOK creates a GetNodeOK with default headers values

func (*GetNodeOK) Code

func (o *GetNodeOK) Code() int

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

func (*GetNodeOK) Error

func (o *GetNodeOK) Error() string

func (*GetNodeOK) IsClientError

func (o *GetNodeOK) IsClientError() bool

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

func (*GetNodeOK) IsCode

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

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

func (*GetNodeOK) IsRedirect

func (o *GetNodeOK) IsRedirect() bool

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

func (*GetNodeOK) IsServerError

func (o *GetNodeOK) IsServerError() bool

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

func (*GetNodeOK) IsSuccess

func (o *GetNodeOK) IsSuccess() bool

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

func (*GetNodeOK) String

func (o *GetNodeOK) String() string

type GetNodeParams

type GetNodeParams struct {

	/* NodeName.

	   Node name of which details is required
	*/
	NodeName string

	/* ParentResourceName.

	   Parent resource name will be of the form `consul/project/<project_id>/cluster/<cluster_id>`
	*/
	ParentResourceName string

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

GetNodeParams contains all the parameters to send to the API endpoint

for the get node operation.

Typically these are written to a http.Request.

func NewGetNodeParams

func NewGetNodeParams() *GetNodeParams

NewGetNodeParams creates a new GetNodeParams 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 NewGetNodeParamsWithContext

func NewGetNodeParamsWithContext(ctx context.Context) *GetNodeParams

NewGetNodeParamsWithContext creates a new GetNodeParams object with the ability to set a context for a request.

func NewGetNodeParamsWithHTTPClient

func NewGetNodeParamsWithHTTPClient(client *http.Client) *GetNodeParams

NewGetNodeParamsWithHTTPClient creates a new GetNodeParams object with the ability to set a custom HTTPClient for a request.

func NewGetNodeParamsWithTimeout

func NewGetNodeParamsWithTimeout(timeout time.Duration) *GetNodeParams

NewGetNodeParamsWithTimeout creates a new GetNodeParams object with the ability to set a timeout on a request.

func (*GetNodeParams) SetContext

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

SetContext adds the context to the get node params

func (*GetNodeParams) SetDefaults

func (o *GetNodeParams) SetDefaults()

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

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

func (*GetNodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get node params

func (*GetNodeParams) SetNodeName

func (o *GetNodeParams) SetNodeName(nodeName string)

SetNodeName adds the nodeName to the get node params

func (*GetNodeParams) SetParentResourceName

func (o *GetNodeParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the get node params

func (*GetNodeParams) SetTimeout

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

SetTimeout adds the timeout to the get node params

func (*GetNodeParams) WithContext

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

WithContext adds the context to the get node params

func (*GetNodeParams) WithDefaults

func (o *GetNodeParams) WithDefaults() *GetNodeParams

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

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

func (*GetNodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get node params

func (*GetNodeParams) WithNodeName

func (o *GetNodeParams) WithNodeName(nodeName string) *GetNodeParams

WithNodeName adds the nodeName to the get node params

func (*GetNodeParams) WithParentResourceName

func (o *GetNodeParams) WithParentResourceName(parentResourceName string) *GetNodeParams

WithParentResourceName adds the parentResourceName to the get node params

func (*GetNodeParams) WithTimeout

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

WithTimeout adds the timeout to the get node params

func (*GetNodeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNodeReader

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

GetNodeReader is a Reader for the GetNode structure.

func (*GetNodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListClusterNodesDefault

type ListClusterNodesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListClusterNodesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClusterNodesDefault

func NewListClusterNodesDefault(code int) *ListClusterNodesDefault

NewListClusterNodesDefault creates a ListClusterNodesDefault with default headers values

func (*ListClusterNodesDefault) Code

func (o *ListClusterNodesDefault) Code() int

Code gets the status code for the list cluster nodes default response

func (*ListClusterNodesDefault) Error

func (o *ListClusterNodesDefault) Error() string

func (*ListClusterNodesDefault) GetPayload

func (*ListClusterNodesDefault) IsClientError

func (o *ListClusterNodesDefault) IsClientError() bool

IsClientError returns true when this list cluster nodes default response has a 4xx status code

func (*ListClusterNodesDefault) IsCode

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

IsCode returns true when this list cluster nodes default response a status code equal to that given

func (*ListClusterNodesDefault) IsRedirect

func (o *ListClusterNodesDefault) IsRedirect() bool

IsRedirect returns true when this list cluster nodes default response has a 3xx status code

func (*ListClusterNodesDefault) IsServerError

func (o *ListClusterNodesDefault) IsServerError() bool

IsServerError returns true when this list cluster nodes default response has a 5xx status code

func (*ListClusterNodesDefault) IsSuccess

func (o *ListClusterNodesDefault) IsSuccess() bool

IsSuccess returns true when this list cluster nodes default response has a 2xx status code

func (*ListClusterNodesDefault) String

func (o *ListClusterNodesDefault) String() string

type ListClusterNodesOK

type ListClusterNodesOK struct {
	Payload *models.HashicorpCloudConsulCloudManager20231010ListNodesResponse
}

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

A successful response.

func NewListClusterNodesOK

func NewListClusterNodesOK() *ListClusterNodesOK

NewListClusterNodesOK creates a ListClusterNodesOK with default headers values

func (*ListClusterNodesOK) Code

func (o *ListClusterNodesOK) Code() int

Code gets the status code for the list cluster nodes o k response

func (*ListClusterNodesOK) Error

func (o *ListClusterNodesOK) Error() string

func (*ListClusterNodesOK) IsClientError

func (o *ListClusterNodesOK) IsClientError() bool

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

func (*ListClusterNodesOK) IsCode

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

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

func (*ListClusterNodesOK) IsRedirect

func (o *ListClusterNodesOK) IsRedirect() bool

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

func (*ListClusterNodesOK) IsServerError

func (o *ListClusterNodesOK) IsServerError() bool

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

func (*ListClusterNodesOK) IsSuccess

func (o *ListClusterNodesOK) IsSuccess() bool

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

func (*ListClusterNodesOK) String

func (o *ListClusterNodesOK) String() string

type ListClusterNodesParams

type ListClusterNodesParams struct {

	/* Address.

	   Filters nodes based on the lists of addresses.
	*/
	Address []string

	/* ClusterName.

	   Filters nodes based on the lists of cluster names.
	*/
	ClusterName []string

	/* IncludeSyntheticNodes.

	   Include synthetic nodes in response
	*/
	IncludeSyntheticNodes *bool

	/* Name.

	   Filters nodes based on the list of names.
	*/
	Name []string

	/* OrderBy.

	   Sorts the nodes based on a field. Allowed fields: `name`, `partition`, `created_at`, `updated_at`. The value needs to be of the format `<{name/partition/created_at/updated_at} {asc/desc}>` For example: `partition asc`, `name desc`.
	*/
	OrderBy []string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* ParentResourceName.

	   Cluster resource name will be of the form `consul/project/<project_id>/cluster/<cluster_id>`
	*/
	ParentResourceName string

	/* Partition.

	   Filters nodes based on the lists of partitions.
	*/
	Partition []string

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

ListClusterNodesParams contains all the parameters to send to the API endpoint

for the list cluster nodes operation.

Typically these are written to a http.Request.

func NewListClusterNodesParams

func NewListClusterNodesParams() *ListClusterNodesParams

NewListClusterNodesParams creates a new ListClusterNodesParams 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 NewListClusterNodesParamsWithContext

func NewListClusterNodesParamsWithContext(ctx context.Context) *ListClusterNodesParams

NewListClusterNodesParamsWithContext creates a new ListClusterNodesParams object with the ability to set a context for a request.

func NewListClusterNodesParamsWithHTTPClient

func NewListClusterNodesParamsWithHTTPClient(client *http.Client) *ListClusterNodesParams

NewListClusterNodesParamsWithHTTPClient creates a new ListClusterNodesParams object with the ability to set a custom HTTPClient for a request.

func NewListClusterNodesParamsWithTimeout

func NewListClusterNodesParamsWithTimeout(timeout time.Duration) *ListClusterNodesParams

NewListClusterNodesParamsWithTimeout creates a new ListClusterNodesParams object with the ability to set a timeout on a request.

func (*ListClusterNodesParams) SetAddress

func (o *ListClusterNodesParams) SetAddress(address []string)

SetAddress adds the address to the list cluster nodes params

func (*ListClusterNodesParams) SetClusterName

func (o *ListClusterNodesParams) SetClusterName(clusterName []string)

SetClusterName adds the clusterName to the list cluster nodes params

func (*ListClusterNodesParams) SetContext

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

SetContext adds the context to the list cluster nodes params

func (*ListClusterNodesParams) SetDefaults

func (o *ListClusterNodesParams) SetDefaults()

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

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

func (*ListClusterNodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list cluster nodes params

func (*ListClusterNodesParams) SetIncludeSyntheticNodes

func (o *ListClusterNodesParams) SetIncludeSyntheticNodes(includeSyntheticNodes *bool)

SetIncludeSyntheticNodes adds the includeSyntheticNodes to the list cluster nodes params

func (*ListClusterNodesParams) SetName

func (o *ListClusterNodesParams) SetName(name []string)

SetName adds the name to the list cluster nodes params

func (*ListClusterNodesParams) SetOrderBy

func (o *ListClusterNodesParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the list cluster nodes params

func (*ListClusterNodesParams) SetPaginationNextPageToken

func (o *ListClusterNodesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list cluster nodes params

func (*ListClusterNodesParams) SetPaginationPageSize

func (o *ListClusterNodesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list cluster nodes params

func (*ListClusterNodesParams) SetPaginationPreviousPageToken

func (o *ListClusterNodesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list cluster nodes params

func (*ListClusterNodesParams) SetParentResourceName

func (o *ListClusterNodesParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the list cluster nodes params

func (*ListClusterNodesParams) SetPartition

func (o *ListClusterNodesParams) SetPartition(partition []string)

SetPartition adds the partition to the list cluster nodes params

func (*ListClusterNodesParams) SetTimeout

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

SetTimeout adds the timeout to the list cluster nodes params

func (*ListClusterNodesParams) WithAddress

func (o *ListClusterNodesParams) WithAddress(address []string) *ListClusterNodesParams

WithAddress adds the address to the list cluster nodes params

func (*ListClusterNodesParams) WithClusterName

func (o *ListClusterNodesParams) WithClusterName(clusterName []string) *ListClusterNodesParams

WithClusterName adds the clusterName to the list cluster nodes params

func (*ListClusterNodesParams) WithContext

WithContext adds the context to the list cluster nodes params

func (*ListClusterNodesParams) WithDefaults

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

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

func (*ListClusterNodesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list cluster nodes params

func (*ListClusterNodesParams) WithIncludeSyntheticNodes

func (o *ListClusterNodesParams) WithIncludeSyntheticNodes(includeSyntheticNodes *bool) *ListClusterNodesParams

WithIncludeSyntheticNodes adds the includeSyntheticNodes to the list cluster nodes params

func (*ListClusterNodesParams) WithName

WithName adds the name to the list cluster nodes params

func (*ListClusterNodesParams) WithOrderBy

func (o *ListClusterNodesParams) WithOrderBy(orderBy []string) *ListClusterNodesParams

WithOrderBy adds the orderBy to the list cluster nodes params

func (*ListClusterNodesParams) WithPaginationNextPageToken

func (o *ListClusterNodesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListClusterNodesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list cluster nodes params

func (*ListClusterNodesParams) WithPaginationPageSize

func (o *ListClusterNodesParams) WithPaginationPageSize(paginationPageSize *int64) *ListClusterNodesParams

WithPaginationPageSize adds the paginationPageSize to the list cluster nodes params

func (*ListClusterNodesParams) WithPaginationPreviousPageToken

func (o *ListClusterNodesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListClusterNodesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list cluster nodes params

func (*ListClusterNodesParams) WithParentResourceName

func (o *ListClusterNodesParams) WithParentResourceName(parentResourceName string) *ListClusterNodesParams

WithParentResourceName adds the parentResourceName to the list cluster nodes params

func (*ListClusterNodesParams) WithPartition

func (o *ListClusterNodesParams) WithPartition(partition []string) *ListClusterNodesParams

WithPartition adds the partition to the list cluster nodes params

func (*ListClusterNodesParams) WithTimeout

WithTimeout adds the timeout to the list cluster nodes params

func (*ListClusterNodesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClusterNodesReader

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

ListClusterNodesReader is a Reader for the ListClusterNodes structure.

func (*ListClusterNodesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNodesDefault

type ListNodesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

ListNodesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListNodesDefault

func NewListNodesDefault(code int) *ListNodesDefault

NewListNodesDefault creates a ListNodesDefault with default headers values

func (*ListNodesDefault) Code

func (o *ListNodesDefault) Code() int

Code gets the status code for the list nodes default response

func (*ListNodesDefault) Error

func (o *ListNodesDefault) Error() string

func (*ListNodesDefault) GetPayload

func (o *ListNodesDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListNodesDefault) IsClientError

func (o *ListNodesDefault) IsClientError() bool

IsClientError returns true when this list nodes default response has a 4xx status code

func (*ListNodesDefault) IsCode

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

IsCode returns true when this list nodes default response a status code equal to that given

func (*ListNodesDefault) IsRedirect

func (o *ListNodesDefault) IsRedirect() bool

IsRedirect returns true when this list nodes default response has a 3xx status code

func (*ListNodesDefault) IsServerError

func (o *ListNodesDefault) IsServerError() bool

IsServerError returns true when this list nodes default response has a 5xx status code

func (*ListNodesDefault) IsSuccess

func (o *ListNodesDefault) IsSuccess() bool

IsSuccess returns true when this list nodes default response has a 2xx status code

func (*ListNodesDefault) String

func (o *ListNodesDefault) String() string

type ListNodesOK

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

A successful response.

func NewListNodesOK

func NewListNodesOK() *ListNodesOK

NewListNodesOK creates a ListNodesOK with default headers values

func (*ListNodesOK) Code

func (o *ListNodesOK) Code() int

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

func (*ListNodesOK) Error

func (o *ListNodesOK) Error() string

func (*ListNodesOK) IsClientError

func (o *ListNodesOK) IsClientError() bool

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

func (*ListNodesOK) IsCode

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

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

func (*ListNodesOK) IsRedirect

func (o *ListNodesOK) IsRedirect() bool

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

func (*ListNodesOK) IsServerError

func (o *ListNodesOK) IsServerError() bool

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

func (*ListNodesOK) IsSuccess

func (o *ListNodesOK) IsSuccess() bool

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

func (*ListNodesOK) String

func (o *ListNodesOK) String() string

type ListNodesParams

type ListNodesParams struct {

	/* Address.

	   Query param filter: list of `address`
	*/
	Address []string

	/* ClusterName.

	   Query param filter: list of `name` of the cluster
	*/
	ClusterName []string

	/* IncludeSyntheticNodes.

	   Include synthetic nodes in response
	*/
	IncludeSyntheticNodes *bool

	/* Name.

	   Query param filter: list of `name` of the nodes
	*/
	Name []string

	/* OrderBy.

	   Sorts the nodes based on a field. Allowed fields: `name`, `partition`, `created_at`, `updated_at` The value needs to be of the format `<Field Name> {asc/desc}` For example: `name`, `partition asc`, `name desc`.
	*/
	OrderBy []string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this parameter to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The maximum number of results per page to return. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned, which you can use to get the next page of results in subsequent
	requests. A value of zero causes `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this parameter to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Partition.

	   Query param filter: list of `partition`
	*/
	Partition []string

	/* ProjectResourceName.

	   Project resource name of the project to which the node belongs. Resource name will be of the form `project/<project_id>`
	*/
	ProjectResourceName string

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

ListNodesParams contains all the parameters to send to the API endpoint

for the list nodes operation.

Typically these are written to a http.Request.

func NewListNodesParams

func NewListNodesParams() *ListNodesParams

NewListNodesParams creates a new ListNodesParams 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 NewListNodesParamsWithContext

func NewListNodesParamsWithContext(ctx context.Context) *ListNodesParams

NewListNodesParamsWithContext creates a new ListNodesParams object with the ability to set a context for a request.

func NewListNodesParamsWithHTTPClient

func NewListNodesParamsWithHTTPClient(client *http.Client) *ListNodesParams

NewListNodesParamsWithHTTPClient creates a new ListNodesParams object with the ability to set a custom HTTPClient for a request.

func NewListNodesParamsWithTimeout

func NewListNodesParamsWithTimeout(timeout time.Duration) *ListNodesParams

NewListNodesParamsWithTimeout creates a new ListNodesParams object with the ability to set a timeout on a request.

func (*ListNodesParams) SetAddress

func (o *ListNodesParams) SetAddress(address []string)

SetAddress adds the address to the list nodes params

func (*ListNodesParams) SetClusterName

func (o *ListNodesParams) SetClusterName(clusterName []string)

SetClusterName adds the clusterName to the list nodes params

func (*ListNodesParams) SetContext

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

SetContext adds the context to the list nodes params

func (*ListNodesParams) SetDefaults

func (o *ListNodesParams) SetDefaults()

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

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

func (*ListNodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nodes params

func (*ListNodesParams) SetIncludeSyntheticNodes

func (o *ListNodesParams) SetIncludeSyntheticNodes(includeSyntheticNodes *bool)

SetIncludeSyntheticNodes adds the includeSyntheticNodes to the list nodes params

func (*ListNodesParams) SetName

func (o *ListNodesParams) SetName(name []string)

SetName adds the name to the list nodes params

func (*ListNodesParams) SetOrderBy

func (o *ListNodesParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the list nodes params

func (*ListNodesParams) SetPaginationNextPageToken

func (o *ListNodesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list nodes params

func (*ListNodesParams) SetPaginationPageSize

func (o *ListNodesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list nodes params

func (*ListNodesParams) SetPaginationPreviousPageToken

func (o *ListNodesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list nodes params

func (*ListNodesParams) SetPartition

func (o *ListNodesParams) SetPartition(partition []string)

SetPartition adds the partition to the list nodes params

func (*ListNodesParams) SetProjectResourceName

func (o *ListNodesParams) SetProjectResourceName(projectResourceName string)

SetProjectResourceName adds the projectResourceName to the list nodes params

func (*ListNodesParams) SetTimeout

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

SetTimeout adds the timeout to the list nodes params

func (*ListNodesParams) WithAddress

func (o *ListNodesParams) WithAddress(address []string) *ListNodesParams

WithAddress adds the address to the list nodes params

func (*ListNodesParams) WithClusterName

func (o *ListNodesParams) WithClusterName(clusterName []string) *ListNodesParams

WithClusterName adds the clusterName to the list nodes params

func (*ListNodesParams) WithContext

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

WithContext adds the context to the list nodes params

func (*ListNodesParams) WithDefaults

func (o *ListNodesParams) WithDefaults() *ListNodesParams

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

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

func (*ListNodesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list nodes params

func (*ListNodesParams) WithIncludeSyntheticNodes

func (o *ListNodesParams) WithIncludeSyntheticNodes(includeSyntheticNodes *bool) *ListNodesParams

WithIncludeSyntheticNodes adds the includeSyntheticNodes to the list nodes params

func (*ListNodesParams) WithName

func (o *ListNodesParams) WithName(name []string) *ListNodesParams

WithName adds the name to the list nodes params

func (*ListNodesParams) WithOrderBy

func (o *ListNodesParams) WithOrderBy(orderBy []string) *ListNodesParams

WithOrderBy adds the orderBy to the list nodes params

func (*ListNodesParams) WithPaginationNextPageToken

func (o *ListNodesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListNodesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list nodes params

func (*ListNodesParams) WithPaginationPageSize

func (o *ListNodesParams) WithPaginationPageSize(paginationPageSize *int64) *ListNodesParams

WithPaginationPageSize adds the paginationPageSize to the list nodes params

func (*ListNodesParams) WithPaginationPreviousPageToken

func (o *ListNodesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListNodesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list nodes params

func (*ListNodesParams) WithPartition

func (o *ListNodesParams) WithPartition(partition []string) *ListNodesParams

WithPartition adds the partition to the list nodes params

func (*ListNodesParams) WithProjectResourceName

func (o *ListNodesParams) WithProjectResourceName(projectResourceName string) *ListNodesParams

WithProjectResourceName adds the projectResourceName to the list nodes params

func (*ListNodesParams) WithTimeout

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

WithTimeout adds the timeout to the list nodes params

func (*ListNodesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListNodesReader

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

ListNodesReader is a Reader for the ListNodes structure.

func (*ListNodesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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