Documentation ¶
Index ¶
- type I
- func (_m *I) AddVeth(name string, alias string, peer string, mtu int) error
- func (_m *I) AddrAdd(link nl.Link, ip net.IPNet) error
- func (_m *I) CloseNsHandle(ns netns.NsHandle) error
- func (_m *I) GetNetns() (netns.NsHandle, error)
- func (_m *I) GetNetnsFromPath(_a0 string) (netns.NsHandle, error)
- func (_m *I) LinkByAlias(alias string) (nl.Link, error)
- func (_m *I) LinkByIndex(index int) (nl.Link, error)
- func (_m *I) LinkByName(name string) (nl.Link, error)
- func (_m *I) LinkDel(link nl.Link) error
- func (_m *I) LinkSetHardwareAddr(link nl.Link, hwaddr net.HardwareAddr) error
- func (_m *I) LinkSetName(link nl.Link, name string) error
- func (_m *I) LinkSetNs(link nl.Link, nsh netns.NsHandle) error
- func (_m *I) LinkSetUp(link nl.Link) error
- func (_m *I) RouteAdd(r nl.Route) error
- func (_m *I) RouteList(family int) ([]nl.Route, error)
- func (_m *I) SetNetns(ns netns.NsHandle) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type I ¶
I is an autogenerated mock type for the I type
func (*I) CloseNsHandle ¶
CloseNsHandle provides a mock function with given fields: ns
func (*I) GetNetnsFromPath ¶
GetNetnsFromPath provides a mock function with given fields: _a0
func (*I) LinkByAlias ¶
LinkByAlias provides a mock function with given fields: alias
func (*I) LinkByIndex ¶
LinkByIndex provides a mock function with given fields: index
func (*I) LinkByName ¶
LinkByName provides a mock function with given fields: name
func (*I) LinkSetHardwareAddr ¶
LinkSetHardwareAddr provides a mock function with given fields: link, hwaddr
func (*I) LinkSetName ¶
LinkSetName provides a mock function with given fields: link, name
Click to show internal directories.
Click to hide internal directories.