Back to

Package mockprocessmon

Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: Apache-2.0 | Module:


Package mockprocessmon is a generated GoMock package.


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) KillRemoteEnforcer

func (m *MockProcessManager) KillRemoteEnforcer(contextID string, force bool) error

KillRemoteEnforcer mocks base method nolint

func (*MockProcessManager) LaunchRemoteEnforcer

func (m *MockProcessManager) LaunchRemoteEnforcer(contextID string, refPid int, refNsPath, arg, statssecret, procMountPoint string, enforcerType policy.EnforcerType) (bool, error)

LaunchRemoteEnforcer mocks base method nolint

type MockProcessManagerMockRecorder

type MockProcessManagerMockRecorder struct {
	// contains filtered or unexported fields

MockProcessManagerMockRecorder is the mock recorder for MockProcessManager nolint

func (*MockProcessManagerMockRecorder) KillRemoteEnforcer

func (mr *MockProcessManagerMockRecorder) KillRemoteEnforcer(contextID, force interface{}) *gomock.Call

KillRemoteEnforcer indicates an expected call of KillRemoteEnforcer nolint

func (*MockProcessManagerMockRecorder) LaunchRemoteEnforcer

func (mr *MockProcessManagerMockRecorder) LaunchRemoteEnforcer(contextID, refPid, refNsPath, arg, statssecret, procMountPoint, enforcerType interface{}) *gomock.Call

LaunchRemoteEnforcer indicates an expected call of LaunchRemoteEnforcer nolint

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier