processmon

package
v10.84.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package processmon is to manage and monitor remote enforcers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessManager

type ProcessManager interface {
	KillProcess(contextID string)
	LaunchProcess(contextID string, refPid int, refNsPath string, rpchdl rpcwrapper.RPCClient, arg string, statssecret string, procMountPoint, proxyPort string) error
	SetLogParameters(logToConsole, logWithID bool, logLevel string, logFormat string, compressedTags constants.CompressionType)
	SetRuntimeErrorChannel(e chan *policy.RuntimeError)
}

ProcessManager interface exposes methods implemented by a processmon

func GetProcessManagerHdl

func GetProcessManagerHdl() ProcessManager

GetProcessManagerHdl returns a process manager handle.

Directories

Path Synopsis
Package mockprocessmon is a generated GoMock package.
Package mockprocessmon is a generated GoMock package.

Jump to

Keyboard shortcuts

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