mock_daemon

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_daemon is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnector

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

MockConnector is a mock of Connector interface.

func NewMockConnector

func NewMockConnector(ctrl *gomock.Controller) *MockConnector

NewMockConnector creates a new mock instance.

func (*MockConnector) ASInfo

func (m *MockConnector) ASInfo(arg0 context.Context, arg1 addr.IA) (daemon.ASInfo, error)

ASInfo mocks base method.

func (*MockConnector) Close

func (m *MockConnector) Close() error

Close mocks base method.

func (*MockConnector) DRKeyGetASHostKey added in v0.9.0

func (m *MockConnector) DRKeyGetASHostKey(arg0 context.Context, arg1 drkey.ASHostMeta) (drkey.ASHostKey, error)

DRKeyGetASHostKey mocks base method.

func (*MockConnector) DRKeyGetHostASKey added in v0.9.0

func (m *MockConnector) DRKeyGetHostASKey(arg0 context.Context, arg1 drkey.HostASMeta) (drkey.HostASKey, error)

DRKeyGetHostASKey mocks base method.

func (*MockConnector) DRKeyGetHostHostKey added in v0.9.0

func (m *MockConnector) DRKeyGetHostHostKey(arg0 context.Context, arg1 drkey.HostHostMeta) (drkey.HostHostKey, error)

DRKeyGetHostHostKey mocks base method.

func (*MockConnector) EXPECT

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

func (*MockConnector) IFInfo

func (m *MockConnector) IFInfo(arg0 context.Context, arg1 []common.IFIDType) (map[common.IFIDType]*net.UDPAddr, error)

IFInfo mocks base method.

func (*MockConnector) LocalIA

func (m *MockConnector) LocalIA(arg0 context.Context) (addr.IA, error)

LocalIA mocks base method.

func (*MockConnector) Paths

func (m *MockConnector) Paths(arg0 context.Context, arg1, arg2 addr.IA, arg3 daemon.PathReqFlags) ([]snet.Path, error)

Paths mocks base method.

func (*MockConnector) RevNotification

func (m *MockConnector) RevNotification(arg0 context.Context, arg1 *path_mgmt.RevInfo) error

RevNotification mocks base method.

func (*MockConnector) SVCInfo

func (m *MockConnector) SVCInfo(arg0 context.Context, arg1 []addr.SVC) (map[addr.SVC][]string, error)

SVCInfo mocks base method.

type MockConnectorMockRecorder

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

MockConnectorMockRecorder is the mock recorder for MockConnector.

func (*MockConnectorMockRecorder) ASInfo

func (mr *MockConnectorMockRecorder) ASInfo(arg0, arg1 interface{}) *gomock.Call

ASInfo indicates an expected call of ASInfo.

func (*MockConnectorMockRecorder) Close

func (mr *MockConnectorMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockConnectorMockRecorder) DRKeyGetASHostKey added in v0.9.0

func (mr *MockConnectorMockRecorder) DRKeyGetASHostKey(arg0, arg1 interface{}) *gomock.Call

DRKeyGetASHostKey indicates an expected call of DRKeyGetASHostKey.

func (*MockConnectorMockRecorder) DRKeyGetHostASKey added in v0.9.0

func (mr *MockConnectorMockRecorder) DRKeyGetHostASKey(arg0, arg1 interface{}) *gomock.Call

DRKeyGetHostASKey indicates an expected call of DRKeyGetHostASKey.

func (*MockConnectorMockRecorder) DRKeyGetHostHostKey added in v0.9.0

func (mr *MockConnectorMockRecorder) DRKeyGetHostHostKey(arg0, arg1 interface{}) *gomock.Call

DRKeyGetHostHostKey indicates an expected call of DRKeyGetHostHostKey.

func (*MockConnectorMockRecorder) IFInfo

func (mr *MockConnectorMockRecorder) IFInfo(arg0, arg1 interface{}) *gomock.Call

IFInfo indicates an expected call of IFInfo.

func (*MockConnectorMockRecorder) LocalIA

func (mr *MockConnectorMockRecorder) LocalIA(arg0 interface{}) *gomock.Call

LocalIA indicates an expected call of LocalIA.

func (*MockConnectorMockRecorder) Paths

func (mr *MockConnectorMockRecorder) Paths(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Paths indicates an expected call of Paths.

func (*MockConnectorMockRecorder) RevNotification

func (mr *MockConnectorMockRecorder) RevNotification(arg0, arg1 interface{}) *gomock.Call

RevNotification indicates an expected call of RevNotification.

func (*MockConnectorMockRecorder) SVCInfo

func (mr *MockConnectorMockRecorder) SVCInfo(arg0, arg1 interface{}) *gomock.Call

SVCInfo indicates an expected call of SVCInfo.

Jump to

Keyboard shortcuts

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