Documentation ¶
Index ¶
Constants ¶
View Source
const ( InstanceKey = "cloudmeta2/aws/instance" // us-east-1/linux/general/instance.json RegionKey = "cloudmeta2/aws/region.json" )
Variables ¶
Functions ¶
func FetchSpotPrice ¶ added in v0.1.11
func FetchSpotPrice(conn *connections.Connections, input *SpotPriceHistoryInput) ([]*ec2.SpotPrice, error)
Types ¶
type InstUtil ¶
type InstUtil struct {
Conn *connections.Connections
}
func (*InstUtil) FetchInstance ¶
type InstanceProduct ¶
type InstanceProduct struct { ClockSpeed string `json:"clockSpeed"` CurrentGeneration string `json:"currentGeneration"` DedicatedEbsThroughput string `json:"dedicatedEbsThroughput"` InstanceFamily string `json:"instanceFamily"` InstanceType string `json:"instanceType"` Memory string `json:"memory"` NetworkPerformance string `json:"networkPerformance"` OperatingSystem string `json:"operatingSystem"` PhysicalProcessor string `json:"physicalProcessor"` ProcessorArchitecture string `json:"processorArchitecture"` Storage string `json:"storage"` Vcpu string `json:"vcpu"` }
Click to show internal directories.
Click to hide internal directories.