Documentation ¶
Index ¶
- func AttachNic(link netlink.Link, bridge *netlink.Bridge) error
- func AttachNicWithMac(link netlink.Link, bridge *netlink.Bridge) error
- func Delete(name string) error
- func DetachNic(link netlink.Link) error
- func Exists(name string) bool
- func Get(name string) (*netlink.Bridge, error)
- func List() ([]*netlink.Bridge, error)
- func New(name string) (*netlink.Bridge, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachNicWithMac ¶
AttachNicWithMac attaches an interface to a bridge and sets the MAC of the bridge to the same of the NIC
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.