Documentation ¶
Index ¶
- Constants
- func NewBondPath(ifname string) []string
- func NewConfig() map[interface{}]interface{}
- func NewEthernetPath(ifname string) []string
- func NewVlanPath(ifname string, vid uint16) []string
- func ReadConfig(r io.Reader) (map[interface{}]interface{}, error)
- func WriteConfig(w io.Writer, c map[interface{}]interface{}) error
Constants ¶
View Source
const ( NETWROK = "network" VERSION = "version" RENDERER = "renderer" RENDERER_NETWORKD = "networkd" RENDERER_NETWORKM = "NetworkManager" ADDRESSES = "addresses" DHCP4 = "dhcp4" DHCP6 = "dhcp6" ETHERNETS = "ethernets" VLANS = "vlans" VLANS_ID = "id" VLANS_LINK = "link" BONDS = "bonds" BONDS_IFACES = "interfaces" BONDS_PARAMS = "parameters" )
Variables ¶
This section is empty.
Functions ¶
func NewBondPath ¶
func NewEthernetPath ¶
func NewVlanPath ¶
func ReadConfig ¶
func WriteConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.