Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocationData ¶
type AllocationData struct {
// location and price (if Spot is enable)
Region *string
AZ *string
SpotPrice *float64
InstanceTypes []string
}
func AllocationDataOnDemand ¶
func AllocationDataOnDemand() (ad *AllocationData, err error)
func AllocationDataOnSpot ¶
func AllocationDataOnSpot(prefix, amiProductDescription, amiName *string, computeRequest *cr.ComputeRequestArgs) (*AllocationData, error)
Click to show internal directories.
Click to hide internal directories.