mocks

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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) 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.

Jump to

Keyboard shortcuts

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