Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type NetInterface
- func (fake *NetInterface) ByIP(arg1 string) (netinterface.AdapterInfo, error)
- func (fake *NetInterface) ByIPArgsForCall(i int) string
- func (fake *NetInterface) ByIPCallCount() int
- func (fake *NetInterface) ByIPReturns(result1 netinterface.AdapterInfo, result2 error)
- func (fake *NetInterface) ByIPReturnsOnCall(i int, result1 netinterface.AdapterInfo, result2 error)
- func (fake *NetInterface) ByName(arg1 string) (netinterface.AdapterInfo, error)
- func (fake *NetInterface) ByNameArgsForCall(i int) string
- func (fake *NetInterface) ByNameCallCount() int
- func (fake *NetInterface) ByNameReturns(result1 netinterface.AdapterInfo, result2 error)
- func (fake *NetInterface) ByNameReturnsOnCall(i int, result1 netinterface.AdapterInfo, result2 error)
- func (fake *NetInterface) GetMTU(arg1 string, arg2 uint32) (uint32, error)
- func (fake *NetInterface) GetMTUArgsForCall(i int) (string, uint32)
- func (fake *NetInterface) GetMTUCallCount() int
- func (fake *NetInterface) GetMTUReturns(result1 uint32, result2 error)
- func (fake *NetInterface) GetMTUReturnsOnCall(i int, result1 uint32, result2 error)
- func (fake *NetInterface) Invocations() map[string][][]interface{}
- func (fake *NetInterface) SetMTU(arg1 string, arg2 uint32, arg3 uint32) error
- func (fake *NetInterface) SetMTUArgsForCall(i int) (string, uint32, uint32)
- func (fake *NetInterface) SetMTUCallCount() int
- func (fake *NetInterface) SetMTUReturns(result1 error)
- func (fake *NetInterface) SetMTUReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetInterface ¶
type NetInterface struct { ByNameStub func(string) (netinterface.AdapterInfo, error) ByIPStub func(string) (netinterface.AdapterInfo, error) SetMTUStub func(string, uint32, uint32) error GetMTUStub func(string, uint32) (uint32, error) // contains filtered or unexported fields }
func (*NetInterface) ByIP ¶
func (fake *NetInterface) ByIP(arg1 string) (netinterface.AdapterInfo, error)
func (*NetInterface) ByIPArgsForCall ¶
func (fake *NetInterface) ByIPArgsForCall(i int) string
func (*NetInterface) ByIPCallCount ¶
func (fake *NetInterface) ByIPCallCount() int
func (*NetInterface) ByIPReturns ¶
func (fake *NetInterface) ByIPReturns(result1 netinterface.AdapterInfo, result2 error)
func (*NetInterface) ByIPReturnsOnCall ¶
func (fake *NetInterface) ByIPReturnsOnCall(i int, result1 netinterface.AdapterInfo, result2 error)
func (*NetInterface) ByName ¶
func (fake *NetInterface) ByName(arg1 string) (netinterface.AdapterInfo, error)
func (*NetInterface) ByNameArgsForCall ¶
func (fake *NetInterface) ByNameArgsForCall(i int) string
func (*NetInterface) ByNameCallCount ¶
func (fake *NetInterface) ByNameCallCount() int
func (*NetInterface) ByNameReturns ¶
func (fake *NetInterface) ByNameReturns(result1 netinterface.AdapterInfo, result2 error)
func (*NetInterface) ByNameReturnsOnCall ¶
func (fake *NetInterface) ByNameReturnsOnCall(i int, result1 netinterface.AdapterInfo, result2 error)
func (*NetInterface) GetMTU ¶
func (fake *NetInterface) GetMTU(arg1 string, arg2 uint32) (uint32, error)
func (*NetInterface) GetMTUArgsForCall ¶
func (fake *NetInterface) GetMTUArgsForCall(i int) (string, uint32)
func (*NetInterface) GetMTUCallCount ¶
func (fake *NetInterface) GetMTUCallCount() int
func (*NetInterface) GetMTUReturns ¶
func (fake *NetInterface) GetMTUReturns(result1 uint32, result2 error)
func (*NetInterface) GetMTUReturnsOnCall ¶
func (fake *NetInterface) GetMTUReturnsOnCall(i int, result1 uint32, result2 error)
func (*NetInterface) Invocations ¶
func (fake *NetInterface) Invocations() map[string][][]interface{}
func (*NetInterface) SetMTU ¶
func (fake *NetInterface) SetMTU(arg1 string, arg2 uint32, arg3 uint32) error
func (*NetInterface) SetMTUArgsForCall ¶
func (fake *NetInterface) SetMTUArgsForCall(i int) (string, uint32, uint32)
func (*NetInterface) SetMTUCallCount ¶
func (fake *NetInterface) SetMTUCallCount() int
func (*NetInterface) SetMTUReturns ¶
func (fake *NetInterface) SetMTUReturns(result1 error)
func (*NetInterface) SetMTUReturnsOnCall ¶
func (fake *NetInterface) SetMTUReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.