pricing

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSPricingModel

type AWSPricingModel struct {
	// contains filtered or unexported fields
}

func GenAWSPricingModel

func GenAWSPricingModel() *AWSPricingModel

func (*AWSPricingModel) GetCapacityScores

func (apm *AWSPricingModel) GetCapacityScores(instances []cedana.Instance)

func (*AWSPricingModel) GetPrice

func (apm *AWSPricingModel) GetPrice(i *cedana.Instance)

func (*AWSPricingModel) GetPrices

func (apm *AWSPricingModel) GetPrices(instances []cedana.Instance) []cedana.Instance

loops through and gets instantaneous spot instance price TODO: this is an unoptimized query! we could potentially be hitting this 100s of times per call we should use pointers!

Jump to

Keyboard shortcuts

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