Versions in this module Expand all Collapse all v1 v1.7.0 Feb 26, 2026 Changes in this version + var ErrProcessNotFound = errors.New("Reattachment process not found") + func ReattachFunc(pid int, addr net.Addr) runner.ReattachFunc + type CmdAttachedRunner struct + func (*CmdAttachedRunner) HostToPlugin(hostNet, hostAddr string) (string, string, error) + func (*CmdAttachedRunner) PluginToHost(pluginNet, pluginAddr string) (string, string, error) + func (c *CmdAttachedRunner) ID() string + func (c *CmdAttachedRunner) Kill(_ context.Context) error + func (c *CmdAttachedRunner) Wait(_ context.Context) error + type CmdRunner struct + func NewCmdRunner(logger hclog.Logger, cmd *exec.Cmd) (*CmdRunner, error) + func (*CmdRunner) HostToPlugin(hostNet, hostAddr string) (string, string, error) + func (*CmdRunner) PluginToHost(pluginNet, pluginAddr string) (string, string, error) + func (c *CmdRunner) Diagnose(_ context.Context) string + func (c *CmdRunner) ID() string + func (c *CmdRunner) Kill(_ context.Context) error + func (c *CmdRunner) Name() string + func (c *CmdRunner) Start(_ context.Context) error + func (c *CmdRunner) Stderr() io.ReadCloser + func (c *CmdRunner) Stdout() io.ReadCloser + func (c *CmdRunner) Wait(_ context.Context) error