Documentation ¶
Overview ¶
Package mockprocessmon is a generated GoMock package.
Index ¶
- type MockProcessManager
- func (m *MockProcessManager) EXPECT() *MockProcessManagerMockRecorder
- func (m *MockProcessManager) KillProcess(contextID string)
- func (m *MockProcessManager) LaunchProcess(contextID string, refPid int, refNsPath string, rpchdl rpcwrapper.RPCClient, ...) error
- func (m *MockProcessManager) SetupLogAndProcessArgs(logToConsole, logWithID bool, cmdArgs []string)
- type MockProcessManagerMockRecorder
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 ¶
func (m *MockProcessManager) EXPECT() *MockProcessManagerMockRecorder
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