Documentation ¶
Index ¶
- type MockNetwork
- func (_m *MockNetwork) AppendSubscriber() chan []net.IP
- func (_m *MockNetwork) CheckConnectivity() error
- func (_m *MockNetwork) EXPECT() *MockNetworkMockRecorder
- func (_m *MockNetwork) GetIPs() ([]string, error)
- func (_m *MockNetwork) GetMACAddress() (string, error)
- func (_m *MockNetwork) GetNetInterface() ([]net.Interface, error)
- func (_m *MockNetwork) GetOutboundIP() (string, error)
- func (_m *MockNetwork) StartNetwork()
- type MockNetworkMockRecorder
- func (_mr *MockNetworkMockRecorder) AppendSubscriber() *gomock.Call
- func (_mr *MockNetworkMockRecorder) CheckConnectivity() *gomock.Call
- func (_mr *MockNetworkMockRecorder) GetIPs() *gomock.Call
- func (_mr *MockNetworkMockRecorder) GetMACAddress() *gomock.Call
- func (_mr *MockNetworkMockRecorder) GetNetInterface() *gomock.Call
- func (_mr *MockNetworkMockRecorder) GetOutboundIP() *gomock.Call
- func (_mr *MockNetworkMockRecorder) StartNetwork() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetwork ¶
type MockNetwork struct {
// contains filtered or unexported fields
}
MockNetwork is a mock of Network interface
func NewMockNetwork ¶
func NewMockNetwork(ctrl *gomock.Controller) *MockNetwork
NewMockNetwork creates a new mock instance
func (*MockNetwork) AppendSubscriber ¶
func (_m *MockNetwork) AppendSubscriber() chan []net.IP
AppendSubscriber mocks base method
func (*MockNetwork) CheckConnectivity ¶
func (_m *MockNetwork) CheckConnectivity() error
CheckConnectivity mocks base method
func (*MockNetwork) EXPECT ¶
func (_m *MockNetwork) EXPECT() *MockNetworkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNetwork) GetIPs ¶
func (_m *MockNetwork) GetIPs() ([]string, error)
GetIPs mocks base method
func (*MockNetwork) GetMACAddress ¶
func (_m *MockNetwork) GetMACAddress() (string, error)
GetMACAddress mocks base method
func (*MockNetwork) GetNetInterface ¶
func (_m *MockNetwork) GetNetInterface() ([]net.Interface, error)
GetNetInterface mocks base method
func (*MockNetwork) GetOutboundIP ¶
func (_m *MockNetwork) GetOutboundIP() (string, error)
GetOutboundIP mocks base method
func (*MockNetwork) StartNetwork ¶
func (_m *MockNetwork) StartNetwork()
StartNetwork mocks base method
type MockNetworkMockRecorder ¶
type MockNetworkMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkMockRecorder is the mock recorder for MockNetwork
func (*MockNetworkMockRecorder) AppendSubscriber ¶
func (_mr *MockNetworkMockRecorder) AppendSubscriber() *gomock.Call
AppendSubscriber indicates an expected call of AppendSubscriber
func (*MockNetworkMockRecorder) CheckConnectivity ¶
func (_mr *MockNetworkMockRecorder) CheckConnectivity() *gomock.Call
CheckConnectivity indicates an expected call of CheckConnectivity
func (*MockNetworkMockRecorder) GetIPs ¶
func (_mr *MockNetworkMockRecorder) GetIPs() *gomock.Call
GetIPs indicates an expected call of GetIPs
func (*MockNetworkMockRecorder) GetMACAddress ¶
func (_mr *MockNetworkMockRecorder) GetMACAddress() *gomock.Call
GetMACAddress indicates an expected call of GetMACAddress
func (*MockNetworkMockRecorder) GetNetInterface ¶
func (_mr *MockNetworkMockRecorder) GetNetInterface() *gomock.Call
GetNetInterface indicates an expected call of GetNetInterface
func (*MockNetworkMockRecorder) GetOutboundIP ¶
func (_mr *MockNetworkMockRecorder) GetOutboundIP() *gomock.Call
GetOutboundIP indicates an expected call of GetOutboundIP
func (*MockNetworkMockRecorder) StartNetwork ¶
func (_mr *MockNetworkMockRecorder) StartNetwork() *gomock.Call
StartNetwork indicates an expected call of StartNetwork