Package processmon is to manage and monitor remote enforcers.
ProcessManager interface exposes methods implemented by a processmon
func New(ctx context.Context, p *env.RemoteParameters, c chan *policy.RuntimeError, r rpcwrapper.RPCClient) ProcessManager
New is a method to create a new remote process monitor.
RemoteMonitor is an instance of processMonitor
KillRemoteEnforcer sends a rpc to the process to exit failing which it will kill the process
LaunchRemoteEnforcer prepares the environment and launches the process. If the process is already launched, it will notify the caller, so that it can avoid any new initialization.
|mockprocessmon||Package mockprocessmon is a generated GoMock package.|