spot

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLowestPrice added in v0.9.6

func GetLowestPrice(args *spot.SpotRequestArgs, p Provider) (result map[Provider]*spot.SpotResults, err error)

GetLowestPrice fetches prices of spot instances for all the supported providers and returns the results as a: map[string]SpotPrice where map index key is the cloud provider name

Types

type Provider added in v0.9.6

type Provider int
const (
	ALL Provider = iota
	AWS
	Azure
)

Jump to

Keyboard shortcuts

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