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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationArgs

type AllocationArgs struct {
	ComputeRequest *cr.ComputeRequestArgs
	OSType         string
	ImageRef       *data.ImageReference
	Location       *string
	Spot           *spotTypes.SpotArgs
}

type AllocationResult

type AllocationResult struct {
	Location     *string
	Price        *float64
	ComputeSizes []string
	ImageRef     *data.ImageReference
}

func Allocation

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