Documentation ¶
Overview ¶
Package mockmonitor is a generated GoMock package.
Index ¶
- type MockMonitor
- type MockMonitorMockRecorder
- type MockProcessingUnitsHandler
- type MockProcessingUnitsHandlerMockRecorder
- type MockSynchronizationHandler
- func (m *MockSynchronizationHandler) EXPECT() *MockSynchronizationHandlerMockRecorder
- func (m *MockSynchronizationHandler) HandleSynchronization(contextID string, state monitor.State, RuntimeReader policy.RuntimeReader, ...) error
- func (m *MockSynchronizationHandler) HandleSynchronizationComplete(syncType monitor.SynchronizationType)
- type MockSynchronizationHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMonitor ¶
type MockMonitor struct {
// contains filtered or unexported fields
}
MockMonitor is a mock of Monitor interface nolint
func NewMockMonitor ¶
func NewMockMonitor(ctrl *gomock.Controller) *MockMonitor
NewMockMonitor creates a new mock instance nolint
func (*MockMonitor) EXPECT ¶
func (m *MockMonitor) EXPECT() *MockMonitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
type MockMonitorMockRecorder ¶
type MockMonitorMockRecorder struct {
// contains filtered or unexported fields
}
MockMonitorMockRecorder is the mock recorder for MockMonitor nolint
func (*MockMonitorMockRecorder) Start ¶
func (mr *MockMonitorMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start nolint
func (*MockMonitorMockRecorder) Stop ¶
func (mr *MockMonitorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop nolint
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) 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 monitor.Event) error
HandlePUEvent mocks base method nolint
func (*MockProcessingUnitsHandler) SetPURuntime ¶
func (m *MockProcessingUnitsHandler) SetPURuntime(contextID string, runtimeInfo *policy.PURuntime) error
SetPURuntime mocks base method nolint
type MockProcessingUnitsHandlerMockRecorder ¶
type MockProcessingUnitsHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessingUnitsHandlerMockRecorder is the mock recorder for MockProcessingUnitsHandler nolint
func (*MockProcessingUnitsHandlerMockRecorder) HandlePUEvent ¶
func (mr *MockProcessingUnitsHandlerMockRecorder) HandlePUEvent(contextID, event interface{}) *gomock.Call
HandlePUEvent indicates an expected call of HandlePUEvent nolint
func (*MockProcessingUnitsHandlerMockRecorder) SetPURuntime ¶
func (mr *MockProcessingUnitsHandlerMockRecorder) SetPURuntime(contextID, runtimeInfo interface{}) *gomock.Call
SetPURuntime indicates an expected call of SetPURuntime 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 monitor.State, RuntimeReader policy.RuntimeReader, syncType monitor.SynchronizationType) error
HandleSynchronization mocks base method nolint
func (*MockSynchronizationHandler) HandleSynchronizationComplete ¶
func (m *MockSynchronizationHandler) HandleSynchronizationComplete(syncType monitor.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