allocation

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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