Versions in this module Expand all Collapse all v1 v1.16.0 Jul 1, 2026 Changes in this version + func NewServer(impl Interface, c io.ReadWriter) error + func Serve(impl Interface) error + func Setup(p *testscript.Params) (cleanup func(), err error) + type CmdInfo struct + RequiredEnv map[string]bool + WritesOutput bool + type CmdParams struct + Args []string + Dir string + Env map[string]string + Name string + Stdin []byte + type CmdResult struct + Env map[string]string + Err string + Stderr []byte + Stdout []byte + type Interface interface + Close func() + Info func() PluginInfo + NewTestInstance func(TestParams) (TestInstance, error) + func NewClient(c io.ReadWriteCloser) (Interface, error) + type PluginInfo struct + Cmds map[string]CmdInfo + RequiredEnv map[string]bool + ResultEnv map[string]bool + type TestInstance interface + Close func() + Env func() map[string]string + RunCmd func(CmdParams) (CmdResult, error) + type TestParams struct + Env map[string]string + PluginParamsDir string + TestName string