Closed tomhjp closed 1 year ago
runner
RunnerFunc
*exec.Cmd
SkipHostEnv
ReattachConfig.ReattachFunc
See https://github.com/hashicorp/go-secure-stdlib/pull/84 for an example implementation of runner's interfaces.
Not planned (for now):
https://github.com/hashicorp/go-secure-stdlib/pull/84 has an alternative container-based implementation for any reviewers who'd like to compare with CmdRunner.
CmdRunner
Thanks!
runner
package to allow custom implementations for running plugins.RunnerFunc
can be supplied to customise how a plugin is run, with*exec.Cmd
treated as the spec.SkipHostEnv
tells go-plugin not to add the host process' environment variables to the command spec. Closes #104 and closes #163ReattachConfig.ReattachFunc
can be supplied to hook into running plugins that are identified by something other than a process IDSee https://github.com/hashicorp/go-secure-stdlib/pull/84 for an example implementation of
runner
's interfaces.Not planned (for now):