virtual

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpgradeVirtualGuest

func UpgradeVirtualGuest(
	sess *session.Session,
	guest *datatypes.Virtual_Guest,
	options map[string]float64,
	when ...time.Time,
) (datatypes.Container_Product_Order_Receipt, error)

Upgrade a virtual guest to a specified set of features (e.g. cpu, ram). When the upgrade takes place can also be specified (`when`), but this is optional. The time set will be 'now' if left as nil. The features to upgrade are specified as the options used in GetProductPrices().

func UpgradeVirtualGuestWithPreset

func UpgradeVirtualGuestWithPreset(
	sess *session.Session,
	guest *datatypes.Virtual_Guest,
	presetKeyName string,
	options map[string]float64,
	when ...time.Time,
) (datatypes.Container_Product_Order_Receipt, error)

Upgrade a virtual guest with preset to a specified set of features (e.g. flavor,disks). When the upgrade takes place can also be specified (`when`), but this is optional. The time set will be 'now' if left as nil. The features to upgrade are specified as the options used in GetProductPrices().

Types

This section is empty.

Jump to

Keyboard shortcuts

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