universe_upgrades_management

package
v0.0.0-...-af0b780 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type ResizeNodeOK struct {
	Payload *models.YBPTask
}
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

type RestartUniverseOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the restart universe params

func (*RestartUniverseParams) WithContext

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

type UpgradeCertsOK struct {
	Payload *models.YBPTask
}
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

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

type UpgradeGFlagsOK struct {
	Payload *models.YBPTask
}
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

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

type UpgradeSoftwareOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the upgrade software params

func (*UpgradeSoftwareParams) WithContext

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

type UpgradeSystemdOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the upgrade systemd params

func (*UpgradeSystemdParams) WithContext

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

type UpgradeTLSOK struct {
	Payload *models.YBPTask
}
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

type UpgradeThirdpartySoftwareOK struct {
	Payload *models.YBPTask
}
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 (*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

WithCUUID adds the cUUID to the upgrade thirdparty software params

func (*UpgradeThirdpartySoftwareParams) WithContext

WithContext adds the context to the upgrade thirdparty software params

func (*UpgradeThirdpartySoftwareParams) WithDefaults

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

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

WithTimeout adds the timeout to the upgrade thirdparty software params

func (*UpgradeThirdpartySoftwareParams) WithUniUUID

WithUniUUID adds the uniUUID to the upgrade thirdparty software params

func (*UpgradeThirdpartySoftwareParams) WriteToRequest

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

type UpgradeVMImageOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the upgrade VM image params

func (*UpgradeVMImageParams) WithContext

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL