mock_control

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_control is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDataplaneSession

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

MockDataplaneSession is a mock of DataplaneSession interface.

func NewMockDataplaneSession

func NewMockDataplaneSession(ctrl *gomock.Controller) *MockDataplaneSession

NewMockDataplaneSession creates a new mock instance.

func (*MockDataplaneSession) Close

func (m *MockDataplaneSession) Close()

Close mocks base method.

func (*MockDataplaneSession) EXPECT

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

func (*MockDataplaneSession) SetPaths

func (m *MockDataplaneSession) SetPaths(arg0 []snet.Path) error

SetPaths mocks base method.

func (*MockDataplaneSession) Write

func (m *MockDataplaneSession) Write(arg0 gopacket.Packet)

Write mocks base method.

type MockDataplaneSessionFactory

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

MockDataplaneSessionFactory is a mock of DataplaneSessionFactory interface.

func NewMockDataplaneSessionFactory

func NewMockDataplaneSessionFactory(ctrl *gomock.Controller) *MockDataplaneSessionFactory

NewMockDataplaneSessionFactory creates a new mock instance.

func (*MockDataplaneSessionFactory) EXPECT

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

func (*MockDataplaneSessionFactory) New

func (m *MockDataplaneSessionFactory) New(arg0 byte, arg1 int, arg2 addr.IA, arg3 net.Addr) control.DataplaneSession

New mocks base method.

type MockDataplaneSessionFactoryMockRecorder

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

MockDataplaneSessionFactoryMockRecorder is the mock recorder for MockDataplaneSessionFactory.

func (*MockDataplaneSessionFactoryMockRecorder) New

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

New indicates an expected call of New.

type MockDataplaneSessionMockRecorder

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

MockDataplaneSessionMockRecorder is the mock recorder for MockDataplaneSession.

func (*MockDataplaneSessionMockRecorder) Close

Close indicates an expected call of Close.

func (*MockDataplaneSessionMockRecorder) SetPaths

func (mr *MockDataplaneSessionMockRecorder) SetPaths(arg0 interface{}) *gomock.Call

SetPaths indicates an expected call of SetPaths.

func (*MockDataplaneSessionMockRecorder) Write

