Documentation ¶
Overview ¶
Package mock_daemon is a generated GoMock package.
Index ¶
- type MockConnector
- func (m *MockConnector) ASInfo(arg0 context.Context, arg1 addr.IA) (daemon.ASInfo, error)
- func (m *MockConnector) Close() error
- func (m *MockConnector) DRKeyGetASHostKey(arg0 context.Context, arg1 drkey.ASHostMeta) (drkey.ASHostKey, error)
- func (m *MockConnector) DRKeyGetHostASKey(arg0 context.Context, arg1 drkey.HostASMeta) (drkey.HostASKey, error)
- func (m *MockConnector) DRKeyGetHostHostKey(arg0 context.Context, arg1 drkey.HostHostMeta) (drkey.HostHostKey, error)
- func (m *MockConnector) EXPECT() *MockConnectorMockRecorder
- func (m *MockConnector) IFInfo(arg0 context.Context, arg1 []common.IFIDType) (map[common.IFIDType]*net.UDPAddr, error)
- func (m *MockConnector) LocalIA(arg0 context.Context) (addr.IA, error)
- func (m *MockConnector) Paths(arg0 context.Context, arg1, arg2 addr.IA, arg3 daemon.PathReqFlags) ([]snet.Path, error)
- func (m *MockConnector) RevNotification(arg0 context.Context, arg1 *path_mgmt.RevInfo) error
- func (m *MockConnector) SVCInfo(arg0 context.Context, arg1 []addr.SVC) (map[addr.SVC][]string, error)
- type MockConnectorMockRecorder
- func (mr *MockConnectorMockRecorder) ASInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) Close() *gomock.Call
- func (mr *MockConnectorMockRecorder) DRKeyGetASHostKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) DRKeyGetHostASKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) DRKeyGetHostHostKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) IFInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) LocalIA(arg0 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) Paths(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) RevNotification(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) SVCInfo(arg0, arg1 interface{}) *gomock.Call
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) 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 ¶
func (m *MockConnector) EXPECT() *MockConnectorMockRecorder
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) 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 ¶
RevNotification 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.