mocks

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 4 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 MockMNEDCServer

type MockMNEDCServer struct {
	// contains filtered or unexported fields
}

MockMNEDCServer is a mock of MNEDCServer interface.

func NewMockMNEDCServer

func NewMockMNEDCServer(ctrl *gomock.Controller) *MockMNEDCServer

NewMockMNEDCServer creates a new mock instance.

func (*MockMNEDCServer) AcceptRoutine

func (m *MockMNEDCServer) AcceptRoutine()

AcceptRoutine mocks base method.

func (*MockMNEDCServer) Close

func (m *MockMNEDCServer) Close() error

Close mocks base method.

func (*MockMNEDCServer) CreateServer

func (m *MockMNEDCServer) CreateServer(arg0, arg1 string, arg2 bool) (*server.Server, error)

CreateServer mocks base method.

func (*MockMNEDCServer) DispatchRoutine

func (m *MockMNEDCServer) DispatchRoutine()

DispatchRoutine mocks base method.

func (*MockMNEDCServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMNEDCServer) GetClientIPMap

func (m *MockMNEDCServer) GetClientIPMap() map[string]server.IPTypes

GetClientIPMap mocks base method.

func (*MockMNEDCServer) GetVirtualIP

func (m *MockMNEDCServer) GetVirtualIP() string

GetVirtualIP mocks base method

func (*MockMNEDCServer) HandleConnection

func (m *MockMNEDCServer) HandleConnection(arg0 net.Conn)

HandleConnection mocks base method.

func (*MockMNEDCServer) RemoveClient

func (m *MockMNEDCServer) RemoveClient(arg0 string)

RemoveClient mocks base method.

func (*MockMNEDCServer) Route

func (m *MockMNEDCServer) Route(arg0 *server.NetPacket)

Route mocks base method.

func (*MockMNEDCServer) Run

func (m *MockMNEDCServer) Run()

Run mocks base method.

func (*MockMNEDCServer) SetClientAddress

func (m *MockMNEDCServer) SetClientAddress(arg0, arg1 string)

SetClientAddress mocks base method.

func (*MockMNEDCServer) SetClientIP

func (m *MockMNEDCServer) SetClientIP(arg0, arg1, arg2 string)

SetClientIP mocks base method.

func (*MockMNEDCServer) SetVirtualIP

func (m *MockMNEDCServer) SetVirtualIP(arg0 string) string

SetVirtualIP mocks base method.

func (*MockMNEDCServer) TunReadRoutine

func (m *MockMNEDCServer) TunReadRoutine()

TunReadRoutine mocks base method.

func (*MockMNEDCServer) TunWriteRoutine

func (m *MockMNEDCServer) TunWriteRoutine()

TunWriteRoutine mocks base method.

type MockMNEDCServerMockRecorder

type MockMNEDCServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockMNEDCServerMockRecorder is the mock recorder for MockMNEDCServer.

func (*MockMNEDCServerMockRecorder) AcceptRoutine

func (mr *MockMNEDCServerMockRecorder) AcceptRoutine() *gomock.Call

AcceptRoutine indicates an expected call of AcceptRoutine.

func (*MockMNEDCServerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockMNEDCServerMockRecorder) CreateServer

func (mr *MockMNEDCServerMockRecorder) CreateServer(arg0, arg1, arg2 interface{}) *gomock.Call

CreateServer indicates an expected call of CreateServer.

func (*MockMNEDCServerMockRecorder) DispatchRoutine

func (mr *MockMNEDCServerMockRecorder) DispatchRoutine() *gomock.Call

DispatchRoutine indicates an expected call of DispatchRoutine.

func (*MockMNEDCServerMockRecorder) GetClientIPMap

func (mr *MockMNEDCServerMockRecorder) GetClientIPMap() *gomock.Call

GetClientIPMap indicates an expected call of GetClientIPMap.

func (*MockMNEDCServerMockRecorder) GetVirtualIP

func (mr *MockMNEDCServerMockRecorder) GetVirtualIP() *gomock.Call

GetVirtualIP indicates an expected call of GetVirtualIP

func (*MockMNEDCServerMockRecorder) HandleConnection

func (mr *MockMNEDCServerMockRecorder) HandleConnection(arg0 interface{}) *gomock.Call

HandleConnection indicates an expected call of HandleConnection.

func (*MockMNEDCServerMockRecorder) RemoveClient

func (mr *MockMNEDCServerMockRecorder) RemoveClient(arg0 interface{}) *gomock.Call

RemoveClient indicates an expected call of RemoveClient.

func (*MockMNEDCServerMockRecorder) Route

func (mr *MockMNEDCServerMockRecorder) Route(arg0 interface{}) *gomock.Call

Route indicates an expected call of Route.

func (*MockMNEDCServerMockRecorder) Run

Run indicates an expected call of Run.

func (*MockMNEDCServerMockRecorder) SetClientAddress

func (mr *MockMNEDCServerMockRecorder) SetClientAddress(arg0, arg1 interface{}) *gomock.Call

SetClientAddress indicates an expected call of SetClientAddress.

func (*MockMNEDCServerMockRecorder) SetClientIP

func (mr *MockMNEDCServerMockRecorder) SetClientIP(arg0, arg1, arg2 interface{}) *gomock.Call

SetClientIP indicates an expected call of SetClientIP.

func (*MockMNEDCServerMockRecorder) SetVirtualIP

func (mr *MockMNEDCServerMockRecorder) SetVirtualIP(arg0 interface{}) *gomock.Call

SetVirtualIP indicates an expected call of SetVirtualIP.

func (*MockMNEDCServerMockRecorder) TunReadRoutine

func (mr *MockMNEDCServerMockRecorder) TunReadRoutine() *gomock.Call

TunReadRoutine indicates an expected call of TunReadRoutine.

func (*MockMNEDCServerMockRecorder) TunWriteRoutine

func (mr *MockMNEDCServerMockRecorder) TunWriteRoutine() *gomock.Call

TunWriteRoutine indicates an expected call of TunWriteRoutine.

Jump to

Keyboard shortcuts

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