Documentation ¶
Overview ¶
Package mockprocessor is a generated GoMock package.
Index ¶
- type MockProcessingUnitsHandler
- type MockProcessingUnitsHandlerMockRecorder
- type MockProcessor
- func (m *MockProcessor) Create(eventInfo *events.EventInfo) error
- func (m *MockProcessor) Destroy(eventInfo *events.EventInfo) error
- func (m *MockProcessor) EXPECT() *MockProcessorMockRecorder
- func (m *MockProcessor) Pause(eventInfo *events.EventInfo) error
- func (m *MockProcessor) ReSync(EventInfo *events.EventInfo) error
- func (m *MockProcessor) Start(eventInfo *events.EventInfo) error
- func (m *MockProcessor) Stop(eventInfo *events.EventInfo) error
- type MockProcessorMockRecorder
- func (mr *MockProcessorMockRecorder) Create(eventInfo interface{}) *gomock.Call
- func (mr *MockProcessorMockRecorder) Destroy(eventInfo interface{}) *gomock.Call
- func (mr *MockProcessorMockRecorder) Pause(eventInfo interface{}) *gomock.Call
- func (mr *MockProcessorMockRecorder) ReSync(EventInfo interface{}) *gomock.Call
- func (mr *MockProcessorMockRecorder) Start(eventInfo interface{}) *gomock.Call
- func (mr *MockProcessorMockRecorder) Stop(eventInfo interface{}) *gomock.Call
- type MockRegisterer
- type MockRegistererMockRecorder
- type MockSynchronizationHandler
- func (m *MockSynchronizationHandler) EXPECT() *MockSynchronizationHandlerMockRecorder
- func (m *MockSynchronizationHandler) HandleSynchronization(contextID string, state events.State, RuntimeReader policy.RuntimeReader, ...) error
- func (m *MockSynchronizationHandler) HandleSynchronizationComplete(syncType processor.SynchronizationType)
- type MockSynchronizationHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProcessingUnitsHandler ¶
type MockProcessingUnitsHandler struct {
// contains filtered or unexported fields
}
MockProcessingUnitsHandler is a mock of ProcessingUnitsHandler interface nolint
func NewMockProcessingUnitsHandler ¶
func NewMockProcessingUnitsHandler(ctrl *gomock.Controller) *MockProcessingUnitsHandler
NewMockProcessingUnitsHandler creates a new mock instance nolint
func (*MockProcessingUnitsHandler) CreatePURuntime ¶
func (m *MockProcessingUnitsHandler) CreatePURuntime(contextID string, runtimeInfo *policy.PURuntime) error
CreatePURuntime mocks base method nolint
func (*MockProcessingUnitsHandler) EXPECT ¶
func (m *MockProcessingUnitsHandler) EXPECT() *MockProcessingUnitsHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockProcessingUnitsHandler) HandlePUEvent ¶
func (m *MockProcessingUnitsHandler) HandlePUEvent(contextID string, event events.Event) error
HandlePUEvent mocks base method nolint
type MockProcessingUnitsHandlerMockRecorder ¶
type MockProcessingUnitsHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessingUnitsHandlerMockRecorder is the mock recorder for MockProcessingUnitsHandler nolint
func (*MockProcessingUnitsHandlerMockRecorder) CreatePURuntime ¶
func (mr *MockProcessingUnitsHandlerMockRecorder) CreatePURuntime(contextID, runtimeInfo interface{}) *gomock.Call
CreatePURuntime indicates an expected call of CreatePURuntime nolint
func (*MockProcessingUnitsHandlerMockRecorder) HandlePUEvent ¶
func (mr *MockProcessingUnitsHandlerMockRecorder) HandlePUEvent(contextID, event interface{}) *gomock.Call
HandlePUEvent indicates an expected call of HandlePUEvent nolint
type MockProcessor ¶
type MockProcessor struct {
// contains filtered or unexported fields
}
MockProcessor is a mock of Processor interface nolint
func NewMockProcessor ¶
func NewMockProcessor(ctrl *gomock.Controller) *MockProcessor
NewMockProcessor creates a new mock instance nolint
func (*MockProcessor) Create ¶
func (m *MockProcessor) Create(eventInfo *events.EventInfo) error
Create mocks base method nolint
func (*MockProcessor) Destroy ¶
func (m *MockProcessor) Destroy(eventInfo *events.EventInfo) error
Destroy mocks base method nolint
func (*MockProcessor) EXPECT ¶
func (m *MockProcessor) EXPECT() *MockProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockProcessor) Pause ¶
func (m *MockProcessor) Pause(eventInfo *events.EventInfo) error
Pause mocks base method nolint
func (*MockProcessor) ReSync ¶
func (m *MockProcessor) ReSync(EventInfo *events.EventInfo) error
ReSync mocks base method nolint
type MockProcessorMockRecorder ¶
type MockProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessorMockRecorder is the mock recorder for MockProcessor nolint
func (*MockProcessorMockRecorder) Create ¶
func (mr *MockProcessorMockRecorder) Create(eventInfo interface{}) *gomock.Call
Create indicates an expected call of Create nolint
func (*MockProcessorMockRecorder) Destroy ¶
func (mr *MockProcessorMockRecorder) Destroy(eventInfo interface{}) *gomock.Call
Destroy indicates an expected call of Destroy nolint
func (*MockProcessorMockRecorder) Pause ¶
func (mr *MockProcessorMockRecorder) Pause(eventInfo interface{}) *gomock.Call
Pause indicates an expected call of Pause nolint
func (*MockProcessorMockRecorder) ReSync ¶
func (mr *MockProcessorMockRecorder) ReSync(EventInfo interface{}) *gomock.Call
ReSync indicates an expected call of ReSync nolint
func (*MockProcessorMockRecorder) Start ¶
func (mr *MockProcessorMockRecorder) Start(eventInfo interface{}) *gomock.Call
Start indicates an expected call of Start nolint
func (*MockProcessorMockRecorder) Stop ¶
func (mr *MockProcessorMockRecorder) Stop(eventInfo interface{}) *gomock.Call
Stop indicates an expected call of Stop nolint
type MockRegisterer ¶
type MockRegisterer struct {
// contains filtered or unexported fields
}
MockRegisterer is a mock of Registerer interface nolint
func NewMockRegisterer ¶
func NewMockRegisterer(ctrl *gomock.Controller) *MockRegisterer
NewMockRegisterer creates a new mock instance nolint
func (*MockRegisterer) EXPECT ¶
func (m *MockRegisterer) EXPECT() *MockRegistererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockRegisterer) GetHandler ¶
func (m *MockRegisterer) GetHandler(puType constants.PUType, e events.Event) (events.EventHandler, error)
GetHandler mocks base method nolint
func (*MockRegisterer) RegisterProcessor ¶
RegisterProcessor mocks base method nolint
type MockRegistererMockRecorder ¶
type MockRegistererMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistererMockRecorder is the mock recorder for MockRegisterer nolint
func (*MockRegistererMockRecorder) GetHandler ¶
func (mr *MockRegistererMockRecorder) GetHandler(puType, e interface{}) *gomock.Call
GetHandler indicates an expected call of GetHandler nolint
func (*MockRegistererMockRecorder) RegisterProcessor ¶
func (mr *MockRegistererMockRecorder) RegisterProcessor(puType, p interface{}) *gomock.Call
RegisterProcessor indicates an expected call of RegisterProcessor nolint
type MockSynchronizationHandler ¶
type MockSynchronizationHandler struct {
// contains filtered or unexported fields
}
MockSynchronizationHandler is a mock of SynchronizationHandler interface nolint
func NewMockSynchronizationHandler ¶
func NewMockSynchronizationHandler(ctrl *gomock.Controller) *MockSynchronizationHandler
NewMockSynchronizationHandler creates a new mock instance nolint
func (*MockSynchronizationHandler) EXPECT ¶
func (m *MockSynchronizationHandler) EXPECT() *MockSynchronizationHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockSynchronizationHandler) HandleSynchronization ¶
func (m *MockSynchronizationHandler) HandleSynchronization(contextID string, state events.State, RuntimeReader policy.RuntimeReader, syncType processor.SynchronizationType) error
HandleSynchronization mocks base method nolint
func (*MockSynchronizationHandler) HandleSynchronizationComplete ¶
func (m *MockSynchronizationHandler) HandleSynchronizationComplete(syncType processor.SynchronizationType)
HandleSynchronizationComplete mocks base method nolint
type MockSynchronizationHandlerMockRecorder ¶
type MockSynchronizationHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockSynchronizationHandlerMockRecorder is the mock recorder for MockSynchronizationHandler nolint
func (*MockSynchronizationHandlerMockRecorder) HandleSynchronization ¶
func (mr *MockSynchronizationHandlerMockRecorder) HandleSynchronization(contextID, state, RuntimeReader, syncType interface{}) *gomock.Call
HandleSynchronization indicates an expected call of HandleSynchronization nolint
func (*MockSynchronizationHandlerMockRecorder) HandleSynchronizationComplete ¶
func (mr *MockSynchronizationHandlerMockRecorder) HandleSynchronizationComplete(syncType interface{}) *gomock.Call
HandleSynchronizationComplete indicates an expected call of HandleSynchronizationComplete nolint