Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkConfig ¶
type NetworkConfig struct { Version int `json:"version"` Config []interface{} `json:"config"` }
NetworkConfig is used as root element to serialize to cloud config
type NetworkConfigEntry ¶
type NetworkConfigEntry struct {
Type string `json:"type"`
}
NetworkConfigEntry is an entry in the v1 network config
type NetworkConfigEntryNameserver ¶
type NetworkConfigEntryNameserver struct { NetworkConfigEntry Address []string `json:"address"` Search []string `json:"search"` }
NetworkConfigEntryNameserver is a nameserver entry
type NetworkConfigEntryPhysical ¶
type NetworkConfigEntryPhysical struct { NetworkConfigEntry Name string `json:"name"` Subnets []NetworkConfigEntryPhysicalSubnet `json:"subnets"` }
NetworkConfigEntryPhysical is a nameserver entry
type NetworkConfigEntryPhysicalSubnet ¶
type NetworkConfigEntryPhysicalSubnet struct {
Type string `json:"type"`
}
NetworkConfigEntryPhysicalSubnet is a subnet entry in the v1 network config of a physical device
Click to show internal directories.
Click to hide internal directories.