Documentation ¶
Index ¶
- type BlockDeviceGenerator
- type CPUGenerator
- type FilesystemGenerator
- type InterfaceGenerator
- func (g *InterfaceGenerator) Generate() (interface{}, error)
- func (g *InterfaceGenerator) GenerateByIfconfigCommand() (map[string]map[string]interface{}, error)
- func (g *InterfaceGenerator) GenerateByIpCommand() (map[string]map[string]interface{}, error)
- func (g *InterfaceGenerator) Key() string
- func (g *InterfaceGenerator) TranslateEncap(encap string) string
- type KernelGenerator
- type MemoryGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceGenerator ¶
type BlockDeviceGenerator struct { }
func (*BlockDeviceGenerator) Generate ¶
func (g *BlockDeviceGenerator) Generate() (interface{}, error)
func (*BlockDeviceGenerator) Key ¶
func (g *BlockDeviceGenerator) Key() string
type CPUGenerator ¶
type CPUGenerator struct { }
func (*CPUGenerator) Generate ¶
func (g *CPUGenerator) Generate() (interface{}, error)
func (*CPUGenerator) Key ¶
func (g *CPUGenerator) Key() string
type FilesystemGenerator ¶
type FilesystemGenerator struct { }
func (*FilesystemGenerator) Generate ¶
func (g *FilesystemGenerator) Generate() (interface{}, error)
func (*FilesystemGenerator) Key ¶
func (g *FilesystemGenerator) Key() string
type InterfaceGenerator ¶
type InterfaceGenerator struct { }
func (*InterfaceGenerator) Generate ¶
func (g *InterfaceGenerator) Generate() (interface{}, error)
func (*InterfaceGenerator) GenerateByIfconfigCommand ¶
func (g *InterfaceGenerator) GenerateByIfconfigCommand() (map[string]map[string]interface{}, error)
func (*InterfaceGenerator) GenerateByIpCommand ¶
func (g *InterfaceGenerator) GenerateByIpCommand() (map[string]map[string]interface{}, error)
func (*InterfaceGenerator) Key ¶
func (g *InterfaceGenerator) Key() string
func (*InterfaceGenerator) TranslateEncap ¶
func (g *InterfaceGenerator) TranslateEncap(encap string) string
type KernelGenerator ¶
type KernelGenerator struct { }
func (*KernelGenerator) Generate ¶
func (g *KernelGenerator) Generate() (interface{}, error)
func (*KernelGenerator) Key ¶
func (g *KernelGenerator) Key() string
type MemoryGenerator ¶
type MemoryGenerator struct { }
func (*MemoryGenerator) Generate ¶
func (g *MemoryGenerator) Generate() (interface{}, error)
func (*MemoryGenerator) Key ¶
func (g *MemoryGenerator) Key() string
Click to show internal directories.
Click to hide internal directories.