node_pools

package
v0.0.0-...-45ecc74 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT 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 node pools API

func (*Client) CreateOrUpdateNodePool

func (a *Client) CreateOrUpdateNodePool(params *CreateOrUpdateNodePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrUpdateNodePoolOK, error)

CreateOrUpdateNodePool creates update node pool

Create/update a node pool.

func (*Client) DeleteNodePool

func (a *Client) DeleteNodePool(params *DeleteNodePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNodePoolNoContent, error)

DeleteNodePool deletes node pool

Deletes node pool.

func (*Client) ListNodePools

func (a *Client) ListNodePools(params *ListNodePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNodePoolsOK, error)

ListNodePools lists node pools

List all node pools of a cluster.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNodePool

func (a *Client) UpdateNodePool(params *UpdateNodePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNodePoolOK, error)

UpdateNodePool updates node pool

Update a node pool.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOrUpdateNodePool(params *CreateOrUpdateNodePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrUpdateNodePoolOK, error)

	DeleteNodePool(params *DeleteNodePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNodePoolNoContent, error)

	ListNodePools(params *ListNodePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNodePoolsOK, error)

	UpdateNodePool(params *UpdateNodePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNodePoolOK, 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 node pools API client.

type CreateOrUpdateNodePoolBadRequest

type CreateOrUpdateNodePoolBadRequest struct {
	Payload *models.Error
}

CreateOrUpdateNodePoolBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewCreateOrUpdateNodePoolBadRequest

func NewCreateOrUpdateNodePoolBadRequest() *CreateOrUpdateNodePoolBadRequest

NewCreateOrUpdateNodePoolBadRequest creates a CreateOrUpdateNodePoolBadRequest with default headers values

func (*CreateOrUpdateNodePoolBadRequest) Code

Code gets the status code for the create or update node pool bad request response

func (*CreateOrUpdateNodePoolBadRequest) Error

func (*CreateOrUpdateNodePoolBadRequest) GetPayload

func (*CreateOrUpdateNodePoolBadRequest) IsClientError

func (o *CreateOrUpdateNodePoolBadRequest) IsClientError() bool

IsClientError returns true when this create or update node pool bad request response has a 4xx status code

func (*CreateOrUpdateNodePoolBadRequest) IsCode

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

IsCode returns true when this create or update node pool bad request response a status code equal to that given

func (*CreateOrUpdateNodePoolBadRequest) IsRedirect

func (o *CreateOrUpdateNodePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this create or update node pool bad request response has a 3xx status code

func (*CreateOrUpdateNodePoolBadRequest) IsServerError

func (o *CreateOrUpdateNodePoolBadRequest) IsServerError() bool

IsServerError returns true when this create or update node pool bad request response has a 5xx status code

func (*CreateOrUpdateNodePoolBadRequest) IsSuccess

func (o *CreateOrUpdateNodePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this create or update node pool bad request response has a 2xx status code

func (*CreateOrUpdateNodePoolBadRequest) String

type CreateOrUpdateNodePoolForbidden

type CreateOrUpdateNodePoolForbidden struct {
}

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

Forbidden

func NewCreateOrUpdateNodePoolForbidden

func NewCreateOrUpdateNodePoolForbidden() *CreateOrUpdateNodePoolForbidden

NewCreateOrUpdateNodePoolForbidden creates a CreateOrUpdateNodePoolForbidden with default headers values

func (*CreateOrUpdateNodePoolForbidden) Code

Code gets the status code for the create or update node pool forbidden response

func (*CreateOrUpdateNodePoolForbidden) Error

func (*CreateOrUpdateNodePoolForbidden) IsClientError

func (o *CreateOrUpdateNodePoolForbidden) IsClientError() bool

IsClientError returns true when this create or update node pool forbidden response has a 4xx status code

func (*CreateOrUpdateNodePoolForbidden) IsCode

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

IsCode returns true when this create or update node pool forbidden response a status code equal to that given

func (*CreateOrUpdateNodePoolForbidden) IsRedirect

func (o *CreateOrUpdateNodePoolForbidden) IsRedirect() bool

IsRedirect returns true when this create or update node pool forbidden response has a 3xx status code

func (*CreateOrUpdateNodePoolForbidden) IsServerError

func (o *CreateOrUpdateNodePoolForbidden) IsServerError() bool

IsServerError returns true when this create or update node pool forbidden response has a 5xx status code

func (*CreateOrUpdateNodePoolForbidden) IsSuccess

func (o *CreateOrUpdateNodePoolForbidden) IsSuccess() bool

IsSuccess returns true when this create or update node pool forbidden response has a 2xx status code

func (*CreateOrUpdateNodePoolForbidden) String

type CreateOrUpdateNodePoolInternalServerError

type CreateOrUpdateNodePoolInternalServerError struct {
	Payload *models.Error
}

CreateOrUpdateNodePoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewCreateOrUpdateNodePoolInternalServerError

func NewCreateOrUpdateNodePoolInternalServerError() *CreateOrUpdateNodePoolInternalServerError

NewCreateOrUpdateNodePoolInternalServerError creates a CreateOrUpdateNodePoolInternalServerError with default headers values

func (*CreateOrUpdateNodePoolInternalServerError) Code

Code gets the status code for the create or update node pool internal server error response

func (*CreateOrUpdateNodePoolInternalServerError) Error

func (*CreateOrUpdateNodePoolInternalServerError) GetPayload

func (*CreateOrUpdateNodePoolInternalServerError) IsClientError

IsClientError returns true when this create or update node pool internal server error response has a 4xx status code

func (*CreateOrUpdateNodePoolInternalServerError) IsCode

IsCode returns true when this create or update node pool internal server error response a status code equal to that given

func (*CreateOrUpdateNodePoolInternalServerError) IsRedirect

IsRedirect returns true when this create or update node pool internal server error response has a 3xx status code

func (*CreateOrUpdateNodePoolInternalServerError) IsServerError

IsServerError returns true when this create or update node pool internal server error response has a 5xx status code

func (*CreateOrUpdateNodePoolInternalServerError) IsSuccess

IsSuccess returns true when this create or update node pool internal server error response has a 2xx status code

func (*CreateOrUpdateNodePoolInternalServerError) String

type CreateOrUpdateNodePoolOK

type CreateOrUpdateNodePoolOK struct {
	Payload *models.NodePool
}

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

The node pool create request is accepted.

func NewCreateOrUpdateNodePoolOK

func NewCreateOrUpdateNodePoolOK() *CreateOrUpdateNodePoolOK

NewCreateOrUpdateNodePoolOK creates a CreateOrUpdateNodePoolOK with default headers values

func (*CreateOrUpdateNodePoolOK) Code

func (o *CreateOrUpdateNodePoolOK) Code() int

Code gets the status code for the create or update node pool o k response

func (*CreateOrUpdateNodePoolOK) Error

func (o *CreateOrUpdateNodePoolOK) Error() string

func (*CreateOrUpdateNodePoolOK) GetPayload

func (o *CreateOrUpdateNodePoolOK) GetPayload() *models.NodePool

func (*CreateOrUpdateNodePoolOK) IsClientError

func (o *CreateOrUpdateNodePoolOK) IsClientError() bool

IsClientError returns true when this create or update node pool o k response has a 4xx status code

func (*CreateOrUpdateNodePoolOK) IsCode

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

IsCode returns true when this create or update node pool o k response a status code equal to that given

func (*CreateOrUpdateNodePoolOK) IsRedirect

func (o *CreateOrUpdateNodePoolOK) IsRedirect() bool

IsRedirect returns true when this create or update node pool o k response has a 3xx status code

func (*CreateOrUpdateNodePoolOK) IsServerError

func (o *CreateOrUpdateNodePoolOK) IsServerError() bool

IsServerError returns true when this create or update node pool o k response has a 5xx status code

func (*CreateOrUpdateNodePoolOK) IsSuccess

func (o *CreateOrUpdateNodePoolOK) IsSuccess() bool

IsSuccess returns true when this create or update node pool o k response has a 2xx status code

func (*CreateOrUpdateNodePoolOK) String

func (o *CreateOrUpdateNodePoolOK) String() string

type CreateOrUpdateNodePoolParams

type CreateOrUpdateNodePoolParams struct {

	/* ClusterID.

	   ID of the cluster.
	*/
	ClusterID string

	/* NodePool.

	   Node pool to be created.
	*/
	NodePool *models.NodePool

	/* NodePoolName.

	   Name of the node pool.
	*/
	NodePoolName string

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

CreateOrUpdateNodePoolParams contains all the parameters to send to the API endpoint

for the create or update node pool operation.

Typically these are written to a http.Request.

func NewCreateOrUpdateNodePoolParams

func NewCreateOrUpdateNodePoolParams() *CreateOrUpdateNodePoolParams

NewCreateOrUpdateNodePoolParams creates a new CreateOrUpdateNodePoolParams 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 NewCreateOrUpdateNodePoolParamsWithContext

func NewCreateOrUpdateNodePoolParamsWithContext(ctx context.Context) *CreateOrUpdateNodePoolParams

NewCreateOrUpdateNodePoolParamsWithContext creates a new CreateOrUpdateNodePoolParams object with the ability to set a context for a request.

func NewCreateOrUpdateNodePoolParamsWithHTTPClient

func NewCreateOrUpdateNodePoolParamsWithHTTPClient(client *http.Client) *CreateOrUpdateNodePoolParams

NewCreateOrUpdateNodePoolParamsWithHTTPClient creates a new CreateOrUpdateNodePoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrUpdateNodePoolParamsWithTimeout

func NewCreateOrUpdateNodePoolParamsWithTimeout(timeout time.Duration) *CreateOrUpdateNodePoolParams

NewCreateOrUpdateNodePoolParamsWithTimeout creates a new CreateOrUpdateNodePoolParams object with the ability to set a timeout on a request.

func (*CreateOrUpdateNodePoolParams) SetClusterID

func (o *CreateOrUpdateNodePoolParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) SetContext

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

SetContext adds the context to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) SetDefaults

func (o *CreateOrUpdateNodePoolParams) SetDefaults()

SetDefaults hydrates default values in the create or update node pool params (not the query body).

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

func (*CreateOrUpdateNodePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) SetNodePool

func (o *CreateOrUpdateNodePoolParams) SetNodePool(nodePool *models.NodePool)

SetNodePool adds the nodePool to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) SetNodePoolName

func (o *CreateOrUpdateNodePoolParams) SetNodePoolName(nodePoolName string)

SetNodePoolName adds the nodePoolName to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) SetTimeout

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

SetTimeout adds the timeout to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WithClusterID

WithClusterID adds the clusterID to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WithContext

WithContext adds the context to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WithDefaults

WithDefaults hydrates default values in the create or update node pool params (not the query body).

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

func (*CreateOrUpdateNodePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WithNodePool

WithNodePool adds the nodePool to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WithNodePoolName

func (o *CreateOrUpdateNodePoolParams) WithNodePoolName(nodePoolName string) *CreateOrUpdateNodePoolParams

WithNodePoolName adds the nodePoolName to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WithTimeout

WithTimeout adds the timeout to the create or update node pool params

func (*CreateOrUpdateNodePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrUpdateNodePoolReader

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

CreateOrUpdateNodePoolReader is a Reader for the CreateOrUpdateNodePool structure.

func (*CreateOrUpdateNodePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrUpdateNodePoolUnauthorized

type CreateOrUpdateNodePoolUnauthorized struct {
}

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

Unauthorized

func NewCreateOrUpdateNodePoolUnauthorized

func NewCreateOrUpdateNodePoolUnauthorized() *CreateOrUpdateNodePoolUnauthorized

NewCreateOrUpdateNodePoolUnauthorized creates a CreateOrUpdateNodePoolUnauthorized with default headers values

func (*CreateOrUpdateNodePoolUnauthorized) Code

Code gets the status code for the create or update node pool unauthorized response

func (*CreateOrUpdateNodePoolUnauthorized) Error

func (*CreateOrUpdateNodePoolUnauthorized) IsClientError

func (o *CreateOrUpdateNodePoolUnauthorized) IsClientError() bool

IsClientError returns true when this create or update node pool unauthorized response has a 4xx status code

func (*CreateOrUpdateNodePoolUnauthorized) IsCode

IsCode returns true when this create or update node pool unauthorized response a status code equal to that given

func (*CreateOrUpdateNodePoolUnauthorized) IsRedirect

func (o *CreateOrUpdateNodePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this create or update node pool unauthorized response has a 3xx status code

func (*CreateOrUpdateNodePoolUnauthorized) IsServerError

func (o *CreateOrUpdateNodePoolUnauthorized) IsServerError() bool

IsServerError returns true when this create or update node pool unauthorized response has a 5xx status code

func (*CreateOrUpdateNodePoolUnauthorized) IsSuccess

IsSuccess returns true when this create or update node pool unauthorized response has a 2xx status code

func (*CreateOrUpdateNodePoolUnauthorized) String

type DeleteNodePoolBadRequest

type DeleteNodePoolBadRequest struct {
	Payload *models.Error
}

DeleteNodePoolBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewDeleteNodePoolBadRequest

func NewDeleteNodePoolBadRequest() *DeleteNodePoolBadRequest

NewDeleteNodePoolBadRequest creates a DeleteNodePoolBadRequest with default headers values

func (*DeleteNodePoolBadRequest) Code

func (o *DeleteNodePoolBadRequest) Code() int

Code gets the status code for the delete node pool bad request response

func (*DeleteNodePoolBadRequest) Error

func (o *DeleteNodePoolBadRequest) Error() string

func (*DeleteNodePoolBadRequest) GetPayload

func (o *DeleteNodePoolBadRequest) GetPayload() *models.Error

func (*DeleteNodePoolBadRequest) IsClientError

func (o *DeleteNodePoolBadRequest) IsClientError() bool

IsClientError returns true when this delete node pool bad request response has a 4xx status code

func (*DeleteNodePoolBadRequest) IsCode

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

IsCode returns true when this delete node pool bad request response a status code equal to that given

func (*DeleteNodePoolBadRequest) IsRedirect

func (o *DeleteNodePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this delete node pool bad request response has a 3xx status code

func (*DeleteNodePoolBadRequest) IsServerError

func (o *DeleteNodePoolBadRequest) IsServerError() bool

IsServerError returns true when this delete node pool bad request response has a 5xx status code

func (*DeleteNodePoolBadRequest) IsSuccess

func (o *DeleteNodePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this delete node pool bad request response has a 2xx status code

func (*DeleteNodePoolBadRequest) String

func (o *DeleteNodePoolBadRequest) String() string

type DeleteNodePoolForbidden

type DeleteNodePoolForbidden struct {
}

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

Forbidden

func NewDeleteNodePoolForbidden

func NewDeleteNodePoolForbidden() *DeleteNodePoolForbidden

NewDeleteNodePoolForbidden creates a DeleteNodePoolForbidden with default headers values

func (*DeleteNodePoolForbidden) Code

func (o *DeleteNodePoolForbidden) Code() int

Code gets the status code for the delete node pool forbidden response

func (*DeleteNodePoolForbidden) Error

func (o *DeleteNodePoolForbidden) Error() string

func (*DeleteNodePoolForbidden) IsClientError

func (o *DeleteNodePoolForbidden) IsClientError() bool

IsClientError returns true when this delete node pool forbidden response has a 4xx status code

func (*DeleteNodePoolForbidden) IsCode

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

IsCode returns true when this delete node pool forbidden response a status code equal to that given

func (*DeleteNodePoolForbidden) IsRedirect

func (o *DeleteNodePoolForbidden) IsRedirect() bool

IsRedirect returns true when this delete node pool forbidden response has a 3xx status code

func (*DeleteNodePoolForbidden) IsServerError

func (o *DeleteNodePoolForbidden) IsServerError() bool

IsServerError returns true when this delete node pool forbidden response has a 5xx status code

func (*DeleteNodePoolForbidden) IsSuccess

func (o *DeleteNodePoolForbidden) IsSuccess() bool

IsSuccess returns true when this delete node pool forbidden response has a 2xx status code

func (*DeleteNodePoolForbidden) String

func (o *DeleteNodePoolForbidden) String() string

type DeleteNodePoolInternalServerError

type DeleteNodePoolInternalServerError struct {
	Payload *models.Error
}

DeleteNodePoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewDeleteNodePoolInternalServerError

func NewDeleteNodePoolInternalServerError() *DeleteNodePoolInternalServerError

NewDeleteNodePoolInternalServerError creates a DeleteNodePoolInternalServerError with default headers values

func (*DeleteNodePoolInternalServerError) Code

Code gets the status code for the delete node pool internal server error response

func (*DeleteNodePoolInternalServerError) Error

func (*DeleteNodePoolInternalServerError) GetPayload

func (*DeleteNodePoolInternalServerError) IsClientError

func (o *DeleteNodePoolInternalServerError) IsClientError() bool

IsClientError returns true when this delete node pool internal server error response has a 4xx status code

func (*DeleteNodePoolInternalServerError) IsCode

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

IsCode returns true when this delete node pool internal server error response a status code equal to that given

func (*DeleteNodePoolInternalServerError) IsRedirect

func (o *DeleteNodePoolInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete node pool internal server error response has a 3xx status code

func (*DeleteNodePoolInternalServerError) IsServerError

func (o *DeleteNodePoolInternalServerError) IsServerError() bool

IsServerError returns true when this delete node pool internal server error response has a 5xx status code

func (*DeleteNodePoolInternalServerError) IsSuccess

func (o *DeleteNodePoolInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete node pool internal server error response has a 2xx status code

func (*DeleteNodePoolInternalServerError) String

type DeleteNodePoolNoContent

type DeleteNodePoolNoContent struct {
}

DeleteNodePoolNoContent describes a response with status code 204, with default header values.

Node pool deleted.

func NewDeleteNodePoolNoContent

func NewDeleteNodePoolNoContent() *DeleteNodePoolNoContent

NewDeleteNodePoolNoContent creates a DeleteNodePoolNoContent with default headers values

func (*DeleteNodePoolNoContent) Code

func (o *DeleteNodePoolNoContent) Code() int

Code gets the status code for the delete node pool no content response

func (*DeleteNodePoolNoContent) Error

func (o *DeleteNodePoolNoContent) Error() string

func (*DeleteNodePoolNoContent) IsClientError

func (o *DeleteNodePoolNoContent) IsClientError() bool

IsClientError returns true when this delete node pool no content response has a 4xx status code

func (*DeleteNodePoolNoContent) IsCode

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

IsCode returns true when this delete node pool no content response a status code equal to that given

func (*DeleteNodePoolNoContent) IsRedirect

func (o *DeleteNodePoolNoContent) IsRedirect() bool

IsRedirect returns true when this delete node pool no content response has a 3xx status code

func (*DeleteNodePoolNoContent) IsServerError

func (o *DeleteNodePoolNoContent) IsServerError() bool

IsServerError returns true when this delete node pool no content response has a 5xx status code

func (*DeleteNodePoolNoContent) IsSuccess

func (o *DeleteNodePoolNoContent) IsSuccess() bool

IsSuccess returns true when this delete node pool no content response has a 2xx status code

func (*DeleteNodePoolNoContent) String

func (o *DeleteNodePoolNoContent) String() string

type DeleteNodePoolNotFound

type DeleteNodePoolNotFound struct {
}

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

Node pool not found

func NewDeleteNodePoolNotFound

func NewDeleteNodePoolNotFound() *DeleteNodePoolNotFound

NewDeleteNodePoolNotFound creates a DeleteNodePoolNotFound with default headers values

func (*DeleteNodePoolNotFound) Code

func (o *DeleteNodePoolNotFound) Code() int

Code gets the status code for the delete node pool not found response

func (*DeleteNodePoolNotFound) Error

func (o *DeleteNodePoolNotFound) Error() string

func (*DeleteNodePoolNotFound) IsClientError

func (o *DeleteNodePoolNotFound) IsClientError() bool

IsClientError returns true when this delete node pool not found response has a 4xx status code

func (*DeleteNodePoolNotFound) IsCode

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

IsCode returns true when this delete node pool not found response a status code equal to that given

func (*DeleteNodePoolNotFound) IsRedirect

func (o *DeleteNodePoolNotFound) IsRedirect() bool

IsRedirect returns true when this delete node pool not found response has a 3xx status code

func (*DeleteNodePoolNotFound) IsServerError

func (o *DeleteNodePoolNotFound) IsServerError() bool

IsServerError returns true when this delete node pool not found response has a 5xx status code

func (*DeleteNodePoolNotFound) IsSuccess

func (o *DeleteNodePoolNotFound) IsSuccess() bool

IsSuccess returns true when this delete node pool not found response has a 2xx status code

func (*DeleteNodePoolNotFound) String

func (o *DeleteNodePoolNotFound) String() string

type DeleteNodePoolParams

type DeleteNodePoolParams struct {

	/* ClusterID.

	   ID of the cluster.
	*/
	ClusterID string

	/* NodePoolName.

	   Name of the node pool.
	*/
	NodePoolName string

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

DeleteNodePoolParams contains all the parameters to send to the API endpoint

for the delete node pool operation.

Typically these are written to a http.Request.

func NewDeleteNodePoolParams

func NewDeleteNodePoolParams() *DeleteNodePoolParams

NewDeleteNodePoolParams creates a new DeleteNodePoolParams 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 NewDeleteNodePoolParamsWithContext

func NewDeleteNodePoolParamsWithContext(ctx context.Context) *DeleteNodePoolParams

NewDeleteNodePoolParamsWithContext creates a new DeleteNodePoolParams object with the ability to set a context for a request.

func NewDeleteNodePoolParamsWithHTTPClient

func NewDeleteNodePoolParamsWithHTTPClient(client *http.Client) *DeleteNodePoolParams

NewDeleteNodePoolParamsWithHTTPClient creates a new DeleteNodePoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNodePoolParamsWithTimeout

func NewDeleteNodePoolParamsWithTimeout(timeout time.Duration) *DeleteNodePoolParams

NewDeleteNodePoolParamsWithTimeout creates a new DeleteNodePoolParams object with the ability to set a timeout on a request.

func (*DeleteNodePoolParams) SetClusterID

func (o *DeleteNodePoolParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete node pool params

func (*DeleteNodePoolParams) SetContext

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

SetContext adds the context to the delete node pool params

func (*DeleteNodePoolParams) SetDefaults

func (o *DeleteNodePoolParams) SetDefaults()

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

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

func (*DeleteNodePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete node pool params

func (*DeleteNodePoolParams) SetNodePoolName

func (o *DeleteNodePoolParams) SetNodePoolName(nodePoolName string)

SetNodePoolName adds the nodePoolName to the delete node pool params

func (*DeleteNodePoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete node pool params

func (*DeleteNodePoolParams) WithClusterID

func (o *DeleteNodePoolParams) WithClusterID(clusterID string) *DeleteNodePoolParams

WithClusterID adds the clusterID to the delete node pool params

func (*DeleteNodePoolParams) WithContext

WithContext adds the context to the delete node pool params

func (*DeleteNodePoolParams) WithDefaults

func (o *DeleteNodePoolParams) WithDefaults() *DeleteNodePoolParams

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

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

func (*DeleteNodePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete node pool params

func (*DeleteNodePoolParams) WithNodePoolName

func (o *DeleteNodePoolParams) WithNodePoolName(nodePoolName string) *DeleteNodePoolParams

WithNodePoolName adds the nodePoolName to the delete node pool params

func (*DeleteNodePoolParams) WithTimeout

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

WithTimeout adds the timeout to the delete node pool params

func (*DeleteNodePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteNodePoolReader

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

DeleteNodePoolReader is a Reader for the DeleteNodePool structure.

func (*DeleteNodePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNodePoolUnauthorized

type DeleteNodePoolUnauthorized struct {
}

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

Unauthorized

func NewDeleteNodePoolUnauthorized

func NewDeleteNodePoolUnauthorized() *DeleteNodePoolUnauthorized

NewDeleteNodePoolUnauthorized creates a DeleteNodePoolUnauthorized with default headers values

func (*DeleteNodePoolUnauthorized) Code

func (o *DeleteNodePoolUnauthorized) Code() int

Code gets the status code for the delete node pool unauthorized response

func (*DeleteNodePoolUnauthorized) Error

func (*DeleteNodePoolUnauthorized) IsClientError

func (o *DeleteNodePoolUnauthorized) IsClientError() bool

IsClientError returns true when this delete node pool unauthorized response has a 4xx status code

func (*DeleteNodePoolUnauthorized) IsCode

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

IsCode returns true when this delete node pool unauthorized response a status code equal to that given

func (*DeleteNodePoolUnauthorized) IsRedirect

func (o *DeleteNodePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete node pool unauthorized response has a 3xx status code

func (*DeleteNodePoolUnauthorized) IsServerError

func (o *DeleteNodePoolUnauthorized) IsServerError() bool

IsServerError returns true when this delete node pool unauthorized response has a 5xx status code

func (*DeleteNodePoolUnauthorized) IsSuccess

func (o *DeleteNodePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete node pool unauthorized response has a 2xx status code

func (*DeleteNodePoolUnauthorized) String

func (o *DeleteNodePoolUnauthorized) String() string

type ListNodePoolsForbidden

type ListNodePoolsForbidden struct {
}

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

Forbidden

func NewListNodePoolsForbidden

func NewListNodePoolsForbidden() *ListNodePoolsForbidden

NewListNodePoolsForbidden creates a ListNodePoolsForbidden with default headers values

func (*ListNodePoolsForbidden) Code

func (o *ListNodePoolsForbidden) Code() int

Code gets the status code for the list node pools forbidden response

func (*ListNodePoolsForbidden) Error

func (o *ListNodePoolsForbidden) Error() string

func (*ListNodePoolsForbidden) IsClientError

func (o *ListNodePoolsForbidden) IsClientError() bool

IsClientError returns true when this list node pools forbidden response has a 4xx status code

func (*ListNodePoolsForbidden) IsCode

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

IsCode returns true when this list node pools forbidden response a status code equal to that given

func (*ListNodePoolsForbidden) IsRedirect

func (o *ListNodePoolsForbidden) IsRedirect() bool

IsRedirect returns true when this list node pools forbidden response has a 3xx status code

func (*ListNodePoolsForbidden) IsServerError

func (o *ListNodePoolsForbidden) IsServerError() bool

IsServerError returns true when this list node pools forbidden response has a 5xx status code

func (*ListNodePoolsForbidden) IsSuccess

func (o *ListNodePoolsForbidden) IsSuccess() bool

IsSuccess returns true when this list node pools forbidden response has a 2xx status code

func (*ListNodePoolsForbidden) String

func (o *ListNodePoolsForbidden) String() string

type ListNodePoolsInternalServerError

type ListNodePoolsInternalServerError struct {
	Payload *models.Error
}

ListNodePoolsInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewListNodePoolsInternalServerError

func NewListNodePoolsInternalServerError() *ListNodePoolsInternalServerError

NewListNodePoolsInternalServerError creates a ListNodePoolsInternalServerError with default headers values

func (*ListNodePoolsInternalServerError) Code

Code gets the status code for the list node pools internal server error response

func (*ListNodePoolsInternalServerError) Error

func (*ListNodePoolsInternalServerError) GetPayload

func (*ListNodePoolsInternalServerError) IsClientError

func (o *ListNodePoolsInternalServerError) IsClientError() bool

IsClientError returns true when this list node pools internal server error response has a 4xx status code

func (*ListNodePoolsInternalServerError) IsCode

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

IsCode returns true when this list node pools internal server error response a status code equal to that given

func (*ListNodePoolsInternalServerError) IsRedirect

func (o *ListNodePoolsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list node pools internal server error response has a 3xx status code

func (*ListNodePoolsInternalServerError) IsServerError

func (o *ListNodePoolsInternalServerError) IsServerError() bool

IsServerError returns true when this list node pools internal server error response has a 5xx status code

func (*ListNodePoolsInternalServerError) IsSuccess

func (o *ListNodePoolsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list node pools internal server error response has a 2xx status code

func (*ListNodePoolsInternalServerError) String

type ListNodePoolsOK

type ListNodePoolsOK struct {
	Payload *ListNodePoolsOKBody
}

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

List of node pools

func NewListNodePoolsOK

func NewListNodePoolsOK() *ListNodePoolsOK

NewListNodePoolsOK creates a ListNodePoolsOK with default headers values

func (*ListNodePoolsOK) Code

func (o *ListNodePoolsOK) Code() int

Code gets the status code for the list node pools o k response

func (*ListNodePoolsOK) Error

func (o *ListNodePoolsOK) Error() string

func (*ListNodePoolsOK) GetPayload

func (o *ListNodePoolsOK) GetPayload() *ListNodePoolsOKBody

func (*ListNodePoolsOK) IsClientError

func (o *ListNodePoolsOK) IsClientError() bool

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

func (*ListNodePoolsOK) IsCode

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

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

func (*ListNodePoolsOK) IsRedirect

func (o *ListNodePoolsOK) IsRedirect() bool

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

func (*ListNodePoolsOK) IsServerError

func (o *ListNodePoolsOK) IsServerError() bool

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

func (*ListNodePoolsOK) IsSuccess

func (o *ListNodePoolsOK) IsSuccess() bool

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

func (*ListNodePoolsOK) String

func (o *ListNodePoolsOK) String() string

type ListNodePoolsOKBody

type ListNodePoolsOKBody struct {

	// items
	Items []*models.NodePool `json:"items"`
}

ListNodePoolsOKBody list node pools o k body swagger:model ListNodePoolsOKBody

func (*ListNodePoolsOKBody) ContextValidate

func (o *ListNodePoolsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list node pools o k body based on the context it is used

func (*ListNodePoolsOKBody) MarshalBinary

func (o *ListNodePoolsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListNodePoolsOKBody) UnmarshalBinary

func (o *ListNodePoolsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListNodePoolsOKBody) Validate

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

Validate validates this list node pools o k body

type ListNodePoolsParams

type ListNodePoolsParams struct {

	/* ClusterID.

	   ID of the cluster.
	*/
	ClusterID string

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

ListNodePoolsParams contains all the parameters to send to the API endpoint

for the list node pools operation.

Typically these are written to a http.Request.

func NewListNodePoolsParams

func NewListNodePoolsParams() *ListNodePoolsParams

NewListNodePoolsParams creates a new ListNodePoolsParams 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 NewListNodePoolsParamsWithContext

func NewListNodePoolsParamsWithContext(ctx context.Context) *ListNodePoolsParams

NewListNodePoolsParamsWithContext creates a new ListNodePoolsParams object with the ability to set a context for a request.

func NewListNodePoolsParamsWithHTTPClient

func NewListNodePoolsParamsWithHTTPClient(client *http.Client) *ListNodePoolsParams

NewListNodePoolsParamsWithHTTPClient creates a new ListNodePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListNodePoolsParamsWithTimeout

func NewListNodePoolsParamsWithTimeout(timeout time.Duration) *ListNodePoolsParams

NewListNodePoolsParamsWithTimeout creates a new ListNodePoolsParams object with the ability to set a timeout on a request.

func (*ListNodePoolsParams) SetClusterID

func (o *ListNodePoolsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list node pools params

func (*ListNodePoolsParams) SetContext

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

SetContext adds the context to the list node pools params

func (*ListNodePoolsParams) SetDefaults

func (o *ListNodePoolsParams) SetDefaults()

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

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

func (*ListNodePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list node pools params

func (*ListNodePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list node pools params

func (*ListNodePoolsParams) WithClusterID

func (o *ListNodePoolsParams) WithClusterID(clusterID string) *ListNodePoolsParams

WithClusterID adds the clusterID to the list node pools params

func (*ListNodePoolsParams) WithContext

WithContext adds the context to the list node pools params

func (*ListNodePoolsParams) WithDefaults

func (o *ListNodePoolsParams) WithDefaults() *ListNodePoolsParams

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

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

func (*ListNodePoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list node pools params

func (*ListNodePoolsParams) WithTimeout

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

WithTimeout adds the timeout to the list node pools params

func (*ListNodePoolsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListNodePoolsReader

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

ListNodePoolsReader is a Reader for the ListNodePools structure.

func (*ListNodePoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNodePoolsUnauthorized

type ListNodePoolsUnauthorized struct {
}

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

Unauthorized

func NewListNodePoolsUnauthorized

func NewListNodePoolsUnauthorized() *ListNodePoolsUnauthorized

NewListNodePoolsUnauthorized creates a ListNodePoolsUnauthorized with default headers values

func (*ListNodePoolsUnauthorized) Code

func (o *ListNodePoolsUnauthorized) Code() int

Code gets the status code for the list node pools unauthorized response

func (*ListNodePoolsUnauthorized) Error

func (o *ListNodePoolsUnauthorized) Error() string

func (*ListNodePoolsUnauthorized) IsClientError

func (o *ListNodePoolsUnauthorized) IsClientError() bool

IsClientError returns true when this list node pools unauthorized response has a 4xx status code

func (*ListNodePoolsUnauthorized) IsCode

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

IsCode returns true when this list node pools unauthorized response a status code equal to that given

func (*ListNodePoolsUnauthorized) IsRedirect

func (o *ListNodePoolsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list node pools unauthorized response has a 3xx status code

func (*ListNodePoolsUnauthorized) IsServerError

func (o *ListNodePoolsUnauthorized) IsServerError() bool

IsServerError returns true when this list node pools unauthorized response has a 5xx status code

func (*ListNodePoolsUnauthorized) IsSuccess

func (o *ListNodePoolsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list node pools unauthorized response has a 2xx status code

func (*ListNodePoolsUnauthorized) String

func (o *ListNodePoolsUnauthorized) String() string

type UpdateNodePoolBadRequest

type UpdateNodePoolBadRequest struct {
	Payload *models.Error
}

UpdateNodePoolBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUpdateNodePoolBadRequest

func NewUpdateNodePoolBadRequest() *UpdateNodePoolBadRequest

NewUpdateNodePoolBadRequest creates a UpdateNodePoolBadRequest with default headers values

func (*UpdateNodePoolBadRequest) Code

func (o *UpdateNodePoolBadRequest) Code() int

Code gets the status code for the update node pool bad request response

func (*UpdateNodePoolBadRequest) Error

func (o *UpdateNodePoolBadRequest) Error() string

func (*UpdateNodePoolBadRequest) GetPayload

func (o *UpdateNodePoolBadRequest) GetPayload() *models.Error

func (*UpdateNodePoolBadRequest) IsClientError

func (o *UpdateNodePoolBadRequest) IsClientError() bool

IsClientError returns true when this update node pool bad request response has a 4xx status code

func (*UpdateNodePoolBadRequest) IsCode

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

IsCode returns true when this update node pool bad request response a status code equal to that given

func (*UpdateNodePoolBadRequest) IsRedirect

func (o *UpdateNodePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this update node pool bad request response has a 3xx status code

func (*UpdateNodePoolBadRequest) IsServerError

func (o *UpdateNodePoolBadRequest) IsServerError() bool

IsServerError returns true when this update node pool bad request response has a 5xx status code

func (*UpdateNodePoolBadRequest) IsSuccess

func (o *UpdateNodePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this update node pool bad request response has a 2xx status code

func (*UpdateNodePoolBadRequest) String

func (o *UpdateNodePoolBadRequest) String() string

type UpdateNodePoolForbidden

type UpdateNodePoolForbidden struct {
}

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

Forbidden

func NewUpdateNodePoolForbidden

func NewUpdateNodePoolForbidden() *UpdateNodePoolForbidden

NewUpdateNodePoolForbidden creates a UpdateNodePoolForbidden with default headers values

func (*UpdateNodePoolForbidden) Code

func (o *UpdateNodePoolForbidden) Code() int

Code gets the status code for the update node pool forbidden response

func (*UpdateNodePoolForbidden) Error

func (o *UpdateNodePoolForbidden) Error() string

func (*UpdateNodePoolForbidden) IsClientError

func (o *UpdateNodePoolForbidden) IsClientError() bool

IsClientError returns true when this update node pool forbidden response has a 4xx status code

func (*UpdateNodePoolForbidden) IsCode

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

IsCode returns true when this update node pool forbidden response a status code equal to that given

func (*UpdateNodePoolForbidden) IsRedirect

func (o *UpdateNodePoolForbidden) IsRedirect() bool

IsRedirect returns true when this update node pool forbidden response has a 3xx status code

func (*UpdateNodePoolForbidden) IsServerError

func (o *UpdateNodePoolForbidden) IsServerError() bool

IsServerError returns true when this update node pool forbidden response has a 5xx status code

func (*UpdateNodePoolForbidden) IsSuccess

func (o *UpdateNodePoolForbidden) IsSuccess() bool

IsSuccess returns true when this update node pool forbidden response has a 2xx status code

func (*UpdateNodePoolForbidden) String

func (o *UpdateNodePoolForbidden) String() string

type UpdateNodePoolInternalServerError

type UpdateNodePoolInternalServerError struct {
	Payload *models.Error
}

UpdateNodePoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewUpdateNodePoolInternalServerError

func NewUpdateNodePoolInternalServerError() *UpdateNodePoolInternalServerError

NewUpdateNodePoolInternalServerError creates a UpdateNodePoolInternalServerError with default headers values

func (*UpdateNodePoolInternalServerError) Code

Code gets the status code for the update node pool internal server error response

func (*UpdateNodePoolInternalServerError) Error

func (*UpdateNodePoolInternalServerError) GetPayload

func (*UpdateNodePoolInternalServerError) IsClientError

func (o *UpdateNodePoolInternalServerError) IsClientError() bool

IsClientError returns true when this update node pool internal server error response has a 4xx status code

func (*UpdateNodePoolInternalServerError) IsCode

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

IsCode returns true when this update node pool internal server error response a status code equal to that given

func (*UpdateNodePoolInternalServerError) IsRedirect

func (o *UpdateNodePoolInternalServerError) IsRedirect() bool

IsRedirect returns true when this update node pool internal server error response has a 3xx status code

func (*UpdateNodePoolInternalServerError) IsServerError

func (o *UpdateNodePoolInternalServerError) IsServerError() bool

IsServerError returns true when this update node pool internal server error response has a 5xx status code

func (*UpdateNodePoolInternalServerError) IsSuccess

func (o *UpdateNodePoolInternalServerError) IsSuccess() bool

IsSuccess returns true when this update node pool internal server error response has a 2xx status code

func (*UpdateNodePoolInternalServerError) String

type UpdateNodePoolOK

type UpdateNodePoolOK struct {
	Payload *models.NodePool
}

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

The node pool update request is accepted.

func NewUpdateNodePoolOK

func NewUpdateNodePoolOK() *UpdateNodePoolOK

NewUpdateNodePoolOK creates a UpdateNodePoolOK with default headers values

func (*UpdateNodePoolOK) Code

func (o *UpdateNodePoolOK) Code() int

Code gets the status code for the update node pool o k response

func (*UpdateNodePoolOK) Error

func (o *UpdateNodePoolOK) Error() string

func (*UpdateNodePoolOK) GetPayload

func (o *UpdateNodePoolOK) GetPayload() *models.NodePool

func (*UpdateNodePoolOK) IsClientError

func (o *UpdateNodePoolOK) IsClientError() bool

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

func (*UpdateNodePoolOK) IsCode

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

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

func (*UpdateNodePoolOK) IsRedirect

func (o *UpdateNodePoolOK) IsRedirect() bool

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

func (*UpdateNodePoolOK) IsServerError

func (o *UpdateNodePoolOK) IsServerError() bool

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

func (*UpdateNodePoolOK) IsSuccess

func (o *UpdateNodePoolOK) IsSuccess() bool

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

func (*UpdateNodePoolOK) String

func (o *UpdateNodePoolOK) String() string

type UpdateNodePoolParams

type UpdateNodePoolParams struct {

	/* ClusterID.

	   ID of the cluster.
	*/
	ClusterID string

	/* NodePool.

	   Node pool to be updated.
	*/
	NodePool *models.NodePoolUpdate

	/* NodePoolName.

	   Name of the node pool.
	*/
	NodePoolName string

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

UpdateNodePoolParams contains all the parameters to send to the API endpoint

for the update node pool operation.

Typically these are written to a http.Request.

func NewUpdateNodePoolParams

func NewUpdateNodePoolParams() *UpdateNodePoolParams

NewUpdateNodePoolParams creates a new UpdateNodePoolParams 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 NewUpdateNodePoolParamsWithContext

func NewUpdateNodePoolParamsWithContext(ctx context.Context) *UpdateNodePoolParams

NewUpdateNodePoolParamsWithContext creates a new UpdateNodePoolParams object with the ability to set a context for a request.

func NewUpdateNodePoolParamsWithHTTPClient

func NewUpdateNodePoolParamsWithHTTPClient(client *http.Client) *UpdateNodePoolParams

NewUpdateNodePoolParamsWithHTTPClient creates a new UpdateNodePoolParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNodePoolParamsWithTimeout

func NewUpdateNodePoolParamsWithTimeout(timeout time.Duration) *UpdateNodePoolParams

NewUpdateNodePoolParamsWithTimeout creates a new UpdateNodePoolParams object with the ability to set a timeout on a request.

func (*UpdateNodePoolParams) SetClusterID

func (o *UpdateNodePoolParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update node pool params

func (*UpdateNodePoolParams) SetContext

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

SetContext adds the context to the update node pool params

func (*UpdateNodePoolParams) SetDefaults

func (o *UpdateNodePoolParams) SetDefaults()

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

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

func (*UpdateNodePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update node pool params

func (*UpdateNodePoolParams) SetNodePool

func (o *UpdateNodePoolParams) SetNodePool(nodePool *models.NodePoolUpdate)

SetNodePool adds the nodePool to the update node pool params

func (*UpdateNodePoolParams) SetNodePoolName

func (o *UpdateNodePoolParams) SetNodePoolName(nodePoolName string)

SetNodePoolName adds the nodePoolName to the update node pool params

func (*UpdateNodePoolParams) SetTimeout

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

SetTimeout adds the timeout to the update node pool params

func (*UpdateNodePoolParams) WithClusterID

func (o *UpdateNodePoolParams) WithClusterID(clusterID string) *UpdateNodePoolParams

WithClusterID adds the clusterID to the update node pool params

func (*UpdateNodePoolParams) WithContext

WithContext adds the context to the update node pool params

func (*UpdateNodePoolParams) WithDefaults

func (o *UpdateNodePoolParams) WithDefaults() *UpdateNodePoolParams

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

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

func (*UpdateNodePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update node pool params

func (*UpdateNodePoolParams) WithNodePool

func (o *UpdateNodePoolParams) WithNodePool(nodePool *models.NodePoolUpdate) *UpdateNodePoolParams

WithNodePool adds the nodePool to the update node pool params

func (*UpdateNodePoolParams) WithNodePoolName

func (o *UpdateNodePoolParams) WithNodePoolName(nodePoolName string) *UpdateNodePoolParams

WithNodePoolName adds the nodePoolName to the update node pool params

func (*UpdateNodePoolParams) WithTimeout

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

WithTimeout adds the timeout to the update node pool params

func (*UpdateNodePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNodePoolReader

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

UpdateNodePoolReader is a Reader for the UpdateNodePool structure.

func (*UpdateNodePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNodePoolUnauthorized

type UpdateNodePoolUnauthorized struct {
}

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

Unauthorized

func NewUpdateNodePoolUnauthorized

func NewUpdateNodePoolUnauthorized() *UpdateNodePoolUnauthorized

NewUpdateNodePoolUnauthorized creates a UpdateNodePoolUnauthorized with default headers values

func (*UpdateNodePoolUnauthorized) Code

func (o *UpdateNodePoolUnauthorized) Code() int

Code gets the status code for the update node pool unauthorized response

func (*UpdateNodePoolUnauthorized) Error

func (*UpdateNodePoolUnauthorized) IsClientError

func (o *UpdateNodePoolUnauthorized) IsClientError() bool

IsClientError returns true when this update node pool unauthorized response has a 4xx status code

func (*UpdateNodePoolUnauthorized) IsCode

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

IsCode returns true when this update node pool unauthorized response a status code equal to that given

func (*UpdateNodePoolUnauthorized) IsRedirect

func (o *UpdateNodePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this update node pool unauthorized response has a 3xx status code

func (*UpdateNodePoolUnauthorized) IsServerError

func (o *UpdateNodePoolUnauthorized) IsServerError() bool

IsServerError returns true when this update node pool unauthorized response has a 5xx status code

func (*UpdateNodePoolUnauthorized) IsSuccess

func (o *UpdateNodePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this update node pool unauthorized response has a 2xx status code

func (*UpdateNodePoolUnauthorized) String

func (o *UpdateNodePoolUnauthorized) String() string

Jump to

Keyboard shortcuts

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