Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudGenerator ¶ added in v0.18.1
type CloudGenerator struct {
CloudMetaGenerator
}
CloudGenerator definition
func SuggestCloudGenerator ¶ added in v0.18.1
func SuggestCloudGenerator() *CloudGenerator
SuggestCloudGenerator returns suitable CloudGenerator
func (*CloudGenerator) Key ¶ added in v0.18.1
func (g *CloudGenerator) Key() string
Key is a root key for the generator.
type CloudMetaGenerator ¶ added in v0.18.1
type CloudMetaGenerator interface {
Generate() (interface{}, error)
}
CloudMetaGenerator interface of metadata generator for each cloud platform
type EC2Generator ¶ added in v0.18.1
type EC2Generator struct {
// contains filtered or unexported fields
}
EC2Generator meta generator for EC2
func (*EC2Generator) Generate ¶ added in v0.18.1
func (g *EC2Generator) Generate() (interface{}, error)
Generate collects metadata from cloud platform.
type GCEGenerator ¶ added in v0.19.0
type GCEGenerator struct {
// contains filtered or unexported fields
}
GCEGenerator generate for GCE
func (*GCEGenerator) Generate ¶ added in v0.19.0
func (g *GCEGenerator) Generate() (interface{}, error)
Generate collects metadata from cloud platform.
Click to show internal directories.
Click to hide internal directories.