Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateClusterCreated, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterOK, error)
- func (a *Client) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindClusterOK, error)
- func (a *Client) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindClustersOK, error)
- func (a *Client) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterKubeconfigTplOK, error)
- func (a *Client) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSSHKeyPairOK, error)
- func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClustersOK, error)
- func (a *Client) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConstraintsOK, error)
- func (a *Client) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReconcileClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateClusterOK, error)
- type ClientOption
- type ClientService
- type CreateClusterConflict
- type CreateClusterCreated
- type CreateClusterDefault
- type CreateClusterParams
- func (o *CreateClusterParams) SetBody(body *models.V1ClusterCreateRequest)
- func (o *CreateClusterParams) SetContext(ctx context.Context)
- func (o *CreateClusterParams) SetDefaults()
- func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterParams) WithBody(body *models.V1ClusterCreateRequest) *CreateClusterParams
- func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
- func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
- func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
- func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
- func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterReader
- type DeleteClusterDefault
- type DeleteClusterOK
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetDefaults()
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetID(id string)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithID(id string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type FindClusterDefault
- type FindClusterOK
- type FindClusterParams
- func (o *FindClusterParams) SetContext(ctx context.Context)
- func (o *FindClusterParams) SetDefaults()
- func (o *FindClusterParams) SetHTTPClient(client *http.Client)
- func (o *FindClusterParams) SetID(id string)
- func (o *FindClusterParams) SetTimeout(timeout time.Duration)
- func (o *FindClusterParams) WithContext(ctx context.Context) *FindClusterParams
- func (o *FindClusterParams) WithDefaults() *FindClusterParams
- func (o *FindClusterParams) WithHTTPClient(client *http.Client) *FindClusterParams
- func (o *FindClusterParams) WithID(id string) *FindClusterParams
- func (o *FindClusterParams) WithTimeout(timeout time.Duration) *FindClusterParams
- func (o *FindClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindClusterReader
- type FindClustersDefault
- type FindClustersOK
- type FindClustersParams
- func (o *FindClustersParams) SetBody(body *models.V1ClusterFindRequest)
- func (o *FindClustersParams) SetContext(ctx context.Context)
- func (o *FindClustersParams) SetDefaults()
- func (o *FindClustersParams) SetHTTPClient(client *http.Client)
- func (o *FindClustersParams) SetReturnMachines(returnMachines *bool)
- func (o *FindClustersParams) SetTimeout(timeout time.Duration)
- func (o *FindClustersParams) WithBody(body *models.V1ClusterFindRequest) *FindClustersParams
- func (o *FindClustersParams) WithContext(ctx context.Context) *FindClustersParams
- func (o *FindClustersParams) WithDefaults() *FindClustersParams
- func (o *FindClustersParams) WithHTTPClient(client *http.Client) *FindClustersParams
- func (o *FindClustersParams) WithReturnMachines(returnMachines *bool) *FindClustersParams
- func (o *FindClustersParams) WithTimeout(timeout time.Duration) *FindClustersParams
- func (o *FindClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindClustersReader
- type GetClusterKubeconfigTplDefault
- type GetClusterKubeconfigTplOK
- type GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParams() *GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParamsWithContext(ctx context.Context) *GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParamsWithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParamsWithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) SetContext(ctx context.Context)
- func (o *GetClusterKubeconfigTplParams) SetDefaults()
- func (o *GetClusterKubeconfigTplParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterKubeconfigTplParams) SetID(id string)
- func (o *GetClusterKubeconfigTplParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterKubeconfigTplParams) WithContext(ctx context.Context) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithDefaults() *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithID(id string) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterKubeconfigTplReader
- type GetSSHKeyPairDefault
- type GetSSHKeyPairOK
- type GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) SetContext(ctx context.Context)
- func (o *GetSSHKeyPairParams) SetDefaults()
- func (o *GetSSHKeyPairParams) SetHTTPClient(client *http.Client)
- func (o *GetSSHKeyPairParams) SetID(id string)
- func (o *GetSSHKeyPairParams) SetTimeout(timeout time.Duration)
- func (o *GetSSHKeyPairParams) WithContext(ctx context.Context) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithDefaults() *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithHTTPClient(client *http.Client) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithID(id string) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithTimeout(timeout time.Duration) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSSHKeyPairReader
- type ListClustersDefault
- type ListClustersOK
- type ListClustersParams
- func (o *ListClustersParams) SetContext(ctx context.Context)
- func (o *ListClustersParams) SetDefaults()
- func (o *ListClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersParams) SetReturnMachines(returnMachines *bool)
- func (o *ListClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
- func (o *ListClustersParams) WithDefaults() *ListClustersParams
- func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
- func (o *ListClustersParams) WithReturnMachines(returnMachines *bool) *ListClustersParams
- func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
- func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersReader
- type ListConstraintsDefault
- type ListConstraintsOK
- type ListConstraintsParams
- func NewListConstraintsParams() *ListConstraintsParams
- func NewListConstraintsParamsWithContext(ctx context.Context) *ListConstraintsParams
- func NewListConstraintsParamsWithHTTPClient(client *http.Client) *ListConstraintsParams
- func NewListConstraintsParamsWithTimeout(timeout time.Duration) *ListConstraintsParams
- func (o *ListConstraintsParams) SetContext(ctx context.Context)
- func (o *ListConstraintsParams) SetDefaults()
- func (o *ListConstraintsParams) SetHTTPClient(client *http.Client)
- func (o *ListConstraintsParams) SetTimeout(timeout time.Duration)
- func (o *ListConstraintsParams) WithContext(ctx context.Context) *ListConstraintsParams
- func (o *ListConstraintsParams) WithDefaults() *ListConstraintsParams
- func (o *ListConstraintsParams) WithHTTPClient(client *http.Client) *ListConstraintsParams
- func (o *ListConstraintsParams) WithTimeout(timeout time.Duration) *ListConstraintsParams
- func (o *ListConstraintsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConstraintsReader
- type ReconcileClusterDefault
- type ReconcileClusterOK
- type ReconcileClusterParams
- func NewReconcileClusterParams() *ReconcileClusterParams
- func NewReconcileClusterParamsWithContext(ctx context.Context) *ReconcileClusterParams
- func NewReconcileClusterParamsWithHTTPClient(client *http.Client) *ReconcileClusterParams
- func NewReconcileClusterParamsWithTimeout(timeout time.Duration) *ReconcileClusterParams
- func (o *ReconcileClusterParams) SetBody(body *models.V1ClusterReconcileRequest)
- func (o *ReconcileClusterParams) SetContext(ctx context.Context)
- func (o *ReconcileClusterParams) SetDefaults()
- func (o *ReconcileClusterParams) SetHTTPClient(client *http.Client)
- func (o *ReconcileClusterParams) SetID(id string)
- func (o *ReconcileClusterParams) SetTimeout(timeout time.Duration)
- func (o *ReconcileClusterParams) WithBody(body *models.V1ClusterReconcileRequest) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithContext(ctx context.Context) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithDefaults() *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithHTTPClient(client *http.Client) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithID(id string) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithTimeout(timeout time.Duration) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReconcileClusterReader
- type UpdateClusterConflict
- type UpdateClusterDefault
- type UpdateClusterOK
- type UpdateClusterParams
- func (o *UpdateClusterParams) SetBody(body *models.V1ClusterUpdateRequest)
- func (o *UpdateClusterParams) SetContext(ctx context.Context)
- func (o *UpdateClusterParams) SetDefaults()
- func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterParams) WithBody(body *models.V1ClusterUpdateRequest) *UpdateClusterParams
- func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
- func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
- func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
- func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
- func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterReader
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 cluster API
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterCreated, error)
CreateCluster creates a cluster if the given ID already exists a conflict is returned
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)
DeleteCluster deletes an cluster and returns the deleted entity
func (*Client) FindCluster ¶
func (a *Client) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClusterOK, error)
FindCluster gets cluster by id
func (*Client) FindClusters ¶
func (a *Client) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClustersOK, error)
FindClusters finds clusters by multiple criteria
func (*Client) GetClusterKubeconfigTpl ¶
func (a *Client) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterKubeconfigTplOK, error)
GetClusterKubeconfigTpl gets the kubeconfig template just with cluster infos for the cluster
func (*Client) GetSSHKeyPair ¶
func (a *Client) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSSHKeyPairOK, error)
GetSSHKeyPair gets all the ssh keypairs of the cluster
func (*Client) ListClusters ¶
func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)
ListClusters gets all clusters
func (*Client) ListConstraints ¶
func (a *Client) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConstraintsOK, error)
ListConstraints gets constraints for cluster create
func (*Client) ReconcileCluster ¶
func (a *Client) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReconcileClusterOK, error)
ReconcileCluster triggers cluster reconcilation
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCluster ¶
func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, error)
UpdateCluster updates a cluster if the cluster was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.15.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.9.1
type ClientService interface { CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterCreated, error) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClusterOK, error) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClustersOK, error) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterKubeconfigTplOK, error) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSSHKeyPairOK, error) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConstraintsOK, error) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReconcileClusterOK, error) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, 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 cluster API client.
type CreateClusterConflict ¶
type CreateClusterConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateClusterConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateClusterConflict ¶
func NewCreateClusterConflict() *CreateClusterConflict
NewCreateClusterConflict creates a CreateClusterConflict with default headers values
func (*CreateClusterConflict) Error ¶
func (o *CreateClusterConflict) Error() string
func (*CreateClusterConflict) GetPayload ¶ added in v0.9.1
func (o *CreateClusterConflict) GetPayload() *httperrors.HTTPErrorResponse
type CreateClusterCreated ¶
type CreateClusterCreated struct {
Payload *models.V1ClusterResponse
}
CreateClusterCreated describes a response with status code 201, with default header values.
Created
func NewCreateClusterCreated ¶
func NewCreateClusterCreated() *CreateClusterCreated
NewCreateClusterCreated creates a CreateClusterCreated with default headers values
func (*CreateClusterCreated) Error ¶
func (o *CreateClusterCreated) Error() string
func (*CreateClusterCreated) GetPayload ¶ added in v0.9.1
func (o *CreateClusterCreated) GetPayload() *models.V1ClusterResponse
type CreateClusterDefault ¶
type CreateClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateClusterDefault describes a response with status code -1, with default header values.
Error
func NewCreateClusterDefault ¶
func NewCreateClusterDefault(code int) *CreateClusterDefault
NewCreateClusterDefault creates a CreateClusterDefault with default headers values
func (*CreateClusterDefault) Code ¶
func (o *CreateClusterDefault) Code() int
Code gets the status code for the create cluster default response
func (*CreateClusterDefault) Error ¶
func (o *CreateClusterDefault) Error() string
func (*CreateClusterDefault) GetPayload ¶ added in v0.9.1
func (o *CreateClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
type CreateClusterParams ¶
type CreateClusterParams struct { // Body. Body *models.V1ClusterCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterParams contains all the parameters to send to the API endpoint
for the create cluster operation. Typically these are written to a http.Request.
func NewCreateClusterParams ¶
func NewCreateClusterParams() *CreateClusterParams
NewCreateClusterParams creates a new CreateClusterParams 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 NewCreateClusterParamsWithContext ¶
func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams
NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the ability to set a context for a request.
func NewCreateClusterParamsWithHTTPClient ¶
func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams
NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateClusterParamsWithTimeout ¶
func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams
NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the ability to set a timeout on a request.
func (*CreateClusterParams) SetBody ¶
func (o *CreateClusterParams) SetBody(body *models.V1ClusterCreateRequest)
SetBody adds the body to the create cluster params
func (*CreateClusterParams) SetContext ¶
func (o *CreateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster params
func (*CreateClusterParams) SetDefaults ¶ added in v0.12.0
func (o *CreateClusterParams) SetDefaults()
SetDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) SetHTTPClient ¶
func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) SetTimeout ¶
func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WithBody ¶
func (o *CreateClusterParams) WithBody(body *models.V1ClusterCreateRequest) *CreateClusterParams
WithBody adds the body to the create cluster params
func (*CreateClusterParams) WithContext ¶
func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
WithContext adds the context to the create cluster params
func (*CreateClusterParams) WithDefaults ¶ added in v0.12.0
func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
WithDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) WithHTTPClient ¶
func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
WithHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) WithTimeout ¶
func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
WithTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WriteToRequest ¶
func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterReader ¶
type CreateClusterReader struct {
// contains filtered or unexported fields
}
CreateClusterReader is a Reader for the CreateCluster structure.
func (*CreateClusterReader) ReadResponse ¶
func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterDefault ¶
type DeleteClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteClusterDefault describes a response with status code -1, with default header values.
Error
func NewDeleteClusterDefault ¶
func NewDeleteClusterDefault(code int) *DeleteClusterDefault
NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values
func (*DeleteClusterDefault) Code ¶
func (o *DeleteClusterDefault) Code() int
Code gets the status code for the delete cluster default response
func (*DeleteClusterDefault) Error ¶
func (o *DeleteClusterDefault) Error() string
func (*DeleteClusterDefault) GetPayload ¶ added in v0.9.1
func (o *DeleteClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
type DeleteClusterOK ¶
type DeleteClusterOK struct {
Payload *models.V1ClusterResponse
}
DeleteClusterOK describes a response with status code 200, with default header values.
OK
func NewDeleteClusterOK ¶
func NewDeleteClusterOK() *DeleteClusterOK
NewDeleteClusterOK creates a DeleteClusterOK with default headers values
func (*DeleteClusterOK) Error ¶
func (o *DeleteClusterOK) Error() string
func (*DeleteClusterOK) GetPayload ¶ added in v0.9.1
func (o *DeleteClusterOK) GetPayload() *models.V1ClusterResponse
type DeleteClusterParams ¶
type DeleteClusterParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterParams contains all the parameters to send to the API endpoint
for the delete cluster operation. Typically these are written to a http.Request.
func NewDeleteClusterParams ¶
func NewDeleteClusterParams() *DeleteClusterParams
NewDeleteClusterParams creates a new DeleteClusterParams 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 NewDeleteClusterParamsWithContext ¶
func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams
NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.
func NewDeleteClusterParamsWithHTTPClient ¶
func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams
NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterParamsWithTimeout ¶
func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams
NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.
func (*DeleteClusterParams) SetContext ¶
func (o *DeleteClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster params
func (*DeleteClusterParams) SetDefaults ¶ added in v0.12.0
func (o *DeleteClusterParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) SetHTTPClient ¶
func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) SetID ¶
func (o *DeleteClusterParams) SetID(id string)
SetID adds the id to the delete cluster params
func (*DeleteClusterParams) SetTimeout ¶
func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WithContext ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
WithContext adds the context to the delete cluster params
func (*DeleteClusterParams) WithDefaults ¶ added in v0.12.0
func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
WithDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) WithHTTPClient ¶
func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
WithHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) WithID ¶
func (o *DeleteClusterParams) WithID(id string) *DeleteClusterParams
WithID adds the id to the delete cluster params
func (*DeleteClusterParams) WithTimeout ¶
func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
WithTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WriteToRequest ¶
func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterReader ¶
type DeleteClusterReader struct {
// contains filtered or unexported fields
}
DeleteClusterReader is a Reader for the DeleteCluster structure.
func (*DeleteClusterReader) ReadResponse ¶
func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindClusterDefault ¶
type FindClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindClusterDefault describes a response with status code -1, with default header values.
Error
func NewFindClusterDefault ¶
func NewFindClusterDefault(code int) *FindClusterDefault
NewFindClusterDefault creates a FindClusterDefault with default headers values
func (*FindClusterDefault) Code ¶
func (o *FindClusterDefault) Code() int
Code gets the status code for the find cluster default response
func (*FindClusterDefault) Error ¶
func (o *FindClusterDefault) Error() string
func (*FindClusterDefault) GetPayload ¶ added in v0.9.1
func (o *FindClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
type FindClusterOK ¶
type FindClusterOK struct {
Payload *models.V1ClusterResponse
}
FindClusterOK describes a response with status code 200, with default header values.
OK
func NewFindClusterOK ¶
func NewFindClusterOK() *FindClusterOK
NewFindClusterOK creates a FindClusterOK with default headers values
func (*FindClusterOK) Error ¶
func (o *FindClusterOK) Error() string
func (*FindClusterOK) GetPayload ¶ added in v0.9.1
func (o *FindClusterOK) GetPayload() *models.V1ClusterResponse
type FindClusterParams ¶
type FindClusterParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindClusterParams contains all the parameters to send to the API endpoint
for the find cluster operation. Typically these are written to a http.Request.
func NewFindClusterParams ¶
func NewFindClusterParams() *FindClusterParams
NewFindClusterParams creates a new FindClusterParams 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 NewFindClusterParamsWithContext ¶
func NewFindClusterParamsWithContext(ctx context.Context) *FindClusterParams
NewFindClusterParamsWithContext creates a new FindClusterParams object with the ability to set a context for a request.
func NewFindClusterParamsWithHTTPClient ¶
func NewFindClusterParamsWithHTTPClient(client *http.Client) *FindClusterParams
NewFindClusterParamsWithHTTPClient creates a new FindClusterParams object with the ability to set a custom HTTPClient for a request.
func NewFindClusterParamsWithTimeout ¶
func NewFindClusterParamsWithTimeout(timeout time.Duration) *FindClusterParams
NewFindClusterParamsWithTimeout creates a new FindClusterParams object with the ability to set a timeout on a request.
func (*FindClusterParams) SetContext ¶
func (o *FindClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the find cluster params
func (*FindClusterParams) SetDefaults ¶ added in v0.12.0
func (o *FindClusterParams) SetDefaults()
SetDefaults hydrates default values in the find cluster params (not the query body).
All values with no default are reset to their zero value.
func (*FindClusterParams) SetHTTPClient ¶
func (o *FindClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find cluster params
func (*FindClusterParams) SetID ¶
func (o *FindClusterParams) SetID(id string)
SetID adds the id to the find cluster params
func (*FindClusterParams) SetTimeout ¶
func (o *FindClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find cluster params
func (*FindClusterParams) WithContext ¶
func (o *FindClusterParams) WithContext(ctx context.Context) *FindClusterParams
WithContext adds the context to the find cluster params
func (*FindClusterParams) WithDefaults ¶ added in v0.12.0
func (o *FindClusterParams) WithDefaults() *FindClusterParams
WithDefaults hydrates default values in the find cluster params (not the query body).
All values with no default are reset to their zero value.
func (*FindClusterParams) WithHTTPClient ¶
func (o *FindClusterParams) WithHTTPClient(client *http.Client) *FindClusterParams
WithHTTPClient adds the HTTPClient to the find cluster params
func (*FindClusterParams) WithID ¶
func (o *FindClusterParams) WithID(id string) *FindClusterParams
WithID adds the id to the find cluster params
func (*FindClusterParams) WithTimeout ¶
func (o *FindClusterParams) WithTimeout(timeout time.Duration) *FindClusterParams
WithTimeout adds the timeout to the find cluster params
func (*FindClusterParams) WriteToRequest ¶
func (o *FindClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindClusterReader ¶
type FindClusterReader struct {
// contains filtered or unexported fields
}
FindClusterReader is a Reader for the FindCluster structure.
func (*FindClusterReader) ReadResponse ¶
func (o *FindClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindClustersDefault ¶
type FindClustersDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindClustersDefault describes a response with status code -1, with default header values.
Error
func NewFindClustersDefault ¶
func NewFindClustersDefault(code int) *FindClustersDefault
NewFindClustersDefault creates a FindClustersDefault with default headers values
func (*FindClustersDefault) Code ¶
func (o *FindClustersDefault) Code() int
Code gets the status code for the find clusters default response
func (*FindClustersDefault) Error ¶
func (o *FindClustersDefault) Error() string
func (*FindClustersDefault) GetPayload ¶ added in v0.9.1
func (o *FindClustersDefault) GetPayload() *httperrors.HTTPErrorResponse
type FindClustersOK ¶
type FindClustersOK struct {
Payload []*models.V1ClusterResponse
}
FindClustersOK describes a response with status code 200, with default header values.
OK
func NewFindClustersOK ¶
func NewFindClustersOK() *FindClustersOK
NewFindClustersOK creates a FindClustersOK with default headers values
func (*FindClustersOK) Error ¶
func (o *FindClustersOK) Error() string
func (*FindClustersOK) GetPayload ¶ added in v0.9.1
func (o *FindClustersOK) GetPayload() []*models.V1ClusterResponse
type FindClustersParams ¶
type FindClustersParams struct { // Body. Body *models.V1ClusterFindRequest /* ReturnMachines. returns machines in the response, which is disabled by default for list responses because it makes the request slower */ ReturnMachines *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindClustersParams contains all the parameters to send to the API endpoint
for the find clusters operation. Typically these are written to a http.Request.
func NewFindClustersParams ¶
func NewFindClustersParams() *FindClustersParams
NewFindClustersParams creates a new FindClustersParams 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 NewFindClustersParamsWithContext ¶
func NewFindClustersParamsWithContext(ctx context.Context) *FindClustersParams
NewFindClustersParamsWithContext creates a new FindClustersParams object with the ability to set a context for a request.
func NewFindClustersParamsWithHTTPClient ¶
func NewFindClustersParamsWithHTTPClient(client *http.Client) *FindClustersParams
NewFindClustersParamsWithHTTPClient creates a new FindClustersParams object with the ability to set a custom HTTPClient for a request.
func NewFindClustersParamsWithTimeout ¶
func NewFindClustersParamsWithTimeout(timeout time.Duration) *FindClustersParams
NewFindClustersParamsWithTimeout creates a new FindClustersParams object with the ability to set a timeout on a request.
func (*FindClustersParams) SetBody ¶
func (o *FindClustersParams) SetBody(body *models.V1ClusterFindRequest)
SetBody adds the body to the find clusters params
func (*FindClustersParams) SetContext ¶
func (o *FindClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the find clusters params
func (*FindClustersParams) SetDefaults ¶ added in v0.12.0
func (o *FindClustersParams) SetDefaults()
SetDefaults hydrates default values in the find clusters params (not the query body).
All values with no default are reset to their zero value.
func (*FindClustersParams) SetHTTPClient ¶
func (o *FindClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find clusters params
func (*FindClustersParams) SetReturnMachines ¶ added in v0.9.1
func (o *FindClustersParams) SetReturnMachines(returnMachines *bool)
SetReturnMachines adds the returnMachines to the find clusters params
func (*FindClustersParams) SetTimeout ¶
func (o *FindClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find clusters params
func (*FindClustersParams) WithBody ¶
func (o *FindClustersParams) WithBody(body *models.V1ClusterFindRequest) *FindClustersParams
WithBody adds the body to the find clusters params
func (*FindClustersParams) WithContext ¶
func (o *FindClustersParams) WithContext(ctx context.Context) *FindClustersParams
WithContext adds the context to the find clusters params
func (*FindClustersParams) WithDefaults ¶ added in v0.12.0
func (o *FindClustersParams) WithDefaults() *FindClustersParams
WithDefaults hydrates default values in the find clusters params (not the query body).
All values with no default are reset to their zero value.
func (*FindClustersParams) WithHTTPClient ¶
func (o *FindClustersParams) WithHTTPClient(client *http.Client) *FindClustersParams
WithHTTPClient adds the HTTPClient to the find clusters params
func (*FindClustersParams) WithReturnMachines ¶ added in v0.9.1
func (o *FindClustersParams) WithReturnMachines(returnMachines *bool) *FindClustersParams
WithReturnMachines adds the returnMachines to the find clusters params
func (*FindClustersParams) WithTimeout ¶
func (o *FindClustersParams) WithTimeout(timeout time.Duration) *FindClustersParams
WithTimeout adds the timeout to the find clusters params
func (*FindClustersParams) WriteToRequest ¶
func (o *FindClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindClustersReader ¶
type FindClustersReader struct {
// contains filtered or unexported fields
}
FindClustersReader is a Reader for the FindClusters structure.
func (*FindClustersReader) ReadResponse ¶
func (o *FindClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterKubeconfigTplDefault ¶
type GetClusterKubeconfigTplDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetClusterKubeconfigTplDefault describes a response with status code -1, with default header values.
Error
func NewGetClusterKubeconfigTplDefault ¶
func NewGetClusterKubeconfigTplDefault(code int) *GetClusterKubeconfigTplDefault
NewGetClusterKubeconfigTplDefault creates a GetClusterKubeconfigTplDefault with default headers values
func (*GetClusterKubeconfigTplDefault) Code ¶
func (o *GetClusterKubeconfigTplDefault) Code() int
Code gets the status code for the get cluster kubeconfig tpl default response
func (*GetClusterKubeconfigTplDefault) Error ¶
func (o *GetClusterKubeconfigTplDefault) Error() string
func (*GetClusterKubeconfigTplDefault) GetPayload ¶ added in v0.9.1
func (o *GetClusterKubeconfigTplDefault) GetPayload() *httperrors.HTTPErrorResponse
type GetClusterKubeconfigTplOK ¶
type GetClusterKubeconfigTplOK struct {
Payload *models.V1ClusterKubeconfigResponse
}
GetClusterKubeconfigTplOK describes a response with status code 200, with default header values.
OK
func NewGetClusterKubeconfigTplOK ¶
func NewGetClusterKubeconfigTplOK() *GetClusterKubeconfigTplOK
NewGetClusterKubeconfigTplOK creates a GetClusterKubeconfigTplOK with default headers values
func (*GetClusterKubeconfigTplOK) Error ¶
func (o *GetClusterKubeconfigTplOK) Error() string
func (*GetClusterKubeconfigTplOK) GetPayload ¶ added in v0.9.1
func (o *GetClusterKubeconfigTplOK) GetPayload() *models.V1ClusterKubeconfigResponse
type GetClusterKubeconfigTplParams ¶
type GetClusterKubeconfigTplParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterKubeconfigTplParams contains all the parameters to send to the API endpoint
for the get cluster kubeconfig tpl operation. Typically these are written to a http.Request.
func NewGetClusterKubeconfigTplParams ¶
func NewGetClusterKubeconfigTplParams() *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParams creates a new GetClusterKubeconfigTplParams 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 NewGetClusterKubeconfigTplParamsWithContext ¶
func NewGetClusterKubeconfigTplParamsWithContext(ctx context.Context) *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParamsWithContext creates a new GetClusterKubeconfigTplParams object with the ability to set a context for a request.
func NewGetClusterKubeconfigTplParamsWithHTTPClient ¶
func NewGetClusterKubeconfigTplParamsWithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParamsWithHTTPClient creates a new GetClusterKubeconfigTplParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterKubeconfigTplParamsWithTimeout ¶
func NewGetClusterKubeconfigTplParamsWithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParamsWithTimeout creates a new GetClusterKubeconfigTplParams object with the ability to set a timeout on a request.
func (*GetClusterKubeconfigTplParams) SetContext ¶
func (o *GetClusterKubeconfigTplParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) SetDefaults ¶ added in v0.12.0
func (o *GetClusterKubeconfigTplParams) SetDefaults()
SetDefaults hydrates default values in the get cluster kubeconfig tpl params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterKubeconfigTplParams) SetHTTPClient ¶
func (o *GetClusterKubeconfigTplParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) SetID ¶
func (o *GetClusterKubeconfigTplParams) SetID(id string)
SetID adds the id to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) SetTimeout ¶
func (o *GetClusterKubeconfigTplParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithContext ¶
func (o *GetClusterKubeconfigTplParams) WithContext(ctx context.Context) *GetClusterKubeconfigTplParams
WithContext adds the context to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithDefaults ¶ added in v0.12.0
func (o *GetClusterKubeconfigTplParams) WithDefaults() *GetClusterKubeconfigTplParams
WithDefaults hydrates default values in the get cluster kubeconfig tpl params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterKubeconfigTplParams) WithHTTPClient ¶
func (o *GetClusterKubeconfigTplParams) WithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
WithHTTPClient adds the HTTPClient to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithID ¶
func (o *GetClusterKubeconfigTplParams) WithID(id string) *GetClusterKubeconfigTplParams
WithID adds the id to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithTimeout ¶
func (o *GetClusterKubeconfigTplParams) WithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
WithTimeout adds the timeout to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WriteToRequest ¶
func (o *GetClusterKubeconfigTplParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterKubeconfigTplReader ¶
type GetClusterKubeconfigTplReader struct {
// contains filtered or unexported fields
}
GetClusterKubeconfigTplReader is a Reader for the GetClusterKubeconfigTpl structure.
func (*GetClusterKubeconfigTplReader) ReadResponse ¶
func (o *GetClusterKubeconfigTplReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSSHKeyPairDefault ¶
type GetSSHKeyPairDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetSSHKeyPairDefault describes a response with status code -1, with default header values.
Error
func NewGetSSHKeyPairDefault ¶
func NewGetSSHKeyPairDefault(code int) *GetSSHKeyPairDefault
NewGetSSHKeyPairDefault creates a GetSSHKeyPairDefault with default headers values
func (*GetSSHKeyPairDefault) Code ¶
func (o *GetSSHKeyPairDefault) Code() int
Code gets the status code for the get SSH key pair default response
func (*GetSSHKeyPairDefault) Error ¶
func (o *GetSSHKeyPairDefault) Error() string
func (*GetSSHKeyPairDefault) GetPayload ¶ added in v0.9.1
func (o *GetSSHKeyPairDefault) GetPayload() *httperrors.HTTPErrorResponse
type GetSSHKeyPairOK ¶
type GetSSHKeyPairOK struct {
Payload *models.V1ClusterCredentialsResponse
}
GetSSHKeyPairOK describes a response with status code 200, with default header values.
OK
func NewGetSSHKeyPairOK ¶
func NewGetSSHKeyPairOK() *GetSSHKeyPairOK
NewGetSSHKeyPairOK creates a GetSSHKeyPairOK with default headers values
func (*GetSSHKeyPairOK) Error ¶
func (o *GetSSHKeyPairOK) Error() string
func (*GetSSHKeyPairOK) GetPayload ¶ added in v0.9.1
func (o *GetSSHKeyPairOK) GetPayload() *models.V1ClusterCredentialsResponse
type GetSSHKeyPairParams ¶
type GetSSHKeyPairParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSSHKeyPairParams contains all the parameters to send to the API endpoint
for the get SSH key pair operation. Typically these are written to a http.Request.
func NewGetSSHKeyPairParams ¶
func NewGetSSHKeyPairParams() *GetSSHKeyPairParams
NewGetSSHKeyPairParams creates a new GetSSHKeyPairParams 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 NewGetSSHKeyPairParamsWithContext ¶
func NewGetSSHKeyPairParamsWithContext(ctx context.Context) *GetSSHKeyPairParams
NewGetSSHKeyPairParamsWithContext creates a new GetSSHKeyPairParams object with the ability to set a context for a request.
func NewGetSSHKeyPairParamsWithHTTPClient ¶
func NewGetSSHKeyPairParamsWithHTTPClient(client *http.Client) *GetSSHKeyPairParams
NewGetSSHKeyPairParamsWithHTTPClient creates a new GetSSHKeyPairParams object with the ability to set a custom HTTPClient for a request.
func NewGetSSHKeyPairParamsWithTimeout ¶
func NewGetSSHKeyPairParamsWithTimeout(timeout time.Duration) *GetSSHKeyPairParams
NewGetSSHKeyPairParamsWithTimeout creates a new GetSSHKeyPairParams object with the ability to set a timeout on a request.
func (*GetSSHKeyPairParams) SetContext ¶
func (o *GetSSHKeyPairParams) SetContext(ctx context.Context)
SetContext adds the context to the get SSH key pair params
func (*GetSSHKeyPairParams) SetDefaults ¶ added in v0.12.0
func (o *GetSSHKeyPairParams) SetDefaults()
SetDefaults hydrates default values in the get SSH key pair params (not the query body).
All values with no default are reset to their zero value.
func (*GetSSHKeyPairParams) SetHTTPClient ¶
func (o *GetSSHKeyPairParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get SSH key pair params
func (*GetSSHKeyPairParams) SetID ¶
func (o *GetSSHKeyPairParams) SetID(id string)
SetID adds the id to the get SSH key pair params
func (*GetSSHKeyPairParams) SetTimeout ¶
func (o *GetSSHKeyPairParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get SSH key pair params
func (*GetSSHKeyPairParams) WithContext ¶
func (o *GetSSHKeyPairParams) WithContext(ctx context.Context) *GetSSHKeyPairParams
WithContext adds the context to the get SSH key pair params
func (*GetSSHKeyPairParams) WithDefaults ¶ added in v0.12.0
func (o *GetSSHKeyPairParams) WithDefaults() *GetSSHKeyPairParams
WithDefaults hydrates default values in the get SSH key pair params (not the query body).
All values with no default are reset to their zero value.
func (*GetSSHKeyPairParams) WithHTTPClient ¶
func (o *GetSSHKeyPairParams) WithHTTPClient(client *http.Client) *GetSSHKeyPairParams
WithHTTPClient adds the HTTPClient to the get SSH key pair params
func (*GetSSHKeyPairParams) WithID ¶
func (o *GetSSHKeyPairParams) WithID(id string) *GetSSHKeyPairParams
WithID adds the id to the get SSH key pair params
func (*GetSSHKeyPairParams) WithTimeout ¶
func (o *GetSSHKeyPairParams) WithTimeout(timeout time.Duration) *GetSSHKeyPairParams
WithTimeout adds the timeout to the get SSH key pair params
func (*GetSSHKeyPairParams) WriteToRequest ¶
func (o *GetSSHKeyPairParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSSHKeyPairReader ¶
type GetSSHKeyPairReader struct {
// contains filtered or unexported fields
}
GetSSHKeyPairReader is a Reader for the GetSSHKeyPair structure.
func (*GetSSHKeyPairReader) ReadResponse ¶
func (o *GetSSHKeyPairReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersDefault ¶
type ListClustersDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListClustersDefault describes a response with status code -1, with default header values.
Error
func NewListClustersDefault ¶
func NewListClustersDefault(code int) *ListClustersDefault
NewListClustersDefault creates a ListClustersDefault with default headers values
func (*ListClustersDefault) Code ¶
func (o *ListClustersDefault) Code() int
Code gets the status code for the list clusters default response
func (*ListClustersDefault) Error ¶
func (o *ListClustersDefault) Error() string
func (*ListClustersDefault) GetPayload ¶ added in v0.9.1
func (o *ListClustersDefault) GetPayload() *httperrors.HTTPErrorResponse
type ListClustersOK ¶
type ListClustersOK struct {
Payload []*models.V1ClusterResponse
}
ListClustersOK describes a response with status code 200, with default header values.
OK
func NewListClustersOK ¶
func NewListClustersOK() *ListClustersOK
NewListClustersOK creates a ListClustersOK with default headers values
func (*ListClustersOK) Error ¶
func (o *ListClustersOK) Error() string
func (*ListClustersOK) GetPayload ¶ added in v0.9.1
func (o *ListClustersOK) GetPayload() []*models.V1ClusterResponse
type ListClustersParams ¶
type ListClustersParams struct { /* ReturnMachines. returns machines in the response, which is disabled by default for list responses because it makes the request slower */ ReturnMachines *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersParams contains all the parameters to send to the API endpoint
for the list clusters operation. Typically these are written to a http.Request.
func NewListClustersParams ¶
func NewListClustersParams() *ListClustersParams
NewListClustersParams creates a new ListClustersParams 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 NewListClustersParamsWithContext ¶
func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams
NewListClustersParamsWithContext creates a new ListClustersParams object with the ability to set a context for a request.
func NewListClustersParamsWithHTTPClient ¶
func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams
NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersParamsWithTimeout ¶
func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams
NewListClustersParamsWithTimeout creates a new ListClustersParams object with the ability to set a timeout on a request.
func (*ListClustersParams) SetContext ¶
func (o *ListClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters params
func (*ListClustersParams) SetDefaults ¶ added in v0.12.0
func (o *ListClustersParams) SetDefaults()
SetDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) SetHTTPClient ¶
func (o *ListClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) SetReturnMachines ¶ added in v0.9.1
func (o *ListClustersParams) SetReturnMachines(returnMachines *bool)
SetReturnMachines adds the returnMachines to the list clusters params
func (*ListClustersParams) SetTimeout ¶
func (o *ListClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WithContext ¶
func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
WithContext adds the context to the list clusters params
func (*ListClustersParams) WithDefaults ¶ added in v0.12.0
func (o *ListClustersParams) WithDefaults() *ListClustersParams
WithDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) WithHTTPClient ¶
func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
WithHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) WithReturnMachines ¶ added in v0.9.1
func (o *ListClustersParams) WithReturnMachines(returnMachines *bool) *ListClustersParams
WithReturnMachines adds the returnMachines to the list clusters params
func (*ListClustersParams) WithTimeout ¶
func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
WithTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WriteToRequest ¶
func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersReader ¶
type ListClustersReader struct {
// contains filtered or unexported fields
}
ListClustersReader is a Reader for the ListClusters structure.
func (*ListClustersReader) ReadResponse ¶
func (o *ListClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConstraintsDefault ¶
type ListConstraintsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListConstraintsDefault describes a response with status code -1, with default header values.
Error
func NewListConstraintsDefault ¶
func NewListConstraintsDefault(code int) *ListConstraintsDefault
NewListConstraintsDefault creates a ListConstraintsDefault with default headers values
func (*ListConstraintsDefault) Code ¶
func (o *ListConstraintsDefault) Code() int
Code gets the status code for the list constraints default response
func (*ListConstraintsDefault) Error ¶
func (o *ListConstraintsDefault) Error() string
func (*ListConstraintsDefault) GetPayload ¶ added in v0.9.1
func (o *ListConstraintsDefault) GetPayload() *httperrors.HTTPErrorResponse
type ListConstraintsOK ¶
type ListConstraintsOK struct {
Payload *models.V1ShootConstraints
}
ListConstraintsOK describes a response with status code 200, with default header values.
OK
func NewListConstraintsOK ¶
func NewListConstraintsOK() *ListConstraintsOK
NewListConstraintsOK creates a ListConstraintsOK with default headers values
func (*ListConstraintsOK) Error ¶
func (o *ListConstraintsOK) Error() string
func (*ListConstraintsOK) GetPayload ¶ added in v0.9.1
func (o *ListConstraintsOK) GetPayload() *models.V1ShootConstraints
type ListConstraintsParams ¶
type ListConstraintsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConstraintsParams contains all the parameters to send to the API endpoint
for the list constraints operation. Typically these are written to a http.Request.
func NewListConstraintsParams ¶
func NewListConstraintsParams() *ListConstraintsParams
NewListConstraintsParams creates a new ListConstraintsParams 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 NewListConstraintsParamsWithContext ¶
func NewListConstraintsParamsWithContext(ctx context.Context) *ListConstraintsParams
NewListConstraintsParamsWithContext creates a new ListConstraintsParams object with the ability to set a context for a request.
func NewListConstraintsParamsWithHTTPClient ¶
func NewListConstraintsParamsWithHTTPClient(client *http.Client) *ListConstraintsParams
NewListConstraintsParamsWithHTTPClient creates a new ListConstraintsParams object with the ability to set a custom HTTPClient for a request.
func NewListConstraintsParamsWithTimeout ¶
func NewListConstraintsParamsWithTimeout(timeout time.Duration) *ListConstraintsParams
NewListConstraintsParamsWithTimeout creates a new ListConstraintsParams object with the ability to set a timeout on a request.
func (*ListConstraintsParams) SetContext ¶
func (o *ListConstraintsParams) SetContext(ctx context.Context)
SetContext adds the context to the list constraints params
func (*ListConstraintsParams) SetDefaults ¶ added in v0.12.0
func (o *ListConstraintsParams) SetDefaults()
SetDefaults hydrates default values in the list constraints params (not the query body).
All values with no default are reset to their zero value.
func (*ListConstraintsParams) SetHTTPClient ¶
func (o *ListConstraintsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list constraints params
func (*ListConstraintsParams) SetTimeout ¶
func (o *ListConstraintsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list constraints params
func (*ListConstraintsParams) WithContext ¶
func (o *ListConstraintsParams) WithContext(ctx context.Context) *ListConstraintsParams
WithContext adds the context to the list constraints params
func (*ListConstraintsParams) WithDefaults ¶ added in v0.12.0
func (o *ListConstraintsParams) WithDefaults() *ListConstraintsParams
WithDefaults hydrates default values in the list constraints params (not the query body).
All values with no default are reset to their zero value.
func (*ListConstraintsParams) WithHTTPClient ¶
func (o *ListConstraintsParams) WithHTTPClient(client *http.Client) *ListConstraintsParams
WithHTTPClient adds the HTTPClient to the list constraints params
func (*ListConstraintsParams) WithTimeout ¶
func (o *ListConstraintsParams) WithTimeout(timeout time.Duration) *ListConstraintsParams
WithTimeout adds the timeout to the list constraints params
func (*ListConstraintsParams) WriteToRequest ¶
func (o *ListConstraintsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConstraintsReader ¶
type ListConstraintsReader struct {
// contains filtered or unexported fields
}
ListConstraintsReader is a Reader for the ListConstraints structure.
func (*ListConstraintsReader) ReadResponse ¶
func (o *ListConstraintsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReconcileClusterDefault ¶
type ReconcileClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ReconcileClusterDefault describes a response with status code -1, with default header values.
Error
func NewReconcileClusterDefault ¶
func NewReconcileClusterDefault(code int) *ReconcileClusterDefault
NewReconcileClusterDefault creates a ReconcileClusterDefault with default headers values
func (*ReconcileClusterDefault) Code ¶
func (o *ReconcileClusterDefault) Code() int
Code gets the status code for the reconcile cluster default response
func (*ReconcileClusterDefault) Error ¶
func (o *ReconcileClusterDefault) Error() string
func (*ReconcileClusterDefault) GetPayload ¶ added in v0.9.1
func (o *ReconcileClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
type ReconcileClusterOK ¶
type ReconcileClusterOK struct {
Payload *models.V1ClusterResponse
}
ReconcileClusterOK describes a response with status code 200, with default header values.
OK
func NewReconcileClusterOK ¶
func NewReconcileClusterOK() *ReconcileClusterOK
NewReconcileClusterOK creates a ReconcileClusterOK with default headers values
func (*ReconcileClusterOK) Error ¶
func (o *ReconcileClusterOK) Error() string
func (*ReconcileClusterOK) GetPayload ¶ added in v0.9.1
func (o *ReconcileClusterOK) GetPayload() *models.V1ClusterResponse
type ReconcileClusterParams ¶
type ReconcileClusterParams struct { // Body. Body *models.V1ClusterReconcileRequest /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReconcileClusterParams contains all the parameters to send to the API endpoint
for the reconcile cluster operation. Typically these are written to a http.Request.
func NewReconcileClusterParams ¶
func NewReconcileClusterParams() *ReconcileClusterParams
NewReconcileClusterParams creates a new ReconcileClusterParams 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 NewReconcileClusterParamsWithContext ¶
func NewReconcileClusterParamsWithContext(ctx context.Context) *ReconcileClusterParams
NewReconcileClusterParamsWithContext creates a new ReconcileClusterParams object with the ability to set a context for a request.
func NewReconcileClusterParamsWithHTTPClient ¶
func NewReconcileClusterParamsWithHTTPClient(client *http.Client) *ReconcileClusterParams
NewReconcileClusterParamsWithHTTPClient creates a new ReconcileClusterParams object with the ability to set a custom HTTPClient for a request.
func NewReconcileClusterParamsWithTimeout ¶
func NewReconcileClusterParamsWithTimeout(timeout time.Duration) *ReconcileClusterParams
NewReconcileClusterParamsWithTimeout creates a new ReconcileClusterParams object with the ability to set a timeout on a request.
func (*ReconcileClusterParams) SetBody ¶ added in v0.8.1
func (o *ReconcileClusterParams) SetBody(body *models.V1ClusterReconcileRequest)
SetBody adds the body to the reconcile cluster params
func (*ReconcileClusterParams) SetContext ¶
func (o *ReconcileClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the reconcile cluster params
func (*ReconcileClusterParams) SetDefaults ¶ added in v0.12.0
func (o *ReconcileClusterParams) SetDefaults()
SetDefaults hydrates default values in the reconcile cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ReconcileClusterParams) SetHTTPClient ¶
func (o *ReconcileClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reconcile cluster params
func (*ReconcileClusterParams) SetID ¶
func (o *ReconcileClusterParams) SetID(id string)
SetID adds the id to the reconcile cluster params
func (*ReconcileClusterParams) SetTimeout ¶
func (o *ReconcileClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reconcile cluster params
func (*ReconcileClusterParams) WithBody ¶ added in v0.8.1
func (o *ReconcileClusterParams) WithBody(body *models.V1ClusterReconcileRequest) *ReconcileClusterParams
WithBody adds the body to the reconcile cluster params
func (*ReconcileClusterParams) WithContext ¶
func (o *ReconcileClusterParams) WithContext(ctx context.Context) *ReconcileClusterParams
WithContext adds the context to the reconcile cluster params
func (*ReconcileClusterParams) WithDefaults ¶ added in v0.12.0
func (o *ReconcileClusterParams) WithDefaults() *ReconcileClusterParams
WithDefaults hydrates default values in the reconcile cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ReconcileClusterParams) WithHTTPClient ¶
func (o *ReconcileClusterParams) WithHTTPClient(client *http.Client) *ReconcileClusterParams
WithHTTPClient adds the HTTPClient to the reconcile cluster params
func (*ReconcileClusterParams) WithID ¶
func (o *ReconcileClusterParams) WithID(id string) *ReconcileClusterParams
WithID adds the id to the reconcile cluster params
func (*ReconcileClusterParams) WithTimeout ¶
func (o *ReconcileClusterParams) WithTimeout(timeout time.Duration) *ReconcileClusterParams
WithTimeout adds the timeout to the reconcile cluster params
func (*ReconcileClusterParams) WriteToRequest ¶
func (o *ReconcileClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReconcileClusterReader ¶
type ReconcileClusterReader struct {
// contains filtered or unexported fields
}
ReconcileClusterReader is a Reader for the ReconcileCluster structure.
func (*ReconcileClusterReader) ReadResponse ¶
func (o *ReconcileClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterConflict ¶
type UpdateClusterConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateClusterConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateClusterConflict ¶
func NewUpdateClusterConflict() *UpdateClusterConflict
NewUpdateClusterConflict creates a UpdateClusterConflict with default headers values
func (*UpdateClusterConflict) Error ¶
func (o *UpdateClusterConflict) Error() string
func (*UpdateClusterConflict) GetPayload ¶ added in v0.9.1
func (o *UpdateClusterConflict) GetPayload() *httperrors.HTTPErrorResponse
type UpdateClusterDefault ¶
type UpdateClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateClusterDefault describes a response with status code -1, with default header values.
Error
func NewUpdateClusterDefault ¶
func NewUpdateClusterDefault(code int) *UpdateClusterDefault
NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values
func (*UpdateClusterDefault) Code ¶
func (o *UpdateClusterDefault) Code() int
Code gets the status code for the update cluster default response
func (*UpdateClusterDefault) Error ¶
func (o *UpdateClusterDefault) Error() string
func (*UpdateClusterDefault) GetPayload ¶ added in v0.9.1
func (o *UpdateClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
type UpdateClusterOK ¶
type UpdateClusterOK struct {
Payload *models.V1ClusterResponse
}
UpdateClusterOK describes a response with status code 200, with default header values.
OK
func NewUpdateClusterOK ¶
func NewUpdateClusterOK() *UpdateClusterOK
NewUpdateClusterOK creates a UpdateClusterOK with default headers values
func (*UpdateClusterOK) Error ¶
func (o *UpdateClusterOK) Error() string
func (*UpdateClusterOK) GetPayload ¶ added in v0.9.1
func (o *UpdateClusterOK) GetPayload() *models.V1ClusterResponse
type UpdateClusterParams ¶
type UpdateClusterParams struct { // Body. Body *models.V1ClusterUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterParams contains all the parameters to send to the API endpoint
for the update cluster operation. Typically these are written to a http.Request.
func NewUpdateClusterParams ¶
func NewUpdateClusterParams() *UpdateClusterParams
NewUpdateClusterParams creates a new UpdateClusterParams 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 NewUpdateClusterParamsWithContext ¶
func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams
NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.
func NewUpdateClusterParamsWithHTTPClient ¶
func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams
NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClusterParamsWithTimeout ¶
func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams
NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.
func (*UpdateClusterParams) SetBody ¶
func (o *UpdateClusterParams) SetBody(body *models.V1ClusterUpdateRequest)
SetBody adds the body to the update cluster params
func (*UpdateClusterParams) SetContext ¶
func (o *UpdateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster params
func (*UpdateClusterParams) SetDefaults ¶ added in v0.12.0
func (o *UpdateClusterParams) SetDefaults()
SetDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) SetHTTPClient ¶
func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) SetTimeout ¶
func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WithBody ¶
func (o *UpdateClusterParams) WithBody(body *models.V1ClusterUpdateRequest) *UpdateClusterParams
WithBody adds the body to the update cluster params
func (*UpdateClusterParams) WithContext ¶
func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
WithContext adds the context to the update cluster params
func (*UpdateClusterParams) WithDefaults ¶ added in v0.12.0
func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
WithDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) WithHTTPClient ¶
func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
WithHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) WithTimeout ¶
func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
WithTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WriteToRequest ¶
func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterReader ¶
type UpdateClusterReader struct {
// contains filtered or unexported fields
}
UpdateClusterReader is a Reader for the UpdateCluster structure.
func (*UpdateClusterReader) ReadResponse ¶
func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cluster_client.go
- create_cluster_parameters.go
- create_cluster_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- find_cluster_parameters.go
- find_cluster_responses.go
- find_clusters_parameters.go
- find_clusters_responses.go
- get_cluster_kubeconfig_tpl_parameters.go
- get_cluster_kubeconfig_tpl_responses.go
- get_ssh_key_pair_parameters.go
- get_ssh_key_pair_responses.go
- list_clusters_parameters.go
- list_clusters_responses.go
- list_constraints_parameters.go
- list_constraints_responses.go
- reconcile_cluster_parameters.go
- reconcile_cluster_responses.go
- update_cluster_parameters.go
- update_cluster_responses.go