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, ...) (bool, error)
- func (m *MockProcessManager) SetLogParameters(logToConsole, logWithID bool, logLevel, logFormat string, ...)
- func (m *MockProcessManager) SetRuntimeErrorChannel(e chan *policy.RuntimeError)
- type MockProcessManagerMockRecorder
- func (mr *MockProcessManagerMockRecorder) KillProcess(contextID interface{}) *gomock.Call
- func (mr *MockProcessManagerMockRecorder) LaunchProcess(...) *gomock.Call
- func (mr *MockProcessManagerMockRecorder) SetLogParameters(logToConsole, logWithID, logLevel, logFormat, compressedTags interface{}) *gomock.Call
- func (mr *MockProcessManagerMockRecorder) SetRuntimeErrorChannel(e interface{}) *gomock.Call
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) (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 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