Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSupportedInstaceTypes = fmt.Errorf("the current region does not support any of the requested instance types")
Functions ¶
This section is empty.
Types ¶
type AllocationArgs ¶ added in v0.9.6
type AllocationArgs struct {
ComputeRequest *cr.ComputeRequestArgs
Prefix,
AMIProductDescription,
AMIName *string
Spot *spotTypes.SpotArgs
}
type AllocationResult ¶ added in v0.9.6
type AllocationResult struct {
Region *string
AZ *string
SpotPrice *float64
InstanceTypes []string
}
func Allocation ¶ added in v0.9.6
func Allocation(mCtx *mc.Context, args *AllocationArgs) (*AllocationResult, error)
Click to show internal directories.
Click to hide internal directories.