Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
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) GetVirtualIP() (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) GetVirtualIP() *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) GetVirtualIP ¶
func (m *MockNetwork) GetVirtualIP() (string, error)
GetVirtualIP 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) GetVirtualIP ¶
func (mr *MockNetworkMockRecorder) GetVirtualIP() *gomock.Call
GetVirtualIP indicates an expected call of GetVirtualIP.
func (*MockNetworkMockRecorder) StartNetwork ¶
func (mr *MockNetworkMockRecorder) StartNetwork() *gomock.Call
StartNetwork indicates an expected call of StartNetwork.