MCPcopy Create free account
hub / github.com/efficientgo/e2e / WithExecOptionStdout

Function WithExecOptionStdout

env.go:200–204  ·  view source on GitHub ↗

WithExecOptionStdout sets stdout writer to be used when exec is performed. By default, it is streaming to the env logger.

(stdout io.Writer)

Source from the content-addressed store, hash-verified

198// WithExecOptionStdout sets stdout writer to be used when exec is performed.
199// By default, it is streaming to the env logger.
200func WithExecOptionStdout(stdout io.Writer) ExecOption {
201 return func(o *ExecOptions) {
202 o.Stdout = stdout
203 }
204}
205
206// WithExecOptionStderr sets stderr writer to be used when exec is performed.
207// By default, it is streaming to the env logger.

Callers 2

TestDockerEnvironmentFunction · 0.92
TestExampleFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestDockerEnvironmentFunction · 0.74
TestExampleFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…