Documentation ¶
Overview ¶
Package mock_control is a generated GoMock package.
Index ¶
- type MockDataplaneSession
- type MockDataplaneSessionFactory
- type MockDataplaneSessionFactoryMockRecorder
- type MockDataplaneSessionMockRecorder
- type MockDeviceHandle
- func (m *MockDeviceHandle) AddRoute(arg0 context.Context, arg1 *control.Route) error
- func (m *MockDeviceHandle) Close() error
- func (m *MockDeviceHandle) DeleteRoute(arg0 context.Context, arg1 *control.Route) error
- func (m *MockDeviceHandle) EXPECT() *MockDeviceHandleMockRecorder
- func (m *MockDeviceHandle) Read(arg0 []byte) (int, error)
- func (m *MockDeviceHandle) Write(arg0 []byte) (int, error)
- type MockDeviceHandleMockRecorder
- func (mr *MockDeviceHandleMockRecorder) AddRoute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeviceHandleMockRecorder) Close() *gomock.Call
- func (mr *MockDeviceHandleMockRecorder) DeleteRoute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeviceHandleMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceHandleMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockDeviceOpener
- type MockDeviceOpenerMockRecorder
- type MockDiscoverer
- type MockDiscovererMockRecorder
- type MockEngineFactory
- type MockEngineFactoryMockRecorder
- type MockGatewayWatcherFactory
- type MockGatewayWatcherFactoryMockRecorder
- type MockPacketConnFactory
- type MockPacketConnFactoryMockRecorder
- type MockPathMonitor
- type MockPathMonitorMockRecorder
- type MockPathMonitorRegistration
- type MockPathMonitorRegistrationMockRecorder
- type MockPktWriter
- type MockPktWriterMockRecorder
- type MockPrefixConsumer
- type MockPrefixConsumerMockRecorder
- type MockPrefixFetcher
- type MockPrefixFetcherFactory
- type MockPrefixFetcherFactoryMockRecorder
- type MockPrefixFetcherMockRecorder
- type MockPublisher
- type MockPublisherFactory
- type MockPublisherFactoryMockRecorder
- type MockPublisherMockRecorder
- type MockRoutingPolicyProvider
- type MockRoutingPolicyProviderMockRecorder
- type MockRoutingTable
- func (m *MockRoutingTable) ClearSession(arg0 int) error
- func (m *MockRoutingTable) Close() error
- func (m *MockRoutingTable) EXPECT() *MockRoutingTableMockRecorder
- func (m *MockRoutingTable) RouteIPv4(arg0 layers.IPv4) control.PktWriter
- func (m *MockRoutingTable) RouteIPv6(arg0 layers.IPv6) control.PktWriter
- func (m *MockRoutingTable) SetSession(arg0 int, arg1 control.PktWriter) error
- type MockRoutingTableFactory
- type MockRoutingTableFactoryMockRecorder
- type MockRoutingTableMockRecorder
- func (mr *MockRoutingTableMockRecorder) ClearSession(arg0 interface{}) *gomock.Call
- func (mr *MockRoutingTableMockRecorder) Close() *gomock.Call
- func (mr *MockRoutingTableMockRecorder) RouteIPv4(arg0 interface{}) *gomock.Call
- func (mr *MockRoutingTableMockRecorder) RouteIPv6(arg0 interface{}) *gomock.Call
- func (mr *MockRoutingTableMockRecorder) SetSession(arg0, arg1 interface{}) *gomock.Call
- type MockRoutingTableSwapper
- type MockRoutingTableSwapperMockRecorder
- type MockRunner
- type MockRunnerMockRecorder
- type MockSessionPolicyParser
- type MockSessionPolicyParserMockRecorder
- type MockWorker
- type MockWorkerMockRecorder
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 ¶
func (m *MockDataplaneSession) EXPECT() *MockDataplaneSessionMockRecorder
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 ¶
func (m *MockDataplaneSessionFactory) EXPECT() *MockDataplaneSessionFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockDataplaneSessionMockRecorder) Close() *gomock.Call
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) DeleteRoute ¶
DeleteRoute mocks base method.
func (*MockDeviceHandle) EXPECT ¶
func (m *MockDeviceHandle) EXPECT() *MockDeviceHandleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockDeviceHandleMockRecorder) Close() *gomock.Call
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 ¶
func (m *MockDeviceOpener) EXPECT() *MockDeviceOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockDiscoverer) EXPECT() *MockDiscovererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockEngineFactory) EXPECT() *MockEngineFactoryMockRecorder
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 ¶
func (m *MockGatewayWatcherFactory) EXPECT() *MockGatewayWatcherFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockPacketConnFactory) EXPECT() *MockPacketConnFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPacketConnFactory) New ¶
func (m *MockPacketConnFactory) New() (net.PacketConn, error)
New mocks base method.
type MockPacketConnFactoryMockRecorder ¶
type MockPacketConnFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketConnFactoryMockRecorder is the mock recorder for MockPacketConnFactory.
func (*MockPacketConnFactoryMockRecorder) New ¶
func (mr *MockPacketConnFactoryMockRecorder) New() *gomock.Call
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 ¶
func (m *MockPathMonitor) EXPECT() *MockPathMonitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockPathMonitorRegistration) EXPECT() *MockPathMonitorRegistrationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPathMonitorRegistration) Get ¶
func (m *MockPathMonitorRegistration) Get() pathhealth.Selection
Get mocks base method.
type MockPathMonitorRegistrationMockRecorder ¶
type MockPathMonitorRegistrationMockRecorder struct {
// contains filtered or unexported fields
}
MockPathMonitorRegistrationMockRecorder is the mock recorder for MockPathMonitorRegistration.
func (*MockPathMonitorRegistrationMockRecorder) Close ¶
func (mr *MockPathMonitorRegistrationMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPathMonitorRegistrationMockRecorder) Get ¶
func (mr *MockPathMonitorRegistrationMockRecorder) Get() *gomock.Call
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 ¶
func (m *MockPktWriter) EXPECT() *MockPktWriterMockRecorder
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 ¶
func (m *MockPrefixConsumer) EXPECT() *MockPrefixConsumerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockPrefixFetcher) EXPECT() *MockPrefixFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockPrefixFetcherFactory) EXPECT() *MockPrefixFetcherFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrefixFetcherFactory) NewPrefixFetcher ¶
func (m *MockPrefixFetcherFactory) NewPrefixFetcher(arg0 context.Context, arg1 control.Gateway) control.PrefixFetcher
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 ¶
func (mr *MockPrefixFetcherMockRecorder) Close() *gomock.Call
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) DeleteRoute ¶
func (m *MockPublisher) DeleteRoute(arg0 control.Route)
DeleteRoute mocks base method.
func (*MockPublisher) EXPECT ¶
func (m *MockPublisher) EXPECT() *MockPublisherMockRecorder
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 ¶
func (m *MockPublisherFactory) EXPECT() *MockPublisherFactoryMockRecorder
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 ¶
func (m *MockRoutingPolicyProvider) EXPECT() *MockRoutingPolicyProviderMockRecorder
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) EXPECT ¶
func (m *MockRoutingTable) EXPECT() *MockRoutingTableMockRecorder
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 ¶
func (m *MockRoutingTableFactory) EXPECT() *MockRoutingTableFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoutingTableFactory) New ¶
func (m *MockRoutingTableFactory) New(arg0 []*control.RoutingChain) (control.RoutingTable, error)
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 ¶
func (mr *MockRoutingTableMockRecorder) Close() *gomock.Call
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 ¶
func (m *MockRoutingTableSwapper) EXPECT() *MockRoutingTableSwapperMockRecorder
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.
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 ¶
func (m *MockSessionPolicyParser) EXPECT() *MockSessionPolicyParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSessionPolicyParser) Parse ¶
func (m *MockSessionPolicyParser) Parse(arg0 context.Context, arg1 []byte) (control.SessionPolicies, error)
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.
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.