Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAdresses ¶
type IPAdresses struct { dict.HDict[IPAdressesMapKey, *IpAddr] }
IPAdresses ip addresses
func (*IPAdresses) Upd ¶
func (a *IPAdresses) Upd(lnk LinkID, addr net.IPNet, how UpdStrategy)
Upd upfdate with IP
type LinkRefs ¶
LinkRefs link refs
func (*LinkRefs) Upd ¶
func (r *LinkRefs) Upd(ref LinkID, howUpd UpdStrategy)
Upd modifies references
type NetConf ¶
type NetConf struct { IpDevs IPAdresses }
NetConf network conf
func (*NetConf) UpdFromWatcher ¶
func (conf *NetConf) UpdFromWatcher(msgs ...nl.WatcherMsg)
UpdFromWatcher updates conf with messages came from netlink-watcher
type UpdStrategy ¶
type UpdStrategy uint
UpdStrategy update strategy
const ( //Update use insert/update Update UpdStrategy = iota //Delete use delete Delete )
Click to show internal directories.
Click to hide internal directories.