Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeviceAttr ¶
func IsNoCloudMarkerPresent ¶
Types ¶
type Data ¶
type Data struct {
Network *NetworkConfig
}
type EthernetConfig ¶
type EthernetConfig struct { Match struct { MacAddress string `json:"mac_address" yaml:"mac_address"` } `json:"match" yaml:"match"` Addresses []string `json:"addresses" yaml:"addresses"` Gateway4 string `json:"gateway4" yaml:"gateway4"` Gateway6 string `json:"gateway6" yaml:"gateway6"` Routes []struct { To string `json:"to" yaml:"to"` Via string `json:"via" yaml:"via"` } `json:"routes" yaml:"routes"` }
type NetworkConfig ¶
type NetworkConfig struct { Version int `json:"version" yaml:"version"` Ethernets map[string]EthernetConfig `json:"ethernets" yaml:"ethernets"` }
Click to show internal directories.
Click to hide internal directories.