mockmonitor

package
v1.0.69 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Automatically generated by MockGen. DO NOT EDIT! Source: github.com/aporeto-inc/trireme/monitor (interfaces: Monitor,ProcessingUnitsHandler,SynchronizationHandler) nolint

Index

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

func NewMockMonitor

func NewMockMonitor(ctrl *gomock.Controller) *MockMonitor

NewMockMonitor creates a new mock instance

func (*MockMonitor) EXPECT

func (_m *MockMonitor) EXPECT() *MockMonitorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMonitor) Start

func (_m *MockMonitor) Start() error

Start mocks base method

func (*MockMonitor) Stop

func (_m *MockMonitor) Stop() error

Stop mocks base method

type MockMonitorMockRecorder

type MockMonitorMockRecorder struct {
	// contains filtered or unexported fields
}

MockMonitorMockRecorder is the mock recorder for MockMonitor

func (*MockMonitorMockRecorder) Start

func (_mr *MockMonitorMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockMonitorMockRecorder) Stop

func (_mr *MockMonitorMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

type MockProcessingUnitsHandler

type MockProcessingUnitsHandler struct {
	// contains filtered or unexported fields
}

MockProcessingUnitsHandler is a mock of ProcessingUnitsHandler interface

func NewMockProcessingUnitsHandler

func NewMockProcessingUnitsHandler(ctrl *gomock.Controller) *MockProcessingUnitsHandler

NewMockProcessingUnitsHandler creates a new mock instance

func (*MockProcessingUnitsHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProcessingUnitsHandler) HandlePUEvent

func (_m *MockProcessingUnitsHandler) HandlePUEvent(_param0 string, _param1 monitor.Event) error

HandlePUEvent mocks base method

func (*MockProcessingUnitsHandler) SetPURuntime

func (_m *MockProcessingUnitsHandler) SetPURuntime(_param0 string, _param1 *policy.PURuntime) error

SetPURuntime mocks base method

type MockProcessingUnitsHandlerMockRecorder

type MockProcessingUnitsHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockProcessingUnitsHandlerMockRecorder is the mock recorder for MockProcessingUnitsHandler

func (*MockProcessingUnitsHandlerMockRecorder) HandlePUEvent

func (_mr *MockProcessingUnitsHandlerMockRecorder) HandlePUEvent(arg0, arg1 interface{}) *gomock.Call

HandlePUEvent indicates an expected call of HandlePUEvent

func (*MockProcessingUnitsHandlerMockRecorder) SetPURuntime

func (_mr *MockProcessingUnitsHandlerMockRecorder) SetPURuntime(arg0, arg1 interface{}) *gomock.Call

SetPURuntime indicates an expected call of SetPURuntime

type MockSynchronizationHandler

type MockSynchronizationHandler struct {
	// contains filtered or unexported fields
}

MockSynchronizationHandler is a mock of SynchronizationHandler interface

func NewMockSynchronizationHandler

func NewMockSynchronizationHandler(ctrl *gomock.Controller) *MockSynchronizationHandler

NewMockSynchronizationHandler creates a new mock instance

func (*MockSynchronizationHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSynchronizationHandler) HandleSynchronization

func (_m *MockSynchronizationHandler) HandleSynchronization(_param0 string, _param1 monitor.State, _param2 policy.RuntimeReader, _param3 monitor.SynchronizationType) error

HandleSynchronization mocks base method

func (*MockSynchronizationHandler) HandleSynchronizationComplete

func (_m *MockSynchronizationHandler) HandleSynchronizationComplete(_param0 monitor.SynchronizationType)

HandleSynchronizationComplete mocks base method

type MockSynchronizationHandlerMockRecorder

type MockSynchronizationHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSynchronizationHandlerMockRecorder is the mock recorder for MockSynchronizationHandler

func (*MockSynchronizationHandlerMockRecorder) HandleSynchronization

func (_mr *MockSynchronizationHandlerMockRecorder) HandleSynchronization(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

HandleSynchronization indicates an expected call of HandleSynchronization

func (*MockSynchronizationHandlerMockRecorder) HandleSynchronizationComplete

func (_mr *MockSynchronizationHandlerMockRecorder) HandleSynchronizationComplete(arg0 interface{}) *gomock.Call

HandleSynchronizationComplete indicates an expected call of HandleSynchronizationComplete

Jump to

Keyboard shortcuts

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