Versions in this module Expand all Collapse all v0 v0.0.54 Dec 5, 2026 v0.0.53 Dec 3, 2026 Changes in this version + var ErrUnknownCommand = errors.New("memexecutor: no script for command") + func NewClient(t testing.TB, e Executor) *grpc.ClientConn + type Executor struct + CommandOptions []commands.Option + Commands *Runner + FileOptions []files.Option + Files *memfs.Workspace + type Runner struct + func NewRunner() *Runner + func (r *Runner) Refuse(command string, err error) + func (r *Runner) Running() int + func (r *Runner) Script(command string, s Script) + func (r *Runner) Start(ctx context.Context, command string, stdout io.Writer, stderr io.Writer) (commands.Process, error) + type Script func(ctx context.Context, stdout, stderr io.Writer) commands.Exit + func Block(ready string) Script + func Exit(stdout, stderr string, code int) Script + func OutcomeUnknown(s Script) Script + func Stream(next <-chan struct{}, chunks ...string) Script