Documentation ¶
Index ¶
- Constants
- Variables
- func AddHighResolutionTag(tags interface{})
- func Cleanup(input interface{})
- func GetMetadataInfo(provider MetadataInfoProvider) map[string]string
- func ResolvePlaceholder(placeholder string, metadata map[string]string) string
- type Creds
- type Metadata
- type MetadataInfoProvider
- type Region
Constants ¶
View Source
const ( High_Resolution_Tag_Key = "aws:StorageResolution" Aggregation_Interval_Tag_Key = "aws:AggregationInterval" )
Variables ¶
View Source
var Ec2MetadataInfoProvider = func() *Metadata { ec2 := ec2util.GetEC2UtilSingleton() return &Metadata{ InstanceID: ec2.InstanceID, Hostname: ec2.Hostname, PrivateIP: ec2.PrivateIP, AccountID: ec2.AccountID, } }
View Source
var Reserved_Tag_Keys = []string{High_Resolution_Tag_Key, Aggregation_Interval_Tag_Key}
Functions ¶
func AddHighResolutionTag ¶
func AddHighResolutionTag(tags interface{})
func GetMetadataInfo ¶
func GetMetadataInfo(provider MetadataInfoProvider) map[string]string
Types ¶
type MetadataInfoProvider ¶ added in v1.247351.0
type MetadataInfoProvider func() *Metadata
Click to show internal directories.
Click to hide internal directories.