Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetLink ¶
type NetLink interface { LinkByName(name string) (netlink.Link, error) LinkList() ([]netlink.Link, error) }
NetLink Wrapper methods used from the vishvananda/netlink package
type NetLinkClient ¶
type NetLinkClient struct{}
NetLinkClient helps invoke the actual netlink methods
func (NetLinkClient) LinkByName ¶
func (NetLinkClient) LinkByName(name string) (netlink.Link, error)
LinkByName finds a link by name and returns a pointer to the object
Click to show internal directories.
Click to hide internal directories.