Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteClusterUsingDELETE(params *DeleteClusterUsingDELETEParams, opts ...ClientOption) (*DeleteClusterUsingDELETEOK, error)
- func (a *Client) DestroyClusterUsingDELETE(params *DestroyClusterUsingDELETEParams, opts ...ClientOption) (*DestroyClusterUsingDELETEOK, error)
- func (a *Client) GetClusterUsingGET(params *GetClusterUsingGETParams, opts ...ClientOption) (*GetClusterUsingGETOK, error)
- func (a *Client) GetKubeConfigUsingGET(params *GetKubeConfigUsingGETParams, opts ...ClientOption) (*GetKubeConfigUsingGETOK, error)
- func (a *Client) GetNodesUsingGET(params *GetNodesUsingGETParams, opts ...ClientOption) (*GetNodesUsingGETOK, error)
- func (a *Client) ListUsingGET(params *ListUsingGETParams, opts ...ClientOption) (*ListUsingGETOK, error)
- func (a *Client) OnboardUsingPOST(params *OnboardUsingPOSTParams, opts ...ClientOption) (*OnboardUsingPOSTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUsingPUT1(params *UpdateUsingPUT1Params, opts ...ClientOption) (*UpdateUsingPUT1OK, error)
- func (a *Client) ValidateUsingPUT(params *ValidateUsingPUTParams, opts ...ClientOption) (*ValidateUsingPUTOK, error)
- type ClientOption
- type ClientService
- type DeleteClusterUsingDELETEOK
- type DeleteClusterUsingDELETEParams
- func NewDeleteClusterUsingDELETEParams() *DeleteClusterUsingDELETEParams
- func NewDeleteClusterUsingDELETEParamsWithContext(ctx context.Context) *DeleteClusterUsingDELETEParams
- func NewDeleteClusterUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteClusterUsingDELETEParams
- func NewDeleteClusterUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteClusterUsingDELETEParams
- func (o *DeleteClusterUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteClusterUsingDELETEParams) SetDefaults()
- func (o *DeleteClusterUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterUsingDELETEParams) SetID(id strfmt.UUID)
- func (o *DeleteClusterUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterUsingDELETEParams) WithContext(ctx context.Context) *DeleteClusterUsingDELETEParams
- func (o *DeleteClusterUsingDELETEParams) WithDefaults() *DeleteClusterUsingDELETEParams
- func (o *DeleteClusterUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteClusterUsingDELETEParams
- func (o *DeleteClusterUsingDELETEParams) WithID(id strfmt.UUID) *DeleteClusterUsingDELETEParams
- func (o *DeleteClusterUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteClusterUsingDELETEParams
- func (o *DeleteClusterUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterUsingDELETEReader
- type DestroyClusterUsingDELETEOK
- type DestroyClusterUsingDELETEParams
- func NewDestroyClusterUsingDELETEParams() *DestroyClusterUsingDELETEParams
- func NewDestroyClusterUsingDELETEParamsWithContext(ctx context.Context) *DestroyClusterUsingDELETEParams
- func NewDestroyClusterUsingDELETEParamsWithHTTPClient(client *http.Client) *DestroyClusterUsingDELETEParams
- func NewDestroyClusterUsingDELETEParamsWithTimeout(timeout time.Duration) *DestroyClusterUsingDELETEParams
- func (o *DestroyClusterUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DestroyClusterUsingDELETEParams) SetDefaults()
- func (o *DestroyClusterUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DestroyClusterUsingDELETEParams) SetID(id strfmt.UUID)
- func (o *DestroyClusterUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DestroyClusterUsingDELETEParams) WithContext(ctx context.Context) *DestroyClusterUsingDELETEParams
- func (o *DestroyClusterUsingDELETEParams) WithDefaults() *DestroyClusterUsingDELETEParams
- func (o *DestroyClusterUsingDELETEParams) WithHTTPClient(client *http.Client) *DestroyClusterUsingDELETEParams
- func (o *DestroyClusterUsingDELETEParams) WithID(id strfmt.UUID) *DestroyClusterUsingDELETEParams
- func (o *DestroyClusterUsingDELETEParams) WithTimeout(timeout time.Duration) *DestroyClusterUsingDELETEParams
- func (o *DestroyClusterUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DestroyClusterUsingDELETEReader
- type GetClusterUsingGETOK
- type GetClusterUsingGETParams
- func NewGetClusterUsingGETParams() *GetClusterUsingGETParams
- func NewGetClusterUsingGETParamsWithContext(ctx context.Context) *GetClusterUsingGETParams
- func NewGetClusterUsingGETParamsWithHTTPClient(client *http.Client) *GetClusterUsingGETParams
- func NewGetClusterUsingGETParamsWithTimeout(timeout time.Duration) *GetClusterUsingGETParams
- func (o *GetClusterUsingGETParams) SetContext(ctx context.Context)
- func (o *GetClusterUsingGETParams) SetDefaults()
- func (o *GetClusterUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetClusterUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterUsingGETParams) WithContext(ctx context.Context) *GetClusterUsingGETParams
- func (o *GetClusterUsingGETParams) WithDefaults() *GetClusterUsingGETParams
- func (o *GetClusterUsingGETParams) WithHTTPClient(client *http.Client) *GetClusterUsingGETParams
- func (o *GetClusterUsingGETParams) WithID(id strfmt.UUID) *GetClusterUsingGETParams
- func (o *GetClusterUsingGETParams) WithTimeout(timeout time.Duration) *GetClusterUsingGETParams
- func (o *GetClusterUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterUsingGETReader
- type GetKubeConfigUsingGETOK
- type GetKubeConfigUsingGETParams
- func NewGetKubeConfigUsingGETParams() *GetKubeConfigUsingGETParams
- func NewGetKubeConfigUsingGETParamsWithContext(ctx context.Context) *GetKubeConfigUsingGETParams
- func NewGetKubeConfigUsingGETParamsWithHTTPClient(client *http.Client) *GetKubeConfigUsingGETParams
- func NewGetKubeConfigUsingGETParamsWithTimeout(timeout time.Duration) *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) SetContext(ctx context.Context)
- func (o *GetKubeConfigUsingGETParams) SetDefaults()
- func (o *GetKubeConfigUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetKubeConfigUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetKubeConfigUsingGETParams) SetIncludeCredentials(includeCredentials *bool)
- func (o *GetKubeConfigUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetKubeConfigUsingGETParams) WithContext(ctx context.Context) *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) WithDefaults() *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) WithHTTPClient(client *http.Client) *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) WithID(id strfmt.UUID) *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) WithIncludeCredentials(includeCredentials *bool) *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) WithTimeout(timeout time.Duration) *GetKubeConfigUsingGETParams
- func (o *GetKubeConfigUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubeConfigUsingGETReader
- type GetNodesUsingGETOK
- type GetNodesUsingGETParams
- func NewGetNodesUsingGETParams() *GetNodesUsingGETParams
- func NewGetNodesUsingGETParamsWithContext(ctx context.Context) *GetNodesUsingGETParams
- func NewGetNodesUsingGETParamsWithHTTPClient(client *http.Client) *GetNodesUsingGETParams
- func NewGetNodesUsingGETParamsWithTimeout(timeout time.Duration) *GetNodesUsingGETParams
- func (o *GetNodesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetNodesUsingGETParams) SetDefaults()
- func (o *GetNodesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetNodesUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetNodesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetNodesUsingGETParams) WithContext(ctx context.Context) *GetNodesUsingGETParams
- func (o *GetNodesUsingGETParams) WithDefaults() *GetNodesUsingGETParams
- func (o *GetNodesUsingGETParams) WithHTTPClient(client *http.Client) *GetNodesUsingGETParams
- func (o *GetNodesUsingGETParams) WithID(id strfmt.UUID) *GetNodesUsingGETParams
- func (o *GetNodesUsingGETParams) WithTimeout(timeout time.Duration) *GetNodesUsingGETParams
- func (o *GetNodesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNodesUsingGETReader
- type ListUsingGETOK
- type ListUsingGETParams
- func (o *ListUsingGETParams) SetContext(ctx context.Context)
- func (o *ListUsingGETParams) SetDefaults()
- func (o *ListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ListUsingGETParams) SetOffset(offset *int64)
- func (o *ListUsingGETParams) SetPageNumber(pageNumber *int32)
- func (o *ListUsingGETParams) SetPageSize(pageSize *int32)
- func (o *ListUsingGETParams) SetPaged(paged *bool)
- func (o *ListUsingGETParams) SetSortSorted(sortSorted *bool)
- func (o *ListUsingGETParams) SetSortUnsorted(sortUnsorted *bool)
- func (o *ListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ListUsingGETParams) SetUnpaged(unpaged *bool)
- func (o *ListUsingGETParams) WithContext(ctx context.Context) *ListUsingGETParams
- func (o *ListUsingGETParams) WithDefaults() *ListUsingGETParams
- func (o *ListUsingGETParams) WithHTTPClient(client *http.Client) *ListUsingGETParams
- func (o *ListUsingGETParams) WithOffset(offset *int64) *ListUsingGETParams
- func (o *ListUsingGETParams) WithPageNumber(pageNumber *int32) *ListUsingGETParams
- func (o *ListUsingGETParams) WithPageSize(pageSize *int32) *ListUsingGETParams
- func (o *ListUsingGETParams) WithPaged(paged *bool) *ListUsingGETParams
- func (o *ListUsingGETParams) WithSortSorted(sortSorted *bool) *ListUsingGETParams
- func (o *ListUsingGETParams) WithSortUnsorted(sortUnsorted *bool) *ListUsingGETParams
- func (o *ListUsingGETParams) WithTimeout(timeout time.Duration) *ListUsingGETParams
- func (o *ListUsingGETParams) WithUnpaged(unpaged *bool) *ListUsingGETParams
- func (o *ListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUsingGETReader
- type OnboardUsingPOSTOK
- type OnboardUsingPOSTParams
- func NewOnboardUsingPOSTParams() *OnboardUsingPOSTParams
- func NewOnboardUsingPOSTParamsWithContext(ctx context.Context) *OnboardUsingPOSTParams
- func NewOnboardUsingPOSTParamsWithHTTPClient(client *http.Client) *OnboardUsingPOSTParams
- func NewOnboardUsingPOSTParamsWithTimeout(timeout time.Duration) *OnboardUsingPOSTParams
- func (o *OnboardUsingPOSTParams) SetCluster(cluster *models.K8SCluster)
- func (o *OnboardUsingPOSTParams) SetContext(ctx context.Context)
- func (o *OnboardUsingPOSTParams) SetDefaults()
- func (o *OnboardUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *OnboardUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *OnboardUsingPOSTParams) WithCluster(cluster *models.K8SCluster) *OnboardUsingPOSTParams
- func (o *OnboardUsingPOSTParams) WithContext(ctx context.Context) *OnboardUsingPOSTParams
- func (o *OnboardUsingPOSTParams) WithDefaults() *OnboardUsingPOSTParams
- func (o *OnboardUsingPOSTParams) WithHTTPClient(client *http.Client) *OnboardUsingPOSTParams
- func (o *OnboardUsingPOSTParams) WithTimeout(timeout time.Duration) *OnboardUsingPOSTParams
- func (o *OnboardUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OnboardUsingPOSTReader
- type UpdateUsingPUT1OK
- type UpdateUsingPUT1Params
- func NewUpdateUsingPUT1Params() *UpdateUsingPUT1Params
- func NewUpdateUsingPUT1ParamsWithContext(ctx context.Context) *UpdateUsingPUT1Params
- func NewUpdateUsingPUT1ParamsWithHTTPClient(client *http.Client) *UpdateUsingPUT1Params
- func NewUpdateUsingPUT1ParamsWithTimeout(timeout time.Duration) *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) SetCluster(cluster *models.K8SCluster)
- func (o *UpdateUsingPUT1Params) SetContext(ctx context.Context)
- func (o *UpdateUsingPUT1Params) SetDefaults()
- func (o *UpdateUsingPUT1Params) SetHTTPClient(client *http.Client)
- func (o *UpdateUsingPUT1Params) SetID(id strfmt.UUID)
- func (o *UpdateUsingPUT1Params) SetTimeout(timeout time.Duration)
- func (o *UpdateUsingPUT1Params) WithCluster(cluster *models.K8SCluster) *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) WithContext(ctx context.Context) *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) WithDefaults() *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) WithHTTPClient(client *http.Client) *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) WithID(id strfmt.UUID) *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) WithTimeout(timeout time.Duration) *UpdateUsingPUT1Params
- func (o *UpdateUsingPUT1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUsingPUT1Reader
- type ValidateUsingPUTOK
- type ValidateUsingPUTParams
- func NewValidateUsingPUTParams() *ValidateUsingPUTParams
- func NewValidateUsingPUTParamsWithContext(ctx context.Context) *ValidateUsingPUTParams
- func NewValidateUsingPUTParamsWithHTTPClient(client *http.Client) *ValidateUsingPUTParams
- func NewValidateUsingPUTParamsWithTimeout(timeout time.Duration) *ValidateUsingPUTParams
- func (o *ValidateUsingPUTParams) SetCluster(cluster *models.K8SCluster)
- func (o *ValidateUsingPUTParams) SetContext(ctx context.Context)
- func (o *ValidateUsingPUTParams) SetDefaults()
- func (o *ValidateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUsingPUTParams) WithCluster(cluster *models.K8SCluster) *ValidateUsingPUTParams
- func (o *ValidateUsingPUTParams) WithContext(ctx context.Context) *ValidateUsingPUTParams
- func (o *ValidateUsingPUTParams) WithDefaults() *ValidateUsingPUTParams
- func (o *ValidateUsingPUTParams) WithHTTPClient(client *http.Client) *ValidateUsingPUTParams
- func (o *ValidateUsingPUTParams) WithTimeout(timeout time.Duration) *ValidateUsingPUTParams
- func (o *ValidateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUsingPUTReader
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 kubernetes clusters API
func (*Client) DeleteClusterUsingDELETE ¶
func (a *Client) DeleteClusterUsingDELETE(params *DeleteClusterUsingDELETEParams, opts ...ClientOption) (*DeleteClusterUsingDELETEOK, error)
DeleteClusterUsingDELETE deletes a k8 s cluster
Delete a K8S Cluster by provided id
func (*Client) DestroyClusterUsingDELETE ¶
func (a *Client) DestroyClusterUsingDELETE(params *DestroyClusterUsingDELETEParams, opts ...ClientOption) (*DestroyClusterUsingDELETEOK, error)
DestroyClusterUsingDELETE destroys a k8 s cluster
Destroy a K8S Cluster by provided id
func (*Client) GetClusterUsingGET ¶
func (a *Client) GetClusterUsingGET(params *GetClusterUsingGETParams, opts ...ClientOption) (*GetClusterUsingGETOK, error)
GetClusterUsingGET finds a k8 s cluster by id
Retrieve a K8S by id
func (*Client) GetKubeConfigUsingGET ¶
func (a *Client) GetKubeConfigUsingGET(params *GetKubeConfigUsingGETParams, opts ...ClientOption) (*GetKubeConfigUsingGETOK, error)
GetKubeConfigUsingGET gets a kube config for a k8 s cluster
Get a KubeConfig for a K8S Cluster by provided id
func (*Client) GetNodesUsingGET ¶
func (a *Client) GetNodesUsingGET(params *GetNodesUsingGETParams, opts ...ClientOption) (*GetNodesUsingGETOK, error)
GetNodesUsingGET gets nodes of k8 s clusters
Get nodes of K8S Clusters by provided id
func (*Client) ListUsingGET ¶
func (a *Client) ListUsingGET(params *ListUsingGETParams, opts ...ClientOption) (*ListUsingGETOK, error)
ListUsingGET gets all registered k8 s clusters
Retrieve the managed K8S Clusters
func (*Client) OnboardUsingPOST ¶
func (a *Client) OnboardUsingPOST(params *OnboardUsingPOSTParams, opts ...ClientOption) (*OnboardUsingPOSTOK, error)
OnboardUsingPOST onboards a k8 s cluster
Onboard a K8S Cluster entity
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUsingPUT1 ¶
func (a *Client) UpdateUsingPUT1(params *UpdateUsingPUT1Params, opts ...ClientOption) (*UpdateUsingPUT1OK, error)
UpdateUsingPUT1 updates a k8 s cluster
Update K8S Cluster by id
func (*Client) ValidateUsingPUT ¶
func (a *Client) ValidateUsingPUT(params *ValidateUsingPUTParams, opts ...ClientOption) (*ValidateUsingPUTOK, error)
ValidateUsingPUT validates provided k8 s cluster entity
Validate provided K8S Cluster entity
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
DeleteClusterUsingDELETE(params *DeleteClusterUsingDELETEParams, opts ...ClientOption) (*DeleteClusterUsingDELETEOK, error)
DestroyClusterUsingDELETE(params *DestroyClusterUsingDELETEParams, opts ...ClientOption) (*DestroyClusterUsingDELETEOK, error)
GetClusterUsingGET(params *GetClusterUsingGETParams, opts ...ClientOption) (*GetClusterUsingGETOK, error)
GetKubeConfigUsingGET(params *GetKubeConfigUsingGETParams, opts ...ClientOption) (*GetKubeConfigUsingGETOK, error)
GetNodesUsingGET(params *GetNodesUsingGETParams, opts ...ClientOption) (*GetNodesUsingGETOK, error)
ListUsingGET(params *ListUsingGETParams, opts ...ClientOption) (*ListUsingGETOK, error)
OnboardUsingPOST(params *OnboardUsingPOSTParams, opts ...ClientOption) (*OnboardUsingPOSTOK, error)
UpdateUsingPUT1(params *UpdateUsingPUT1Params, opts ...ClientOption) (*UpdateUsingPUT1OK, error)
ValidateUsingPUT(params *ValidateUsingPUTParams, opts ...ClientOption) (*ValidateUsingPUTOK, 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 kubernetes clusters API client.
type DeleteClusterUsingDELETEOK ¶
type DeleteClusterUsingDELETEOK struct {
}
DeleteClusterUsingDELETEOK describes a response with status code 200, with default header values.
OK
func NewDeleteClusterUsingDELETEOK ¶
func NewDeleteClusterUsingDELETEOK() *DeleteClusterUsingDELETEOK
NewDeleteClusterUsingDELETEOK creates a DeleteClusterUsingDELETEOK with default headers values
func (*DeleteClusterUsingDELETEOK) Error ¶
func (o *DeleteClusterUsingDELETEOK) Error() string
type DeleteClusterUsingDELETEParams ¶
type DeleteClusterUsingDELETEParams struct {
/* ID.
id
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteClusterUsingDELETEParams contains all the parameters to send to the API endpoint
for the delete cluster using d e l e t e operation. Typically these are written to a http.Request.
func NewDeleteClusterUsingDELETEParams ¶
func NewDeleteClusterUsingDELETEParams() *DeleteClusterUsingDELETEParams
NewDeleteClusterUsingDELETEParams creates a new DeleteClusterUsingDELETEParams 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 NewDeleteClusterUsingDELETEParamsWithContext ¶
func NewDeleteClusterUsingDELETEParamsWithContext(ctx context.Context) *DeleteClusterUsingDELETEParams
NewDeleteClusterUsingDELETEParamsWithContext creates a new DeleteClusterUsingDELETEParams object with the ability to set a context for a request.
func NewDeleteClusterUsingDELETEParamsWithHTTPClient ¶
func NewDeleteClusterUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteClusterUsingDELETEParams
NewDeleteClusterUsingDELETEParamsWithHTTPClient creates a new DeleteClusterUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterUsingDELETEParamsWithTimeout ¶
func NewDeleteClusterUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteClusterUsingDELETEParams
NewDeleteClusterUsingDELETEParamsWithTimeout creates a new DeleteClusterUsingDELETEParams object with the ability to set a timeout on a request.
func (*DeleteClusterUsingDELETEParams) SetContext ¶
func (o *DeleteClusterUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) SetDefaults ¶
func (o *DeleteClusterUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterUsingDELETEParams) SetHTTPClient ¶
func (o *DeleteClusterUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) SetID ¶
func (o *DeleteClusterUsingDELETEParams) SetID(id strfmt.UUID)
SetID adds the id to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) SetTimeout ¶
func (o *DeleteClusterUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) WithContext ¶
func (o *DeleteClusterUsingDELETEParams) WithContext(ctx context.Context) *DeleteClusterUsingDELETEParams
WithContext adds the context to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) WithDefaults ¶
func (o *DeleteClusterUsingDELETEParams) WithDefaults() *DeleteClusterUsingDELETEParams
WithDefaults hydrates default values in the delete cluster using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterUsingDELETEParams) WithHTTPClient ¶
func (o *DeleteClusterUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteClusterUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) WithID ¶
func (o *DeleteClusterUsingDELETEParams) WithID(id strfmt.UUID) *DeleteClusterUsingDELETEParams
WithID adds the id to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) WithTimeout ¶
func (o *DeleteClusterUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteClusterUsingDELETEParams
WithTimeout adds the timeout to the delete cluster using d e l e t e params
func (*DeleteClusterUsingDELETEParams) WriteToRequest ¶
func (o *DeleteClusterUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterUsingDELETEReader ¶
type DeleteClusterUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteClusterUsingDELETEReader is a Reader for the DeleteClusterUsingDELETE structure.
func (*DeleteClusterUsingDELETEReader) ReadResponse ¶
func (o *DeleteClusterUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DestroyClusterUsingDELETEOK ¶
type DestroyClusterUsingDELETEOK struct {
}
DestroyClusterUsingDELETEOK describes a response with status code 200, with default header values.
OK
func NewDestroyClusterUsingDELETEOK ¶
func NewDestroyClusterUsingDELETEOK() *DestroyClusterUsingDELETEOK
NewDestroyClusterUsingDELETEOK creates a DestroyClusterUsingDELETEOK with default headers values
func (*DestroyClusterUsingDELETEOK) Error ¶
func (o *DestroyClusterUsingDELETEOK) Error() string
type DestroyClusterUsingDELETEParams ¶
type DestroyClusterUsingDELETEParams struct {
/* ID.
id
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DestroyClusterUsingDELETEParams contains all the parameters to send to the API endpoint
for the destroy cluster using d e l e t e operation. Typically these are written to a http.Request.
func NewDestroyClusterUsingDELETEParams ¶
func NewDestroyClusterUsingDELETEParams() *DestroyClusterUsingDELETEParams
NewDestroyClusterUsingDELETEParams creates a new DestroyClusterUsingDELETEParams 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 NewDestroyClusterUsingDELETEParamsWithContext ¶
func NewDestroyClusterUsingDELETEParamsWithContext(ctx context.Context) *DestroyClusterUsingDELETEParams
NewDestroyClusterUsingDELETEParamsWithContext creates a new DestroyClusterUsingDELETEParams object with the ability to set a context for a request.
func NewDestroyClusterUsingDELETEParamsWithHTTPClient ¶
func NewDestroyClusterUsingDELETEParamsWithHTTPClient(client *http.Client) *DestroyClusterUsingDELETEParams
NewDestroyClusterUsingDELETEParamsWithHTTPClient creates a new DestroyClusterUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewDestroyClusterUsingDELETEParamsWithTimeout ¶
func NewDestroyClusterUsingDELETEParamsWithTimeout(timeout time.Duration) *DestroyClusterUsingDELETEParams
NewDestroyClusterUsingDELETEParamsWithTimeout creates a new DestroyClusterUsingDELETEParams object with the ability to set a timeout on a request.
func (*DestroyClusterUsingDELETEParams) SetContext ¶
func (o *DestroyClusterUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) SetDefaults ¶
func (o *DestroyClusterUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the destroy cluster using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DestroyClusterUsingDELETEParams) SetHTTPClient ¶
func (o *DestroyClusterUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) SetID ¶
func (o *DestroyClusterUsingDELETEParams) SetID(id strfmt.UUID)
SetID adds the id to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) SetTimeout ¶
func (o *DestroyClusterUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) WithContext ¶
func (o *DestroyClusterUsingDELETEParams) WithContext(ctx context.Context) *DestroyClusterUsingDELETEParams
WithContext adds the context to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) WithDefaults ¶
func (o *DestroyClusterUsingDELETEParams) WithDefaults() *DestroyClusterUsingDELETEParams
WithDefaults hydrates default values in the destroy cluster using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DestroyClusterUsingDELETEParams) WithHTTPClient ¶
func (o *DestroyClusterUsingDELETEParams) WithHTTPClient(client *http.Client) *DestroyClusterUsingDELETEParams
WithHTTPClient adds the HTTPClient to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) WithID ¶
func (o *DestroyClusterUsingDELETEParams) WithID(id strfmt.UUID) *DestroyClusterUsingDELETEParams
WithID adds the id to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) WithTimeout ¶
func (o *DestroyClusterUsingDELETEParams) WithTimeout(timeout time.Duration) *DestroyClusterUsingDELETEParams
WithTimeout adds the timeout to the destroy cluster using d e l e t e params
func (*DestroyClusterUsingDELETEParams) WriteToRequest ¶
func (o *DestroyClusterUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DestroyClusterUsingDELETEReader ¶
type DestroyClusterUsingDELETEReader struct {
// contains filtered or unexported fields
}
DestroyClusterUsingDELETEReader is a Reader for the DestroyClusterUsingDELETE structure.
func (*DestroyClusterUsingDELETEReader) ReadResponse ¶
func (o *DestroyClusterUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterUsingGETOK ¶
type GetClusterUsingGETOK struct {
Payload *models.K8SCluster
}
GetClusterUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetClusterUsingGETOK ¶
func NewGetClusterUsingGETOK() *GetClusterUsingGETOK
NewGetClusterUsingGETOK creates a GetClusterUsingGETOK with default headers values
func (*GetClusterUsingGETOK) Error ¶
func (o *GetClusterUsingGETOK) Error() string
func (*GetClusterUsingGETOK) GetPayload ¶
func (o *GetClusterUsingGETOK) GetPayload() *models.K8SCluster
type GetClusterUsingGETParams ¶
type GetClusterUsingGETParams struct {
/* ID.
id
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetClusterUsingGETParams contains all the parameters to send to the API endpoint
for the get cluster using g e t operation. Typically these are written to a http.Request.
func NewGetClusterUsingGETParams ¶
func NewGetClusterUsingGETParams() *GetClusterUsingGETParams
NewGetClusterUsingGETParams creates a new GetClusterUsingGETParams 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 NewGetClusterUsingGETParamsWithContext ¶
func NewGetClusterUsingGETParamsWithContext(ctx context.Context) *GetClusterUsingGETParams
NewGetClusterUsingGETParamsWithContext creates a new GetClusterUsingGETParams object with the ability to set a context for a request.
func NewGetClusterUsingGETParamsWithHTTPClient ¶
func NewGetClusterUsingGETParamsWithHTTPClient(client *http.Client) *GetClusterUsingGETParams
NewGetClusterUsingGETParamsWithHTTPClient creates a new GetClusterUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterUsingGETParamsWithTimeout ¶
func NewGetClusterUsingGETParamsWithTimeout(timeout time.Duration) *GetClusterUsingGETParams
NewGetClusterUsingGETParamsWithTimeout creates a new GetClusterUsingGETParams object with the ability to set a timeout on a request.
func (*GetClusterUsingGETParams) SetContext ¶
func (o *GetClusterUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster using get params
func (*GetClusterUsingGETParams) SetDefaults ¶
func (o *GetClusterUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get cluster using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterUsingGETParams) SetHTTPClient ¶
func (o *GetClusterUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster using get params
func (*GetClusterUsingGETParams) SetID ¶
func (o *GetClusterUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get cluster using get params
func (*GetClusterUsingGETParams) SetTimeout ¶
func (o *GetClusterUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster using get params
func (*GetClusterUsingGETParams) WithContext ¶
func (o *GetClusterUsingGETParams) WithContext(ctx context.Context) *GetClusterUsingGETParams
WithContext adds the context to the get cluster using get params
func (*GetClusterUsingGETParams) WithDefaults ¶
func (o *GetClusterUsingGETParams) WithDefaults() *GetClusterUsingGETParams
WithDefaults hydrates default values in the get cluster using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterUsingGETParams) WithHTTPClient ¶
func (o *GetClusterUsingGETParams) WithHTTPClient(client *http.Client) *GetClusterUsingGETParams
WithHTTPClient adds the HTTPClient to the get cluster using get params
func (*GetClusterUsingGETParams) WithID ¶
func (o *GetClusterUsingGETParams) WithID(id strfmt.UUID) *GetClusterUsingGETParams
WithID adds the id to the get cluster using get params
func (*GetClusterUsingGETParams) WithTimeout ¶
func (o *GetClusterUsingGETParams) WithTimeout(timeout time.Duration) *GetClusterUsingGETParams
WithTimeout adds the timeout to the get cluster using get params
func (*GetClusterUsingGETParams) WriteToRequest ¶
func (o *GetClusterUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterUsingGETReader ¶
type GetClusterUsingGETReader struct {
// contains filtered or unexported fields
}
GetClusterUsingGETReader is a Reader for the GetClusterUsingGET structure.
func (*GetClusterUsingGETReader) ReadResponse ¶
func (o *GetClusterUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKubeConfigUsingGETOK ¶
type GetKubeConfigUsingGETOK struct {
Payload *models.ResponseEntity
}
GetKubeConfigUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetKubeConfigUsingGETOK ¶
func NewGetKubeConfigUsingGETOK() *GetKubeConfigUsingGETOK
NewGetKubeConfigUsingGETOK creates a GetKubeConfigUsingGETOK with default headers values
func (*GetKubeConfigUsingGETOK) Error ¶
func (o *GetKubeConfigUsingGETOK) Error() string
func (*GetKubeConfigUsingGETOK) GetPayload ¶
func (o *GetKubeConfigUsingGETOK) GetPayload() *models.ResponseEntity
type GetKubeConfigUsingGETParams ¶
type GetKubeConfigUsingGETParams struct {
/* ID.
id
Format: uuid
*/
ID strfmt.UUID
/* IncludeCredentials.
includeCredentials
*/
IncludeCredentials *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetKubeConfigUsingGETParams contains all the parameters to send to the API endpoint
for the get kube config using g e t operation. Typically these are written to a http.Request.
func NewGetKubeConfigUsingGETParams ¶
func NewGetKubeConfigUsingGETParams() *GetKubeConfigUsingGETParams
NewGetKubeConfigUsingGETParams creates a new GetKubeConfigUsingGETParams 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 NewGetKubeConfigUsingGETParamsWithContext ¶
func NewGetKubeConfigUsingGETParamsWithContext(ctx context.Context) *GetKubeConfigUsingGETParams
NewGetKubeConfigUsingGETParamsWithContext creates a new GetKubeConfigUsingGETParams object with the ability to set a context for a request.
func NewGetKubeConfigUsingGETParamsWithHTTPClient ¶
func NewGetKubeConfigUsingGETParamsWithHTTPClient(client *http.Client) *GetKubeConfigUsingGETParams
NewGetKubeConfigUsingGETParamsWithHTTPClient creates a new GetKubeConfigUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetKubeConfigUsingGETParamsWithTimeout ¶
func NewGetKubeConfigUsingGETParamsWithTimeout(timeout time.Duration) *GetKubeConfigUsingGETParams
NewGetKubeConfigUsingGETParamsWithTimeout creates a new GetKubeConfigUsingGETParams object with the ability to set a timeout on a request.
func (*GetKubeConfigUsingGETParams) SetContext ¶
func (o *GetKubeConfigUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get kube config using get params
func (*GetKubeConfigUsingGETParams) SetDefaults ¶
func (o *GetKubeConfigUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get kube config using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubeConfigUsingGETParams) SetHTTPClient ¶
func (o *GetKubeConfigUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kube config using get params
func (*GetKubeConfigUsingGETParams) SetID ¶
func (o *GetKubeConfigUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get kube config using get params
func (*GetKubeConfigUsingGETParams) SetIncludeCredentials ¶
func (o *GetKubeConfigUsingGETParams) SetIncludeCredentials(includeCredentials *bool)
SetIncludeCredentials adds the includeCredentials to the get kube config using get params
func (*GetKubeConfigUsingGETParams) SetTimeout ¶
func (o *GetKubeConfigUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kube config using get params
func (*GetKubeConfigUsingGETParams) WithContext ¶
func (o *GetKubeConfigUsingGETParams) WithContext(ctx context.Context) *GetKubeConfigUsingGETParams
WithContext adds the context to the get kube config using get params
func (*GetKubeConfigUsingGETParams) WithDefaults ¶
func (o *GetKubeConfigUsingGETParams) WithDefaults() *GetKubeConfigUsingGETParams
WithDefaults hydrates default values in the get kube config using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubeConfigUsingGETParams) WithHTTPClient ¶
func (o *GetKubeConfigUsingGETParams) WithHTTPClient(client *http.Client) *GetKubeConfigUsingGETParams
WithHTTPClient adds the HTTPClient to the get kube config using get params
func (*GetKubeConfigUsingGETParams) WithID ¶
func (o *GetKubeConfigUsingGETParams) WithID(id strfmt.UUID) *GetKubeConfigUsingGETParams
WithID adds the id to the get kube config using get params
func (*GetKubeConfigUsingGETParams) WithIncludeCredentials ¶
func (o *GetKubeConfigUsingGETParams) WithIncludeCredentials(includeCredentials *bool) *GetKubeConfigUsingGETParams
WithIncludeCredentials adds the includeCredentials to the get kube config using get params
func (*GetKubeConfigUsingGETParams) WithTimeout ¶
func (o *GetKubeConfigUsingGETParams) WithTimeout(timeout time.Duration) *GetKubeConfigUsingGETParams
WithTimeout adds the timeout to the get kube config using get params
func (*GetKubeConfigUsingGETParams) WriteToRequest ¶
func (o *GetKubeConfigUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubeConfigUsingGETReader ¶
type GetKubeConfigUsingGETReader struct {
// contains filtered or unexported fields
}
GetKubeConfigUsingGETReader is a Reader for the GetKubeConfigUsingGET structure.
func (*GetKubeConfigUsingGETReader) ReadResponse ¶
func (o *GetKubeConfigUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNodesUsingGETOK ¶
GetNodesUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetNodesUsingGETOK ¶
func NewGetNodesUsingGETOK() *GetNodesUsingGETOK
NewGetNodesUsingGETOK creates a GetNodesUsingGETOK with default headers values
func (*GetNodesUsingGETOK) Error ¶
func (o *GetNodesUsingGETOK) Error() string
func (*GetNodesUsingGETOK) GetPayload ¶
func (o *GetNodesUsingGETOK) GetPayload() *models.NodeList
type GetNodesUsingGETParams ¶
type GetNodesUsingGETParams struct {
/* ID.
id
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNodesUsingGETParams contains all the parameters to send to the API endpoint
for the get nodes using g e t operation. Typically these are written to a http.Request.
func NewGetNodesUsingGETParams ¶
func NewGetNodesUsingGETParams() *GetNodesUsingGETParams
NewGetNodesUsingGETParams creates a new GetNodesUsingGETParams 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 NewGetNodesUsingGETParamsWithContext ¶
func NewGetNodesUsingGETParamsWithContext(ctx context.Context) *GetNodesUsingGETParams
NewGetNodesUsingGETParamsWithContext creates a new GetNodesUsingGETParams object with the ability to set a context for a request.
func NewGetNodesUsingGETParamsWithHTTPClient ¶
func NewGetNodesUsingGETParamsWithHTTPClient(client *http.Client) *GetNodesUsingGETParams
NewGetNodesUsingGETParamsWithHTTPClient creates a new GetNodesUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetNodesUsingGETParamsWithTimeout ¶
func NewGetNodesUsingGETParamsWithTimeout(timeout time.Duration) *GetNodesUsingGETParams
NewGetNodesUsingGETParamsWithTimeout creates a new GetNodesUsingGETParams object with the ability to set a timeout on a request.
func (*GetNodesUsingGETParams) SetContext ¶
func (o *GetNodesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get nodes using get params
func (*GetNodesUsingGETParams) SetDefaults ¶
func (o *GetNodesUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get nodes using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodesUsingGETParams) SetHTTPClient ¶
func (o *GetNodesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nodes using get params
func (*GetNodesUsingGETParams) SetID ¶
func (o *GetNodesUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get nodes using get params
func (*GetNodesUsingGETParams) SetTimeout ¶
func (o *GetNodesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nodes using get params
func (*GetNodesUsingGETParams) WithContext ¶
func (o *GetNodesUsingGETParams) WithContext(ctx context.Context) *GetNodesUsingGETParams
WithContext adds the context to the get nodes using get params
func (*GetNodesUsingGETParams) WithDefaults ¶
func (o *GetNodesUsingGETParams) WithDefaults() *GetNodesUsingGETParams
WithDefaults hydrates default values in the get nodes using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodesUsingGETParams) WithHTTPClient ¶
func (o *GetNodesUsingGETParams) WithHTTPClient(client *http.Client) *GetNodesUsingGETParams
WithHTTPClient adds the HTTPClient to the get nodes using get params
func (*GetNodesUsingGETParams) WithID ¶
func (o *GetNodesUsingGETParams) WithID(id strfmt.UUID) *GetNodesUsingGETParams
WithID adds the id to the get nodes using get params
func (*GetNodesUsingGETParams) WithTimeout ¶
func (o *GetNodesUsingGETParams) WithTimeout(timeout time.Duration) *GetNodesUsingGETParams
WithTimeout adds the timeout to the get nodes using get params
func (*GetNodesUsingGETParams) WriteToRequest ¶
func (o *GetNodesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodesUsingGETReader ¶
type GetNodesUsingGETReader struct {
// contains filtered or unexported fields
}
GetNodesUsingGETReader is a Reader for the GetNodesUsingGET structure.
func (*GetNodesUsingGETReader) ReadResponse ¶
func (o *GetNodesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUsingGETOK ¶
type ListUsingGETOK struct {
Payload *models.PageOfK8SCluster
}
ListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewListUsingGETOK ¶
func NewListUsingGETOK() *ListUsingGETOK
NewListUsingGETOK creates a ListUsingGETOK with default headers values
func (*ListUsingGETOK) Error ¶
func (o *ListUsingGETOK) Error() string
func (*ListUsingGETOK) GetPayload ¶
func (o *ListUsingGETOK) GetPayload() *models.PageOfK8SCluster
type ListUsingGETParams ¶
type ListUsingGETParams struct {
// Offset.
//
// Format: int64
Offset *int64
// PageNumber.
//
// Format: int32
PageNumber *int32
// PageSize.
//
// Format: int32
PageSize *int32
// Paged.
Paged *bool
// SortSorted.
SortSorted *bool
// SortUnsorted.
SortUnsorted *bool
// Unpaged.
Unpaged *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListUsingGETParams contains all the parameters to send to the API endpoint
for the list using g e t operation. Typically these are written to a http.Request.
func NewListUsingGETParams ¶
func NewListUsingGETParams() *ListUsingGETParams
NewListUsingGETParams creates a new ListUsingGETParams 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 NewListUsingGETParamsWithContext ¶
func NewListUsingGETParamsWithContext(ctx context.Context) *ListUsingGETParams
NewListUsingGETParamsWithContext creates a new ListUsingGETParams object with the ability to set a context for a request.
func NewListUsingGETParamsWithHTTPClient ¶
func NewListUsingGETParamsWithHTTPClient(client *http.Client) *ListUsingGETParams
NewListUsingGETParamsWithHTTPClient creates a new ListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewListUsingGETParamsWithTimeout ¶
func NewListUsingGETParamsWithTimeout(timeout time.Duration) *ListUsingGETParams
NewListUsingGETParamsWithTimeout creates a new ListUsingGETParams object with the ability to set a timeout on a request.
func (*ListUsingGETParams) SetContext ¶
func (o *ListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the list using get params
func (*ListUsingGETParams) SetDefaults ¶
func (o *ListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the list using get params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsingGETParams) SetHTTPClient ¶
func (o *ListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list using get params
func (*ListUsingGETParams) SetOffset ¶
func (o *ListUsingGETParams) SetOffset(offset *int64)
SetOffset adds the offset to the list using get params
func (*ListUsingGETParams) SetPageNumber ¶
func (o *ListUsingGETParams) SetPageNumber(pageNumber *int32)
SetPageNumber adds the pageNumber to the list using get params
func (*ListUsingGETParams) SetPageSize ¶
func (o *ListUsingGETParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the list using get params
func (*ListUsingGETParams) SetPaged ¶
func (o *ListUsingGETParams) SetPaged(paged *bool)
SetPaged adds the paged to the list using get params
func (*ListUsingGETParams) SetSortSorted ¶
func (o *ListUsingGETParams) SetSortSorted(sortSorted *bool)
SetSortSorted adds the sortSorted to the list using get params
func (*ListUsingGETParams) SetSortUnsorted ¶
func (o *ListUsingGETParams) SetSortUnsorted(sortUnsorted *bool)
SetSortUnsorted adds the sortUnsorted to the list using get params
func (*ListUsingGETParams) SetTimeout ¶
func (o *ListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list using get params
func (*ListUsingGETParams) SetUnpaged ¶
func (o *ListUsingGETParams) SetUnpaged(unpaged *bool)
SetUnpaged adds the unpaged to the list using get params
func (*ListUsingGETParams) WithContext ¶
func (o *ListUsingGETParams) WithContext(ctx context.Context) *ListUsingGETParams
WithContext adds the context to the list using get params
func (*ListUsingGETParams) WithDefaults ¶
func (o *ListUsingGETParams) WithDefaults() *ListUsingGETParams
WithDefaults hydrates default values in the list using get params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsingGETParams) WithHTTPClient ¶
func (o *ListUsingGETParams) WithHTTPClient(client *http.Client) *ListUsingGETParams
WithHTTPClient adds the HTTPClient to the list using get params
func (*ListUsingGETParams) WithOffset ¶
func (o *ListUsingGETParams) WithOffset(offset *int64) *ListUsingGETParams
WithOffset adds the offset to the list using get params
func (*ListUsingGETParams) WithPageNumber ¶
func (o *ListUsingGETParams) WithPageNumber(pageNumber *int32) *ListUsingGETParams
WithPageNumber adds the pageNumber to the list using get params
func (*ListUsingGETParams) WithPageSize ¶
func (o *ListUsingGETParams) WithPageSize(pageSize *int32) *ListUsingGETParams
WithPageSize adds the pageSize to the list using get params
func (*ListUsingGETParams) WithPaged ¶
func (o *ListUsingGETParams) WithPaged(paged *bool) *ListUsingGETParams
WithPaged adds the paged to the list using get params
func (*ListUsingGETParams) WithSortSorted ¶
func (o *ListUsingGETParams) WithSortSorted(sortSorted *bool) *ListUsingGETParams
WithSortSorted adds the sortSorted to the list using get params
func (*ListUsingGETParams) WithSortUnsorted ¶
func (o *ListUsingGETParams) WithSortUnsorted(sortUnsorted *bool) *ListUsingGETParams
WithSortUnsorted adds the sortUnsorted to the list using get params
func (*ListUsingGETParams) WithTimeout ¶
func (o *ListUsingGETParams) WithTimeout(timeout time.Duration) *ListUsingGETParams
WithTimeout adds the timeout to the list using get params
func (*ListUsingGETParams) WithUnpaged ¶
func (o *ListUsingGETParams) WithUnpaged(unpaged *bool) *ListUsingGETParams
WithUnpaged adds the unpaged to the list using get params
func (*ListUsingGETParams) WriteToRequest ¶
func (o *ListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUsingGETReader ¶
type ListUsingGETReader struct {
// contains filtered or unexported fields
}
ListUsingGETReader is a Reader for the ListUsingGET structure.
func (*ListUsingGETReader) ReadResponse ¶
func (o *ListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OnboardUsingPOSTOK ¶
type OnboardUsingPOSTOK struct {
Payload *models.K8SCluster
}
OnboardUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewOnboardUsingPOSTOK ¶
func NewOnboardUsingPOSTOK() *OnboardUsingPOSTOK
NewOnboardUsingPOSTOK creates a OnboardUsingPOSTOK with default headers values
func (*OnboardUsingPOSTOK) Error ¶
func (o *OnboardUsingPOSTOK) Error() string
func (*OnboardUsingPOSTOK) GetPayload ¶
func (o *OnboardUsingPOSTOK) GetPayload() *models.K8SCluster
type OnboardUsingPOSTParams ¶
type OnboardUsingPOSTParams struct {
/* Cluster.
cluster
*/
Cluster *models.K8SCluster
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OnboardUsingPOSTParams contains all the parameters to send to the API endpoint
for the onboard using p o s t operation. Typically these are written to a http.Request.
func NewOnboardUsingPOSTParams ¶
func NewOnboardUsingPOSTParams() *OnboardUsingPOSTParams
NewOnboardUsingPOSTParams creates a new OnboardUsingPOSTParams 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 NewOnboardUsingPOSTParamsWithContext ¶
func NewOnboardUsingPOSTParamsWithContext(ctx context.Context) *OnboardUsingPOSTParams
NewOnboardUsingPOSTParamsWithContext creates a new OnboardUsingPOSTParams object with the ability to set a context for a request.
func NewOnboardUsingPOSTParamsWithHTTPClient ¶
func NewOnboardUsingPOSTParamsWithHTTPClient(client *http.Client) *OnboardUsingPOSTParams
NewOnboardUsingPOSTParamsWithHTTPClient creates a new OnboardUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewOnboardUsingPOSTParamsWithTimeout ¶
func NewOnboardUsingPOSTParamsWithTimeout(timeout time.Duration) *OnboardUsingPOSTParams
NewOnboardUsingPOSTParamsWithTimeout creates a new OnboardUsingPOSTParams object with the ability to set a timeout on a request.
func (*OnboardUsingPOSTParams) SetCluster ¶
func (o *OnboardUsingPOSTParams) SetCluster(cluster *models.K8SCluster)
SetCluster adds the cluster to the onboard using p o s t params
func (*OnboardUsingPOSTParams) SetContext ¶
func (o *OnboardUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the onboard using p o s t params
func (*OnboardUsingPOSTParams) SetDefaults ¶
func (o *OnboardUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the onboard using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*OnboardUsingPOSTParams) SetHTTPClient ¶
func (o *OnboardUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the onboard using p o s t params
func (*OnboardUsingPOSTParams) SetTimeout ¶
func (o *OnboardUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the onboard using p o s t params
func (*OnboardUsingPOSTParams) WithCluster ¶
func (o *OnboardUsingPOSTParams) WithCluster(cluster *models.K8SCluster) *OnboardUsingPOSTParams
WithCluster adds the cluster to the onboard using p o s t params
func (*OnboardUsingPOSTParams) WithContext ¶
func (o *OnboardUsingPOSTParams) WithContext(ctx context.Context) *OnboardUsingPOSTParams
WithContext adds the context to the onboard using p o s t params
func (*OnboardUsingPOSTParams) WithDefaults ¶
func (o *OnboardUsingPOSTParams) WithDefaults() *OnboardUsingPOSTParams
WithDefaults hydrates default values in the onboard using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*OnboardUsingPOSTParams) WithHTTPClient ¶
func (o *OnboardUsingPOSTParams) WithHTTPClient(client *http.Client) *OnboardUsingPOSTParams
WithHTTPClient adds the HTTPClient to the onboard using p o s t params
func (*OnboardUsingPOSTParams) WithTimeout ¶
func (o *OnboardUsingPOSTParams) WithTimeout(timeout time.Duration) *OnboardUsingPOSTParams
WithTimeout adds the timeout to the onboard using p o s t params
func (*OnboardUsingPOSTParams) WriteToRequest ¶
func (o *OnboardUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OnboardUsingPOSTReader ¶
type OnboardUsingPOSTReader struct {
// contains filtered or unexported fields
}
OnboardUsingPOSTReader is a Reader for the OnboardUsingPOST structure.
func (*OnboardUsingPOSTReader) ReadResponse ¶
func (o *OnboardUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUsingPUT1OK ¶
type UpdateUsingPUT1OK struct {
Payload *models.K8SCluster
}
UpdateUsingPUT1OK describes a response with status code 200, with default header values.
OK
func NewUpdateUsingPUT1OK ¶
func NewUpdateUsingPUT1OK() *UpdateUsingPUT1OK
NewUpdateUsingPUT1OK creates a UpdateUsingPUT1OK with default headers values
func (*UpdateUsingPUT1OK) Error ¶
func (o *UpdateUsingPUT1OK) Error() string
func (*UpdateUsingPUT1OK) GetPayload ¶
func (o *UpdateUsingPUT1OK) GetPayload() *models.K8SCluster
type UpdateUsingPUT1Params ¶
type UpdateUsingPUT1Params struct {
/* Cluster.
cluster
*/
Cluster *models.K8SCluster
/* ID.
id
Format: uuid
*/
ID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateUsingPUT1Params contains all the parameters to send to the API endpoint
for the update using p u t 1 operation. Typically these are written to a http.Request.
func NewUpdateUsingPUT1Params ¶
func NewUpdateUsingPUT1Params() *UpdateUsingPUT1Params
NewUpdateUsingPUT1Params creates a new UpdateUsingPUT1Params 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 NewUpdateUsingPUT1ParamsWithContext ¶
func NewUpdateUsingPUT1ParamsWithContext(ctx context.Context) *UpdateUsingPUT1Params
NewUpdateUsingPUT1ParamsWithContext creates a new UpdateUsingPUT1Params object with the ability to set a context for a request.
func NewUpdateUsingPUT1ParamsWithHTTPClient ¶
func NewUpdateUsingPUT1ParamsWithHTTPClient(client *http.Client) *UpdateUsingPUT1Params
NewUpdateUsingPUT1ParamsWithHTTPClient creates a new UpdateUsingPUT1Params object with the ability to set a custom HTTPClient for a request.
func NewUpdateUsingPUT1ParamsWithTimeout ¶
func NewUpdateUsingPUT1ParamsWithTimeout(timeout time.Duration) *UpdateUsingPUT1Params
NewUpdateUsingPUT1ParamsWithTimeout creates a new UpdateUsingPUT1Params object with the ability to set a timeout on a request.
func (*UpdateUsingPUT1Params) SetCluster ¶
func (o *UpdateUsingPUT1Params) SetCluster(cluster *models.K8SCluster)
SetCluster adds the cluster to the update using p u t 1 params
func (*UpdateUsingPUT1Params) SetContext ¶
func (o *UpdateUsingPUT1Params) SetContext(ctx context.Context)
SetContext adds the context to the update using p u t 1 params
func (*UpdateUsingPUT1Params) SetDefaults ¶
func (o *UpdateUsingPUT1Params) SetDefaults()
SetDefaults hydrates default values in the update using p u t 1 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUsingPUT1Params) SetHTTPClient ¶
func (o *UpdateUsingPUT1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update using p u t 1 params
func (*UpdateUsingPUT1Params) SetID ¶
func (o *UpdateUsingPUT1Params) SetID(id strfmt.UUID)
SetID adds the id to the update using p u t 1 params
func (*UpdateUsingPUT1Params) SetTimeout ¶
func (o *UpdateUsingPUT1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update using p u t 1 params
func (*UpdateUsingPUT1Params) WithCluster ¶
func (o *UpdateUsingPUT1Params) WithCluster(cluster *models.K8SCluster) *UpdateUsingPUT1Params
WithCluster adds the cluster to the update using p u t 1 params
func (*UpdateUsingPUT1Params) WithContext ¶
func (o *UpdateUsingPUT1Params) WithContext(ctx context.Context) *UpdateUsingPUT1Params
WithContext adds the context to the update using p u t 1 params
func (*UpdateUsingPUT1Params) WithDefaults ¶
func (o *UpdateUsingPUT1Params) WithDefaults() *UpdateUsingPUT1Params
WithDefaults hydrates default values in the update using p u t 1 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUsingPUT1Params) WithHTTPClient ¶
func (o *UpdateUsingPUT1Params) WithHTTPClient(client *http.Client) *UpdateUsingPUT1Params
WithHTTPClient adds the HTTPClient to the update using p u t 1 params
func (*UpdateUsingPUT1Params) WithID ¶
func (o *UpdateUsingPUT1Params) WithID(id strfmt.UUID) *UpdateUsingPUT1Params
WithID adds the id to the update using p u t 1 params
func (*UpdateUsingPUT1Params) WithTimeout ¶
func (o *UpdateUsingPUT1Params) WithTimeout(timeout time.Duration) *UpdateUsingPUT1Params
WithTimeout adds the timeout to the update using p u t 1 params
func (*UpdateUsingPUT1Params) WriteToRequest ¶
func (o *UpdateUsingPUT1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUsingPUT1Reader ¶
type UpdateUsingPUT1Reader struct {
// contains filtered or unexported fields
}
UpdateUsingPUT1Reader is a Reader for the UpdateUsingPUT1 structure.
func (*UpdateUsingPUT1Reader) ReadResponse ¶
func (o *UpdateUsingPUT1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateUsingPUTOK ¶
type ValidateUsingPUTOK struct {
Payload *models.K8sClusterState
}
ValidateUsingPUTOK describes a response with status code 200, with default header values.
OK
func NewValidateUsingPUTOK ¶
func NewValidateUsingPUTOK() *ValidateUsingPUTOK
NewValidateUsingPUTOK creates a ValidateUsingPUTOK with default headers values
func (*ValidateUsingPUTOK) Error ¶
func (o *ValidateUsingPUTOK) Error() string
func (*ValidateUsingPUTOK) GetPayload ¶
func (o *ValidateUsingPUTOK) GetPayload() *models.K8sClusterState
type ValidateUsingPUTParams ¶
type ValidateUsingPUTParams struct {
/* Cluster.
cluster
*/
Cluster *models.K8SCluster
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ValidateUsingPUTParams contains all the parameters to send to the API endpoint
for the validate using p u t operation. Typically these are written to a http.Request.
func NewValidateUsingPUTParams ¶
func NewValidateUsingPUTParams() *ValidateUsingPUTParams
NewValidateUsingPUTParams creates a new ValidateUsingPUTParams 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 NewValidateUsingPUTParamsWithContext ¶
func NewValidateUsingPUTParamsWithContext(ctx context.Context) *ValidateUsingPUTParams
NewValidateUsingPUTParamsWithContext creates a new ValidateUsingPUTParams object with the ability to set a context for a request.
func NewValidateUsingPUTParamsWithHTTPClient ¶
func NewValidateUsingPUTParamsWithHTTPClient(client *http.Client) *ValidateUsingPUTParams
NewValidateUsingPUTParamsWithHTTPClient creates a new ValidateUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewValidateUsingPUTParamsWithTimeout ¶
func NewValidateUsingPUTParamsWithTimeout(timeout time.Duration) *ValidateUsingPUTParams
NewValidateUsingPUTParamsWithTimeout creates a new ValidateUsingPUTParams object with the ability to set a timeout on a request.
func (*ValidateUsingPUTParams) SetCluster ¶
func (o *ValidateUsingPUTParams) SetCluster(cluster *models.K8SCluster)
SetCluster adds the cluster to the validate using p u t params
func (*ValidateUsingPUTParams) SetContext ¶
func (o *ValidateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the validate using p u t params
func (*ValidateUsingPUTParams) SetDefaults ¶
func (o *ValidateUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the validate using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateUsingPUTParams) SetHTTPClient ¶
func (o *ValidateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate using p u t params
func (*ValidateUsingPUTParams) SetTimeout ¶
func (o *ValidateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate using p u t params
func (*ValidateUsingPUTParams) WithCluster ¶
func (o *ValidateUsingPUTParams) WithCluster(cluster *models.K8SCluster) *ValidateUsingPUTParams
WithCluster adds the cluster to the validate using p u t params
func (*ValidateUsingPUTParams) WithContext ¶
func (o *ValidateUsingPUTParams) WithContext(ctx context.Context) *ValidateUsingPUTParams
WithContext adds the context to the validate using p u t params
func (*ValidateUsingPUTParams) WithDefaults ¶
func (o *ValidateUsingPUTParams) WithDefaults() *ValidateUsingPUTParams
WithDefaults hydrates default values in the validate using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateUsingPUTParams) WithHTTPClient ¶
func (o *ValidateUsingPUTParams) WithHTTPClient(client *http.Client) *ValidateUsingPUTParams
WithHTTPClient adds the HTTPClient to the validate using p u t params
func (*ValidateUsingPUTParams) WithTimeout ¶
func (o *ValidateUsingPUTParams) WithTimeout(timeout time.Duration) *ValidateUsingPUTParams
WithTimeout adds the timeout to the validate using p u t params
func (*ValidateUsingPUTParams) WriteToRequest ¶
func (o *ValidateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateUsingPUTReader ¶
type ValidateUsingPUTReader struct {
// contains filtered or unexported fields
}
ValidateUsingPUTReader is a Reader for the ValidateUsingPUT structure.
func (*ValidateUsingPUTReader) ReadResponse ¶
func (o *ValidateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_cluster_using_delete_parameters.go
- delete_cluster_using_delete_responses.go
- destroy_cluster_using_delete_parameters.go
- destroy_cluster_using_delete_responses.go
- get_cluster_using_get_parameters.go
- get_cluster_using_get_responses.go
- get_kube_config_using_get_parameters.go
- get_kube_config_using_get_responses.go
- get_nodes_using_get_parameters.go
- get_nodes_using_get_responses.go
- kubernetes_clusters_client.go
- list_using_get_parameters.go
- list_using_get_responses.go
- onboard_using_post_parameters.go
- onboard_using_post_responses.go
- update_using_put1_parameters.go
- update_using_put1_responses.go
- validate_using_put_parameters.go
- validate_using_put_responses.go