Documentation ¶
Index ¶
- type AddClusterNodesOK
- type AddClusterNodesParams
- func NewAddClusterNodesParams() *AddClusterNodesParams
- func NewAddClusterNodesParamsWithContext(ctx context.Context) *AddClusterNodesParams
- func NewAddClusterNodesParamsWithHTTPClient(client *http.Client) *AddClusterNodesParams
- func NewAddClusterNodesParamsWithTimeout(timeout time.Duration) *AddClusterNodesParams
- func (o *AddClusterNodesParams) SetBody(body *models.OpenpitrixAddClusterNodesRequest)
- func (o *AddClusterNodesParams) SetContext(ctx context.Context)
- func (o *AddClusterNodesParams) SetHTTPClient(client *http.Client)
- func (o *AddClusterNodesParams) SetTimeout(timeout time.Duration)
- func (o *AddClusterNodesParams) WithBody(body *models.OpenpitrixAddClusterNodesRequest) *AddClusterNodesParams
- func (o *AddClusterNodesParams) WithContext(ctx context.Context) *AddClusterNodesParams
- func (o *AddClusterNodesParams) WithHTTPClient(client *http.Client) *AddClusterNodesParams
- func (o *AddClusterNodesParams) WithTimeout(timeout time.Duration) *AddClusterNodesParams
- func (o *AddClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddClusterNodesReader
- type CeaseClustersOK
- type CeaseClustersParams
- func (o *CeaseClustersParams) SetBody(body *models.OpenpitrixCeaseClustersRequest)
- func (o *CeaseClustersParams) SetContext(ctx context.Context)
- func (o *CeaseClustersParams) SetHTTPClient(client *http.Client)
- func (o *CeaseClustersParams) SetTimeout(timeout time.Duration)
- func (o *CeaseClustersParams) WithBody(body *models.OpenpitrixCeaseClustersRequest) *CeaseClustersParams
- func (o *CeaseClustersParams) WithContext(ctx context.Context) *CeaseClustersParams
- func (o *CeaseClustersParams) WithHTTPClient(client *http.Client) *CeaseClustersParams
- func (o *CeaseClustersParams) WithTimeout(timeout time.Duration) *CeaseClustersParams
- func (o *CeaseClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CeaseClustersReader
- type Client
- func (a *Client) AddClusterNodes(params *AddClusterNodesParams) (*AddClusterNodesOK, error)
- func (a *Client) CeaseClusters(params *CeaseClustersParams) (*CeaseClustersOK, error)
- func (a *Client) CreateCluster(params *CreateClusterParams) (*CreateClusterOK, error)
- func (a *Client) DeleteClusterNodes(params *DeleteClusterNodesParams) (*DeleteClusterNodesOK, error)
- func (a *Client) DeleteClusters(params *DeleteClustersParams) (*DeleteClustersOK, error)
- func (a *Client) DescribeClusterNodes(params *DescribeClusterNodesParams) (*DescribeClusterNodesOK, error)
- func (a *Client) DescribeClusters(params *DescribeClustersParams) (*DescribeClustersOK, error)
- func (a *Client) DescribeSubnets(params *DescribeSubnetsParams) (*DescribeSubnetsOK, error)
- func (a *Client) RecoverClusters(params *RecoverClustersParams) (*RecoverClustersOK, error)
- func (a *Client) ResizeCluster(params *ResizeClusterParams) (*ResizeClusterOK, error)
- func (a *Client) RollbackCluster(params *RollbackClusterParams) (*RollbackClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartClusters(params *StartClustersParams) (*StartClustersOK, error)
- func (a *Client) StopClusters(params *StopClustersParams) (*StopClustersOK, error)
- func (a *Client) UpdateClusterEnv(params *UpdateClusterEnvParams) (*UpdateClusterEnvOK, error)
- func (a *Client) UpgradeCluster(params *UpgradeClusterParams) (*UpgradeClusterOK, error)
- type CreateClusterOK
- type CreateClusterParams
- func (o *CreateClusterParams) SetBody(body *models.OpenpitrixCreateClusterRequest)
- func (o *CreateClusterParams) SetContext(ctx context.Context)
- func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterParams) WithBody(body *models.OpenpitrixCreateClusterRequest) *CreateClusterParams
- func (o *CreateClusterParams) WithContext(ctx context.Context) *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 DeleteClusterNodesOK
- type DeleteClusterNodesParams
- func NewDeleteClusterNodesParams() *DeleteClusterNodesParams
- func NewDeleteClusterNodesParamsWithContext(ctx context.Context) *DeleteClusterNodesParams
- func NewDeleteClusterNodesParamsWithHTTPClient(client *http.Client) *DeleteClusterNodesParams
- func NewDeleteClusterNodesParamsWithTimeout(timeout time.Duration) *DeleteClusterNodesParams
- func (o *DeleteClusterNodesParams) SetBody(body *models.OpenpitrixDeleteClusterNodesRequest)
- func (o *DeleteClusterNodesParams) SetContext(ctx context.Context)
- func (o *DeleteClusterNodesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterNodesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterNodesParams) WithBody(body *models.OpenpitrixDeleteClusterNodesRequest) *DeleteClusterNodesParams
- func (o *DeleteClusterNodesParams) WithContext(ctx context.Context) *DeleteClusterNodesParams
- func (o *DeleteClusterNodesParams) WithHTTPClient(client *http.Client) *DeleteClusterNodesParams
- func (o *DeleteClusterNodesParams) WithTimeout(timeout time.Duration) *DeleteClusterNodesParams
- func (o *DeleteClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterNodesReader
- type DeleteClustersOK
- type DeleteClustersParams
- func NewDeleteClustersParams() *DeleteClustersParams
- func NewDeleteClustersParamsWithContext(ctx context.Context) *DeleteClustersParams
- func NewDeleteClustersParamsWithHTTPClient(client *http.Client) *DeleteClustersParams
- func NewDeleteClustersParamsWithTimeout(timeout time.Duration) *DeleteClustersParams
- func (o *DeleteClustersParams) SetBody(body *models.OpenpitrixDeleteClustersRequest)
- func (o *DeleteClustersParams) SetContext(ctx context.Context)
- func (o *DeleteClustersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClustersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClustersParams) WithBody(body *models.OpenpitrixDeleteClustersRequest) *DeleteClustersParams
- func (o *DeleteClustersParams) WithContext(ctx context.Context) *DeleteClustersParams
- func (o *DeleteClustersParams) WithHTTPClient(client *http.Client) *DeleteClustersParams
- func (o *DeleteClustersParams) WithTimeout(timeout time.Duration) *DeleteClustersParams
- func (o *DeleteClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClustersReader
- type DescribeClusterNodesOK
- type DescribeClusterNodesParams
- func NewDescribeClusterNodesParams() *DescribeClusterNodesParams
- func NewDescribeClusterNodesParamsWithContext(ctx context.Context) *DescribeClusterNodesParams
- func NewDescribeClusterNodesParamsWithHTTPClient(client *http.Client) *DescribeClusterNodesParams
- func NewDescribeClusterNodesParamsWithTimeout(timeout time.Duration) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) SetClusterID(clusterID *string)
- func (o *DescribeClusterNodesParams) SetContext(ctx context.Context)
- func (o *DescribeClusterNodesParams) SetHTTPClient(client *http.Client)
- func (o *DescribeClusterNodesParams) SetLimit(limit *int64)
- func (o *DescribeClusterNodesParams) SetNodeID(nodeID []string)
- func (o *DescribeClusterNodesParams) SetOffset(offset *int64)
- func (o *DescribeClusterNodesParams) SetStatus(status []string)
- func (o *DescribeClusterNodesParams) SetTimeout(timeout time.Duration)
- func (o *DescribeClusterNodesParams) WithClusterID(clusterID *string) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithContext(ctx context.Context) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithHTTPClient(client *http.Client) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithLimit(limit *int64) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithNodeID(nodeID []string) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithOffset(offset *int64) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithStatus(status []string) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WithTimeout(timeout time.Duration) *DescribeClusterNodesParams
- func (o *DescribeClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeClusterNodesReader
- type DescribeClustersOK
- type DescribeClustersParams
- func NewDescribeClustersParams() *DescribeClustersParams
- func NewDescribeClustersParamsWithContext(ctx context.Context) *DescribeClustersParams
- func NewDescribeClustersParamsWithHTTPClient(client *http.Client) *DescribeClustersParams
- func NewDescribeClustersParamsWithTimeout(timeout time.Duration) *DescribeClustersParams
- func (o *DescribeClustersParams) SetAppID(appID []string)
- func (o *DescribeClustersParams) SetClusterID(clusterID []string)
- func (o *DescribeClustersParams) SetContext(ctx context.Context)
- func (o *DescribeClustersParams) SetExternalClusterID(externalClusterID *string)
- func (o *DescribeClustersParams) SetFrontgateID(frontgateID []string)
- func (o *DescribeClustersParams) SetHTTPClient(client *http.Client)
- func (o *DescribeClustersParams) SetLimit(limit *int64)
- func (o *DescribeClustersParams) SetOffset(offset *int64)
- func (o *DescribeClustersParams) SetRuntimeID(runtimeID []string)
- func (o *DescribeClustersParams) SetStatus(status []string)
- func (o *DescribeClustersParams) SetTimeout(timeout time.Duration)
- func (o *DescribeClustersParams) SetVersionID(versionID []string)
- func (o *DescribeClustersParams) WithAppID(appID []string) *DescribeClustersParams
- func (o *DescribeClustersParams) WithClusterID(clusterID []string) *DescribeClustersParams
- func (o *DescribeClustersParams) WithContext(ctx context.Context) *DescribeClustersParams
- func (o *DescribeClustersParams) WithExternalClusterID(externalClusterID *string) *DescribeClustersParams
- func (o *DescribeClustersParams) WithFrontgateID(frontgateID []string) *DescribeClustersParams
- func (o *DescribeClustersParams) WithHTTPClient(client *http.Client) *DescribeClustersParams
- func (o *DescribeClustersParams) WithLimit(limit *int64) *DescribeClustersParams
- func (o *DescribeClustersParams) WithOffset(offset *int64) *DescribeClustersParams
- func (o *DescribeClustersParams) WithRuntimeID(runtimeID []string) *DescribeClustersParams
- func (o *DescribeClustersParams) WithStatus(status []string) *DescribeClustersParams
- func (o *DescribeClustersParams) WithTimeout(timeout time.Duration) *DescribeClustersParams
- func (o *DescribeClustersParams) WithVersionID(versionID []string) *DescribeClustersParams
- func (o *DescribeClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeClustersReader
- type DescribeSubnetsOK
- type DescribeSubnetsParams
- func NewDescribeSubnetsParams() *DescribeSubnetsParams
- func NewDescribeSubnetsParamsWithContext(ctx context.Context) *DescribeSubnetsParams
- func NewDescribeSubnetsParamsWithHTTPClient(client *http.Client) *DescribeSubnetsParams
- func NewDescribeSubnetsParamsWithTimeout(timeout time.Duration) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) SetAdvancedParam(advancedParam []string)
- func (o *DescribeSubnetsParams) SetContext(ctx context.Context)
- func (o *DescribeSubnetsParams) SetHTTPClient(client *http.Client)
- func (o *DescribeSubnetsParams) SetLimit(limit *int64)
- func (o *DescribeSubnetsParams) SetOffset(offset *int64)
- func (o *DescribeSubnetsParams) SetRuntimeID(runtimeID *string)
- func (o *DescribeSubnetsParams) SetSubnetID(subnetID []string)
- func (o *DescribeSubnetsParams) SetSubnetTypeValue(subnetTypeValue *int64)
- func (o *DescribeSubnetsParams) SetTimeout(timeout time.Duration)
- func (o *DescribeSubnetsParams) WithAdvancedParam(advancedParam []string) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithContext(ctx context.Context) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithHTTPClient(client *http.Client) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithLimit(limit *int64) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithOffset(offset *int64) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithRuntimeID(runtimeID *string) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithSubnetID(subnetID []string) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithSubnetTypeValue(subnetTypeValue *int64) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WithTimeout(timeout time.Duration) *DescribeSubnetsParams
- func (o *DescribeSubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeSubnetsReader
- type RecoverClustersOK
- type RecoverClustersParams
- func NewRecoverClustersParams() *RecoverClustersParams
- func NewRecoverClustersParamsWithContext(ctx context.Context) *RecoverClustersParams
- func NewRecoverClustersParamsWithHTTPClient(client *http.Client) *RecoverClustersParams
- func NewRecoverClustersParamsWithTimeout(timeout time.Duration) *RecoverClustersParams
- func (o *RecoverClustersParams) SetBody(body *models.OpenpitrixRecoverClustersRequest)
- func (o *RecoverClustersParams) SetContext(ctx context.Context)
- func (o *RecoverClustersParams) SetHTTPClient(client *http.Client)
- func (o *RecoverClustersParams) SetTimeout(timeout time.Duration)
- func (o *RecoverClustersParams) WithBody(body *models.OpenpitrixRecoverClustersRequest) *RecoverClustersParams
- func (o *RecoverClustersParams) WithContext(ctx context.Context) *RecoverClustersParams
- func (o *RecoverClustersParams) WithHTTPClient(client *http.Client) *RecoverClustersParams
- func (o *RecoverClustersParams) WithTimeout(timeout time.Duration) *RecoverClustersParams
- func (o *RecoverClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecoverClustersReader
- type ResizeClusterOK
- type ResizeClusterParams
- func (o *ResizeClusterParams) SetBody(body *models.OpenpitrixResizeClusterRequest)
- func (o *ResizeClusterParams) SetContext(ctx context.Context)
- func (o *ResizeClusterParams) SetHTTPClient(client *http.Client)
- func (o *ResizeClusterParams) SetTimeout(timeout time.Duration)
- func (o *ResizeClusterParams) WithBody(body *models.OpenpitrixResizeClusterRequest) *ResizeClusterParams
- func (o *ResizeClusterParams) WithContext(ctx context.Context) *ResizeClusterParams
- func (o *ResizeClusterParams) WithHTTPClient(client *http.Client) *ResizeClusterParams
- func (o *ResizeClusterParams) WithTimeout(timeout time.Duration) *ResizeClusterParams
- func (o *ResizeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResizeClusterReader
- type RollbackClusterOK
- type RollbackClusterParams
- func NewRollbackClusterParams() *RollbackClusterParams
- func NewRollbackClusterParamsWithContext(ctx context.Context) *RollbackClusterParams
- func NewRollbackClusterParamsWithHTTPClient(client *http.Client) *RollbackClusterParams
- func NewRollbackClusterParamsWithTimeout(timeout time.Duration) *RollbackClusterParams
- func (o *RollbackClusterParams) SetBody(body *models.OpenpitrixRollbackClusterRequest)
- func (o *RollbackClusterParams) SetContext(ctx context.Context)
- func (o *RollbackClusterParams) SetHTTPClient(client *http.Client)
- func (o *RollbackClusterParams) SetTimeout(timeout time.Duration)
- func (o *RollbackClusterParams) WithBody(body *models.OpenpitrixRollbackClusterRequest) *RollbackClusterParams
- func (o *RollbackClusterParams) WithContext(ctx context.Context) *RollbackClusterParams
- func (o *RollbackClusterParams) WithHTTPClient(client *http.Client) *RollbackClusterParams
- func (o *RollbackClusterParams) WithTimeout(timeout time.Duration) *RollbackClusterParams
- func (o *RollbackClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackClusterReader
- type StartClustersOK
- type StartClustersParams
- func (o *StartClustersParams) SetBody(body *models.OpenpitrixStartClustersRequest)
- func (o *StartClustersParams) SetContext(ctx context.Context)
- func (o *StartClustersParams) SetHTTPClient(client *http.Client)
- func (o *StartClustersParams) SetTimeout(timeout time.Duration)
- func (o *StartClustersParams) WithBody(body *models.OpenpitrixStartClustersRequest) *StartClustersParams
- func (o *StartClustersParams) WithContext(ctx context.Context) *StartClustersParams
- func (o *StartClustersParams) WithHTTPClient(client *http.Client) *StartClustersParams
- func (o *StartClustersParams) WithTimeout(timeout time.Duration) *StartClustersParams
- func (o *StartClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartClustersReader
- type StopClustersOK
- type StopClustersParams
- func (o *StopClustersParams) SetBody(body *models.OpenpitrixStopClustersRequest)
- func (o *StopClustersParams) SetContext(ctx context.Context)
- func (o *StopClustersParams) SetHTTPClient(client *http.Client)
- func (o *StopClustersParams) SetTimeout(timeout time.Duration)
- func (o *StopClustersParams) WithBody(body *models.OpenpitrixStopClustersRequest) *StopClustersParams
- func (o *StopClustersParams) WithContext(ctx context.Context) *StopClustersParams
- func (o *StopClustersParams) WithHTTPClient(client *http.Client) *StopClustersParams
- func (o *StopClustersParams) WithTimeout(timeout time.Duration) *StopClustersParams
- func (o *StopClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopClustersReader
- type UpdateClusterEnvOK
- type UpdateClusterEnvParams
- func NewUpdateClusterEnvParams() *UpdateClusterEnvParams
- func NewUpdateClusterEnvParamsWithContext(ctx context.Context) *UpdateClusterEnvParams
- func NewUpdateClusterEnvParamsWithHTTPClient(client *http.Client) *UpdateClusterEnvParams
- func NewUpdateClusterEnvParamsWithTimeout(timeout time.Duration) *UpdateClusterEnvParams
- func (o *UpdateClusterEnvParams) SetBody(body *models.OpenpitrixUpdateClusterEnvRequest)
- func (o *UpdateClusterEnvParams) SetContext(ctx context.Context)
- func (o *UpdateClusterEnvParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterEnvParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterEnvParams) WithBody(body *models.OpenpitrixUpdateClusterEnvRequest) *UpdateClusterEnvParams
- func (o *UpdateClusterEnvParams) WithContext(ctx context.Context) *UpdateClusterEnvParams
- func (o *UpdateClusterEnvParams) WithHTTPClient(client *http.Client) *UpdateClusterEnvParams
- func (o *UpdateClusterEnvParams) WithTimeout(timeout time.Duration) *UpdateClusterEnvParams
- func (o *UpdateClusterEnvParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterEnvReader
- type UpgradeClusterOK
- type UpgradeClusterParams
- func NewUpgradeClusterParams() *UpgradeClusterParams
- func NewUpgradeClusterParamsWithContext(ctx context.Context) *UpgradeClusterParams
- func NewUpgradeClusterParamsWithHTTPClient(client *http.Client) *UpgradeClusterParams
- func NewUpgradeClusterParamsWithTimeout(timeout time.Duration) *UpgradeClusterParams
- func (o *UpgradeClusterParams) SetBody(body *models.OpenpitrixUpgradeClusterRequest)
- func (o *UpgradeClusterParams) SetContext(ctx context.Context)
- func (o *UpgradeClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeClusterParams) WithBody(body *models.OpenpitrixUpgradeClusterRequest) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithContext(ctx context.Context) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithHTTPClient(client *http.Client) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithTimeout(timeout time.Duration) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeClusterReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddClusterNodesOK ¶
type AddClusterNodesOK struct {
Payload *models.OpenpitrixAddClusterNodesResponse
}
AddClusterNodesOK handles this case with default header values.
AddClusterNodesOK add cluster nodes o k
func NewAddClusterNodesOK ¶
func NewAddClusterNodesOK() *AddClusterNodesOK
NewAddClusterNodesOK creates a AddClusterNodesOK with default headers values
func (*AddClusterNodesOK) Error ¶
func (o *AddClusterNodesOK) Error() string
type AddClusterNodesParams ¶
type AddClusterNodesParams struct { /*Body*/ Body *models.OpenpitrixAddClusterNodesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddClusterNodesParams contains all the parameters to send to the API endpoint for the add cluster nodes operation typically these are written to a http.Request
func NewAddClusterNodesParams ¶
func NewAddClusterNodesParams() *AddClusterNodesParams
NewAddClusterNodesParams creates a new AddClusterNodesParams object with the default values initialized.
func NewAddClusterNodesParamsWithContext ¶
func NewAddClusterNodesParamsWithContext(ctx context.Context) *AddClusterNodesParams
NewAddClusterNodesParamsWithContext creates a new AddClusterNodesParams object with the default values initialized, and the ability to set a context for a request
func NewAddClusterNodesParamsWithHTTPClient ¶
func NewAddClusterNodesParamsWithHTTPClient(client *http.Client) *AddClusterNodesParams
NewAddClusterNodesParamsWithHTTPClient creates a new AddClusterNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddClusterNodesParamsWithTimeout ¶
func NewAddClusterNodesParamsWithTimeout(timeout time.Duration) *AddClusterNodesParams
NewAddClusterNodesParamsWithTimeout creates a new AddClusterNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddClusterNodesParams) SetBody ¶
func (o *AddClusterNodesParams) SetBody(body *models.OpenpitrixAddClusterNodesRequest)
SetBody adds the body to the add cluster nodes params
func (*AddClusterNodesParams) SetContext ¶
func (o *AddClusterNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the add cluster nodes params
func (*AddClusterNodesParams) SetHTTPClient ¶
func (o *AddClusterNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add cluster nodes params
func (*AddClusterNodesParams) SetTimeout ¶
func (o *AddClusterNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add cluster nodes params
func (*AddClusterNodesParams) WithBody ¶
func (o *AddClusterNodesParams) WithBody(body *models.OpenpitrixAddClusterNodesRequest) *AddClusterNodesParams
WithBody adds the body to the add cluster nodes params
func (*AddClusterNodesParams) WithContext ¶
func (o *AddClusterNodesParams) WithContext(ctx context.Context) *AddClusterNodesParams
WithContext adds the context to the add cluster nodes params
func (*AddClusterNodesParams) WithHTTPClient ¶
func (o *AddClusterNodesParams) WithHTTPClient(client *http.Client) *AddClusterNodesParams
WithHTTPClient adds the HTTPClient to the add cluster nodes params
func (*AddClusterNodesParams) WithTimeout ¶
func (o *AddClusterNodesParams) WithTimeout(timeout time.Duration) *AddClusterNodesParams
WithTimeout adds the timeout to the add cluster nodes params
func (*AddClusterNodesParams) WriteToRequest ¶
func (o *AddClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddClusterNodesReader ¶
type AddClusterNodesReader struct {
// contains filtered or unexported fields
}
AddClusterNodesReader is a Reader for the AddClusterNodes structure.
func (*AddClusterNodesReader) ReadResponse ¶
func (o *AddClusterNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CeaseClustersOK ¶
type CeaseClustersOK struct {
Payload *models.OpenpitrixCeaseClustersResponse
}
CeaseClustersOK handles this case with default header values.
CeaseClustersOK cease clusters o k
func NewCeaseClustersOK ¶
func NewCeaseClustersOK() *CeaseClustersOK
NewCeaseClustersOK creates a CeaseClustersOK with default headers values
func (*CeaseClustersOK) Error ¶
func (o *CeaseClustersOK) Error() string
type CeaseClustersParams ¶
type CeaseClustersParams struct { /*Body*/ Body *models.OpenpitrixCeaseClustersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CeaseClustersParams contains all the parameters to send to the API endpoint for the cease clusters operation typically these are written to a http.Request
func NewCeaseClustersParams ¶
func NewCeaseClustersParams() *CeaseClustersParams
NewCeaseClustersParams creates a new CeaseClustersParams object with the default values initialized.
func NewCeaseClustersParamsWithContext ¶
func NewCeaseClustersParamsWithContext(ctx context.Context) *CeaseClustersParams
NewCeaseClustersParamsWithContext creates a new CeaseClustersParams object with the default values initialized, and the ability to set a context for a request
func NewCeaseClustersParamsWithHTTPClient ¶
func NewCeaseClustersParamsWithHTTPClient(client *http.Client) *CeaseClustersParams
NewCeaseClustersParamsWithHTTPClient creates a new CeaseClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCeaseClustersParamsWithTimeout ¶
func NewCeaseClustersParamsWithTimeout(timeout time.Duration) *CeaseClustersParams
NewCeaseClustersParamsWithTimeout creates a new CeaseClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*CeaseClustersParams) SetBody ¶
func (o *CeaseClustersParams) SetBody(body *models.OpenpitrixCeaseClustersRequest)
SetBody adds the body to the cease clusters params
func (*CeaseClustersParams) SetContext ¶
func (o *CeaseClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the cease clusters params
func (*CeaseClustersParams) SetHTTPClient ¶
func (o *CeaseClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cease clusters params
func (*CeaseClustersParams) SetTimeout ¶
func (o *CeaseClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cease clusters params
func (*CeaseClustersParams) WithBody ¶
func (o *CeaseClustersParams) WithBody(body *models.OpenpitrixCeaseClustersRequest) *CeaseClustersParams
WithBody adds the body to the cease clusters params
func (*CeaseClustersParams) WithContext ¶
func (o *CeaseClustersParams) WithContext(ctx context.Context) *CeaseClustersParams
WithContext adds the context to the cease clusters params
func (*CeaseClustersParams) WithHTTPClient ¶
func (o *CeaseClustersParams) WithHTTPClient(client *http.Client) *CeaseClustersParams
WithHTTPClient adds the HTTPClient to the cease clusters params
func (*CeaseClustersParams) WithTimeout ¶
func (o *CeaseClustersParams) WithTimeout(timeout time.Duration) *CeaseClustersParams
WithTimeout adds the timeout to the cease clusters params
func (*CeaseClustersParams) WriteToRequest ¶
func (o *CeaseClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CeaseClustersReader ¶
type CeaseClustersReader struct {
// contains filtered or unexported fields
}
CeaseClustersReader is a Reader for the CeaseClusters structure.
func (*CeaseClustersReader) ReadResponse ¶
func (o *CeaseClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cluster manager API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new cluster manager API client.
func (*Client) AddClusterNodes ¶
func (a *Client) AddClusterNodes(params *AddClusterNodesParams) (*AddClusterNodesOK, error)
AddClusterNodes adds cluster nodes
func (*Client) CeaseClusters ¶
func (a *Client) CeaseClusters(params *CeaseClustersParams) (*CeaseClustersOK, error)
CeaseClusters ceases clusters
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(params *CreateClusterParams) (*CreateClusterOK, error)
CreateCluster creates cluster
func (*Client) DeleteClusterNodes ¶
func (a *Client) DeleteClusterNodes(params *DeleteClusterNodesParams) (*DeleteClusterNodesOK, error)
DeleteClusterNodes deletes cluster nodes
func (*Client) DeleteClusters ¶
func (a *Client) DeleteClusters(params *DeleteClustersParams) (*DeleteClustersOK, error)
DeleteClusters deletes clusters
func (*Client) DescribeClusterNodes ¶
func (a *Client) DescribeClusterNodes(params *DescribeClusterNodesParams) (*DescribeClusterNodesOK, error)
DescribeClusterNodes describes cluster nodes
func (*Client) DescribeClusters ¶
func (a *Client) DescribeClusters(params *DescribeClustersParams) (*DescribeClustersOK, error)
DescribeClusters describes clusters
func (*Client) DescribeSubnets ¶
func (a *Client) DescribeSubnets(params *DescribeSubnetsParams) (*DescribeSubnetsOK, error)
DescribeSubnets describes subnets
func (*Client) RecoverClusters ¶
func (a *Client) RecoverClusters(params *RecoverClustersParams) (*RecoverClustersOK, error)
RecoverClusters recovers clusters
func (*Client) ResizeCluster ¶
func (a *Client) ResizeCluster(params *ResizeClusterParams) (*ResizeClusterOK, error)
ResizeCluster resizes cluster
func (*Client) RollbackCluster ¶
func (a *Client) RollbackCluster(params *RollbackClusterParams) (*RollbackClusterOK, error)
RollbackCluster rollbacks cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartClusters ¶
func (a *Client) StartClusters(params *StartClustersParams) (*StartClustersOK, error)
StartClusters starts clusters
func (*Client) StopClusters ¶
func (a *Client) StopClusters(params *StopClustersParams) (*StopClustersOK, error)
StopClusters stops clusters
func (*Client) UpdateClusterEnv ¶
func (a *Client) UpdateClusterEnv(params *UpdateClusterEnvParams) (*UpdateClusterEnvOK, error)
UpdateClusterEnv updates cluster env
func (*Client) UpgradeCluster ¶
func (a *Client) UpgradeCluster(params *UpgradeClusterParams) (*UpgradeClusterOK, error)
UpgradeCluster upgrades cluster
type CreateClusterOK ¶
type CreateClusterOK struct {
Payload *models.OpenpitrixCreateClusterResponse
}
CreateClusterOK handles this case with default header values.
CreateClusterOK create cluster o k
func NewCreateClusterOK ¶
func NewCreateClusterOK() *CreateClusterOK
NewCreateClusterOK creates a CreateClusterOK with default headers values
func (*CreateClusterOK) Error ¶
func (o *CreateClusterOK) Error() string
type CreateClusterParams ¶
type CreateClusterParams struct { /*Body*/ Body *models.OpenpitrixCreateClusterRequest 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 values initialized.
func NewCreateClusterParamsWithContext ¶
func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams
NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*CreateClusterParams) SetBody ¶
func (o *CreateClusterParams) SetBody(body *models.OpenpitrixCreateClusterRequest)
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) 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.OpenpitrixCreateClusterRequest) *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) 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 DeleteClusterNodesOK ¶
type DeleteClusterNodesOK struct {
Payload *models.OpenpitrixDeleteClusterNodesResponse
}
DeleteClusterNodesOK handles this case with default header values.
DeleteClusterNodesOK delete cluster nodes o k
func NewDeleteClusterNodesOK ¶
func NewDeleteClusterNodesOK() *DeleteClusterNodesOK
NewDeleteClusterNodesOK creates a DeleteClusterNodesOK with default headers values
func (*DeleteClusterNodesOK) Error ¶
func (o *DeleteClusterNodesOK) Error() string
type DeleteClusterNodesParams ¶
type DeleteClusterNodesParams struct { /*Body*/ Body *models.OpenpitrixDeleteClusterNodesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterNodesParams contains all the parameters to send to the API endpoint for the delete cluster nodes operation typically these are written to a http.Request
func NewDeleteClusterNodesParams ¶
func NewDeleteClusterNodesParams() *DeleteClusterNodesParams
NewDeleteClusterNodesParams creates a new DeleteClusterNodesParams object with the default values initialized.
func NewDeleteClusterNodesParamsWithContext ¶
func NewDeleteClusterNodesParamsWithContext(ctx context.Context) *DeleteClusterNodesParams
NewDeleteClusterNodesParamsWithContext creates a new DeleteClusterNodesParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterNodesParamsWithHTTPClient ¶
func NewDeleteClusterNodesParamsWithHTTPClient(client *http.Client) *DeleteClusterNodesParams
NewDeleteClusterNodesParamsWithHTTPClient creates a new DeleteClusterNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterNodesParamsWithTimeout ¶
func NewDeleteClusterNodesParamsWithTimeout(timeout time.Duration) *DeleteClusterNodesParams
NewDeleteClusterNodesParamsWithTimeout creates a new DeleteClusterNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterNodesParams) SetBody ¶
func (o *DeleteClusterNodesParams) SetBody(body *models.OpenpitrixDeleteClusterNodesRequest)
SetBody adds the body to the delete cluster nodes params
func (*DeleteClusterNodesParams) SetContext ¶
func (o *DeleteClusterNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster nodes params
func (*DeleteClusterNodesParams) SetHTTPClient ¶
func (o *DeleteClusterNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster nodes params
func (*DeleteClusterNodesParams) SetTimeout ¶
func (o *DeleteClusterNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster nodes params
func (*DeleteClusterNodesParams) WithBody ¶
func (o *DeleteClusterNodesParams) WithBody(body *models.OpenpitrixDeleteClusterNodesRequest) *DeleteClusterNodesParams
WithBody adds the body to the delete cluster nodes params
func (*DeleteClusterNodesParams) WithContext ¶
func (o *DeleteClusterNodesParams) WithContext(ctx context.Context) *DeleteClusterNodesParams
WithContext adds the context to the delete cluster nodes params
func (*DeleteClusterNodesParams) WithHTTPClient ¶
func (o *DeleteClusterNodesParams) WithHTTPClient(client *http.Client) *DeleteClusterNodesParams
WithHTTPClient adds the HTTPClient to the delete cluster nodes params
func (*DeleteClusterNodesParams) WithTimeout ¶
func (o *DeleteClusterNodesParams) WithTimeout(timeout time.Duration) *DeleteClusterNodesParams
WithTimeout adds the timeout to the delete cluster nodes params
func (*DeleteClusterNodesParams) WriteToRequest ¶
func (o *DeleteClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterNodesReader ¶
type DeleteClusterNodesReader struct {
// contains filtered or unexported fields
}
DeleteClusterNodesReader is a Reader for the DeleteClusterNodes structure.
func (*DeleteClusterNodesReader) ReadResponse ¶
func (o *DeleteClusterNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClustersOK ¶
type DeleteClustersOK struct {
Payload *models.OpenpitrixDeleteClustersResponse
}
DeleteClustersOK handles this case with default header values.
DeleteClustersOK delete clusters o k
func NewDeleteClustersOK ¶
func NewDeleteClustersOK() *DeleteClustersOK
NewDeleteClustersOK creates a DeleteClustersOK with default headers values
func (*DeleteClustersOK) Error ¶
func (o *DeleteClustersOK) Error() string
type DeleteClustersParams ¶
type DeleteClustersParams struct { /*Body*/ Body *models.OpenpitrixDeleteClustersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClustersParams contains all the parameters to send to the API endpoint for the delete clusters operation typically these are written to a http.Request
func NewDeleteClustersParams ¶
func NewDeleteClustersParams() *DeleteClustersParams
NewDeleteClustersParams creates a new DeleteClustersParams object with the default values initialized.
func NewDeleteClustersParamsWithContext ¶
func NewDeleteClustersParamsWithContext(ctx context.Context) *DeleteClustersParams
NewDeleteClustersParamsWithContext creates a new DeleteClustersParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClustersParamsWithHTTPClient ¶
func NewDeleteClustersParamsWithHTTPClient(client *http.Client) *DeleteClustersParams
NewDeleteClustersParamsWithHTTPClient creates a new DeleteClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClustersParamsWithTimeout ¶
func NewDeleteClustersParamsWithTimeout(timeout time.Duration) *DeleteClustersParams
NewDeleteClustersParamsWithTimeout creates a new DeleteClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClustersParams) SetBody ¶
func (o *DeleteClustersParams) SetBody(body *models.OpenpitrixDeleteClustersRequest)
SetBody adds the body to the delete clusters params
func (*DeleteClustersParams) SetContext ¶
func (o *DeleteClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete clusters params
func (*DeleteClustersParams) SetHTTPClient ¶
func (o *DeleteClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete clusters params
func (*DeleteClustersParams) SetTimeout ¶
func (o *DeleteClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete clusters params
func (*DeleteClustersParams) WithBody ¶
func (o *DeleteClustersParams) WithBody(body *models.OpenpitrixDeleteClustersRequest) *DeleteClustersParams
WithBody adds the body to the delete clusters params
func (*DeleteClustersParams) WithContext ¶
func (o *DeleteClustersParams) WithContext(ctx context.Context) *DeleteClustersParams
WithContext adds the context to the delete clusters params
func (*DeleteClustersParams) WithHTTPClient ¶
func (o *DeleteClustersParams) WithHTTPClient(client *http.Client) *DeleteClustersParams
WithHTTPClient adds the HTTPClient to the delete clusters params
func (*DeleteClustersParams) WithTimeout ¶
func (o *DeleteClustersParams) WithTimeout(timeout time.Duration) *DeleteClustersParams
WithTimeout adds the timeout to the delete clusters params
func (*DeleteClustersParams) WriteToRequest ¶
func (o *DeleteClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClustersReader ¶
type DeleteClustersReader struct {
// contains filtered or unexported fields
}
DeleteClustersReader is a Reader for the DeleteClusters structure.
func (*DeleteClustersReader) ReadResponse ¶
func (o *DeleteClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeClusterNodesOK ¶
type DescribeClusterNodesOK struct {
Payload *models.OpenpitrixDescribeClusterNodesResponse
}
DescribeClusterNodesOK handles this case with default header values.
DescribeClusterNodesOK describe cluster nodes o k
func NewDescribeClusterNodesOK ¶
func NewDescribeClusterNodesOK() *DescribeClusterNodesOK
NewDescribeClusterNodesOK creates a DescribeClusterNodesOK with default headers values
func (*DescribeClusterNodesOK) Error ¶
func (o *DescribeClusterNodesOK) Error() string
type DescribeClusterNodesParams ¶
type DescribeClusterNodesParams struct { /*ClusterID*/ ClusterID *string /*Limit default is 20, max value is 200. */ Limit *int64 /*NodeID*/ NodeID []string /*Offset default is 0. */ Offset *int64 /*Status*/ Status []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeClusterNodesParams contains all the parameters to send to the API endpoint for the describe cluster nodes operation typically these are written to a http.Request
func NewDescribeClusterNodesParams ¶
func NewDescribeClusterNodesParams() *DescribeClusterNodesParams
NewDescribeClusterNodesParams creates a new DescribeClusterNodesParams object with the default values initialized.
func NewDescribeClusterNodesParamsWithContext ¶
func NewDescribeClusterNodesParamsWithContext(ctx context.Context) *DescribeClusterNodesParams
NewDescribeClusterNodesParamsWithContext creates a new DescribeClusterNodesParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeClusterNodesParamsWithHTTPClient ¶
func NewDescribeClusterNodesParamsWithHTTPClient(client *http.Client) *DescribeClusterNodesParams
NewDescribeClusterNodesParamsWithHTTPClient creates a new DescribeClusterNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeClusterNodesParamsWithTimeout ¶
func NewDescribeClusterNodesParamsWithTimeout(timeout time.Duration) *DescribeClusterNodesParams
NewDescribeClusterNodesParamsWithTimeout creates a new DescribeClusterNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeClusterNodesParams) SetClusterID ¶
func (o *DescribeClusterNodesParams) SetClusterID(clusterID *string)
SetClusterID adds the clusterId to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetContext ¶
func (o *DescribeClusterNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetHTTPClient ¶
func (o *DescribeClusterNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetLimit ¶
func (o *DescribeClusterNodesParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetNodeID ¶
func (o *DescribeClusterNodesParams) SetNodeID(nodeID []string)
SetNodeID adds the nodeId to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetOffset ¶
func (o *DescribeClusterNodesParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetStatus ¶
func (o *DescribeClusterNodesParams) SetStatus(status []string)
SetStatus adds the status to the describe cluster nodes params
func (*DescribeClusterNodesParams) SetTimeout ¶
func (o *DescribeClusterNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithClusterID ¶
func (o *DescribeClusterNodesParams) WithClusterID(clusterID *string) *DescribeClusterNodesParams
WithClusterID adds the clusterID to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithContext ¶
func (o *DescribeClusterNodesParams) WithContext(ctx context.Context) *DescribeClusterNodesParams
WithContext adds the context to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithHTTPClient ¶
func (o *DescribeClusterNodesParams) WithHTTPClient(client *http.Client) *DescribeClusterNodesParams
WithHTTPClient adds the HTTPClient to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithLimit ¶
func (o *DescribeClusterNodesParams) WithLimit(limit *int64) *DescribeClusterNodesParams
WithLimit adds the limit to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithNodeID ¶
func (o *DescribeClusterNodesParams) WithNodeID(nodeID []string) *DescribeClusterNodesParams
WithNodeID adds the nodeID to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithOffset ¶
func (o *DescribeClusterNodesParams) WithOffset(offset *int64) *DescribeClusterNodesParams
WithOffset adds the offset to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithStatus ¶
func (o *DescribeClusterNodesParams) WithStatus(status []string) *DescribeClusterNodesParams
WithStatus adds the status to the describe cluster nodes params
func (*DescribeClusterNodesParams) WithTimeout ¶
func (o *DescribeClusterNodesParams) WithTimeout(timeout time.Duration) *DescribeClusterNodesParams
WithTimeout adds the timeout to the describe cluster nodes params
func (*DescribeClusterNodesParams) WriteToRequest ¶
func (o *DescribeClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeClusterNodesReader ¶
type DescribeClusterNodesReader struct {
// contains filtered or unexported fields
}
DescribeClusterNodesReader is a Reader for the DescribeClusterNodes structure.
func (*DescribeClusterNodesReader) ReadResponse ¶
func (o *DescribeClusterNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeClustersOK ¶
type DescribeClustersOK struct {
Payload *models.OpenpitrixDescribeClustersResponse
}
DescribeClustersOK handles this case with default header values.
DescribeClustersOK describe clusters o k
func NewDescribeClustersOK ¶
func NewDescribeClustersOK() *DescribeClustersOK
NewDescribeClustersOK creates a DescribeClustersOK with default headers values
func (*DescribeClustersOK) Error ¶
func (o *DescribeClustersOK) Error() string
type DescribeClustersParams ¶
type DescribeClustersParams struct { /*AppID*/ AppID []string /*ClusterID*/ ClusterID []string /*ExternalClusterID*/ ExternalClusterID *string /*FrontgateID*/ FrontgateID []string /*Limit default is 20, max value is 200. */ Limit *int64 /*Offset default is 0. */ Offset *int64 /*RuntimeID*/ RuntimeID []string /*Status*/ Status []string /*VersionID*/ VersionID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeClustersParams contains all the parameters to send to the API endpoint for the describe clusters operation typically these are written to a http.Request
func NewDescribeClustersParams ¶
func NewDescribeClustersParams() *DescribeClustersParams
NewDescribeClustersParams creates a new DescribeClustersParams object with the default values initialized.
func NewDescribeClustersParamsWithContext ¶
func NewDescribeClustersParamsWithContext(ctx context.Context) *DescribeClustersParams
NewDescribeClustersParamsWithContext creates a new DescribeClustersParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeClustersParamsWithHTTPClient ¶
func NewDescribeClustersParamsWithHTTPClient(client *http.Client) *DescribeClustersParams
NewDescribeClustersParamsWithHTTPClient creates a new DescribeClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeClustersParamsWithTimeout ¶
func NewDescribeClustersParamsWithTimeout(timeout time.Duration) *DescribeClustersParams
NewDescribeClustersParamsWithTimeout creates a new DescribeClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeClustersParams) SetAppID ¶
func (o *DescribeClustersParams) SetAppID(appID []string)
SetAppID adds the appId to the describe clusters params
func (*DescribeClustersParams) SetClusterID ¶
func (o *DescribeClustersParams) SetClusterID(clusterID []string)
SetClusterID adds the clusterId to the describe clusters params
func (*DescribeClustersParams) SetContext ¶
func (o *DescribeClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the describe clusters params
func (*DescribeClustersParams) SetExternalClusterID ¶
func (o *DescribeClustersParams) SetExternalClusterID(externalClusterID *string)
SetExternalClusterID adds the externalClusterId to the describe clusters params
func (*DescribeClustersParams) SetFrontgateID ¶
func (o *DescribeClustersParams) SetFrontgateID(frontgateID []string)
SetFrontgateID adds the frontgateId to the describe clusters params
func (*DescribeClustersParams) SetHTTPClient ¶
func (o *DescribeClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe clusters params
func (*DescribeClustersParams) SetLimit ¶
func (o *DescribeClustersParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe clusters params
func (*DescribeClustersParams) SetOffset ¶
func (o *DescribeClustersParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe clusters params
func (*DescribeClustersParams) SetRuntimeID ¶
func (o *DescribeClustersParams) SetRuntimeID(runtimeID []string)
SetRuntimeID adds the runtimeId to the describe clusters params
func (*DescribeClustersParams) SetStatus ¶
func (o *DescribeClustersParams) SetStatus(status []string)
SetStatus adds the status to the describe clusters params
func (*DescribeClustersParams) SetTimeout ¶
func (o *DescribeClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe clusters params
func (*DescribeClustersParams) SetVersionID ¶
func (o *DescribeClustersParams) SetVersionID(versionID []string)
SetVersionID adds the versionId to the describe clusters params
func (*DescribeClustersParams) WithAppID ¶
func (o *DescribeClustersParams) WithAppID(appID []string) *DescribeClustersParams
WithAppID adds the appID to the describe clusters params
func (*DescribeClustersParams) WithClusterID ¶
func (o *DescribeClustersParams) WithClusterID(clusterID []string) *DescribeClustersParams
WithClusterID adds the clusterID to the describe clusters params
func (*DescribeClustersParams) WithContext ¶
func (o *DescribeClustersParams) WithContext(ctx context.Context) *DescribeClustersParams
WithContext adds the context to the describe clusters params
func (*DescribeClustersParams) WithExternalClusterID ¶
func (o *DescribeClustersParams) WithExternalClusterID(externalClusterID *string) *DescribeClustersParams
WithExternalClusterID adds the externalClusterID to the describe clusters params
func (*DescribeClustersParams) WithFrontgateID ¶
func (o *DescribeClustersParams) WithFrontgateID(frontgateID []string) *DescribeClustersParams
WithFrontgateID adds the frontgateID to the describe clusters params
func (*DescribeClustersParams) WithHTTPClient ¶
func (o *DescribeClustersParams) WithHTTPClient(client *http.Client) *DescribeClustersParams
WithHTTPClient adds the HTTPClient to the describe clusters params
func (*DescribeClustersParams) WithLimit ¶
func (o *DescribeClustersParams) WithLimit(limit *int64) *DescribeClustersParams
WithLimit adds the limit to the describe clusters params
func (*DescribeClustersParams) WithOffset ¶
func (o *DescribeClustersParams) WithOffset(offset *int64) *DescribeClustersParams
WithOffset adds the offset to the describe clusters params
func (*DescribeClustersParams) WithRuntimeID ¶
func (o *DescribeClustersParams) WithRuntimeID(runtimeID []string) *DescribeClustersParams
WithRuntimeID adds the runtimeID to the describe clusters params
func (*DescribeClustersParams) WithStatus ¶
func (o *DescribeClustersParams) WithStatus(status []string) *DescribeClustersParams
WithStatus adds the status to the describe clusters params
func (*DescribeClustersParams) WithTimeout ¶
func (o *DescribeClustersParams) WithTimeout(timeout time.Duration) *DescribeClustersParams
WithTimeout adds the timeout to the describe clusters params
func (*DescribeClustersParams) WithVersionID ¶
func (o *DescribeClustersParams) WithVersionID(versionID []string) *DescribeClustersParams
WithVersionID adds the versionID to the describe clusters params
func (*DescribeClustersParams) WriteToRequest ¶
func (o *DescribeClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeClustersReader ¶
type DescribeClustersReader struct {
// contains filtered or unexported fields
}
DescribeClustersReader is a Reader for the DescribeClusters structure.
func (*DescribeClustersReader) ReadResponse ¶
func (o *DescribeClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeSubnetsOK ¶
type DescribeSubnetsOK struct {
Payload *models.OpenpitrixDescribeSubnetsResponse
}
DescribeSubnetsOK handles this case with default header values.
DescribeSubnetsOK describe subnets o k
func NewDescribeSubnetsOK ¶
func NewDescribeSubnetsOK() *DescribeSubnetsOK
NewDescribeSubnetsOK creates a DescribeSubnetsOK with default headers values
func (*DescribeSubnetsOK) Error ¶
func (o *DescribeSubnetsOK) Error() string
type DescribeSubnetsParams ¶
type DescribeSubnetsParams struct { /*AdvancedParam*/ AdvancedParam []string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 /*RuntimeID*/ RuntimeID *string /*SubnetID*/ SubnetID []string /*SubnetTypeValue The uint32 value. */ SubnetTypeValue *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeSubnetsParams contains all the parameters to send to the API endpoint for the describe subnets operation typically these are written to a http.Request
func NewDescribeSubnetsParams ¶
func NewDescribeSubnetsParams() *DescribeSubnetsParams
NewDescribeSubnetsParams creates a new DescribeSubnetsParams object with the default values initialized.
func NewDescribeSubnetsParamsWithContext ¶
func NewDescribeSubnetsParamsWithContext(ctx context.Context) *DescribeSubnetsParams
NewDescribeSubnetsParamsWithContext creates a new DescribeSubnetsParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeSubnetsParamsWithHTTPClient ¶
func NewDescribeSubnetsParamsWithHTTPClient(client *http.Client) *DescribeSubnetsParams
NewDescribeSubnetsParamsWithHTTPClient creates a new DescribeSubnetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeSubnetsParamsWithTimeout ¶
func NewDescribeSubnetsParamsWithTimeout(timeout time.Duration) *DescribeSubnetsParams
NewDescribeSubnetsParamsWithTimeout creates a new DescribeSubnetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeSubnetsParams) SetAdvancedParam ¶
func (o *DescribeSubnetsParams) SetAdvancedParam(advancedParam []string)
SetAdvancedParam adds the advancedParam to the describe subnets params
func (*DescribeSubnetsParams) SetContext ¶
func (o *DescribeSubnetsParams) SetContext(ctx context.Context)
SetContext adds the context to the describe subnets params
func (*DescribeSubnetsParams) SetHTTPClient ¶
func (o *DescribeSubnetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe subnets params
func (*DescribeSubnetsParams) SetLimit ¶
func (o *DescribeSubnetsParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe subnets params
func (*DescribeSubnetsParams) SetOffset ¶
func (o *DescribeSubnetsParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe subnets params
func (*DescribeSubnetsParams) SetRuntimeID ¶
func (o *DescribeSubnetsParams) SetRuntimeID(runtimeID *string)
SetRuntimeID adds the runtimeId to the describe subnets params
func (*DescribeSubnetsParams) SetSubnetID ¶
func (o *DescribeSubnetsParams) SetSubnetID(subnetID []string)
SetSubnetID adds the subnetId to the describe subnets params
func (*DescribeSubnetsParams) SetSubnetTypeValue ¶
func (o *DescribeSubnetsParams) SetSubnetTypeValue(subnetTypeValue *int64)
SetSubnetTypeValue adds the subnetTypeValue to the describe subnets params
func (*DescribeSubnetsParams) SetTimeout ¶
func (o *DescribeSubnetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe subnets params
func (*DescribeSubnetsParams) WithAdvancedParam ¶
func (o *DescribeSubnetsParams) WithAdvancedParam(advancedParam []string) *DescribeSubnetsParams
WithAdvancedParam adds the advancedParam to the describe subnets params
func (*DescribeSubnetsParams) WithContext ¶
func (o *DescribeSubnetsParams) WithContext(ctx context.Context) *DescribeSubnetsParams
WithContext adds the context to the describe subnets params
func (*DescribeSubnetsParams) WithHTTPClient ¶
func (o *DescribeSubnetsParams) WithHTTPClient(client *http.Client) *DescribeSubnetsParams
WithHTTPClient adds the HTTPClient to the describe subnets params
func (*DescribeSubnetsParams) WithLimit ¶
func (o *DescribeSubnetsParams) WithLimit(limit *int64) *DescribeSubnetsParams
WithLimit adds the limit to the describe subnets params
func (*DescribeSubnetsParams) WithOffset ¶
func (o *DescribeSubnetsParams) WithOffset(offset *int64) *DescribeSubnetsParams
WithOffset adds the offset to the describe subnets params
func (*DescribeSubnetsParams) WithRuntimeID ¶
func (o *DescribeSubnetsParams) WithRuntimeID(runtimeID *string) *DescribeSubnetsParams
WithRuntimeID adds the runtimeID to the describe subnets params
func (*DescribeSubnetsParams) WithSubnetID ¶
func (o *DescribeSubnetsParams) WithSubnetID(subnetID []string) *DescribeSubnetsParams
WithSubnetID adds the subnetID to the describe subnets params
func (*DescribeSubnetsParams) WithSubnetTypeValue ¶
func (o *DescribeSubnetsParams) WithSubnetTypeValue(subnetTypeValue *int64) *DescribeSubnetsParams
WithSubnetTypeValue adds the subnetTypeValue to the describe subnets params
func (*DescribeSubnetsParams) WithTimeout ¶
func (o *DescribeSubnetsParams) WithTimeout(timeout time.Duration) *DescribeSubnetsParams
WithTimeout adds the timeout to the describe subnets params
func (*DescribeSubnetsParams) WriteToRequest ¶
func (o *DescribeSubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeSubnetsReader ¶
type DescribeSubnetsReader struct {
// contains filtered or unexported fields
}
DescribeSubnetsReader is a Reader for the DescribeSubnets structure.
func (*DescribeSubnetsReader) ReadResponse ¶
func (o *DescribeSubnetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecoverClustersOK ¶
type RecoverClustersOK struct {
Payload *models.OpenpitrixRecoverClustersResponse
}
RecoverClustersOK handles this case with default header values.
RecoverClustersOK recover clusters o k
func NewRecoverClustersOK ¶
func NewRecoverClustersOK() *RecoverClustersOK
NewRecoverClustersOK creates a RecoverClustersOK with default headers values
func (*RecoverClustersOK) Error ¶
func (o *RecoverClustersOK) Error() string
type RecoverClustersParams ¶
type RecoverClustersParams struct { /*Body*/ Body *models.OpenpitrixRecoverClustersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecoverClustersParams contains all the parameters to send to the API endpoint for the recover clusters operation typically these are written to a http.Request
func NewRecoverClustersParams ¶
func NewRecoverClustersParams() *RecoverClustersParams
NewRecoverClustersParams creates a new RecoverClustersParams object with the default values initialized.
func NewRecoverClustersParamsWithContext ¶
func NewRecoverClustersParamsWithContext(ctx context.Context) *RecoverClustersParams
NewRecoverClustersParamsWithContext creates a new RecoverClustersParams object with the default values initialized, and the ability to set a context for a request
func NewRecoverClustersParamsWithHTTPClient ¶
func NewRecoverClustersParamsWithHTTPClient(client *http.Client) *RecoverClustersParams
NewRecoverClustersParamsWithHTTPClient creates a new RecoverClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRecoverClustersParamsWithTimeout ¶
func NewRecoverClustersParamsWithTimeout(timeout time.Duration) *RecoverClustersParams
NewRecoverClustersParamsWithTimeout creates a new RecoverClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*RecoverClustersParams) SetBody ¶
func (o *RecoverClustersParams) SetBody(body *models.OpenpitrixRecoverClustersRequest)
SetBody adds the body to the recover clusters params
func (*RecoverClustersParams) SetContext ¶
func (o *RecoverClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the recover clusters params
func (*RecoverClustersParams) SetHTTPClient ¶
func (o *RecoverClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the recover clusters params
func (*RecoverClustersParams) SetTimeout ¶
func (o *RecoverClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the recover clusters params
func (*RecoverClustersParams) WithBody ¶
func (o *RecoverClustersParams) WithBody(body *models.OpenpitrixRecoverClustersRequest) *RecoverClustersParams
WithBody adds the body to the recover clusters params
func (*RecoverClustersParams) WithContext ¶
func (o *RecoverClustersParams) WithContext(ctx context.Context) *RecoverClustersParams
WithContext adds the context to the recover clusters params
func (*RecoverClustersParams) WithHTTPClient ¶
func (o *RecoverClustersParams) WithHTTPClient(client *http.Client) *RecoverClustersParams
WithHTTPClient adds the HTTPClient to the recover clusters params
func (*RecoverClustersParams) WithTimeout ¶
func (o *RecoverClustersParams) WithTimeout(timeout time.Duration) *RecoverClustersParams
WithTimeout adds the timeout to the recover clusters params
func (*RecoverClustersParams) WriteToRequest ¶
func (o *RecoverClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecoverClustersReader ¶
type RecoverClustersReader struct {
// contains filtered or unexported fields
}
RecoverClustersReader is a Reader for the RecoverClusters structure.
func (*RecoverClustersReader) ReadResponse ¶
func (o *RecoverClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResizeClusterOK ¶
type ResizeClusterOK struct {
Payload *models.OpenpitrixResizeClusterResponse
}
ResizeClusterOK handles this case with default header values.
ResizeClusterOK resize cluster o k
func NewResizeClusterOK ¶
func NewResizeClusterOK() *ResizeClusterOK
NewResizeClusterOK creates a ResizeClusterOK with default headers values
func (*ResizeClusterOK) Error ¶
func (o *ResizeClusterOK) Error() string
type ResizeClusterParams ¶
type ResizeClusterParams struct { /*Body*/ Body *models.OpenpitrixResizeClusterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResizeClusterParams contains all the parameters to send to the API endpoint for the resize cluster operation typically these are written to a http.Request
func NewResizeClusterParams ¶
func NewResizeClusterParams() *ResizeClusterParams
NewResizeClusterParams creates a new ResizeClusterParams object with the default values initialized.
func NewResizeClusterParamsWithContext ¶
func NewResizeClusterParamsWithContext(ctx context.Context) *ResizeClusterParams
NewResizeClusterParamsWithContext creates a new ResizeClusterParams object with the default values initialized, and the ability to set a context for a request
func NewResizeClusterParamsWithHTTPClient ¶
func NewResizeClusterParamsWithHTTPClient(client *http.Client) *ResizeClusterParams
NewResizeClusterParamsWithHTTPClient creates a new ResizeClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResizeClusterParamsWithTimeout ¶
func NewResizeClusterParamsWithTimeout(timeout time.Duration) *ResizeClusterParams
NewResizeClusterParamsWithTimeout creates a new ResizeClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResizeClusterParams) SetBody ¶
func (o *ResizeClusterParams) SetBody(body *models.OpenpitrixResizeClusterRequest)
SetBody adds the body to the resize cluster params
func (*ResizeClusterParams) SetContext ¶
func (o *ResizeClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the resize cluster params
func (*ResizeClusterParams) SetHTTPClient ¶
func (o *ResizeClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resize cluster params
func (*ResizeClusterParams) SetTimeout ¶
func (o *ResizeClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resize cluster params
func (*ResizeClusterParams) WithBody ¶
func (o *ResizeClusterParams) WithBody(body *models.OpenpitrixResizeClusterRequest) *ResizeClusterParams
WithBody adds the body to the resize cluster params
func (*ResizeClusterParams) WithContext ¶
func (o *ResizeClusterParams) WithContext(ctx context.Context) *ResizeClusterParams
WithContext adds the context to the resize cluster params
func (*ResizeClusterParams) WithHTTPClient ¶
func (o *ResizeClusterParams) WithHTTPClient(client *http.Client) *ResizeClusterParams
WithHTTPClient adds the HTTPClient to the resize cluster params
func (*ResizeClusterParams) WithTimeout ¶
func (o *ResizeClusterParams) WithTimeout(timeout time.Duration) *ResizeClusterParams
WithTimeout adds the timeout to the resize cluster params
func (*ResizeClusterParams) WriteToRequest ¶
func (o *ResizeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResizeClusterReader ¶
type ResizeClusterReader struct {
// contains filtered or unexported fields
}
ResizeClusterReader is a Reader for the ResizeCluster structure.
func (*ResizeClusterReader) ReadResponse ¶
func (o *ResizeClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackClusterOK ¶
type RollbackClusterOK struct {
Payload *models.OpenpitrixRollbackClusterResponse
}
RollbackClusterOK handles this case with default header values.
RollbackClusterOK rollback cluster o k
func NewRollbackClusterOK ¶
func NewRollbackClusterOK() *RollbackClusterOK
NewRollbackClusterOK creates a RollbackClusterOK with default headers values
func (*RollbackClusterOK) Error ¶
func (o *RollbackClusterOK) Error() string
type RollbackClusterParams ¶
type RollbackClusterParams struct { /*Body*/ Body *models.OpenpitrixRollbackClusterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackClusterParams contains all the parameters to send to the API endpoint for the rollback cluster operation typically these are written to a http.Request
func NewRollbackClusterParams ¶
func NewRollbackClusterParams() *RollbackClusterParams
NewRollbackClusterParams creates a new RollbackClusterParams object with the default values initialized.
func NewRollbackClusterParamsWithContext ¶
func NewRollbackClusterParamsWithContext(ctx context.Context) *RollbackClusterParams
NewRollbackClusterParamsWithContext creates a new RollbackClusterParams object with the default values initialized, and the ability to set a context for a request
func NewRollbackClusterParamsWithHTTPClient ¶
func NewRollbackClusterParamsWithHTTPClient(client *http.Client) *RollbackClusterParams
NewRollbackClusterParamsWithHTTPClient creates a new RollbackClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRollbackClusterParamsWithTimeout ¶
func NewRollbackClusterParamsWithTimeout(timeout time.Duration) *RollbackClusterParams
NewRollbackClusterParamsWithTimeout creates a new RollbackClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*RollbackClusterParams) SetBody ¶
func (o *RollbackClusterParams) SetBody(body *models.OpenpitrixRollbackClusterRequest)
SetBody adds the body to the rollback cluster params
func (*RollbackClusterParams) SetContext ¶
func (o *RollbackClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback cluster params
func (*RollbackClusterParams) SetHTTPClient ¶
func (o *RollbackClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback cluster params
func (*RollbackClusterParams) SetTimeout ¶
func (o *RollbackClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback cluster params
func (*RollbackClusterParams) WithBody ¶
func (o *RollbackClusterParams) WithBody(body *models.OpenpitrixRollbackClusterRequest) *RollbackClusterParams
WithBody adds the body to the rollback cluster params
func (*RollbackClusterParams) WithContext ¶
func (o *RollbackClusterParams) WithContext(ctx context.Context) *RollbackClusterParams
WithContext adds the context to the rollback cluster params
func (*RollbackClusterParams) WithHTTPClient ¶
func (o *RollbackClusterParams) WithHTTPClient(client *http.Client) *RollbackClusterParams
WithHTTPClient adds the HTTPClient to the rollback cluster params
func (*RollbackClusterParams) WithTimeout ¶
func (o *RollbackClusterParams) WithTimeout(timeout time.Duration) *RollbackClusterParams
WithTimeout adds the timeout to the rollback cluster params
func (*RollbackClusterParams) WriteToRequest ¶
func (o *RollbackClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackClusterReader ¶
type RollbackClusterReader struct {
// contains filtered or unexported fields
}
RollbackClusterReader is a Reader for the RollbackCluster structure.
func (*RollbackClusterReader) ReadResponse ¶
func (o *RollbackClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartClustersOK ¶
type StartClustersOK struct {
Payload *models.OpenpitrixStartClustersResponse
}
StartClustersOK handles this case with default header values.
StartClustersOK start clusters o k
func NewStartClustersOK ¶
func NewStartClustersOK() *StartClustersOK
NewStartClustersOK creates a StartClustersOK with default headers values
func (*StartClustersOK) Error ¶
func (o *StartClustersOK) Error() string
type StartClustersParams ¶
type StartClustersParams struct { /*Body*/ Body *models.OpenpitrixStartClustersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartClustersParams contains all the parameters to send to the API endpoint for the start clusters operation typically these are written to a http.Request
func NewStartClustersParams ¶
func NewStartClustersParams() *StartClustersParams
NewStartClustersParams creates a new StartClustersParams object with the default values initialized.
func NewStartClustersParamsWithContext ¶
func NewStartClustersParamsWithContext(ctx context.Context) *StartClustersParams
NewStartClustersParamsWithContext creates a new StartClustersParams object with the default values initialized, and the ability to set a context for a request
func NewStartClustersParamsWithHTTPClient ¶
func NewStartClustersParamsWithHTTPClient(client *http.Client) *StartClustersParams
NewStartClustersParamsWithHTTPClient creates a new StartClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartClustersParamsWithTimeout ¶
func NewStartClustersParamsWithTimeout(timeout time.Duration) *StartClustersParams
NewStartClustersParamsWithTimeout creates a new StartClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartClustersParams) SetBody ¶
func (o *StartClustersParams) SetBody(body *models.OpenpitrixStartClustersRequest)
SetBody adds the body to the start clusters params
func (*StartClustersParams) SetContext ¶
func (o *StartClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the start clusters params
func (*StartClustersParams) SetHTTPClient ¶
func (o *StartClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start clusters params
func (*StartClustersParams) SetTimeout ¶
func (o *StartClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start clusters params
func (*StartClustersParams) WithBody ¶
func (o *StartClustersParams) WithBody(body *models.OpenpitrixStartClustersRequest) *StartClustersParams
WithBody adds the body to the start clusters params
func (*StartClustersParams) WithContext ¶
func (o *StartClustersParams) WithContext(ctx context.Context) *StartClustersParams
WithContext adds the context to the start clusters params
func (*StartClustersParams) WithHTTPClient ¶
func (o *StartClustersParams) WithHTTPClient(client *http.Client) *StartClustersParams
WithHTTPClient adds the HTTPClient to the start clusters params
func (*StartClustersParams) WithTimeout ¶
func (o *StartClustersParams) WithTimeout(timeout time.Duration) *StartClustersParams
WithTimeout adds the timeout to the start clusters params
func (*StartClustersParams) WriteToRequest ¶
func (o *StartClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartClustersReader ¶
type StartClustersReader struct {
// contains filtered or unexported fields
}
StartClustersReader is a Reader for the StartClusters structure.
func (*StartClustersReader) ReadResponse ¶
func (o *StartClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopClustersOK ¶
type StopClustersOK struct {
Payload *models.OpenpitrixStopClustersResponse
}
StopClustersOK handles this case with default header values.
StopClustersOK stop clusters o k
func NewStopClustersOK ¶
func NewStopClustersOK() *StopClustersOK
NewStopClustersOK creates a StopClustersOK with default headers values
func (*StopClustersOK) Error ¶
func (o *StopClustersOK) Error() string
type StopClustersParams ¶
type StopClustersParams struct { /*Body*/ Body *models.OpenpitrixStopClustersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopClustersParams contains all the parameters to send to the API endpoint for the stop clusters operation typically these are written to a http.Request
func NewStopClustersParams ¶
func NewStopClustersParams() *StopClustersParams
NewStopClustersParams creates a new StopClustersParams object with the default values initialized.
func NewStopClustersParamsWithContext ¶
func NewStopClustersParamsWithContext(ctx context.Context) *StopClustersParams
NewStopClustersParamsWithContext creates a new StopClustersParams object with the default values initialized, and the ability to set a context for a request
func NewStopClustersParamsWithHTTPClient ¶
func NewStopClustersParamsWithHTTPClient(client *http.Client) *StopClustersParams
NewStopClustersParamsWithHTTPClient creates a new StopClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopClustersParamsWithTimeout ¶
func NewStopClustersParamsWithTimeout(timeout time.Duration) *StopClustersParams
NewStopClustersParamsWithTimeout creates a new StopClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopClustersParams) SetBody ¶
func (o *StopClustersParams) SetBody(body *models.OpenpitrixStopClustersRequest)
SetBody adds the body to the stop clusters params
func (*StopClustersParams) SetContext ¶
func (o *StopClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the stop clusters params
func (*StopClustersParams) SetHTTPClient ¶
func (o *StopClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop clusters params
func (*StopClustersParams) SetTimeout ¶
func (o *StopClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop clusters params
func (*StopClustersParams) WithBody ¶
func (o *StopClustersParams) WithBody(body *models.OpenpitrixStopClustersRequest) *StopClustersParams
WithBody adds the body to the stop clusters params
func (*StopClustersParams) WithContext ¶
func (o *StopClustersParams) WithContext(ctx context.Context) *StopClustersParams
WithContext adds the context to the stop clusters params
func (*StopClustersParams) WithHTTPClient ¶
func (o *StopClustersParams) WithHTTPClient(client *http.Client) *StopClustersParams
WithHTTPClient adds the HTTPClient to the stop clusters params
func (*StopClustersParams) WithTimeout ¶
func (o *StopClustersParams) WithTimeout(timeout time.Duration) *StopClustersParams
WithTimeout adds the timeout to the stop clusters params
func (*StopClustersParams) WriteToRequest ¶
func (o *StopClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopClustersReader ¶
type StopClustersReader struct {
// contains filtered or unexported fields
}
StopClustersReader is a Reader for the StopClusters structure.
func (*StopClustersReader) ReadResponse ¶
func (o *StopClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterEnvOK ¶
type UpdateClusterEnvOK struct {
Payload *models.OpenpitrixUpdateClusterEnvResponse
}
UpdateClusterEnvOK handles this case with default header values.
UpdateClusterEnvOK update cluster env o k
func NewUpdateClusterEnvOK ¶
func NewUpdateClusterEnvOK() *UpdateClusterEnvOK
NewUpdateClusterEnvOK creates a UpdateClusterEnvOK with default headers values
func (*UpdateClusterEnvOK) Error ¶
func (o *UpdateClusterEnvOK) Error() string
type UpdateClusterEnvParams ¶
type UpdateClusterEnvParams struct { /*Body*/ Body *models.OpenpitrixUpdateClusterEnvRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterEnvParams contains all the parameters to send to the API endpoint for the update cluster env operation typically these are written to a http.Request
func NewUpdateClusterEnvParams ¶
func NewUpdateClusterEnvParams() *UpdateClusterEnvParams
NewUpdateClusterEnvParams creates a new UpdateClusterEnvParams object with the default values initialized.
func NewUpdateClusterEnvParamsWithContext ¶
func NewUpdateClusterEnvParamsWithContext(ctx context.Context) *UpdateClusterEnvParams
NewUpdateClusterEnvParamsWithContext creates a new UpdateClusterEnvParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateClusterEnvParamsWithHTTPClient ¶
func NewUpdateClusterEnvParamsWithHTTPClient(client *http.Client) *UpdateClusterEnvParams
NewUpdateClusterEnvParamsWithHTTPClient creates a new UpdateClusterEnvParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateClusterEnvParamsWithTimeout ¶
func NewUpdateClusterEnvParamsWithTimeout(timeout time.Duration) *UpdateClusterEnvParams
NewUpdateClusterEnvParamsWithTimeout creates a new UpdateClusterEnvParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateClusterEnvParams) SetBody ¶
func (o *UpdateClusterEnvParams) SetBody(body *models.OpenpitrixUpdateClusterEnvRequest)
SetBody adds the body to the update cluster env params
func (*UpdateClusterEnvParams) SetContext ¶
func (o *UpdateClusterEnvParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster env params
func (*UpdateClusterEnvParams) SetHTTPClient ¶
func (o *UpdateClusterEnvParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster env params
func (*UpdateClusterEnvParams) SetTimeout ¶
func (o *UpdateClusterEnvParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster env params
func (*UpdateClusterEnvParams) WithBody ¶
func (o *UpdateClusterEnvParams) WithBody(body *models.OpenpitrixUpdateClusterEnvRequest) *UpdateClusterEnvParams
WithBody adds the body to the update cluster env params
func (*UpdateClusterEnvParams) WithContext ¶
func (o *UpdateClusterEnvParams) WithContext(ctx context.Context) *UpdateClusterEnvParams
WithContext adds the context to the update cluster env params
func (*UpdateClusterEnvParams) WithHTTPClient ¶
func (o *UpdateClusterEnvParams) WithHTTPClient(client *http.Client) *UpdateClusterEnvParams
WithHTTPClient adds the HTTPClient to the update cluster env params
func (*UpdateClusterEnvParams) WithTimeout ¶
func (o *UpdateClusterEnvParams) WithTimeout(timeout time.Duration) *UpdateClusterEnvParams
WithTimeout adds the timeout to the update cluster env params
func (*UpdateClusterEnvParams) WriteToRequest ¶
func (o *UpdateClusterEnvParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterEnvReader ¶
type UpdateClusterEnvReader struct {
// contains filtered or unexported fields
}
UpdateClusterEnvReader is a Reader for the UpdateClusterEnv structure.
func (*UpdateClusterEnvReader) ReadResponse ¶
func (o *UpdateClusterEnvReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeClusterOK ¶
type UpgradeClusterOK struct {
Payload *models.OpenpitrixUpgradeClusterResponse
}
UpgradeClusterOK handles this case with default header values.
UpgradeClusterOK upgrade cluster o k
func NewUpgradeClusterOK ¶
func NewUpgradeClusterOK() *UpgradeClusterOK
NewUpgradeClusterOK creates a UpgradeClusterOK with default headers values
func (*UpgradeClusterOK) Error ¶
func (o *UpgradeClusterOK) Error() string
type UpgradeClusterParams ¶
type UpgradeClusterParams struct { /*Body*/ Body *models.OpenpitrixUpgradeClusterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeClusterParams contains all the parameters to send to the API endpoint for the upgrade cluster operation typically these are written to a http.Request
func NewUpgradeClusterParams ¶
func NewUpgradeClusterParams() *UpgradeClusterParams
NewUpgradeClusterParams creates a new UpgradeClusterParams object with the default values initialized.
func NewUpgradeClusterParamsWithContext ¶
func NewUpgradeClusterParamsWithContext(ctx context.Context) *UpgradeClusterParams
NewUpgradeClusterParamsWithContext creates a new UpgradeClusterParams object with the default values initialized, and the ability to set a context for a request
func NewUpgradeClusterParamsWithHTTPClient ¶
func NewUpgradeClusterParamsWithHTTPClient(client *http.Client) *UpgradeClusterParams
NewUpgradeClusterParamsWithHTTPClient creates a new UpgradeClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpgradeClusterParamsWithTimeout ¶
func NewUpgradeClusterParamsWithTimeout(timeout time.Duration) *UpgradeClusterParams
NewUpgradeClusterParamsWithTimeout creates a new UpgradeClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpgradeClusterParams) SetBody ¶
func (o *UpgradeClusterParams) SetBody(body *models.OpenpitrixUpgradeClusterRequest)
SetBody adds the body to the upgrade cluster params
func (*UpgradeClusterParams) SetContext ¶
func (o *UpgradeClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade cluster params
func (*UpgradeClusterParams) SetHTTPClient ¶
func (o *UpgradeClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade cluster params
func (*UpgradeClusterParams) SetTimeout ¶
func (o *UpgradeClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade cluster params
func (*UpgradeClusterParams) WithBody ¶
func (o *UpgradeClusterParams) WithBody(body *models.OpenpitrixUpgradeClusterRequest) *UpgradeClusterParams
WithBody adds the body to the upgrade cluster params
func (*UpgradeClusterParams) WithContext ¶
func (o *UpgradeClusterParams) WithContext(ctx context.Context) *UpgradeClusterParams
WithContext adds the context to the upgrade cluster params
func (*UpgradeClusterParams) WithHTTPClient ¶
func (o *UpgradeClusterParams) WithHTTPClient(client *http.Client) *UpgradeClusterParams
WithHTTPClient adds the HTTPClient to the upgrade cluster params
func (*UpgradeClusterParams) WithTimeout ¶
func (o *UpgradeClusterParams) WithTimeout(timeout time.Duration) *UpgradeClusterParams
WithTimeout adds the timeout to the upgrade cluster params
func (*UpgradeClusterParams) WriteToRequest ¶
func (o *UpgradeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeClusterReader ¶
type UpgradeClusterReader struct {
// contains filtered or unexported fields
}
UpgradeClusterReader is a Reader for the UpgradeCluster structure.
func (*UpgradeClusterReader) ReadResponse ¶
func (o *UpgradeClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_cluster_nodes_parameters.go
- add_cluster_nodes_responses.go
- cease_clusters_parameters.go
- cease_clusters_responses.go
- cluster_manager_client.go
- create_cluster_parameters.go
- create_cluster_responses.go
- delete_cluster_nodes_parameters.go
- delete_cluster_nodes_responses.go
- delete_clusters_parameters.go
- delete_clusters_responses.go
- describe_cluster_nodes_parameters.go
- describe_cluster_nodes_responses.go
- describe_clusters_parameters.go
- describe_clusters_responses.go
- describe_subnets_parameters.go
- describe_subnets_responses.go
- recover_clusters_parameters.go
- recover_clusters_responses.go
- resize_cluster_parameters.go
- resize_cluster_responses.go
- rollback_cluster_parameters.go
- rollback_cluster_responses.go
- start_clusters_parameters.go
- start_clusters_responses.go
- stop_clusters_parameters.go
- stop_clusters_responses.go
- update_cluster_env_parameters.go
- update_cluster_env_responses.go
- upgrade_cluster_parameters.go
- upgrade_cluster_responses.go