Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metadata ¶
type Metadata struct { Attributes map[string]string Hostname string SshKeys []string Network []NetworkInterface NetDev []NetworkDevice }
type NetworkDevice ¶ added in v0.12.0
type NetworkDevice struct { Name string Kind string HardwareAddress net.HardwareAddr Priority int Sections []Section }
func (NetworkDevice) NetdevConfig ¶ added in v0.12.0
func (d NetworkDevice) NetdevConfig() string
func (NetworkDevice) UnitName ¶ added in v0.12.0
func (d NetworkDevice) UnitName() string
type NetworkInterface ¶ added in v0.6.0
type NetworkInterface struct { Name string HardwareAddress net.HardwareAddr Priority int Nameservers []net.IP IPAddresses []net.IPNet Routes []NetworkRoute Bond string }
func (NetworkInterface) NetworkConfig ¶ added in v0.6.0
func (i NetworkInterface) NetworkConfig() string
func (NetworkInterface) UnitName ¶ added in v0.12.0
func (i NetworkInterface) UnitName() string
type NetworkRoute ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.