Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceGenerator ¶
type BlockDeviceGenerator struct { }
BlockDeviceGenerator XXX
func (*BlockDeviceGenerator) Generate ¶
func (g *BlockDeviceGenerator) Generate() (interface{}, error)
Generate generate metric values
type CloudGenerator ¶ added in v0.14.3
type CloudGenerator struct {
// contains filtered or unexported fields
}
CloudGenerator definition
func NewCloudGenerator ¶ added in v0.14.3
func NewCloudGenerator(baseurl string) (*CloudGenerator, error)
NewCloudGenerator creates a Cloud Generator instance with specified baseurl.
func (*CloudGenerator) Generate ¶ added in v0.14.3
func (g *CloudGenerator) Generate() (interface{}, error)
Generate collects metadata from cloud platform.
func (*CloudGenerator) Key ¶ added in v0.14.3
func (g *CloudGenerator) Key() string
Key is a root key for the generator.
type FilesystemGenerator ¶
type FilesystemGenerator struct { }
FilesystemGenerator XXX
func (*FilesystemGenerator) Generate ¶
func (g *FilesystemGenerator) Generate() (interface{}, error)
Generate XXX
type InterfaceGenerator ¶
type InterfaceGenerator struct { }
InterfaceGenerator XXX
func (*InterfaceGenerator) Generate ¶
func (g *InterfaceGenerator) Generate() (interface{}, error)
Generate XXX
type KernelGenerator ¶
type KernelGenerator struct { }
KernelGenerator XXX
func (*KernelGenerator) Generate ¶
func (g *KernelGenerator) Generate() (interface{}, error)
Generate XXX
type MemoryGenerator ¶
type MemoryGenerator struct { }
MemoryGenerator collects the host's memory specs.
func (*MemoryGenerator) Generate ¶
func (g *MemoryGenerator) Generate() (interface{}, error)
Generate XXX
Click to show internal directories.
Click to hide internal directories.