mock_networkhelper

package
v0.0.0-...-618d89a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL