Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type NetAdapter
- func (fake *NetAdapter) InterfaceByIndex(arg1 int) (*net.Interface, error)
- func (fake *NetAdapter) InterfaceByIndexArgsForCall(i int) int
- func (fake *NetAdapter) InterfaceByIndexCallCount() int
- func (fake *NetAdapter) InterfaceByIndexReturns(result1 *net.Interface, result2 error)
- func (fake *NetAdapter) InterfaceByIndexReturnsOnCall(i int, result1 *net.Interface, result2 error)
- func (fake *NetAdapter) Invocations() map[string][][]interface{}
- type NetlinkAdapter
- func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}
- func (fake *NetlinkAdapter) RouteList(arg1 netlink.Link, arg2 int) ([]netlink.Route, error)
- func (fake *NetlinkAdapter) RouteListArgsForCall(i int) (netlink.Link, int)
- func (fake *NetlinkAdapter) RouteListCallCount() int
- func (fake *NetlinkAdapter) RouteListReturns(result1 []netlink.Route, result2 error)
- func (fake *NetlinkAdapter) RouteListReturnsOnCall(i int, result1 []netlink.Route, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetAdapter ¶
type NetAdapter struct { InterfaceByIndexStub func(int) (*net.Interface, error) // contains filtered or unexported fields }
func (*NetAdapter) InterfaceByIndex ¶
func (fake *NetAdapter) InterfaceByIndex(arg1 int) (*net.Interface, error)
func (*NetAdapter) InterfaceByIndexArgsForCall ¶
func (fake *NetAdapter) InterfaceByIndexArgsForCall(i int) int
func (*NetAdapter) InterfaceByIndexCallCount ¶
func (fake *NetAdapter) InterfaceByIndexCallCount() int
func (*NetAdapter) InterfaceByIndexReturns ¶
func (fake *NetAdapter) InterfaceByIndexReturns(result1 *net.Interface, result2 error)
func (*NetAdapter) InterfaceByIndexReturnsOnCall ¶
func (fake *NetAdapter) InterfaceByIndexReturnsOnCall(i int, result1 *net.Interface, result2 error)
func (*NetAdapter) Invocations ¶
func (fake *NetAdapter) Invocations() map[string][][]interface{}
type NetlinkAdapter ¶
type NetlinkAdapter struct { RouteListStub func(netlink.Link, int) ([]netlink.Route, error) // contains filtered or unexported fields }
func (*NetlinkAdapter) Invocations ¶
func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}
func (*NetlinkAdapter) RouteListArgsForCall ¶
func (fake *NetlinkAdapter) RouteListArgsForCall(i int) (netlink.Link, int)
func (*NetlinkAdapter) RouteListCallCount ¶
func (fake *NetlinkAdapter) RouteListCallCount() int
func (*NetlinkAdapter) RouteListReturns ¶
func (fake *NetlinkAdapter) RouteListReturns(result1 []netlink.Route, result2 error)
func (*NetlinkAdapter) RouteListReturnsOnCall ¶
func (fake *NetlinkAdapter) RouteListReturnsOnCall(i int, result1 []netlink.Route, result2 error)
Click to show internal directories.
Click to hide internal directories.