Documentation
¶
Index ¶
- 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) CeaseClusters(params *CeaseClustersParams) (*CeaseClustersOK, error)
- func (a *Client) DescribeClusterNodes(params *DescribeClusterNodesParams) (*DescribeClusterNodesOK, error)
- func (a *Client) RecoverClusters(params *RecoverClustersParams) (*RecoverClustersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateClusterEnv(params *UpdateClusterEnvParams) (*UpdateClusterEnvOK, error)
- 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 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 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) CeaseClusters ¶
func (a *Client) CeaseClusters(params *CeaseClustersParams) (*CeaseClustersOK, error)
CeaseClusters ceases clusters
func (*Client) DescribeClusterNodes ¶
func (a *Client) DescribeClusterNodes(params *DescribeClusterNodesParams) (*DescribeClusterNodesOK, error)
DescribeClusterNodes describes cluster nodes
func (*Client) RecoverClusters ¶
func (a *Client) RecoverClusters(params *RecoverClustersParams) (*RecoverClustersOK, error)
RecoverClusters recovers clusters
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateClusterEnv ¶
func (a *Client) UpdateClusterEnv(params *UpdateClusterEnvParams) (*UpdateClusterEnvOK, error)
UpdateClusterEnv updates cluster env
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 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 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.