Documentation ¶
Index ¶
- type Client
- func (a *Client) ResizeNode(params *ResizeNodeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResizeNodeOK, error)
- func (a *Client) RestartUniverse(params *RestartUniverseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestartUniverseOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpgradeCerts(params *UpgradeCertsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeCertsOK, error)
- func (a *Client) UpgradeGFlags(params *UpgradeGFlagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeGFlagsOK, error)
- func (a *Client) UpgradeSoftware(params *UpgradeSoftwareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeSoftwareOK, error)
- func (a *Client) UpgradeSystemd(params *UpgradeSystemdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeSystemdOK, error)
- func (a *Client) UpgradeTLS(params *UpgradeTLSParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeTLSOK, error)
- func (a *Client) UpgradeThirdpartySoftware(params *UpgradeThirdpartySoftwareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeThirdpartySoftwareOK, error)
- func (a *Client) UpgradeVMImage(params *UpgradeVMImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeVMImageOK, error)
- type ClientOption
- type ClientService
- type ResizeNodeOK
- type ResizeNodeParams
- func (o *ResizeNodeParams) SetCUUID(cUUID strfmt.UUID)
- func (o *ResizeNodeParams) SetContext(ctx context.Context)
- func (o *ResizeNodeParams) SetDefaults()
- func (o *ResizeNodeParams) SetHTTPClient(client *http.Client)
- func (o *ResizeNodeParams) SetResizeNodeParams(resizeNodeParams *models.ResizeNodeParams)
- func (o *ResizeNodeParams) SetTimeout(timeout time.Duration)
- func (o *ResizeNodeParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *ResizeNodeParams) WithCUUID(cUUID strfmt.UUID) *ResizeNodeParams
- func (o *ResizeNodeParams) WithContext(ctx context.Context) *ResizeNodeParams
- func (o *ResizeNodeParams) WithDefaults() *ResizeNodeParams
- func (o *ResizeNodeParams) WithHTTPClient(client *http.Client) *ResizeNodeParams
- func (o *ResizeNodeParams) WithResizeNodeParams(resizeNodeParams *models.ResizeNodeParams) *ResizeNodeParams
- func (o *ResizeNodeParams) WithTimeout(timeout time.Duration) *ResizeNodeParams
- func (o *ResizeNodeParams) WithUniUUID(uniUUID strfmt.UUID) *ResizeNodeParams
- func (o *ResizeNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResizeNodeReader
- type RestartUniverseOK
- type RestartUniverseParams
- func NewRestartUniverseParams() *RestartUniverseParams
- func NewRestartUniverseParamsWithContext(ctx context.Context) *RestartUniverseParams
- func NewRestartUniverseParamsWithHTTPClient(client *http.Client) *RestartUniverseParams
- func NewRestartUniverseParamsWithTimeout(timeout time.Duration) *RestartUniverseParams
- func (o *RestartUniverseParams) SetCUUID(cUUID strfmt.UUID)
- func (o *RestartUniverseParams) SetContext(ctx context.Context)
- func (o *RestartUniverseParams) SetDefaults()
- func (o *RestartUniverseParams) SetHTTPClient(client *http.Client)
- func (o *RestartUniverseParams) SetTimeout(timeout time.Duration)
- func (o *RestartUniverseParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *RestartUniverseParams) SetUpgradeTaskParams(upgradeTaskParams *models.UpgradeTaskParams)
- func (o *RestartUniverseParams) WithCUUID(cUUID strfmt.UUID) *RestartUniverseParams
- func (o *RestartUniverseParams) WithContext(ctx context.Context) *RestartUniverseParams
- func (o *RestartUniverseParams) WithDefaults() *RestartUniverseParams
- func (o *RestartUniverseParams) WithHTTPClient(client *http.Client) *RestartUniverseParams
- func (o *RestartUniverseParams) WithTimeout(timeout time.Duration) *RestartUniverseParams
- func (o *RestartUniverseParams) WithUniUUID(uniUUID strfmt.UUID) *RestartUniverseParams
- func (o *RestartUniverseParams) WithUpgradeTaskParams(upgradeTaskParams *models.UpgradeTaskParams) *RestartUniverseParams
- func (o *RestartUniverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartUniverseReader
- type UpgradeCertsOK
- type UpgradeCertsParams
- func (o *UpgradeCertsParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeCertsParams) SetCertsRotateParams(certsRotateParams *models.CertsRotateParams)
- func (o *UpgradeCertsParams) SetContext(ctx context.Context)
- func (o *UpgradeCertsParams) SetDefaults()
- func (o *UpgradeCertsParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeCertsParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeCertsParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeCertsParams) WithCUUID(cUUID strfmt.UUID) *UpgradeCertsParams
- func (o *UpgradeCertsParams) WithCertsRotateParams(certsRotateParams *models.CertsRotateParams) *UpgradeCertsParams
- func (o *UpgradeCertsParams) WithContext(ctx context.Context) *UpgradeCertsParams
- func (o *UpgradeCertsParams) WithDefaults() *UpgradeCertsParams
- func (o *UpgradeCertsParams) WithHTTPClient(client *http.Client) *UpgradeCertsParams
- func (o *UpgradeCertsParams) WithTimeout(timeout time.Duration) *UpgradeCertsParams
- func (o *UpgradeCertsParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeCertsParams
- func (o *UpgradeCertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeCertsReader
- type UpgradeGFlagsOK
- type UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeGFlagsParams) SetContext(ctx context.Context)
- func (o *UpgradeGFlagsParams) SetDefaults()
- func (o *UpgradeGFlagsParams) SetGflagsUpgradeParams(gflagsUpgradeParams *models.GFlagsUpgradeParams)
- func (o *UpgradeGFlagsParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeGFlagsParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeGFlagsParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeGFlagsParams) WithCUUID(cUUID strfmt.UUID) *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WithContext(ctx context.Context) *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WithDefaults() *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WithGflagsUpgradeParams(gflagsUpgradeParams *models.GFlagsUpgradeParams) *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WithHTTPClient(client *http.Client) *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WithTimeout(timeout time.Duration) *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeGFlagsParams
- func (o *UpgradeGFlagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeGFlagsReader
- type UpgradeSoftwareOK
- type UpgradeSoftwareParams
- func NewUpgradeSoftwareParams() *UpgradeSoftwareParams
- func NewUpgradeSoftwareParamsWithContext(ctx context.Context) *UpgradeSoftwareParams
- func NewUpgradeSoftwareParamsWithHTTPClient(client *http.Client) *UpgradeSoftwareParams
- func NewUpgradeSoftwareParamsWithTimeout(timeout time.Duration) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeSoftwareParams) SetContext(ctx context.Context)
- func (o *UpgradeSoftwareParams) SetDefaults()
- func (o *UpgradeSoftwareParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeSoftwareParams) SetSoftwareUpgradeParams(softwareUpgradeParams *models.SoftwareUpgradeParams)
- func (o *UpgradeSoftwareParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeSoftwareParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeSoftwareParams) WithCUUID(cUUID strfmt.UUID) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WithContext(ctx context.Context) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WithDefaults() *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WithHTTPClient(client *http.Client) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WithSoftwareUpgradeParams(softwareUpgradeParams *models.SoftwareUpgradeParams) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WithTimeout(timeout time.Duration) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeSoftwareParams
- func (o *UpgradeSoftwareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeSoftwareReader
- type UpgradeSystemdOK
- type UpgradeSystemdParams
- func NewUpgradeSystemdParams() *UpgradeSystemdParams
- func NewUpgradeSystemdParamsWithContext(ctx context.Context) *UpgradeSystemdParams
- func NewUpgradeSystemdParamsWithHTTPClient(client *http.Client) *UpgradeSystemdParams
- func NewUpgradeSystemdParamsWithTimeout(timeout time.Duration) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeSystemdParams) SetContext(ctx context.Context)
- func (o *UpgradeSystemdParams) SetDefaults()
- func (o *UpgradeSystemdParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeSystemdParams) SetSystemdUpgradeParams(systemdUpgradeParams *models.SystemdUpgradeParams)
- func (o *UpgradeSystemdParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeSystemdParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeSystemdParams) WithCUUID(cUUID strfmt.UUID) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WithContext(ctx context.Context) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WithDefaults() *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WithHTTPClient(client *http.Client) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WithSystemdUpgradeParams(systemdUpgradeParams *models.SystemdUpgradeParams) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WithTimeout(timeout time.Duration) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeSystemdParams
- func (o *UpgradeSystemdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeSystemdReader
- type UpgradeTLSOK
- type UpgradeTLSParams
- func (o *UpgradeTLSParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeTLSParams) SetContext(ctx context.Context)
- func (o *UpgradeTLSParams) SetDefaults()
- func (o *UpgradeTLSParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeTLSParams) SetTLSToggleParams(tLSToggleParams *models.TLSToggleParams)
- func (o *UpgradeTLSParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeTLSParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeTLSParams) WithCUUID(cUUID strfmt.UUID) *UpgradeTLSParams
- func (o *UpgradeTLSParams) WithContext(ctx context.Context) *UpgradeTLSParams
- func (o *UpgradeTLSParams) WithDefaults() *UpgradeTLSParams
- func (o *UpgradeTLSParams) WithHTTPClient(client *http.Client) *UpgradeTLSParams
- func (o *UpgradeTLSParams) WithTLSToggleParams(tLSToggleParams *models.TLSToggleParams) *UpgradeTLSParams
- func (o *UpgradeTLSParams) WithTimeout(timeout time.Duration) *UpgradeTLSParams
- func (o *UpgradeTLSParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeTLSParams
- func (o *UpgradeTLSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeTLSReader
- type UpgradeThirdpartySoftwareOK
- type UpgradeThirdpartySoftwareParams
- func NewUpgradeThirdpartySoftwareParams() *UpgradeThirdpartySoftwareParams
- func NewUpgradeThirdpartySoftwareParamsWithContext(ctx context.Context) *UpgradeThirdpartySoftwareParams
- func NewUpgradeThirdpartySoftwareParamsWithHTTPClient(client *http.Client) *UpgradeThirdpartySoftwareParams
- func NewUpgradeThirdpartySoftwareParamsWithTimeout(timeout time.Duration) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeThirdpartySoftwareParams) SetContext(ctx context.Context)
- func (o *UpgradeThirdpartySoftwareParams) SetDefaults()
- func (o *UpgradeThirdpartySoftwareParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeThirdpartySoftwareParams) SetThirdpartySoftwareUpgradeParams(thirdpartySoftwareUpgradeParams *models.ThirdpartySoftwareUpgradeParams)
- func (o *UpgradeThirdpartySoftwareParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeThirdpartySoftwareParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeThirdpartySoftwareParams) WithCUUID(cUUID strfmt.UUID) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WithContext(ctx context.Context) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WithDefaults() *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WithHTTPClient(client *http.Client) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WithThirdpartySoftwareUpgradeParams(thirdpartySoftwareUpgradeParams *models.ThirdpartySoftwareUpgradeParams) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WithTimeout(timeout time.Duration) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeThirdpartySoftwareParams
- func (o *UpgradeThirdpartySoftwareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeThirdpartySoftwareReader
- type UpgradeVMImageOK
- type UpgradeVMImageParams
- func NewUpgradeVMImageParams() *UpgradeVMImageParams
- func NewUpgradeVMImageParamsWithContext(ctx context.Context) *UpgradeVMImageParams
- func NewUpgradeVMImageParamsWithHTTPClient(client *http.Client) *UpgradeVMImageParams
- func NewUpgradeVMImageParamsWithTimeout(timeout time.Duration) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpgradeVMImageParams) SetContext(ctx context.Context)
- func (o *UpgradeVMImageParams) SetDefaults()
- func (o *UpgradeVMImageParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeVMImageParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeVMImageParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *UpgradeVMImageParams) SetVmimageUpgradeParams(vmimageUpgradeParams *models.VMImageUpgradeParams)
- func (o *UpgradeVMImageParams) WithCUUID(cUUID strfmt.UUID) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WithContext(ctx context.Context) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WithDefaults() *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WithHTTPClient(client *http.Client) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WithTimeout(timeout time.Duration) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WithVmimageUpgradeParams(vmimageUpgradeParams *models.VMImageUpgradeParams) *UpgradeVMImageParams
- func (o *UpgradeVMImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeVMImageReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for universe upgrades management API
func (*Client) ResizeNode ¶
func (a *Client) ResizeNode(params *ResizeNodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResizeNodeOK, error)
ResizeNode resizes node
Queues a task to perform node resize and rolling restart in a universe.
func (*Client) RestartUniverse ¶
func (a *Client) RestartUniverse(params *RestartUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartUniverseOK, error)
RestartUniverse restarts universe
Queues a task to perform a rolling restart in a universe.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpgradeCerts ¶
func (a *Client) UpgradeCerts(params *UpgradeCertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeCertsOK, error)
UpgradeCerts upgrades certs
Queues a task to perform certificate rotation and rolling restart in a universe.
func (*Client) UpgradeGFlags ¶
func (a *Client) UpgradeGFlags(params *UpgradeGFlagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeGFlagsOK, error)
UpgradeGFlags upgrades g flags
Queues a task to perform gflags upgrade and rolling restart in a universe.
func (*Client) UpgradeSoftware ¶
func (a *Client) UpgradeSoftware(params *UpgradeSoftwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeSoftwareOK, error)
UpgradeSoftware upgrades software
Queues a task to perform software upgrade and rolling restart in a universe.
func (*Client) UpgradeSystemd ¶
func (a *Client) UpgradeSystemd(params *UpgradeSystemdParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeSystemdOK, error)
UpgradeSystemd upgrades systemd
Queues a task to perform systemd upgrade and rolling restart in a universe.
func (*Client) UpgradeTLS ¶
func (a *Client) UpgradeTLS(params *UpgradeTLSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeTLSOK, error)
UpgradeTLS upgrades TLS
Queues a task to perform TLS ugprade and rolling restart in a universe.
func (*Client) UpgradeThirdpartySoftware ¶
func (a *Client) UpgradeThirdpartySoftware(params *UpgradeThirdpartySoftwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeThirdpartySoftwareOK, error)
UpgradeThirdpartySoftware upgrades third party software
Queues a task to perform upgrade third-party software in a universe.
func (*Client) UpgradeVMImage ¶
func (a *Client) UpgradeVMImage(params *UpgradeVMImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeVMImageOK, error)
UpgradeVMImage upgrades VM image
Queues a task to perform VM Image upgrade and rolling restart in a universe.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ResizeNode(params *ResizeNodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResizeNodeOK, error) RestartUniverse(params *RestartUniverseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartUniverseOK, error) UpgradeCerts(params *UpgradeCertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeCertsOK, error) UpgradeGFlags(params *UpgradeGFlagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeGFlagsOK, error) UpgradeSoftware(params *UpgradeSoftwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeSoftwareOK, error) UpgradeSystemd(params *UpgradeSystemdParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeSystemdOK, error) UpgradeThirdpartySoftware(params *UpgradeThirdpartySoftwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeThirdpartySoftwareOK, error) UpgradeTLS(params *UpgradeTLSParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeTLSOK, error) UpgradeVMImage(params *UpgradeVMImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeVMImageOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new universe upgrades management API client.
type ResizeNodeOK ¶
ResizeNodeOK describes a response with status code 200, with default header values.
successful operation
func NewResizeNodeOK ¶
func NewResizeNodeOK() *ResizeNodeOK
NewResizeNodeOK creates a ResizeNodeOK with default headers values
func (*ResizeNodeOK) Error ¶
func (o *ResizeNodeOK) Error() string
func (*ResizeNodeOK) GetPayload ¶
func (o *ResizeNodeOK) GetPayload() *models.YBPTask
type ResizeNodeParams ¶
type ResizeNodeParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* ResizeNodeParams. Resize Node Params */ ResizeNodeParams *models.ResizeNodeParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResizeNodeParams contains all the parameters to send to the API endpoint
for the resize node operation. Typically these are written to a http.Request.
func NewResizeNodeParams ¶
func NewResizeNodeParams() *ResizeNodeParams
NewResizeNodeParams creates a new ResizeNodeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResizeNodeParamsWithContext ¶
func NewResizeNodeParamsWithContext(ctx context.Context) *ResizeNodeParams
NewResizeNodeParamsWithContext creates a new ResizeNodeParams object with the ability to set a context for a request.
func NewResizeNodeParamsWithHTTPClient ¶
func NewResizeNodeParamsWithHTTPClient(client *http.Client) *ResizeNodeParams
NewResizeNodeParamsWithHTTPClient creates a new ResizeNodeParams object with the ability to set a custom HTTPClient for a request.
func NewResizeNodeParamsWithTimeout ¶
func NewResizeNodeParamsWithTimeout(timeout time.Duration) *ResizeNodeParams
NewResizeNodeParamsWithTimeout creates a new ResizeNodeParams object with the ability to set a timeout on a request.
func (*ResizeNodeParams) SetCUUID ¶
func (o *ResizeNodeParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the resize node params
func (*ResizeNodeParams) SetContext ¶
func (o *ResizeNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the resize node params
func (*ResizeNodeParams) SetDefaults ¶
func (o *ResizeNodeParams) SetDefaults()
SetDefaults hydrates default values in the resize node params (not the query body).
All values with no default are reset to their zero value.
func (*ResizeNodeParams) SetHTTPClient ¶
func (o *ResizeNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resize node params
func (*ResizeNodeParams) SetResizeNodeParams ¶
func (o *ResizeNodeParams) SetResizeNodeParams(resizeNodeParams *models.ResizeNodeParams)
SetResizeNodeParams adds the resizeNodeParams to the resize node params
func (*ResizeNodeParams) SetTimeout ¶
func (o *ResizeNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resize node params
func (*ResizeNodeParams) SetUniUUID ¶
func (o *ResizeNodeParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the resize node params
func (*ResizeNodeParams) WithCUUID ¶
func (o *ResizeNodeParams) WithCUUID(cUUID strfmt.UUID) *ResizeNodeParams
WithCUUID adds the cUUID to the resize node params
func (*ResizeNodeParams) WithContext ¶
func (o *ResizeNodeParams) WithContext(ctx context.Context) *ResizeNodeParams
WithContext adds the context to the resize node params
func (*ResizeNodeParams) WithDefaults ¶
func (o *ResizeNodeParams) WithDefaults() *ResizeNodeParams
WithDefaults hydrates default values in the resize node params (not the query body).
All values with no default are reset to their zero value.
func (*ResizeNodeParams) WithHTTPClient ¶
func (o *ResizeNodeParams) WithHTTPClient(client *http.Client) *ResizeNodeParams
WithHTTPClient adds the HTTPClient to the resize node params
func (*ResizeNodeParams) WithResizeNodeParams ¶
func (o *ResizeNodeParams) WithResizeNodeParams(resizeNodeParams *models.ResizeNodeParams) *ResizeNodeParams
WithResizeNodeParams adds the resizeNodeParams to the resize node params
func (*ResizeNodeParams) WithTimeout ¶
func (o *ResizeNodeParams) WithTimeout(timeout time.Duration) *ResizeNodeParams
WithTimeout adds the timeout to the resize node params
func (*ResizeNodeParams) WithUniUUID ¶
func (o *ResizeNodeParams) WithUniUUID(uniUUID strfmt.UUID) *ResizeNodeParams
WithUniUUID adds the uniUUID to the resize node params
func (*ResizeNodeParams) WriteToRequest ¶
func (o *ResizeNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResizeNodeReader ¶
type ResizeNodeReader struct {
// contains filtered or unexported fields
}
ResizeNodeReader is a Reader for the ResizeNode structure.
func (*ResizeNodeReader) ReadResponse ¶
func (o *ResizeNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestartUniverseOK ¶
RestartUniverseOK describes a response with status code 200, with default header values.
successful operation
func NewRestartUniverseOK ¶
func NewRestartUniverseOK() *RestartUniverseOK
NewRestartUniverseOK creates a RestartUniverseOK with default headers values
func (*RestartUniverseOK) Error ¶
func (o *RestartUniverseOK) Error() string
func (*RestartUniverseOK) GetPayload ¶
func (o *RestartUniverseOK) GetPayload() *models.YBPTask
type RestartUniverseParams ¶
type RestartUniverseParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID /* UpgradeTaskParams. Upgrade Task Params */ UpgradeTaskParams *models.UpgradeTaskParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestartUniverseParams contains all the parameters to send to the API endpoint
for the restart universe operation. Typically these are written to a http.Request.
func NewRestartUniverseParams ¶
func NewRestartUniverseParams() *RestartUniverseParams
NewRestartUniverseParams creates a new RestartUniverseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRestartUniverseParamsWithContext ¶
func NewRestartUniverseParamsWithContext(ctx context.Context) *RestartUniverseParams
NewRestartUniverseParamsWithContext creates a new RestartUniverseParams object with the ability to set a context for a request.
func NewRestartUniverseParamsWithHTTPClient ¶
func NewRestartUniverseParamsWithHTTPClient(client *http.Client) *RestartUniverseParams
NewRestartUniverseParamsWithHTTPClient creates a new RestartUniverseParams object with the ability to set a custom HTTPClient for a request.
func NewRestartUniverseParamsWithTimeout ¶
func NewRestartUniverseParamsWithTimeout(timeout time.Duration) *RestartUniverseParams
NewRestartUniverseParamsWithTimeout creates a new RestartUniverseParams object with the ability to set a timeout on a request.
func (*RestartUniverseParams) SetCUUID ¶
func (o *RestartUniverseParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the restart universe params
func (*RestartUniverseParams) SetContext ¶
func (o *RestartUniverseParams) SetContext(ctx context.Context)
SetContext adds the context to the restart universe params
func (*RestartUniverseParams) SetDefaults ¶
func (o *RestartUniverseParams) SetDefaults()
SetDefaults hydrates default values in the restart universe params (not the query body).
All values with no default are reset to their zero value.
func (*RestartUniverseParams) SetHTTPClient ¶
func (o *RestartUniverseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart universe params
func (*RestartUniverseParams) SetTimeout ¶
func (o *RestartUniverseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart universe params
func (*RestartUniverseParams) SetUniUUID ¶
func (o *RestartUniverseParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the restart universe params
func (*RestartUniverseParams) SetUpgradeTaskParams ¶
func (o *RestartUniverseParams) SetUpgradeTaskParams(upgradeTaskParams *models.UpgradeTaskParams)
SetUpgradeTaskParams adds the upgradeTaskParams to the restart universe params
func (*RestartUniverseParams) WithCUUID ¶
func (o *RestartUniverseParams) WithCUUID(cUUID strfmt.UUID) *RestartUniverseParams
WithCUUID adds the cUUID to the restart universe params
func (*RestartUniverseParams) WithContext ¶
func (o *RestartUniverseParams) WithContext(ctx context.Context) *RestartUniverseParams
WithContext adds the context to the restart universe params
func (*RestartUniverseParams) WithDefaults ¶
func (o *RestartUniverseParams) WithDefaults() *RestartUniverseParams
WithDefaults hydrates default values in the restart universe params (not the query body).
All values with no default are reset to their zero value.
func (*RestartUniverseParams) WithHTTPClient ¶
func (o *RestartUniverseParams) WithHTTPClient(client *http.Client) *RestartUniverseParams
WithHTTPClient adds the HTTPClient to the restart universe params
func (*RestartUniverseParams) WithTimeout ¶
func (o *RestartUniverseParams) WithTimeout(timeout time.Duration) *RestartUniverseParams
WithTimeout adds the timeout to the restart universe params
func (*RestartUniverseParams) WithUniUUID ¶
func (o *RestartUniverseParams) WithUniUUID(uniUUID strfmt.UUID) *RestartUniverseParams
WithUniUUID adds the uniUUID to the restart universe params
func (*RestartUniverseParams) WithUpgradeTaskParams ¶
func (o *RestartUniverseParams) WithUpgradeTaskParams(upgradeTaskParams *models.UpgradeTaskParams) *RestartUniverseParams
WithUpgradeTaskParams adds the upgradeTaskParams to the restart universe params
func (*RestartUniverseParams) WriteToRequest ¶
func (o *RestartUniverseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestartUniverseReader ¶
type RestartUniverseReader struct {
// contains filtered or unexported fields
}
RestartUniverseReader is a Reader for the RestartUniverse structure.
func (*RestartUniverseReader) ReadResponse ¶
func (o *RestartUniverseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeCertsOK ¶
UpgradeCertsOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeCertsOK ¶
func NewUpgradeCertsOK() *UpgradeCertsOK
NewUpgradeCertsOK creates a UpgradeCertsOK with default headers values
func (*UpgradeCertsOK) Error ¶
func (o *UpgradeCertsOK) Error() string
func (*UpgradeCertsOK) GetPayload ¶
func (o *UpgradeCertsOK) GetPayload() *models.YBPTask
type UpgradeCertsParams ¶
type UpgradeCertsParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* CertsRotateParams. Certs Rotate Params */ CertsRotateParams *models.CertsRotateParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeCertsParams contains all the parameters to send to the API endpoint
for the upgrade certs operation. Typically these are written to a http.Request.
func NewUpgradeCertsParams ¶
func NewUpgradeCertsParams() *UpgradeCertsParams
NewUpgradeCertsParams creates a new UpgradeCertsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeCertsParamsWithContext ¶
func NewUpgradeCertsParamsWithContext(ctx context.Context) *UpgradeCertsParams
NewUpgradeCertsParamsWithContext creates a new UpgradeCertsParams object with the ability to set a context for a request.
func NewUpgradeCertsParamsWithHTTPClient ¶
func NewUpgradeCertsParamsWithHTTPClient(client *http.Client) *UpgradeCertsParams
NewUpgradeCertsParamsWithHTTPClient creates a new UpgradeCertsParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeCertsParamsWithTimeout ¶
func NewUpgradeCertsParamsWithTimeout(timeout time.Duration) *UpgradeCertsParams
NewUpgradeCertsParamsWithTimeout creates a new UpgradeCertsParams object with the ability to set a timeout on a request.
func (*UpgradeCertsParams) SetCUUID ¶
func (o *UpgradeCertsParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade certs params
func (*UpgradeCertsParams) SetCertsRotateParams ¶
func (o *UpgradeCertsParams) SetCertsRotateParams(certsRotateParams *models.CertsRotateParams)
SetCertsRotateParams adds the certsRotateParams to the upgrade certs params
func (*UpgradeCertsParams) SetContext ¶
func (o *UpgradeCertsParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade certs params
func (*UpgradeCertsParams) SetDefaults ¶
func (o *UpgradeCertsParams) SetDefaults()
SetDefaults hydrates default values in the upgrade certs params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeCertsParams) SetHTTPClient ¶
func (o *UpgradeCertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade certs params
func (*UpgradeCertsParams) SetTimeout ¶
func (o *UpgradeCertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade certs params
func (*UpgradeCertsParams) SetUniUUID ¶
func (o *UpgradeCertsParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade certs params
func (*UpgradeCertsParams) WithCUUID ¶
func (o *UpgradeCertsParams) WithCUUID(cUUID strfmt.UUID) *UpgradeCertsParams
WithCUUID adds the cUUID to the upgrade certs params
func (*UpgradeCertsParams) WithCertsRotateParams ¶
func (o *UpgradeCertsParams) WithCertsRotateParams(certsRotateParams *models.CertsRotateParams) *UpgradeCertsParams
WithCertsRotateParams adds the certsRotateParams to the upgrade certs params
func (*UpgradeCertsParams) WithContext ¶
func (o *UpgradeCertsParams) WithContext(ctx context.Context) *UpgradeCertsParams
WithContext adds the context to the upgrade certs params
func (*UpgradeCertsParams) WithDefaults ¶
func (o *UpgradeCertsParams) WithDefaults() *UpgradeCertsParams
WithDefaults hydrates default values in the upgrade certs params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeCertsParams) WithHTTPClient ¶
func (o *UpgradeCertsParams) WithHTTPClient(client *http.Client) *UpgradeCertsParams
WithHTTPClient adds the HTTPClient to the upgrade certs params
func (*UpgradeCertsParams) WithTimeout ¶
func (o *UpgradeCertsParams) WithTimeout(timeout time.Duration) *UpgradeCertsParams
WithTimeout adds the timeout to the upgrade certs params
func (*UpgradeCertsParams) WithUniUUID ¶
func (o *UpgradeCertsParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeCertsParams
WithUniUUID adds the uniUUID to the upgrade certs params
func (*UpgradeCertsParams) WriteToRequest ¶
func (o *UpgradeCertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeCertsReader ¶
type UpgradeCertsReader struct {
// contains filtered or unexported fields
}
UpgradeCertsReader is a Reader for the UpgradeCerts structure.
func (*UpgradeCertsReader) ReadResponse ¶
func (o *UpgradeCertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeGFlagsOK ¶
UpgradeGFlagsOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeGFlagsOK ¶
func NewUpgradeGFlagsOK() *UpgradeGFlagsOK
NewUpgradeGFlagsOK creates a UpgradeGFlagsOK with default headers values
func (*UpgradeGFlagsOK) Error ¶
func (o *UpgradeGFlagsOK) Error() string
func (*UpgradeGFlagsOK) GetPayload ¶
func (o *UpgradeGFlagsOK) GetPayload() *models.YBPTask
type UpgradeGFlagsParams ¶
type UpgradeGFlagsParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* GflagsUpgradeParams. GFlags Upgrade Params */ GflagsUpgradeParams *models.GFlagsUpgradeParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeGFlagsParams contains all the parameters to send to the API endpoint
for the upgrade g flags operation. Typically these are written to a http.Request.
func NewUpgradeGFlagsParams ¶
func NewUpgradeGFlagsParams() *UpgradeGFlagsParams
NewUpgradeGFlagsParams creates a new UpgradeGFlagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeGFlagsParamsWithContext ¶
func NewUpgradeGFlagsParamsWithContext(ctx context.Context) *UpgradeGFlagsParams
NewUpgradeGFlagsParamsWithContext creates a new UpgradeGFlagsParams object with the ability to set a context for a request.
func NewUpgradeGFlagsParamsWithHTTPClient ¶
func NewUpgradeGFlagsParamsWithHTTPClient(client *http.Client) *UpgradeGFlagsParams
NewUpgradeGFlagsParamsWithHTTPClient creates a new UpgradeGFlagsParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeGFlagsParamsWithTimeout ¶
func NewUpgradeGFlagsParamsWithTimeout(timeout time.Duration) *UpgradeGFlagsParams
NewUpgradeGFlagsParamsWithTimeout creates a new UpgradeGFlagsParams object with the ability to set a timeout on a request.
func (*UpgradeGFlagsParams) SetCUUID ¶
func (o *UpgradeGFlagsParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade g flags params
func (*UpgradeGFlagsParams) SetContext ¶
func (o *UpgradeGFlagsParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade g flags params
func (*UpgradeGFlagsParams) SetDefaults ¶
func (o *UpgradeGFlagsParams) SetDefaults()
SetDefaults hydrates default values in the upgrade g flags params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeGFlagsParams) SetGflagsUpgradeParams ¶
func (o *UpgradeGFlagsParams) SetGflagsUpgradeParams(gflagsUpgradeParams *models.GFlagsUpgradeParams)
SetGflagsUpgradeParams adds the gflagsUpgradeParams to the upgrade g flags params
func (*UpgradeGFlagsParams) SetHTTPClient ¶
func (o *UpgradeGFlagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade g flags params
func (*UpgradeGFlagsParams) SetTimeout ¶
func (o *UpgradeGFlagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade g flags params
func (*UpgradeGFlagsParams) SetUniUUID ¶
func (o *UpgradeGFlagsParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade g flags params
func (*UpgradeGFlagsParams) WithCUUID ¶
func (o *UpgradeGFlagsParams) WithCUUID(cUUID strfmt.UUID) *UpgradeGFlagsParams
WithCUUID adds the cUUID to the upgrade g flags params
func (*UpgradeGFlagsParams) WithContext ¶
func (o *UpgradeGFlagsParams) WithContext(ctx context.Context) *UpgradeGFlagsParams
WithContext adds the context to the upgrade g flags params
func (*UpgradeGFlagsParams) WithDefaults ¶
func (o *UpgradeGFlagsParams) WithDefaults() *UpgradeGFlagsParams
WithDefaults hydrates default values in the upgrade g flags params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeGFlagsParams) WithGflagsUpgradeParams ¶
func (o *UpgradeGFlagsParams) WithGflagsUpgradeParams(gflagsUpgradeParams *models.GFlagsUpgradeParams) *UpgradeGFlagsParams
WithGflagsUpgradeParams adds the gflagsUpgradeParams to the upgrade g flags params
func (*UpgradeGFlagsParams) WithHTTPClient ¶
func (o *UpgradeGFlagsParams) WithHTTPClient(client *http.Client) *UpgradeGFlagsParams
WithHTTPClient adds the HTTPClient to the upgrade g flags params
func (*UpgradeGFlagsParams) WithTimeout ¶
func (o *UpgradeGFlagsParams) WithTimeout(timeout time.Duration) *UpgradeGFlagsParams
WithTimeout adds the timeout to the upgrade g flags params
func (*UpgradeGFlagsParams) WithUniUUID ¶
func (o *UpgradeGFlagsParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeGFlagsParams
WithUniUUID adds the uniUUID to the upgrade g flags params
func (*UpgradeGFlagsParams) WriteToRequest ¶
func (o *UpgradeGFlagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeGFlagsReader ¶
type UpgradeGFlagsReader struct {
// contains filtered or unexported fields
}
UpgradeGFlagsReader is a Reader for the UpgradeGFlags structure.
func (*UpgradeGFlagsReader) ReadResponse ¶
func (o *UpgradeGFlagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeSoftwareOK ¶
UpgradeSoftwareOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeSoftwareOK ¶
func NewUpgradeSoftwareOK() *UpgradeSoftwareOK
NewUpgradeSoftwareOK creates a UpgradeSoftwareOK with default headers values
func (*UpgradeSoftwareOK) Error ¶
func (o *UpgradeSoftwareOK) Error() string
func (*UpgradeSoftwareOK) GetPayload ¶
func (o *UpgradeSoftwareOK) GetPayload() *models.YBPTask
type UpgradeSoftwareParams ¶
type UpgradeSoftwareParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* SoftwareUpgradeParams. Software Upgrade Params */ SoftwareUpgradeParams *models.SoftwareUpgradeParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeSoftwareParams contains all the parameters to send to the API endpoint
for the upgrade software operation. Typically these are written to a http.Request.
func NewUpgradeSoftwareParams ¶
func NewUpgradeSoftwareParams() *UpgradeSoftwareParams
NewUpgradeSoftwareParams creates a new UpgradeSoftwareParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeSoftwareParamsWithContext ¶
func NewUpgradeSoftwareParamsWithContext(ctx context.Context) *UpgradeSoftwareParams
NewUpgradeSoftwareParamsWithContext creates a new UpgradeSoftwareParams object with the ability to set a context for a request.
func NewUpgradeSoftwareParamsWithHTTPClient ¶
func NewUpgradeSoftwareParamsWithHTTPClient(client *http.Client) *UpgradeSoftwareParams
NewUpgradeSoftwareParamsWithHTTPClient creates a new UpgradeSoftwareParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeSoftwareParamsWithTimeout ¶
func NewUpgradeSoftwareParamsWithTimeout(timeout time.Duration) *UpgradeSoftwareParams
NewUpgradeSoftwareParamsWithTimeout creates a new UpgradeSoftwareParams object with the ability to set a timeout on a request.
func (*UpgradeSoftwareParams) SetCUUID ¶
func (o *UpgradeSoftwareParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade software params
func (*UpgradeSoftwareParams) SetContext ¶
func (o *UpgradeSoftwareParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade software params
func (*UpgradeSoftwareParams) SetDefaults ¶
func (o *UpgradeSoftwareParams) SetDefaults()
SetDefaults hydrates default values in the upgrade software params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeSoftwareParams) SetHTTPClient ¶
func (o *UpgradeSoftwareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade software params
func (*UpgradeSoftwareParams) SetSoftwareUpgradeParams ¶
func (o *UpgradeSoftwareParams) SetSoftwareUpgradeParams(softwareUpgradeParams *models.SoftwareUpgradeParams)
SetSoftwareUpgradeParams adds the softwareUpgradeParams to the upgrade software params
func (*UpgradeSoftwareParams) SetTimeout ¶
func (o *UpgradeSoftwareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade software params
func (*UpgradeSoftwareParams) SetUniUUID ¶
func (o *UpgradeSoftwareParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade software params
func (*UpgradeSoftwareParams) WithCUUID ¶
func (o *UpgradeSoftwareParams) WithCUUID(cUUID strfmt.UUID) *UpgradeSoftwareParams
WithCUUID adds the cUUID to the upgrade software params
func (*UpgradeSoftwareParams) WithContext ¶
func (o *UpgradeSoftwareParams) WithContext(ctx context.Context) *UpgradeSoftwareParams
WithContext adds the context to the upgrade software params
func (*UpgradeSoftwareParams) WithDefaults ¶
func (o *UpgradeSoftwareParams) WithDefaults() *UpgradeSoftwareParams
WithDefaults hydrates default values in the upgrade software params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeSoftwareParams) WithHTTPClient ¶
func (o *UpgradeSoftwareParams) WithHTTPClient(client *http.Client) *UpgradeSoftwareParams
WithHTTPClient adds the HTTPClient to the upgrade software params
func (*UpgradeSoftwareParams) WithSoftwareUpgradeParams ¶
func (o *UpgradeSoftwareParams) WithSoftwareUpgradeParams(softwareUpgradeParams *models.SoftwareUpgradeParams) *UpgradeSoftwareParams
WithSoftwareUpgradeParams adds the softwareUpgradeParams to the upgrade software params
func (*UpgradeSoftwareParams) WithTimeout ¶
func (o *UpgradeSoftwareParams) WithTimeout(timeout time.Duration) *UpgradeSoftwareParams
WithTimeout adds the timeout to the upgrade software params
func (*UpgradeSoftwareParams) WithUniUUID ¶
func (o *UpgradeSoftwareParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeSoftwareParams
WithUniUUID adds the uniUUID to the upgrade software params
func (*UpgradeSoftwareParams) WriteToRequest ¶
func (o *UpgradeSoftwareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeSoftwareReader ¶
type UpgradeSoftwareReader struct {
// contains filtered or unexported fields
}
UpgradeSoftwareReader is a Reader for the UpgradeSoftware structure.
func (*UpgradeSoftwareReader) ReadResponse ¶
func (o *UpgradeSoftwareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeSystemdOK ¶
UpgradeSystemdOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeSystemdOK ¶
func NewUpgradeSystemdOK() *UpgradeSystemdOK
NewUpgradeSystemdOK creates a UpgradeSystemdOK with default headers values
func (*UpgradeSystemdOK) Error ¶
func (o *UpgradeSystemdOK) Error() string
func (*UpgradeSystemdOK) GetPayload ¶
func (o *UpgradeSystemdOK) GetPayload() *models.YBPTask
type UpgradeSystemdParams ¶
type UpgradeSystemdParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* SystemdUpgradeParams. Systemd Upgrade Params */ SystemdUpgradeParams *models.SystemdUpgradeParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeSystemdParams contains all the parameters to send to the API endpoint
for the upgrade systemd operation. Typically these are written to a http.Request.
func NewUpgradeSystemdParams ¶
func NewUpgradeSystemdParams() *UpgradeSystemdParams
NewUpgradeSystemdParams creates a new UpgradeSystemdParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeSystemdParamsWithContext ¶
func NewUpgradeSystemdParamsWithContext(ctx context.Context) *UpgradeSystemdParams
NewUpgradeSystemdParamsWithContext creates a new UpgradeSystemdParams object with the ability to set a context for a request.
func NewUpgradeSystemdParamsWithHTTPClient ¶
func NewUpgradeSystemdParamsWithHTTPClient(client *http.Client) *UpgradeSystemdParams
NewUpgradeSystemdParamsWithHTTPClient creates a new UpgradeSystemdParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeSystemdParamsWithTimeout ¶
func NewUpgradeSystemdParamsWithTimeout(timeout time.Duration) *UpgradeSystemdParams
NewUpgradeSystemdParamsWithTimeout creates a new UpgradeSystemdParams object with the ability to set a timeout on a request.
func (*UpgradeSystemdParams) SetCUUID ¶
func (o *UpgradeSystemdParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade systemd params
func (*UpgradeSystemdParams) SetContext ¶
func (o *UpgradeSystemdParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade systemd params
func (*UpgradeSystemdParams) SetDefaults ¶
func (o *UpgradeSystemdParams) SetDefaults()
SetDefaults hydrates default values in the upgrade systemd params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeSystemdParams) SetHTTPClient ¶
func (o *UpgradeSystemdParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade systemd params
func (*UpgradeSystemdParams) SetSystemdUpgradeParams ¶
func (o *UpgradeSystemdParams) SetSystemdUpgradeParams(systemdUpgradeParams *models.SystemdUpgradeParams)
SetSystemdUpgradeParams adds the systemdUpgradeParams to the upgrade systemd params
func (*UpgradeSystemdParams) SetTimeout ¶
func (o *UpgradeSystemdParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade systemd params
func (*UpgradeSystemdParams) SetUniUUID ¶
func (o *UpgradeSystemdParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade systemd params
func (*UpgradeSystemdParams) WithCUUID ¶
func (o *UpgradeSystemdParams) WithCUUID(cUUID strfmt.UUID) *UpgradeSystemdParams
WithCUUID adds the cUUID to the upgrade systemd params
func (*UpgradeSystemdParams) WithContext ¶
func (o *UpgradeSystemdParams) WithContext(ctx context.Context) *UpgradeSystemdParams
WithContext adds the context to the upgrade systemd params
func (*UpgradeSystemdParams) WithDefaults ¶
func (o *UpgradeSystemdParams) WithDefaults() *UpgradeSystemdParams
WithDefaults hydrates default values in the upgrade systemd params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeSystemdParams) WithHTTPClient ¶
func (o *UpgradeSystemdParams) WithHTTPClient(client *http.Client) *UpgradeSystemdParams
WithHTTPClient adds the HTTPClient to the upgrade systemd params
func (*UpgradeSystemdParams) WithSystemdUpgradeParams ¶
func (o *UpgradeSystemdParams) WithSystemdUpgradeParams(systemdUpgradeParams *models.SystemdUpgradeParams) *UpgradeSystemdParams
WithSystemdUpgradeParams adds the systemdUpgradeParams to the upgrade systemd params
func (*UpgradeSystemdParams) WithTimeout ¶
func (o *UpgradeSystemdParams) WithTimeout(timeout time.Duration) *UpgradeSystemdParams
WithTimeout adds the timeout to the upgrade systemd params
func (*UpgradeSystemdParams) WithUniUUID ¶
func (o *UpgradeSystemdParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeSystemdParams
WithUniUUID adds the uniUUID to the upgrade systemd params
func (*UpgradeSystemdParams) WriteToRequest ¶
func (o *UpgradeSystemdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeSystemdReader ¶
type UpgradeSystemdReader struct {
// contains filtered or unexported fields
}
UpgradeSystemdReader is a Reader for the UpgradeSystemd structure.
func (*UpgradeSystemdReader) ReadResponse ¶
func (o *UpgradeSystemdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeTLSOK ¶
UpgradeTLSOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeTLSOK ¶
func NewUpgradeTLSOK() *UpgradeTLSOK
NewUpgradeTLSOK creates a UpgradeTLSOK with default headers values
func (*UpgradeTLSOK) Error ¶
func (o *UpgradeTLSOK) Error() string
func (*UpgradeTLSOK) GetPayload ¶
func (o *UpgradeTLSOK) GetPayload() *models.YBPTask
type UpgradeTLSParams ¶
type UpgradeTLSParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* TLSToggleParams. TLS Toggle Params */ TLSToggleParams *models.TLSToggleParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeTLSParams contains all the parameters to send to the API endpoint
for the upgrade Tls operation. Typically these are written to a http.Request.
func NewUpgradeTLSParams ¶
func NewUpgradeTLSParams() *UpgradeTLSParams
NewUpgradeTLSParams creates a new UpgradeTLSParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeTLSParamsWithContext ¶
func NewUpgradeTLSParamsWithContext(ctx context.Context) *UpgradeTLSParams
NewUpgradeTLSParamsWithContext creates a new UpgradeTLSParams object with the ability to set a context for a request.
func NewUpgradeTLSParamsWithHTTPClient ¶
func NewUpgradeTLSParamsWithHTTPClient(client *http.Client) *UpgradeTLSParams
NewUpgradeTLSParamsWithHTTPClient creates a new UpgradeTLSParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeTLSParamsWithTimeout ¶
func NewUpgradeTLSParamsWithTimeout(timeout time.Duration) *UpgradeTLSParams
NewUpgradeTLSParamsWithTimeout creates a new UpgradeTLSParams object with the ability to set a timeout on a request.
func (*UpgradeTLSParams) SetCUUID ¶
func (o *UpgradeTLSParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade Tls params
func (*UpgradeTLSParams) SetContext ¶
func (o *UpgradeTLSParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade Tls params
func (*UpgradeTLSParams) SetDefaults ¶
func (o *UpgradeTLSParams) SetDefaults()
SetDefaults hydrates default values in the upgrade Tls params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeTLSParams) SetHTTPClient ¶
func (o *UpgradeTLSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade Tls params
func (*UpgradeTLSParams) SetTLSToggleParams ¶
func (o *UpgradeTLSParams) SetTLSToggleParams(tLSToggleParams *models.TLSToggleParams)
SetTLSToggleParams adds the tlsToggleParams to the upgrade Tls params
func (*UpgradeTLSParams) SetTimeout ¶
func (o *UpgradeTLSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade Tls params
func (*UpgradeTLSParams) SetUniUUID ¶
func (o *UpgradeTLSParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade Tls params
func (*UpgradeTLSParams) WithCUUID ¶
func (o *UpgradeTLSParams) WithCUUID(cUUID strfmt.UUID) *UpgradeTLSParams
WithCUUID adds the cUUID to the upgrade Tls params
func (*UpgradeTLSParams) WithContext ¶
func (o *UpgradeTLSParams) WithContext(ctx context.Context) *UpgradeTLSParams
WithContext adds the context to the upgrade Tls params
func (*UpgradeTLSParams) WithDefaults ¶
func (o *UpgradeTLSParams) WithDefaults() *UpgradeTLSParams
WithDefaults hydrates default values in the upgrade Tls params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeTLSParams) WithHTTPClient ¶
func (o *UpgradeTLSParams) WithHTTPClient(client *http.Client) *UpgradeTLSParams
WithHTTPClient adds the HTTPClient to the upgrade Tls params
func (*UpgradeTLSParams) WithTLSToggleParams ¶
func (o *UpgradeTLSParams) WithTLSToggleParams(tLSToggleParams *models.TLSToggleParams) *UpgradeTLSParams
WithTLSToggleParams adds the tLSToggleParams to the upgrade Tls params
func (*UpgradeTLSParams) WithTimeout ¶
func (o *UpgradeTLSParams) WithTimeout(timeout time.Duration) *UpgradeTLSParams
WithTimeout adds the timeout to the upgrade Tls params
func (*UpgradeTLSParams) WithUniUUID ¶
func (o *UpgradeTLSParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeTLSParams
WithUniUUID adds the uniUUID to the upgrade Tls params
func (*UpgradeTLSParams) WriteToRequest ¶
func (o *UpgradeTLSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeTLSReader ¶
type UpgradeTLSReader struct {
// contains filtered or unexported fields
}
UpgradeTLSReader is a Reader for the UpgradeTLS structure.
func (*UpgradeTLSReader) ReadResponse ¶
func (o *UpgradeTLSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeThirdpartySoftwareOK ¶
UpgradeThirdpartySoftwareOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeThirdpartySoftwareOK ¶
func NewUpgradeThirdpartySoftwareOK() *UpgradeThirdpartySoftwareOK
NewUpgradeThirdpartySoftwareOK creates a UpgradeThirdpartySoftwareOK with default headers values
func (*UpgradeThirdpartySoftwareOK) Error ¶
func (o *UpgradeThirdpartySoftwareOK) Error() string
func (*UpgradeThirdpartySoftwareOK) GetPayload ¶
func (o *UpgradeThirdpartySoftwareOK) GetPayload() *models.YBPTask
type UpgradeThirdpartySoftwareParams ¶
type UpgradeThirdpartySoftwareParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* ThirdpartySoftwareUpgradeParams. Thirdparty Software Upgrade Params */ ThirdpartySoftwareUpgradeParams *models.ThirdpartySoftwareUpgradeParams // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeThirdpartySoftwareParams contains all the parameters to send to the API endpoint
for the upgrade thirdparty software operation. Typically these are written to a http.Request.
func NewUpgradeThirdpartySoftwareParams ¶
func NewUpgradeThirdpartySoftwareParams() *UpgradeThirdpartySoftwareParams
NewUpgradeThirdpartySoftwareParams creates a new UpgradeThirdpartySoftwareParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeThirdpartySoftwareParamsWithContext ¶
func NewUpgradeThirdpartySoftwareParamsWithContext(ctx context.Context) *UpgradeThirdpartySoftwareParams
NewUpgradeThirdpartySoftwareParamsWithContext creates a new UpgradeThirdpartySoftwareParams object with the ability to set a context for a request.
func NewUpgradeThirdpartySoftwareParamsWithHTTPClient ¶
func NewUpgradeThirdpartySoftwareParamsWithHTTPClient(client *http.Client) *UpgradeThirdpartySoftwareParams
NewUpgradeThirdpartySoftwareParamsWithHTTPClient creates a new UpgradeThirdpartySoftwareParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeThirdpartySoftwareParamsWithTimeout ¶
func NewUpgradeThirdpartySoftwareParamsWithTimeout(timeout time.Duration) *UpgradeThirdpartySoftwareParams
NewUpgradeThirdpartySoftwareParamsWithTimeout creates a new UpgradeThirdpartySoftwareParams object with the ability to set a timeout on a request.
func (*UpgradeThirdpartySoftwareParams) SetCUUID ¶
func (o *UpgradeThirdpartySoftwareParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) SetContext ¶
func (o *UpgradeThirdpartySoftwareParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) SetDefaults ¶
func (o *UpgradeThirdpartySoftwareParams) SetDefaults()
SetDefaults hydrates default values in the upgrade thirdparty software params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeThirdpartySoftwareParams) SetHTTPClient ¶
func (o *UpgradeThirdpartySoftwareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) SetThirdpartySoftwareUpgradeParams ¶
func (o *UpgradeThirdpartySoftwareParams) SetThirdpartySoftwareUpgradeParams(thirdpartySoftwareUpgradeParams *models.ThirdpartySoftwareUpgradeParams)
SetThirdpartySoftwareUpgradeParams adds the thirdpartySoftwareUpgradeParams to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) SetTimeout ¶
func (o *UpgradeThirdpartySoftwareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) SetUniUUID ¶
func (o *UpgradeThirdpartySoftwareParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WithCUUID ¶
func (o *UpgradeThirdpartySoftwareParams) WithCUUID(cUUID strfmt.UUID) *UpgradeThirdpartySoftwareParams
WithCUUID adds the cUUID to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WithContext ¶
func (o *UpgradeThirdpartySoftwareParams) WithContext(ctx context.Context) *UpgradeThirdpartySoftwareParams
WithContext adds the context to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WithDefaults ¶
func (o *UpgradeThirdpartySoftwareParams) WithDefaults() *UpgradeThirdpartySoftwareParams
WithDefaults hydrates default values in the upgrade thirdparty software params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeThirdpartySoftwareParams) WithHTTPClient ¶
func (o *UpgradeThirdpartySoftwareParams) WithHTTPClient(client *http.Client) *UpgradeThirdpartySoftwareParams
WithHTTPClient adds the HTTPClient to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WithThirdpartySoftwareUpgradeParams ¶
func (o *UpgradeThirdpartySoftwareParams) WithThirdpartySoftwareUpgradeParams(thirdpartySoftwareUpgradeParams *models.ThirdpartySoftwareUpgradeParams) *UpgradeThirdpartySoftwareParams
WithThirdpartySoftwareUpgradeParams adds the thirdpartySoftwareUpgradeParams to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WithTimeout ¶
func (o *UpgradeThirdpartySoftwareParams) WithTimeout(timeout time.Duration) *UpgradeThirdpartySoftwareParams
WithTimeout adds the timeout to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WithUniUUID ¶
func (o *UpgradeThirdpartySoftwareParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeThirdpartySoftwareParams
WithUniUUID adds the uniUUID to the upgrade thirdparty software params
func (*UpgradeThirdpartySoftwareParams) WriteToRequest ¶
func (o *UpgradeThirdpartySoftwareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeThirdpartySoftwareReader ¶
type UpgradeThirdpartySoftwareReader struct {
// contains filtered or unexported fields
}
UpgradeThirdpartySoftwareReader is a Reader for the UpgradeThirdpartySoftware structure.
func (*UpgradeThirdpartySoftwareReader) ReadResponse ¶
func (o *UpgradeThirdpartySoftwareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeVMImageOK ¶
UpgradeVMImageOK describes a response with status code 200, with default header values.
successful operation
func NewUpgradeVMImageOK ¶
func NewUpgradeVMImageOK() *UpgradeVMImageOK
NewUpgradeVMImageOK creates a UpgradeVMImageOK with default headers values
func (*UpgradeVMImageOK) Error ¶
func (o *UpgradeVMImageOK) Error() string
func (*UpgradeVMImageOK) GetPayload ¶
func (o *UpgradeVMImageOK) GetPayload() *models.YBPTask
type UpgradeVMImageParams ¶
type UpgradeVMImageParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID /* VmimageUpgradeParams. VM Image Upgrade Params */ VmimageUpgradeParams *models.VMImageUpgradeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeVMImageParams contains all the parameters to send to the API endpoint
for the upgrade VM image operation. Typically these are written to a http.Request.
func NewUpgradeVMImageParams ¶
func NewUpgradeVMImageParams() *UpgradeVMImageParams
NewUpgradeVMImageParams creates a new UpgradeVMImageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeVMImageParamsWithContext ¶
func NewUpgradeVMImageParamsWithContext(ctx context.Context) *UpgradeVMImageParams
NewUpgradeVMImageParamsWithContext creates a new UpgradeVMImageParams object with the ability to set a context for a request.
func NewUpgradeVMImageParamsWithHTTPClient ¶
func NewUpgradeVMImageParamsWithHTTPClient(client *http.Client) *UpgradeVMImageParams
NewUpgradeVMImageParamsWithHTTPClient creates a new UpgradeVMImageParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeVMImageParamsWithTimeout ¶
func NewUpgradeVMImageParamsWithTimeout(timeout time.Duration) *UpgradeVMImageParams
NewUpgradeVMImageParamsWithTimeout creates a new UpgradeVMImageParams object with the ability to set a timeout on a request.
func (*UpgradeVMImageParams) SetCUUID ¶
func (o *UpgradeVMImageParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the upgrade VM image params
func (*UpgradeVMImageParams) SetContext ¶
func (o *UpgradeVMImageParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade VM image params
func (*UpgradeVMImageParams) SetDefaults ¶
func (o *UpgradeVMImageParams) SetDefaults()
SetDefaults hydrates default values in the upgrade VM image params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeVMImageParams) SetHTTPClient ¶
func (o *UpgradeVMImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade VM image params
func (*UpgradeVMImageParams) SetTimeout ¶
func (o *UpgradeVMImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade VM image params
func (*UpgradeVMImageParams) SetUniUUID ¶
func (o *UpgradeVMImageParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the upgrade VM image params
func (*UpgradeVMImageParams) SetVmimageUpgradeParams ¶
func (o *UpgradeVMImageParams) SetVmimageUpgradeParams(vmimageUpgradeParams *models.VMImageUpgradeParams)
SetVmimageUpgradeParams adds the vmimageUpgradeParams to the upgrade VM image params
func (*UpgradeVMImageParams) WithCUUID ¶
func (o *UpgradeVMImageParams) WithCUUID(cUUID strfmt.UUID) *UpgradeVMImageParams
WithCUUID adds the cUUID to the upgrade VM image params
func (*UpgradeVMImageParams) WithContext ¶
func (o *UpgradeVMImageParams) WithContext(ctx context.Context) *UpgradeVMImageParams
WithContext adds the context to the upgrade VM image params
func (*UpgradeVMImageParams) WithDefaults ¶
func (o *UpgradeVMImageParams) WithDefaults() *UpgradeVMImageParams
WithDefaults hydrates default values in the upgrade VM image params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeVMImageParams) WithHTTPClient ¶
func (o *UpgradeVMImageParams) WithHTTPClient(client *http.Client) *UpgradeVMImageParams
WithHTTPClient adds the HTTPClient to the upgrade VM image params
func (*UpgradeVMImageParams) WithTimeout ¶
func (o *UpgradeVMImageParams) WithTimeout(timeout time.Duration) *UpgradeVMImageParams
WithTimeout adds the timeout to the upgrade VM image params
func (*UpgradeVMImageParams) WithUniUUID ¶
func (o *UpgradeVMImageParams) WithUniUUID(uniUUID strfmt.UUID) *UpgradeVMImageParams
WithUniUUID adds the uniUUID to the upgrade VM image params
func (*UpgradeVMImageParams) WithVmimageUpgradeParams ¶
func (o *UpgradeVMImageParams) WithVmimageUpgradeParams(vmimageUpgradeParams *models.VMImageUpgradeParams) *UpgradeVMImageParams
WithVmimageUpgradeParams adds the vmimageUpgradeParams to the upgrade VM image params
func (*UpgradeVMImageParams) WriteToRequest ¶
func (o *UpgradeVMImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeVMImageReader ¶
type UpgradeVMImageReader struct {
// contains filtered or unexported fields
}
UpgradeVMImageReader is a Reader for the UpgradeVMImage structure.
func (*UpgradeVMImageReader) ReadResponse ¶
func (o *UpgradeVMImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- resize_node_parameters.go
- resize_node_responses.go
- restart_universe_parameters.go
- restart_universe_responses.go
- universe_upgrades_management_client.go
- upgrade_certs_parameters.go
- upgrade_certs_responses.go
- upgrade_g_flags_parameters.go
- upgrade_g_flags_responses.go
- upgrade_software_parameters.go
- upgrade_software_responses.go
- upgrade_systemd_parameters.go
- upgrade_systemd_responses.go
- upgrade_thirdparty_software_parameters.go
- upgrade_thirdparty_software_responses.go
- upgrade_tls_parameters.go
- upgrade_tls_responses.go
- upgrade_vm_image_parameters.go
- upgrade_vm_image_responses.go