Documentation ¶
Index ¶
- type NetlinkManager
- func (_m *NetlinkManager) LinkAdd(link netlink.Link) error
- func (_m *NetlinkManager) LinkByName(_a0 string) (netlink.Link, error)
- func (_m *NetlinkManager) LinkDel(link netlink.Link) error
- func (_m *NetlinkManager) LinkSetDown(_a0 netlink.Link) error
- func (_m *NetlinkManager) LinkSetName(_a0 netlink.Link, _a1 string) error
- func (_m *NetlinkManager) LinkSetNsFd(_a0 netlink.Link, _a1 int) error
- func (_m *NetlinkManager) LinkSetUp(_a0 netlink.Link) error
- func (_m *NetlinkManager) SetSysVal(attribute string, value string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetlinkManager ¶
NetlinkManager is an autogenerated mock type for the NetlinkManager type
func (*NetlinkManager) LinkAdd ¶
func (_m *NetlinkManager) LinkAdd(link netlink.Link) error
LinkAdd provides a mock function with given fields: link
func (*NetlinkManager) LinkByName ¶
func (_m *NetlinkManager) LinkByName(_a0 string) (netlink.Link, error)
LinkByName provides a mock function with given fields: _a0
func (*NetlinkManager) LinkDel ¶
func (_m *NetlinkManager) LinkDel(link netlink.Link) error
LinkDel provides a mock function with given fields: link
func (*NetlinkManager) LinkSetDown ¶
func (_m *NetlinkManager) LinkSetDown(_a0 netlink.Link) error
LinkSetDown provides a mock function with given fields: _a0
func (*NetlinkManager) LinkSetName ¶
func (_m *NetlinkManager) LinkSetName(_a0 netlink.Link, _a1 string) error
LinkSetName provides a mock function with given fields: _a0, _a1
func (*NetlinkManager) LinkSetNsFd ¶
func (_m *NetlinkManager) LinkSetNsFd(_a0 netlink.Link, _a1 int) error
LinkSetNsFd provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.