Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle interface { RouteAdd(*netlink.Route) error RouteDel(*netlink.Route) error RouteListFiltered(int, *netlink.Route, uint64) ([]netlink.Route, error) }
Handle is an interface which should be fulfilled by both netlink and mocklink this enables easy unit testing for netlink dependent code without requiring root or doing actual kernel state modifications
Click to show internal directories.
Click to hide internal directories.