Documentation ¶
Index ¶
- Constants
- type ASGDiscoverer
- func (asgd *ASGDiscoverer) GetASGNames() ([]string, error)
- func (asgd *ASGDiscoverer) GetASGsData() (map[string]string, error)
- func (asgd *ASGDiscoverer) GetAsgFor(instanceType, az string, isSpot bool) (string, error)
- func (asgd *ASGDiscoverer) GetAsgFromInstanceDetails(details utils.InstanceDetails) (string, error)
- func (asgd *ASGDiscoverer) GetCheckSum(data interface{}) string
- func (asgd *ASGDiscoverer) GetData() (interface{}, error)
- func (asgd *ASGDiscoverer) GetDetailsFor(asgName string) (utils.DetailsResult, error)
- func (asgd *ASGDiscoverer) GetInstanceDetailsFor(asgName string) (utils.InstanceDetails, error)
- func (asgd *ASGDiscoverer) GetInstanceTypeAndAZFor(asgName string) ([]string, error)
- func (asgd *ASGDiscoverer) GetLastChanges() time.Time
- func (asgd *ASGDiscoverer) ProcessData(data interface{}) error
- type Pricer
Constants ¶
View Source
const METADATA_AZ_URL = "http://169.254.169.254/latest/meta-data/placement/availability-zone"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASGDiscoverer ¶
type ASGDiscoverer struct { *fetcher.DataManager // contains filtered or unexported fields }
func NewASGDiscoverer ¶
func (*ASGDiscoverer) GetASGNames ¶
func (asgd *ASGDiscoverer) GetASGNames() ([]string, error)
func (*ASGDiscoverer) GetASGsData ¶
func (asgd *ASGDiscoverer) GetASGsData() (map[string]string, error)
func (*ASGDiscoverer) GetAsgFor ¶
func (asgd *ASGDiscoverer) GetAsgFor(instanceType, az string, isSpot bool) (string, error)
func (*ASGDiscoverer) GetAsgFromInstanceDetails ¶
func (asgd *ASGDiscoverer) GetAsgFromInstanceDetails(details utils.InstanceDetails) (string, error)
func (*ASGDiscoverer) GetCheckSum ¶
func (asgd *ASGDiscoverer) GetCheckSum(data interface{}) string
func (*ASGDiscoverer) GetData ¶
func (asgd *ASGDiscoverer) GetData() (interface{}, error)
func (*ASGDiscoverer) GetDetailsFor ¶
func (asgd *ASGDiscoverer) GetDetailsFor(asgName string) (utils.DetailsResult, error)
func (*ASGDiscoverer) GetInstanceDetailsFor ¶
func (asgd *ASGDiscoverer) GetInstanceDetailsFor(asgName string) (utils.InstanceDetails, error)
func (*ASGDiscoverer) GetInstanceTypeAndAZFor ¶
func (asgd *ASGDiscoverer) GetInstanceTypeAndAZFor(asgName string) ([]string, error)
func (*ASGDiscoverer) GetLastChanges ¶
func (asgd *ASGDiscoverer) GetLastChanges() time.Time
func (*ASGDiscoverer) ProcessData ¶
func (asgd *ASGDiscoverer) ProcessData(data interface{}) error
type Pricer ¶
type Pricer struct { *fetcher.DataManager // contains filtered or unexported fields }
func (*Pricer) GetCheckSum ¶
func (*Pricer) GetPriceFor ¶
func (*Pricer) ProcessData ¶
Click to show internal directories.
Click to hide internal directories.