Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultNetlinkWrapper ¶
type DefaultNetlinkWrapper struct{}
func (*DefaultNetlinkWrapper) LinkByIndex ¶
func (d *DefaultNetlinkWrapper) LinkByIndex(index int) (netlink.Link, error)
func (*DefaultNetlinkWrapper) LinkByName ¶
func (d *DefaultNetlinkWrapper) LinkByName(name string) (netlink.Link, error)
type LinkFactory ¶
type LinkFactory interface { NewLinkWithIndex(index int) (Link, error) NewLinkWithName(name string) (Link, error) }
func NewHostLinkFactory ¶
func NewHostLinkFactory() LinkFactory
Click to show internal directories.
Click to hide internal directories.