spot

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLowestPrice

func GetLowestPrice(args *spotTypes.SpotRequestArgs, p Provider) (result map[Provider]*spotTypes.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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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