Documentation
¶
Overview ¶
Package mock_control is a generated GoMock package.
Index ¶
- type MockDataplaneSession
- type MockDataplaneSessionFactory
- type MockDataplaneSessionFactoryMockRecorder
- type MockDataplaneSessionMockRecorder
- 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 MockPrefixFetcherMockRecorder
- type MockRouteExporter
- type MockRouteExporterMockRecorder
- type MockRoutingPolicyProvider
- type MockRoutingPolicyProviderMockRecorder
- type MockRoutingTable
- func (m *MockRoutingTable) AddRoute(arg0 int, arg1 control.PktWriter) error
- func (m *MockRoutingTable) DelRoute(arg0 int) error
- func (m *MockRoutingTable) EXPECT() *MockRoutingTableMockRecorder
- func (m *MockRoutingTable) RouteIPv4(arg0 layers.IPv4) control.PktWriter
- func (m *MockRoutingTable) RouteIPv6(arg0 layers.IPv6) control.PktWriter
- type MockRoutingTableFactory
- type MockRoutingTableFactoryMockRecorder
- type MockRoutingTableMockRecorder
- func (mr *MockRoutingTableMockRecorder) AddRoute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRoutingTableMockRecorder) DelRoute(arg0 interface{}) *gomock.Call
- func (mr *MockRoutingTableMockRecorder) RouteIPv4(arg0 interface{}) *gomock.Call
- func (mr *MockRoutingTableMockRecorder) RouteIPv6(arg0 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) EXPECT ¶
func (m *MockDataplaneSession) EXPECT() *MockDataplaneSessionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataplaneSession) SetPath ¶
func (m *MockDataplaneSession) SetPath(arg0 snet.Path) error
SetPath mocks base method
func (*MockDataplaneSession) Write ¶
func (m *MockDataplaneSession) Write(arg0 []byte)
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) SetPath ¶
func (mr *MockDataplaneSessionMockRecorder) SetPath(arg0 interface{}) *gomock.Call
SetPath indicates an expected call of SetPath
func (*MockDataplaneSessionMockRecorder) Write ¶
func (mr *MockDataplaneSessionMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
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
func (*MockGatewayWatcherFactory) New ¶
func (m *MockGatewayWatcherFactory) New(arg0 addr.IA, arg1 control.GatewayWatcherMetrics) control.Runner
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 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
func (*MockPathMonitor) Register ¶
func (m *MockPathMonitor) Register(arg0 addr.IA, arg1 *policies.Policies, arg2 int) control.PathMonitorRegistration
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 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
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) EXPECT ¶
func (m *MockPrefixFetcher) EXPECT() *MockPrefixFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPrefixFetcherMockRecorder ¶
type MockPrefixFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockPrefixFetcherMockRecorder is the mock recorder for MockPrefixFetcher
func (*MockPrefixFetcherMockRecorder) Prefixes ¶
func (mr *MockPrefixFetcherMockRecorder) Prefixes(arg0, arg1 interface{}) *gomock.Call
Prefixes indicates an expected call of Prefixes
type MockRouteExporter ¶
type MockRouteExporter struct {
// contains filtered or unexported fields
}
MockRouteExporter is a mock of RouteExporter interface
func NewMockRouteExporter ¶
func NewMockRouteExporter(ctrl *gomock.Controller) *MockRouteExporter
NewMockRouteExporter creates a new mock instance
func (*MockRouteExporter) AddNetwork ¶
func (m *MockRouteExporter) AddNetwork(arg0 net.IPNet)
AddNetwork mocks base method
func (*MockRouteExporter) DeleteNetwork ¶
func (m *MockRouteExporter) DeleteNetwork(arg0 net.IPNet)
DeleteNetwork mocks base method
func (*MockRouteExporter) EXPECT ¶
func (m *MockRouteExporter) EXPECT() *MockRouteExporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRouteExporterMockRecorder ¶
type MockRouteExporterMockRecorder struct {
// contains filtered or unexported fields
}
MockRouteExporterMockRecorder is the mock recorder for MockRouteExporter
func (*MockRouteExporterMockRecorder) AddNetwork ¶
func (mr *MockRouteExporterMockRecorder) AddNetwork(arg0 interface{}) *gomock.Call
AddNetwork indicates an expected call of AddNetwork
func (*MockRouteExporterMockRecorder) DeleteNetwork ¶
func (mr *MockRouteExporterMockRecorder) DeleteNetwork(arg0 interface{}) *gomock.Call
DeleteNetwork indicates an expected call of DeleteNetwork
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) AddRoute ¶
func (m *MockRoutingTable) AddRoute(arg0 int, arg1 control.PktWriter) error
AddRoute mocks base method
func (*MockRoutingTable) DelRoute ¶
func (m *MockRoutingTable) DelRoute(arg0 int) error
DelRoute mocks base method
func (*MockRoutingTable) EXPECT ¶
func (m *MockRoutingTable) EXPECT() *MockRoutingTableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) AddRoute ¶
func (mr *MockRoutingTableMockRecorder) AddRoute(arg0, arg1 interface{}) *gomock.Call
AddRoute indicates an expected call of AddRoute
func (*MockRoutingTableMockRecorder) DelRoute ¶
func (mr *MockRoutingTableMockRecorder) DelRoute(arg0 interface{}) *gomock.Call
DelRoute indicates an expected call of DelRoute
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
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)
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 []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 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) 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() *gomock.Call
Close indicates an expected call of Close
func (*MockWorkerMockRecorder) Run ¶
func (mr *MockWorkerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run