processmon

package
v10.146.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 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 string) (bool, error)
	SetLogParameters(logToConsole, logWithID bool, logLevel string, logFormat string, compressedTags claimsheader.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