Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateOrUpdateNodePool(params *CreateOrUpdateNodePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOrUpdateNodePoolOK, error)
- func (a *Client) DeleteNodePool(params *DeleteNodePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNodePoolNoContent, error)
- func (a *Client) ListNodePools(params *ListNodePoolsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListNodePoolsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNodePool(params *UpdateNodePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateNodePoolOK, error)
- type ClientOption
- type ClientService
- type CreateOrUpdateNodePoolBadRequest
- func (o *CreateOrUpdateNodePoolBadRequest) Code() int
- func (o *CreateOrUpdateNodePoolBadRequest) Error() string
- func (o *CreateOrUpdateNodePoolBadRequest) GetPayload() *models.Error
- func (o *CreateOrUpdateNodePoolBadRequest) IsClientError() bool
- func (o *CreateOrUpdateNodePoolBadRequest) IsCode(code int) bool
- func (o *CreateOrUpdateNodePoolBadRequest) IsRedirect() bool
- func (o *CreateOrUpdateNodePoolBadRequest) IsServerError() bool
- func (o *CreateOrUpdateNodePoolBadRequest) IsSuccess() bool
- func (o *CreateOrUpdateNodePoolBadRequest) String() string
- type CreateOrUpdateNodePoolForbidden
- func (o *CreateOrUpdateNodePoolForbidden) Code() int
- func (o *CreateOrUpdateNodePoolForbidden) Error() string
- func (o *CreateOrUpdateNodePoolForbidden) IsClientError() bool
- func (o *CreateOrUpdateNodePoolForbidden) IsCode(code int) bool
- func (o *CreateOrUpdateNodePoolForbidden) IsRedirect() bool
- func (o *CreateOrUpdateNodePoolForbidden) IsServerError() bool
- func (o *CreateOrUpdateNodePoolForbidden) IsSuccess() bool
- func (o *CreateOrUpdateNodePoolForbidden) String() string
- type CreateOrUpdateNodePoolInternalServerError
- func (o *CreateOrUpdateNodePoolInternalServerError) Code() int
- func (o *CreateOrUpdateNodePoolInternalServerError) Error() string
- func (o *CreateOrUpdateNodePoolInternalServerError) GetPayload() *models.Error
- func (o *CreateOrUpdateNodePoolInternalServerError) IsClientError() bool
- func (o *CreateOrUpdateNodePoolInternalServerError) IsCode(code int) bool
- func (o *CreateOrUpdateNodePoolInternalServerError) IsRedirect() bool
- func (o *CreateOrUpdateNodePoolInternalServerError) IsServerError() bool
- func (o *CreateOrUpdateNodePoolInternalServerError) IsSuccess() bool
- func (o *CreateOrUpdateNodePoolInternalServerError) String() string
- type CreateOrUpdateNodePoolOK
- func (o *CreateOrUpdateNodePoolOK) Code() int
- func (o *CreateOrUpdateNodePoolOK) Error() string
- func (o *CreateOrUpdateNodePoolOK) GetPayload() *models.NodePool
- func (o *CreateOrUpdateNodePoolOK) IsClientError() bool
- func (o *CreateOrUpdateNodePoolOK) IsCode(code int) bool
- func (o *CreateOrUpdateNodePoolOK) IsRedirect() bool
- func (o *CreateOrUpdateNodePoolOK) IsServerError() bool
- func (o *CreateOrUpdateNodePoolOK) IsSuccess() bool
- func (o *CreateOrUpdateNodePoolOK) String() string
- type CreateOrUpdateNodePoolParams
- func NewCreateOrUpdateNodePoolParams() *CreateOrUpdateNodePoolParams
- func NewCreateOrUpdateNodePoolParamsWithContext(ctx context.Context) *CreateOrUpdateNodePoolParams
- func NewCreateOrUpdateNodePoolParamsWithHTTPClient(client *http.Client) *CreateOrUpdateNodePoolParams
- func NewCreateOrUpdateNodePoolParamsWithTimeout(timeout time.Duration) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) SetClusterID(clusterID string)
- func (o *CreateOrUpdateNodePoolParams) SetContext(ctx context.Context)
- func (o *CreateOrUpdateNodePoolParams) SetDefaults()
- func (o *CreateOrUpdateNodePoolParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrUpdateNodePoolParams) SetNodePool(nodePool *models.NodePool)
- func (o *CreateOrUpdateNodePoolParams) SetNodePoolName(nodePoolName string)
- func (o *CreateOrUpdateNodePoolParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrUpdateNodePoolParams) WithClusterID(clusterID string) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WithContext(ctx context.Context) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WithDefaults() *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WithHTTPClient(client *http.Client) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WithNodePool(nodePool *models.NodePool) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WithNodePoolName(nodePoolName string) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WithTimeout(timeout time.Duration) *CreateOrUpdateNodePoolParams
- func (o *CreateOrUpdateNodePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrUpdateNodePoolReader
- type CreateOrUpdateNodePoolUnauthorized
- func (o *CreateOrUpdateNodePoolUnauthorized) Code() int
- func (o *CreateOrUpdateNodePoolUnauthorized) Error() string
- func (o *CreateOrUpdateNodePoolUnauthorized) IsClientError() bool
- func (o *CreateOrUpdateNodePoolUnauthorized) IsCode(code int) bool
- func (o *CreateOrUpdateNodePoolUnauthorized) IsRedirect() bool
- func (o *CreateOrUpdateNodePoolUnauthorized) IsServerError() bool
- func (o *CreateOrUpdateNodePoolUnauthorized) IsSuccess() bool
- func (o *CreateOrUpdateNodePoolUnauthorized) String() string
- type DeleteNodePoolBadRequest
- func (o *DeleteNodePoolBadRequest) Code() int
- func (o *DeleteNodePoolBadRequest) Error() string
- func (o *DeleteNodePoolBadRequest) GetPayload() *models.Error
- func (o *DeleteNodePoolBadRequest) IsClientError() bool
- func (o *DeleteNodePoolBadRequest) IsCode(code int) bool
- func (o *DeleteNodePoolBadRequest) IsRedirect() bool
- func (o *DeleteNodePoolBadRequest) IsServerError() bool
- func (o *DeleteNodePoolBadRequest) IsSuccess() bool
- func (o *DeleteNodePoolBadRequest) String() string
- type DeleteNodePoolForbidden
- func (o *DeleteNodePoolForbidden) Code() int
- func (o *DeleteNodePoolForbidden) Error() string
- func (o *DeleteNodePoolForbidden) IsClientError() bool
- func (o *DeleteNodePoolForbidden) IsCode(code int) bool
- func (o *DeleteNodePoolForbidden) IsRedirect() bool
- func (o *DeleteNodePoolForbidden) IsServerError() bool
- func (o *DeleteNodePoolForbidden) IsSuccess() bool
- func (o *DeleteNodePoolForbidden) String() string
- type DeleteNodePoolInternalServerError
- func (o *DeleteNodePoolInternalServerError) Code() int
- func (o *DeleteNodePoolInternalServerError) Error() string
- func (o *DeleteNodePoolInternalServerError) GetPayload() *models.Error
- func (o *DeleteNodePoolInternalServerError) IsClientError() bool
- func (o *DeleteNodePoolInternalServerError) IsCode(code int) bool
- func (o *DeleteNodePoolInternalServerError) IsRedirect() bool
- func (o *DeleteNodePoolInternalServerError) IsServerError() bool
- func (o *DeleteNodePoolInternalServerError) IsSuccess() bool
- func (o *DeleteNodePoolInternalServerError) String() string
- type DeleteNodePoolNoContent
- func (o *DeleteNodePoolNoContent) Code() int
- func (o *DeleteNodePoolNoContent) Error() string
- func (o *DeleteNodePoolNoContent) IsClientError() bool
- func (o *DeleteNodePoolNoContent) IsCode(code int) bool
- func (o *DeleteNodePoolNoContent) IsRedirect() bool
- func (o *DeleteNodePoolNoContent) IsServerError() bool
- func (o *DeleteNodePoolNoContent) IsSuccess() bool
- func (o *DeleteNodePoolNoContent) String() string
- type DeleteNodePoolNotFound
- func (o *DeleteNodePoolNotFound) Code() int
- func (o *DeleteNodePoolNotFound) Error() string
- func (o *DeleteNodePoolNotFound) IsClientError() bool
- func (o *DeleteNodePoolNotFound) IsCode(code int) bool
- func (o *DeleteNodePoolNotFound) IsRedirect() bool
- func (o *DeleteNodePoolNotFound) IsServerError() bool
- func (o *DeleteNodePoolNotFound) IsSuccess() bool
- func (o *DeleteNodePoolNotFound) String() string
- type DeleteNodePoolParams
- func NewDeleteNodePoolParams() *DeleteNodePoolParams
- func NewDeleteNodePoolParamsWithContext(ctx context.Context) *DeleteNodePoolParams
- func NewDeleteNodePoolParamsWithHTTPClient(client *http.Client) *DeleteNodePoolParams
- func NewDeleteNodePoolParamsWithTimeout(timeout time.Duration) *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) SetClusterID(clusterID string)
- func (o *DeleteNodePoolParams) SetContext(ctx context.Context)
- func (o *DeleteNodePoolParams) SetDefaults()
- func (o *DeleteNodePoolParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNodePoolParams) SetNodePoolName(nodePoolName string)
- func (o *DeleteNodePoolParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNodePoolParams) WithClusterID(clusterID string) *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) WithContext(ctx context.Context) *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) WithDefaults() *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) WithHTTPClient(client *http.Client) *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) WithNodePoolName(nodePoolName string) *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) WithTimeout(timeout time.Duration) *DeleteNodePoolParams
- func (o *DeleteNodePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNodePoolReader
- type DeleteNodePoolUnauthorized
- func (o *DeleteNodePoolUnauthorized) Code() int
- func (o *DeleteNodePoolUnauthorized) Error() string
- func (o *DeleteNodePoolUnauthorized) IsClientError() bool
- func (o *DeleteNodePoolUnauthorized) IsCode(code int) bool
- func (o *DeleteNodePoolUnauthorized) IsRedirect() bool
- func (o *DeleteNodePoolUnauthorized) IsServerError() bool
- func (o *DeleteNodePoolUnauthorized) IsSuccess() bool
- func (o *DeleteNodePoolUnauthorized) String() string
- type ListNodePoolsForbidden
- func (o *ListNodePoolsForbidden) Code() int
- func (o *ListNodePoolsForbidden) Error() string
- func (o *ListNodePoolsForbidden) IsClientError() bool
- func (o *ListNodePoolsForbidden) IsCode(code int) bool
- func (o *ListNodePoolsForbidden) IsRedirect() bool
- func (o *ListNodePoolsForbidden) IsServerError() bool
- func (o *ListNodePoolsForbidden) IsSuccess() bool
- func (o *ListNodePoolsForbidden) String() string
- type ListNodePoolsInternalServerError
- func (o *ListNodePoolsInternalServerError) Code() int
- func (o *ListNodePoolsInternalServerError) Error() string
- func (o *ListNodePoolsInternalServerError) GetPayload() *models.Error
- func (o *ListNodePoolsInternalServerError) IsClientError() bool
- func (o *ListNodePoolsInternalServerError) IsCode(code int) bool
- func (o *ListNodePoolsInternalServerError) IsRedirect() bool
- func (o *ListNodePoolsInternalServerError) IsServerError() bool
- func (o *ListNodePoolsInternalServerError) IsSuccess() bool
- func (o *ListNodePoolsInternalServerError) String() string
- type ListNodePoolsOK
- func (o *ListNodePoolsOK) Code() int
- func (o *ListNodePoolsOK) Error() string
- func (o *ListNodePoolsOK) GetPayload() *ListNodePoolsOKBody
- func (o *ListNodePoolsOK) IsClientError() bool
- func (o *ListNodePoolsOK) IsCode(code int) bool
- func (o *ListNodePoolsOK) IsRedirect() bool
- func (o *ListNodePoolsOK) IsServerError() bool
- func (o *ListNodePoolsOK) IsSuccess() bool
- func (o *ListNodePoolsOK) String() string
- type ListNodePoolsOKBody
- type ListNodePoolsParams
- func (o *ListNodePoolsParams) SetClusterID(clusterID string)
- func (o *ListNodePoolsParams) SetContext(ctx context.Context)
- func (o *ListNodePoolsParams) SetDefaults()
- func (o *ListNodePoolsParams) SetHTTPClient(client *http.Client)
- func (o *ListNodePoolsParams) SetTimeout(timeout time.Duration)
- func (o *ListNodePoolsParams) WithClusterID(clusterID string) *ListNodePoolsParams
- func (o *ListNodePoolsParams) WithContext(ctx context.Context) *ListNodePoolsParams
- func (o *ListNodePoolsParams) WithDefaults() *ListNodePoolsParams
- func (o *ListNodePoolsParams) WithHTTPClient(client *http.Client) *ListNodePoolsParams
- func (o *ListNodePoolsParams) WithTimeout(timeout time.Duration) *ListNodePoolsParams
- func (o *ListNodePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNodePoolsReader
- type ListNodePoolsUnauthorized
- func (o *ListNodePoolsUnauthorized) Code() int
- func (o *ListNodePoolsUnauthorized) Error() string
- func (o *ListNodePoolsUnauthorized) IsClientError() bool
- func (o *ListNodePoolsUnauthorized) IsCode(code int) bool
- func (o *ListNodePoolsUnauthorized) IsRedirect() bool
- func (o *ListNodePoolsUnauthorized) IsServerError() bool
- func (o *ListNodePoolsUnauthorized) IsSuccess() bool
- func (o *ListNodePoolsUnauthorized) String() string
- type UpdateNodePoolBadRequest
- func (o *UpdateNodePoolBadRequest) Code() int
- func (o *UpdateNodePoolBadRequest) Error() string
- func (o *UpdateNodePoolBadRequest) GetPayload() *models.Error
- func (o *UpdateNodePoolBadRequest) IsClientError() bool
- func (o *UpdateNodePoolBadRequest) IsCode(code int) bool
- func (o *UpdateNodePoolBadRequest) IsRedirect() bool
- func (o *UpdateNodePoolBadRequest) IsServerError() bool
- func (o *UpdateNodePoolBadRequest) IsSuccess() bool
- func (o *UpdateNodePoolBadRequest) String() string
- type UpdateNodePoolForbidden
- func (o *UpdateNodePoolForbidden) Code() int
- func (o *UpdateNodePoolForbidden) Error() string
- func (o *UpdateNodePoolForbidden) IsClientError() bool
- func (o *UpdateNodePoolForbidden) IsCode(code int) bool
- func (o *UpdateNodePoolForbidden) IsRedirect() bool
- func (o *UpdateNodePoolForbidden) IsServerError() bool
- func (o *UpdateNodePoolForbidden) IsSuccess() bool
- func (o *UpdateNodePoolForbidden) String() string
- type UpdateNodePoolInternalServerError
- func (o *UpdateNodePoolInternalServerError) Code() int
- func (o *UpdateNodePoolInternalServerError) Error() string
- func (o *UpdateNodePoolInternalServerError) GetPayload() *models.Error
- func (o *UpdateNodePoolInternalServerError) IsClientError() bool
- func (o *UpdateNodePoolInternalServerError) IsCode(code int) bool
- func (o *UpdateNodePoolInternalServerError) IsRedirect() bool
- func (o *UpdateNodePoolInternalServerError) IsServerError() bool
- func (o *UpdateNodePoolInternalServerError) IsSuccess() bool
- func (o *UpdateNodePoolInternalServerError) String() string
- type UpdateNodePoolOK
- func (o *UpdateNodePoolOK) Code() int
- func (o *UpdateNodePoolOK) Error() string
- func (o *UpdateNodePoolOK) GetPayload() *models.NodePool
- func (o *UpdateNodePoolOK) IsClientError() bool
- func (o *UpdateNodePoolOK) IsCode(code int) bool
- func (o *UpdateNodePoolOK) IsRedirect() bool
- func (o *UpdateNodePoolOK) IsServerError() bool
- func (o *UpdateNodePoolOK) IsSuccess() bool
- func (o *UpdateNodePoolOK) String() string
- type UpdateNodePoolParams
- func NewUpdateNodePoolParams() *UpdateNodePoolParams
- func NewUpdateNodePoolParamsWithContext(ctx context.Context) *UpdateNodePoolParams
- func NewUpdateNodePoolParamsWithHTTPClient(client *http.Client) *UpdateNodePoolParams
- func NewUpdateNodePoolParamsWithTimeout(timeout time.Duration) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) SetClusterID(clusterID string)
- func (o *UpdateNodePoolParams) SetContext(ctx context.Context)
- func (o *UpdateNodePoolParams) SetDefaults()
- func (o *UpdateNodePoolParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNodePoolParams) SetNodePool(nodePool *models.NodePoolUpdate)
- func (o *UpdateNodePoolParams) SetNodePoolName(nodePoolName string)
- func (o *UpdateNodePoolParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNodePoolParams) WithClusterID(clusterID string) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WithContext(ctx context.Context) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WithDefaults() *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WithHTTPClient(client *http.Client) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WithNodePool(nodePool *models.NodePoolUpdate) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WithNodePoolName(nodePoolName string) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WithTimeout(timeout time.Duration) *UpdateNodePoolParams
- func (o *UpdateNodePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNodePoolReader
- type UpdateNodePoolUnauthorized
- func (o *UpdateNodePoolUnauthorized) Code() int
- func (o *UpdateNodePoolUnauthorized) Error() string
- func (o *UpdateNodePoolUnauthorized) IsClientError() bool
- func (o *UpdateNodePoolUnauthorized) IsCode(code int) bool
- func (o *UpdateNodePoolUnauthorized) IsRedirect() bool
- func (o *UpdateNodePoolUnauthorized) IsServerError() bool
- func (o *UpdateNodePoolUnauthorized) IsSuccess() bool
- func (o *UpdateNodePoolUnauthorized) String() string
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 ¶
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 ¶
func (o *CreateOrUpdateNodePoolBadRequest) Code() int
Code gets the status code for the create or update node pool bad request response
func (*CreateOrUpdateNodePoolBadRequest) Error ¶
func (o *CreateOrUpdateNodePoolBadRequest) Error() string
func (*CreateOrUpdateNodePoolBadRequest) GetPayload ¶
func (o *CreateOrUpdateNodePoolBadRequest) GetPayload() *models.Error
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 ¶
func (o *CreateOrUpdateNodePoolBadRequest) String() 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 ¶
func (o *CreateOrUpdateNodePoolForbidden) Code() int
Code gets the status code for the create or update node pool forbidden response
func (*CreateOrUpdateNodePoolForbidden) Error ¶
func (o *CreateOrUpdateNodePoolForbidden) Error() string
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 ¶
func (o *CreateOrUpdateNodePoolForbidden) String() string
type CreateOrUpdateNodePoolInternalServerError ¶
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 ¶
func (o *CreateOrUpdateNodePoolInternalServerError) Code() int
Code gets the status code for the create or update node pool internal server error response
func (*CreateOrUpdateNodePoolInternalServerError) Error ¶
func (o *CreateOrUpdateNodePoolInternalServerError) Error() string
func (*CreateOrUpdateNodePoolInternalServerError) GetPayload ¶
func (o *CreateOrUpdateNodePoolInternalServerError) GetPayload() *models.Error
func (*CreateOrUpdateNodePoolInternalServerError) IsClientError ¶
func (o *CreateOrUpdateNodePoolInternalServerError) IsClientError() bool
IsClientError returns true when this create or update node pool internal server error response has a 4xx status code
func (*CreateOrUpdateNodePoolInternalServerError) IsCode ¶
func (o *CreateOrUpdateNodePoolInternalServerError) IsCode(code int) bool
IsCode returns true when this create or update node pool internal server error response a status code equal to that given
func (*CreateOrUpdateNodePoolInternalServerError) IsRedirect ¶
func (o *CreateOrUpdateNodePoolInternalServerError) IsRedirect() bool
IsRedirect returns true when this create or update node pool internal server error response has a 3xx status code
func (*CreateOrUpdateNodePoolInternalServerError) IsServerError ¶
func (o *CreateOrUpdateNodePoolInternalServerError) IsServerError() bool
IsServerError returns true when this create or update node pool internal server error response has a 5xx status code
func (*CreateOrUpdateNodePoolInternalServerError) IsSuccess ¶
func (o *CreateOrUpdateNodePoolInternalServerError) IsSuccess() bool
IsSuccess returns true when this create or update node pool internal server error response has a 2xx status code
func (*CreateOrUpdateNodePoolInternalServerError) String ¶
func (o *CreateOrUpdateNodePoolInternalServerError) String() string
type CreateOrUpdateNodePoolOK ¶
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 ¶
func (o *CreateOrUpdateNodePoolParams) WithClusterID(clusterID string) *CreateOrUpdateNodePoolParams
WithClusterID adds the clusterID to the create or update node pool params
func (*CreateOrUpdateNodePoolParams) WithContext ¶
func (o *CreateOrUpdateNodePoolParams) WithContext(ctx context.Context) *CreateOrUpdateNodePoolParams
WithContext adds the context to the create or update node pool params
func (*CreateOrUpdateNodePoolParams) WithDefaults ¶
func (o *CreateOrUpdateNodePoolParams) WithDefaults() *CreateOrUpdateNodePoolParams
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 ¶
func (o *CreateOrUpdateNodePoolParams) WithHTTPClient(client *http.Client) *CreateOrUpdateNodePoolParams
WithHTTPClient adds the HTTPClient to the create or update node pool params
func (*CreateOrUpdateNodePoolParams) WithNodePool ¶
func (o *CreateOrUpdateNodePoolParams) WithNodePool(nodePool *models.NodePool) *CreateOrUpdateNodePoolParams
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 ¶
func (o *CreateOrUpdateNodePoolParams) WithTimeout(timeout time.Duration) *CreateOrUpdateNodePoolParams
WithTimeout adds the timeout to the create or update node pool params
func (*CreateOrUpdateNodePoolParams) WriteToRequest ¶
func (o *CreateOrUpdateNodePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateOrUpdateNodePoolUnauthorized) Code() int
Code gets the status code for the create or update node pool unauthorized response
func (*CreateOrUpdateNodePoolUnauthorized) Error ¶
func (o *CreateOrUpdateNodePoolUnauthorized) Error() string
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 ¶
func (o *CreateOrUpdateNodePoolUnauthorized) IsCode(code int) bool
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 ¶
func (o *CreateOrUpdateNodePoolUnauthorized) IsSuccess() bool
IsSuccess returns true when this create or update node pool unauthorized response has a 2xx status code
func (*CreateOrUpdateNodePoolUnauthorized) String ¶
func (o *CreateOrUpdateNodePoolUnauthorized) String() string
type DeleteNodePoolBadRequest ¶
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 ¶
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 ¶
func (o *DeleteNodePoolInternalServerError) Code() int
Code gets the status code for the delete node pool internal server error response
func (*DeleteNodePoolInternalServerError) Error ¶
func (o *DeleteNodePoolInternalServerError) Error() string
func (*DeleteNodePoolInternalServerError) GetPayload ¶
func (o *DeleteNodePoolInternalServerError) GetPayload() *models.Error
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 ¶
func (o *DeleteNodePoolInternalServerError) String() 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 ¶
func (o *DeleteNodePoolParams) WithContext(ctx context.Context) *DeleteNodePoolParams
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 (o *DeleteNodePoolUnauthorized) Error() string
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 ¶
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 ¶
func (o *ListNodePoolsInternalServerError) Code() int
Code gets the status code for the list node pools internal server error response
func (*ListNodePoolsInternalServerError) Error ¶
func (o *ListNodePoolsInternalServerError) Error() string
func (*ListNodePoolsInternalServerError) GetPayload ¶
func (o *ListNodePoolsInternalServerError) GetPayload() *models.Error
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 ¶
func (o *ListNodePoolsInternalServerError) String() 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 ¶
ListNodePoolsOKBody list node pools o k body swagger:model ListNodePoolsOKBody
func (*ListNodePoolsOKBody) ContextValidate ¶
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
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 ¶
func (o *ListNodePoolsParams) WithContext(ctx context.Context) *ListNodePoolsParams
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 ¶
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 ¶
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 ¶
func (o *UpdateNodePoolInternalServerError) Code() int
Code gets the status code for the update node pool internal server error response
func (*UpdateNodePoolInternalServerError) Error ¶
func (o *UpdateNodePoolInternalServerError) Error() string
func (*UpdateNodePoolInternalServerError) GetPayload ¶
func (o *UpdateNodePoolInternalServerError) GetPayload() *models.Error
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 ¶
func (o *UpdateNodePoolInternalServerError) String() string
type UpdateNodePoolOK ¶
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 ¶
func (o *UpdateNodePoolParams) WithContext(ctx context.Context) *UpdateNodePoolParams
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 (o *UpdateNodePoolUnauthorized) Error() string
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