mock_sciond

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_sciond 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) (*sciond.ASInfoReply, error)

ASInfo mocks base method

func (*MockConnector) Close

func (m *MockConnector) Close(arg0 context.Context) error

Close 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) (*sciond.IFInfoReply, error)

IFInfo mocks base method

func (*MockConnector) Paths

func (m *MockConnector) Paths(arg0 context.Context, arg1, arg2 addr.IA, arg3 uint16, arg4 sciond.PathReqFlags) (*sciond.PathReply, error)

Paths mocks base method

func (*MockConnector) RevNotification

func (m *MockConnector) RevNotification(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo) (*sciond.RevReply, error)

RevNotification mocks base method

func (*MockConnector) RevNotificationFromRaw

func (m *MockConnector) RevNotificationFromRaw(arg0 context.Context, arg1 []byte) (*sciond.RevReply, error)

RevNotificationFromRaw mocks base method

func (*MockConnector) SVCInfo

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(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockConnectorMockRecorder) IFInfo

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

IFInfo indicates an expected call of IFInfo

func (*MockConnectorMockRecorder) Paths

func (mr *MockConnectorMockRecorder) Paths(arg0, arg1, arg2, arg3, arg4 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) RevNotificationFromRaw

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

RevNotificationFromRaw indicates an expected call of RevNotificationFromRaw

func (*MockConnectorMockRecorder) SVCInfo

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

SVCInfo indicates an expected call of SVCInfo

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) Connect

func (m *MockService) Connect() (sciond.Connector, error)

Connect mocks base method

func (*MockService) ConnectTimeout

func (m *MockService) ConnectTimeout(arg0 time.Duration) (sciond.Connector, error)

ConnectTimeout mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Connect

func (mr *MockServiceMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect

func (*MockServiceMockRecorder) ConnectTimeout

func (mr *MockServiceMockRecorder) ConnectTimeout(arg0 interface{}) *gomock.Call

ConnectTimeout indicates an expected call of ConnectTimeout

Jump to

Keyboard shortcuts

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