processmon

package
v10.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 16 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) error
	SetLogParameters(logToConsole, logWithID bool, logLevel string, logFormat string)
}

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