mockprocessor

package
v6.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockprocessor is a generated GoMock package.

Index

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

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

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

func (*MockProcessor) Start

func (m *MockProcessor) Start(eventInfo *events.EventInfo) error

Start mocks base method nolint

func (*MockProcessor) Stop

func (m *MockProcessor) Stop(eventInfo *events.EventInfo) error

Stop 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

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

func (m *MockRegisterer) RegisterProcessor(puType constants.PUType, p processor.Processor) error

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

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

Jump to

Keyboard shortcuts

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