func (mr *MockDataplaneSessionMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockDeviceHandle

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

MockDeviceHandle is a mock of DeviceHandle interface.

func NewMockDeviceHandle

func NewMockDeviceHandle(ctrl *gomock.Controller) *MockDeviceHandle

NewMockDeviceHandle creates a new mock instance.

func (*MockDeviceHandle) AddRoute

func (m *MockDeviceHandle) AddRoute(arg0 context.Context, arg1 *control.Route) error

AddRoute mocks base method.

func (*MockDeviceHandle) Close

func (m *MockDeviceHandle) Close() error

Close mocks base method.

func (*MockDeviceHandle) DeleteRoute

func (m *MockDeviceHandle) DeleteRoute(arg0 context.Context, arg1 *control.Route) error

DeleteRoute mocks base method.

func (*MockDeviceHandle) EXPECT

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

func (*MockDeviceHandle) Read

func (m *MockDeviceHandle) Read(arg0 []byte) (int, error)

Read mocks base method.

func (*MockDeviceHandle) Write

func (m *MockDeviceHandle) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockDeviceHandleMockRecorder

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

MockDeviceHandleMockRecorder is the mock recorder for MockDeviceHandle.

func (*MockDeviceHandleMockRecorder) AddRoute

func (mr *MockDeviceHandleMockRecorder) AddRoute(arg0, arg1 interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute.

func (*MockDeviceHandleMockRecorder) Close

Close indicates an expected call of Close.

func (*MockDeviceHandleMockRecorder) DeleteRoute

func (mr *MockDeviceHandleMockRecorder) DeleteRoute(arg0, arg1 interface{}) *gomock.Call

DeleteRoute indicates an expected call of DeleteRoute.

func (*MockDeviceHandleMockRecorder) Read

func (mr *MockDeviceHandleMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockDeviceHandleMockRecorder) Write

func (mr *MockDeviceHandleMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockDeviceOpener

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

MockDeviceOpener is a mock of DeviceOpener interface.

func NewMockDeviceOpener

func NewMockDeviceOpener(ctrl *gomock.Controller) *MockDeviceOpener

NewMockDeviceOpener creates a new mock instance.

func (*MockDeviceOpener) EXPECT

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

func (*MockDeviceOpener) Open

func (m *MockDeviceOpener) Open(arg0 context.Context, arg1 addr.IA) (control.Device, error)

Open mocks base method.

type MockDeviceOpenerMockRecorder

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

MockDeviceOpenerMockRecorder is the mock recorder for MockDeviceOpener.

func (*MockDeviceOpenerMockRecorder) Open

func (mr *MockDeviceOpenerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call

Open indicates an expected call of Open.

type MockDiscoverer

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

MockDiscoverer is a mock of Discoverer interface.

func NewMockDiscoverer

func NewMockDiscoverer(ctrl *gomock.Controller) *MockDiscoverer

NewMockDiscoverer creates a new mock instance.

func (*MockDiscoverer) EXPECT

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

func (*MockDiscoverer) Gateways

func (m *MockDiscoverer) Gateways(arg0 context.Context) ([]control.Gateway, error)

Gateways mocks base method.

type MockDiscovererMockRecorder

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

MockDiscovererMockRecorder is the mock recorder for MockDiscoverer.

func (*MockDiscovererMockRecorder) Gateways

func (mr *MockDiscovererMockRecorder) Gateways(arg0 interface{}) *gomock.Call

Gateways indicates an expected call of Gateways.

type MockEngineFactory

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

MockEngineFactory is a mock of EngineFactory interface.

func NewMockEngineFactory

func NewMockEngineFactory(ctrl *gomock.Controller) *MockEngineFactory

NewMockEngineFactory creates a new mock instance.

func (*MockEngineFactory) EXPECT

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

func (*MockEngineFactory) New

func (m *MockEngineFactory) New(arg0 control.RoutingTable, arg1 []*control.SessionConfig, arg2 map[int][]byte) control.Worker

New mocks base method.

type MockEngineFactoryMockRecorder

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

MockEngineFactoryMockRecorder is the mock recorder for MockEngineFactory.

func (*MockEngineFactoryMockRecorder) New

func (mr *MockEngineFactoryMockRecorder) New(arg0, arg1, arg2 interface{}) *gomock.Call

New indicates an expected call of New.

type MockGatewayWatcherFactory

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

MockGatewayWatcherFactory is a mock of GatewayWatcherFactory interface.

func NewMockGatewayWatcherFactory

func NewMockGatewayWatcherFactory(ctrl *gomock.Controller) *MockGatewayWatcherFactory

NewMockGatewayWatcherFactory creates a new mock instance.

func (*MockGatewayWatcherFactory) EXPECT

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

func (*MockGatewayWatcherFactory) New

New mocks base method.

type MockGatewayWatcherFactoryMockRecorder

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

MockGatewayWatcherFactoryMockRecorder is the mock recorder for MockGatewayWatcherFactory.

func (*MockGatewayWatcherFactoryMockRecorder) New

func (mr *MockGatewayWatcherFactoryMockRecorder) New(arg0, arg1, arg2 interface{}) *gomock.Call

New indicates an expected call of New.

type MockPacketConnFactory

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

MockPacketConnFactory is a mock of PacketConnFactory interface.

func NewMockPacketConnFactory

func NewMockPacketConnFactory(ctrl *gomock.Controller) *MockPacketConnFactory

NewMockPacketConnFactory creates a new mock instance.

func (*MockPacketConnFactory) EXPECT

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

func (*MockPacketConnFactory) New

New mocks base method.

type MockPacketConnFactoryMockRecorder

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

MockPacketConnFactoryMockRecorder is the mock recorder for MockPacketConnFactory.

func (*MockPacketConnFactoryMockRecorder) New

New indicates an expected call of New.

type MockPathMonitor

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

MockPathMonitor is a mock of PathMonitor interface.

func NewMockPathMonitor

func NewMockPathMonitor(ctrl *gomock.Controller) *MockPathMonitor

NewMockPathMonitor creates a new mock instance.

func (*MockPathMonitor) EXPECT

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

func (*MockPathMonitor) Register

Register mocks base method.

type MockPathMonitorMockRecorder

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

MockPathMonitorMockRecorder is the mock recorder for MockPathMonitor.

func (*MockPathMonitorMockRecorder) Register

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

Register indicates an expected call of Register.

type MockPathMonitorRegistration

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

MockPathMonitorRegistration is a mock of PathMonitorRegistration interface.

func NewMockPathMonitorRegistration

func NewMockPathMonitorRegistration(ctrl *gomock.Controller) *MockPathMonitorRegistration

NewMockPathMonitorRegistration creates a new mock instance.

func (*MockPathMonitorRegistration) Close

func (m *MockPathMonitorRegistration) Close()

Close mocks base method.

func (*MockPathMonitorRegistration) EXPECT

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

func (*MockPathMonitorRegistration) Get

Get mocks base method.

type MockPathMonitorRegistrationMockRecorder

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

MockPathMonitorRegistrationMockRecorder is the mock recorder for MockPathMonitorRegistration.

func (*MockPathMonitorRegistrationMockRecorder) Close

Close indicates an expected call of Close.

func (*MockPathMonitorRegistrationMockRecorder) Get

Get indicates an expected call of Get.

type MockPktWriter

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

MockPktWriter is a mock of PktWriter interface.

func NewMockPktWriter

func NewMockPktWriter(ctrl *gomock.Controller) *MockPktWriter

NewMockPktWriter creates a new mock instance.

func (*MockPktWriter) EXPECT

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

func (*MockPktWriter) Write

func (m *MockPktWriter) Write(arg0 gopacket.Packet)

Write mocks base method.

type MockPktWriterMockRecorder

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

MockPktWriterMockRecorder is the mock recorder for MockPktWriter.

func (*MockPktWriterMockRecorder) Write

func (mr *MockPktWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockPrefixConsumer

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

MockPrefixConsumer is a mock of PrefixConsumer interface.

func NewMockPrefixConsumer

func NewMockPrefixConsumer(ctrl *gomock.Controller) *MockPrefixConsumer

NewMockPrefixConsumer creates a new mock instance.

func (*MockPrefixConsumer) EXPECT

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

func (*MockPrefixConsumer) Prefixes

func (m *MockPrefixConsumer) Prefixes(arg0 addr.IA, arg1 control.Gateway, arg2 []*net.IPNet) error

Prefixes mocks base method.

type MockPrefixConsumerMockRecorder

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

MockPrefixConsumerMockRecorder is the mock recorder for MockPrefixConsumer.

func (*MockPrefixConsumerMockRecorder) Prefixes

func (mr *MockPrefixConsumerMockRecorder) Prefixes(arg0, arg1, arg2 interface{}) *gomock.Call

Prefixes indicates an expected call of Prefixes.

type MockPrefixFetcher

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

MockPrefixFetcher is a mock of PrefixFetcher interface.

func NewMockPrefixFetcher

func NewMockPrefixFetcher(ctrl *gomock.Controller) *MockPrefixFetcher

NewMockPrefixFetcher creates a new mock instance.

func (*MockPrefixFetcher) Close

func (m *MockPrefixFetcher) Close() error

Close mocks base method.

func (*MockPrefixFetcher) EXPECT

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

func (*MockPrefixFetcher) Prefixes

func (m *MockPrefixFetcher) Prefixes(arg0 context.Context, arg1 *net.UDPAddr) ([]*net.IPNet, error)

Prefixes mocks base method.

type MockPrefixFetcherFactory

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

MockPrefixFetcherFactory is a mock of PrefixFetcherFactory interface.

func NewMockPrefixFetcherFactory

func NewMockPrefixFetcherFactory(ctrl *gomock.Controller) *MockPrefixFetcherFactory

NewMockPrefixFetcherFactory creates a new mock instance.

func (*MockPrefixFetcherFactory) EXPECT

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

func (*MockPrefixFetcherFactory) NewPrefixFetcher

NewPrefixFetcher mocks base method.

type MockPrefixFetcherFactoryMockRecorder

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

MockPrefixFetcherFactoryMockRecorder is the mock recorder for MockPrefixFetcherFactory.

func (*MockPrefixFetcherFactoryMockRecorder) NewPrefixFetcher

func (mr *MockPrefixFetcherFactoryMockRecorder) NewPrefixFetcher(arg0, arg1 interface{}) *gomock.Call

NewPrefixFetcher indicates an expected call of NewPrefixFetcher.

type MockPrefixFetcherMockRecorder

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

MockPrefixFetcherMockRecorder is the mock recorder for MockPrefixFetcher.

func (*MockPrefixFetcherMockRecorder) Close

Close indicates an expected call of Close.

func (*MockPrefixFetcherMockRecorder) Prefixes

func (mr *MockPrefixFetcherMockRecorder) Prefixes(arg0, arg1 interface{}) *gomock.Call

Prefixes indicates an expected call of Prefixes.

type MockPublisher

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

MockPublisher is a mock of Publisher interface.

func NewMockPublisher

func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher

NewMockPublisher creates a new mock instance.

func (*MockPublisher) AddRoute

func (m *MockPublisher) AddRoute(arg0 control.Route)

AddRoute mocks base method.

func (*MockPublisher) Close

func (m *MockPublisher) Close()

Close mocks base method.

func (*MockPublisher) DeleteRoute

func (m *MockPublisher) DeleteRoute(arg0 control.Route)

DeleteRoute mocks base method.

func (*MockPublisher) EXPECT

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

type MockPublisherFactory

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

MockPublisherFactory is a mock of PublisherFactory interface.

func NewMockPublisherFactory

func NewMockPublisherFactory(ctrl *gomock.Controller) *MockPublisherFactory

NewMockPublisherFactory creates a new mock instance.

func (*MockPublisherFactory) EXPECT

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

func (*MockPublisherFactory) NewPublisher

func (m *MockPublisherFactory) NewPublisher() control.Publisher

NewPublisher mocks base method.

type MockPublisherFactoryMockRecorder

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

MockPublisherFactoryMockRecorder is the mock recorder for MockPublisherFactory.

func (*MockPublisherFactoryMockRecorder) NewPublisher

func (mr *MockPublisherFactoryMockRecorder) NewPublisher() *gomock.Call

NewPublisher indicates an expected call of NewPublisher.

type MockPublisherMockRecorder

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

MockPublisherMockRecorder is the mock recorder for MockPublisher.

func (*MockPublisherMockRecorder) AddRoute

func (mr *MockPublisherMockRecorder) AddRoute(arg0 interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute.

func (*MockPublisherMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockPublisherMockRecorder) DeleteRoute

func (mr *MockPublisherMockRecorder) DeleteRoute(arg0 interface{}) *gomock.Call

DeleteRoute indicates an expected call of DeleteRoute.

type MockRoutingPolicyProvider

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

MockRoutingPolicyProvider is a mock of RoutingPolicyProvider interface.

func NewMockRoutingPolicyProvider

func NewMockRoutingPolicyProvider(ctrl *gomock.Controller) *MockRoutingPolicyProvider

NewMockRoutingPolicyProvider creates a new mock instance.

func (*MockRoutingPolicyProvider) EXPECT

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

func (*MockRoutingPolicyProvider) RoutingPolicy

func (m *MockRoutingPolicyProvider) RoutingPolicy() *routing.Policy

RoutingPolicy mocks base method.

type MockRoutingPolicyProviderMockRecorder

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

MockRoutingPolicyProviderMockRecorder is the mock recorder for MockRoutingPolicyProvider.

func (*MockRoutingPolicyProviderMockRecorder) RoutingPolicy

func (mr *MockRoutingPolicyProviderMockRecorder) RoutingPolicy() *gomock.Call

RoutingPolicy indicates an expected call of RoutingPolicy.

type MockRoutingTable

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

MockRoutingTable is a mock of RoutingTable interface.

func NewMockRoutingTable

func NewMockRoutingTable(ctrl *gomock.Controller) *MockRoutingTable

NewMockRoutingTable creates a new mock instance.

func (*MockRoutingTable) ClearSession

func (m *MockRoutingTable) ClearSession(arg0 int) error

ClearSession mocks base method.

func (*MockRoutingTable) Close

func (m *MockRoutingTable) Close() error

Close mocks base method.

func (*MockRoutingTable) EXPECT

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

func (*MockRoutingTable) RouteIPv4

func (m *MockRoutingTable) RouteIPv4(arg0 layers.IPv4) control.PktWriter

RouteIPv4 mocks base method.

func (*MockRoutingTable) RouteIPv6

func (m *MockRoutingTable) RouteIPv6(arg0 layers.IPv6) control.PktWriter

RouteIPv6 mocks base method.

func (*MockRoutingTable) SetSession

func (m *MockRoutingTable) SetSession(arg0 int, arg1 control.PktWriter) error

SetSession mocks base method.

type MockRoutingTableFactory

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

MockRoutingTableFactory is a mock of RoutingTableFactory interface.

func NewMockRoutingTableFactory

func NewMockRoutingTableFactory(ctrl *gomock.Controller) *MockRoutingTableFactory

NewMockRoutingTableFactory creates a new mock instance.

func (*MockRoutingTableFactory) EXPECT

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

func (*MockRoutingTableFactory) New

New mocks base method.

type MockRoutingTableFactoryMockRecorder

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

MockRoutingTableFactoryMockRecorder is the mock recorder for MockRoutingTableFactory.

func (*MockRoutingTableFactoryMockRecorder) New

func (mr *MockRoutingTableFactoryMockRecorder) New(arg0 interface{}) *gomock.Call

New indicates an expected call of New.

type MockRoutingTableMockRecorder

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

MockRoutingTableMockRecorder is the mock recorder for MockRoutingTable.

func (*MockRoutingTableMockRecorder) ClearSession

func (mr *MockRoutingTableMockRecorder) ClearSession(arg0 interface{}) *gomock.Call

ClearSession indicates an expected call of ClearSession.

func (*MockRoutingTableMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRoutingTableMockRecorder) RouteIPv4

func (mr *MockRoutingTableMockRecorder) RouteIPv4(arg0 interface{}) *gomock.Call

RouteIPv4 indicates an expected call of RouteIPv4.

func (*MockRoutingTableMockRecorder) RouteIPv6

func (mr *MockRoutingTableMockRecorder) RouteIPv6(arg0 interface{}) *gomock.Call

RouteIPv6 indicates an expected call of RouteIPv6.

func (*MockRoutingTableMockRecorder) SetSession

func (mr *MockRoutingTableMockRecorder) SetSession(arg0, arg1 interface{}) *gomock.Call

SetSession indicates an expected call of SetSession.

type MockRoutingTableSwapper

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

MockRoutingTableSwapper is a mock of RoutingTableSwapper interface.

func NewMockRoutingTableSwapper

func NewMockRoutingTableSwapper(ctrl *gomock.Controller) *MockRoutingTableSwapper

NewMockRoutingTableSwapper creates a new mock instance.

func (*MockRoutingTableSwapper) EXPECT

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

func (*MockRoutingTableSwapper) SetRoutingTable

func (m *MockRoutingTableSwapper) SetRoutingTable(arg0 control.RoutingTable) io.Closer

SetRoutingTable mocks base method.

type MockRoutingTableSwapperMockRecorder

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

MockRoutingTableSwapperMockRecorder is the mock recorder for MockRoutingTableSwapper.

func (*MockRoutingTableSwapperMockRecorder) SetRoutingTable

func (mr *MockRoutingTableSwapperMockRecorder) SetRoutingTable(arg0 interface{}) *gomock.Call

SetRoutingTable indicates an expected call of SetRoutingTable.

type MockRunner

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

MockRunner is a mock of Runner interface.

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance.

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) Run

func (m *MockRunner) Run(arg0 context.Context) error

Run mocks base method.

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner.

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockSessionPolicyParser

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

MockSessionPolicyParser is a mock of SessionPolicyParser interface.

func NewMockSessionPolicyParser

func NewMockSessionPolicyParser(ctrl *gomock.Controller) *MockSessionPolicyParser

NewMockSessionPolicyParser creates a new mock instance.

func (*MockSessionPolicyParser) EXPECT

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

func (*MockSessionPolicyParser) Parse

Parse mocks base method.

type MockSessionPolicyParserMockRecorder

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

MockSessionPolicyParserMockRecorder is the mock recorder for MockSessionPolicyParser.

func (*MockSessionPolicyParserMockRecorder) Parse

func (mr *MockSessionPolicyParserMockRecorder) Parse(arg0, arg1 interface{}) *gomock.Call

Parse indicates an expected call of Parse.

type MockWorker

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

MockWorker is a mock of Worker interface.

func NewMockWorker

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance.

func (*MockWorker) Close

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

Close mocks base method.

func (*MockWorker) EXPECT

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) Run

func (m *MockWorker) Run(arg0 context.Context) error

Run mocks base method.

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) Close

func (mr *MockWorkerMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockWorkerMockRecorder) Run

func (mr *MockWorkerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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