mockprocessmon

package
v10.286.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-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) 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

Jump to

Keyboard shortcuts

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