price

package
v0.0.0-...-8073816 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstancePrice

func GetInstancePrice(ctx context.Context, explorer RegionExplorer, regionID, os, osImage, instanceType string) (float64, error)

Types

type Prices

type Prices map[string]float64

type RegionExplorer

type RegionExplorer interface {
	GetRegionMap(ctx context.Context) (map[string]global.Region, error)
}

Jump to

Keyboard shortcuts

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