mockprocessmon

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: GPL-2.0 Imports: 3 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 string) error

LaunchProcess mocks base method nolint

func (*MockProcessManager) SetupLogAndProcessArgs

func (m *MockProcessManager) SetupLogAndProcessArgs(logToConsole, logWithID bool, cmdArgs []string)

SetupLogAndProcessArgs 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 interface{}) *gomock.Call

LaunchProcess indicates an expected call of LaunchProcess nolint

func (*MockProcessManagerMockRecorder) SetupLogAndProcessArgs

func (mr *MockProcessManagerMockRecorder) SetupLogAndProcessArgs(logToConsole, logWithID, cmdArgs interface{}) *gomock.Call

SetupLogAndProcessArgs indicates an expected call of SetupLogAndProcessArgs nolint

Jump to

Keyboard shortcuts

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