mockprocessmon

package
v10.102.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockprocessmon is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProcessManager

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

MockProcessManager is a mock of ProcessManager interface nolint

func NewMockProcessManager

func NewMockProcessManager(ctrl *gomock.Controller) *MockProcessManager

NewMockProcessManager creates a new mock instance nolint

func (*MockProcessManager) EXPECT

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

func (*MockProcessManager) KillProcess

func (m *MockProcessManager) KillProcess(contextID string)

KillProcess mocks base method nolint

func (*MockProcessManager) LaunchProcess

func (m *MockProcessManager) LaunchProcess(contextID string, refPid int, refNsPath string, rpchdl rpcwrapper.RPCClient, arg, statssecret, procMountPoint, proxyPort string) (bool, error)

LaunchProcess mocks base method nolint

func (*MockProcessManager) SetLogParameters

func (m *MockProcessManager) SetLogParameters(logToConsole, logWithID bool, logLevel, logFormat string, compressedTags constants.CompressionType)

SetLogParameters mocks base method nolint

func (*MockProcessManager) SetRuntimeErrorChannel

func (m *MockProcessManager) SetRuntimeErrorChannel(e chan *policy.RuntimeError)

SetRuntimeErrorChannel mocks base method nolint

type MockProcessManagerMockRecorder

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

MockProcessManagerMockRecorder is the mock recorder for MockProcessManager nolint

func (*MockProcessManagerMockRecorder) KillProcess

func (mr *MockProcessManagerMockRecorder) KillProcess(contextID interface{}) *gomock.Call

KillProcess indicates an expected call of KillProcess nolint

func (*MockProcessManagerMockRecorder) LaunchProcess

func (mr *MockProcessManagerMockRecorder) LaunchProcess(contextID, refPid, refNsPath, rpchdl, arg, statssecret, procMountPoint, proxyPort interface{}) *gomock.Call

LaunchProcess indicates an expected call of LaunchProcess nolint

func (*MockProcessManagerMockRecorder) SetLogParameters

func (mr *MockProcessManagerMockRecorder) SetLogParameters(logToConsole, logWithID, logLevel, logFormat, compressedTags interface{}) *gomock.Call

SetLogParameters indicates an expected call of SetLogParameters nolint

func (*MockProcessManagerMockRecorder) SetRuntimeErrorChannel

func (mr *MockProcessManagerMockRecorder) SetRuntimeErrorChannel(e interface{}) *gomock.Call

SetRuntimeErrorChannel indicates an expected call of SetRuntimeErrorChannel nolint

Jump to

Keyboard shortcuts

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