Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CacheFileName = "ec2-instance-types.json"
)
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct { ec2.InstanceTypeInfo OndemandPricePerHour *float64 SpotPrice *float64 }
Details hold all the information on an ec2 instance type
type Provider ¶ added in v2.1.0
type Provider struct { Region string DirectoryPath string FullRefreshTTL time.Duration // contains filtered or unexported fields }
func LoadFromOrNew ¶ added in v2.1.0
func NewProvider ¶ added in v2.1.0
func (*Provider) CacheCount ¶ added in v2.1.0
Click to show internal directories.
Click to hide internal directories.