Documentation
¶
Overview ¶
Package networkmock is a generated GoMock package.
Package networkmock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockARP ¶
type MockARP struct {
// contains filtered or unexported fields
}
MockARP is a mock of ARP interface.
func NewMockARP ¶
func NewMockARP(ctrl *gomock.Controller) *MockARP
NewMockARP creates a new mock instance.
func (*MockARP) EXPECT ¶
func (m *MockARP) EXPECT() *MockARPMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockARP) GratuitousArp ¶
func (m *MockARP) GratuitousArp(arg0 network.GratuitousArpRequest) error
GratuitousArp mocks base method.
type MockARPMockRecorder ¶
type MockARPMockRecorder struct {
// contains filtered or unexported fields
}
MockARPMockRecorder is the mock recorder for MockARP.
func (*MockARPMockRecorder) GratuitousArp ¶
func (mr *MockARPMockRecorder) GratuitousArp(arg0 interface{}) *gomock.Call
GratuitousArp indicates an expected call of GratuitousArp.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) EnsureIP ¶
func (m *MockInterface) EnsureIP(arg0 string) error
EnsureIP mocks base method.
func (*MockInterface) RemoveIP ¶
func (m *MockInterface) RemoveIP(arg0 string) error
RemoveIP mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) EnsureIP ¶
func (mr *MockInterfaceMockRecorder) EnsureIP(arg0 interface{}) *gomock.Call
EnsureIP indicates an expected call of EnsureIP.
func (*MockInterfaceMockRecorder) RemoveIP ¶
func (mr *MockInterfaceMockRecorder) RemoveIP(arg0 interface{}) *gomock.Call
RemoveIP indicates an expected call of RemoveIP.