Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type NetlinkAdapter
- func (fake *NetlinkAdapter) AddrList(arg1 netlink.Link, arg2 int) ([]netlink.Addr, error)
- func (fake *NetlinkAdapter) AddrListArgsForCall(i int) (netlink.Link, int)
- func (fake *NetlinkAdapter) AddrListCallCount() int
- func (fake *NetlinkAdapter) AddrListReturns(result1 []netlink.Addr, result2 error)
- func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}
- func (fake *NetlinkAdapter) LinkByName(arg1 string) (netlink.Link, error)
- func (fake *NetlinkAdapter) LinkByNameArgsForCall(i int) string
- func (fake *NetlinkAdapter) LinkByNameCallCount() int
- func (fake *NetlinkAdapter) LinkByNameReturns(result1 netlink.Link, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetlinkAdapter ¶
type NetlinkAdapter struct { LinkByNameStub func(string) (netlink.Link, error) AddrListStub func(netlink.Link, int) ([]netlink.Addr, error) // contains filtered or unexported fields }
func (*NetlinkAdapter) AddrListArgsForCall ¶
func (fake *NetlinkAdapter) AddrListArgsForCall(i int) (netlink.Link, int)
func (*NetlinkAdapter) AddrListCallCount ¶
func (fake *NetlinkAdapter) AddrListCallCount() int
func (*NetlinkAdapter) AddrListReturns ¶
func (fake *NetlinkAdapter) AddrListReturns(result1 []netlink.Addr, result2 error)
func (*NetlinkAdapter) Invocations ¶
func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}
func (*NetlinkAdapter) LinkByName ¶
func (fake *NetlinkAdapter) LinkByName(arg1 string) (netlink.Link, error)
func (*NetlinkAdapter) LinkByNameArgsForCall ¶
func (fake *NetlinkAdapter) LinkByNameArgsForCall(i int) string
func (*NetlinkAdapter) LinkByNameCallCount ¶
func (fake *NetlinkAdapter) LinkByNameCallCount() int
func (*NetlinkAdapter) LinkByNameReturns ¶
func (fake *NetlinkAdapter) LinkByNameReturns(result1 netlink.Link, result2 error)
Click to show internal directories.
Click to hide internal directories.