WithExecOptionStdout sets stdout writer to be used when exec is performed. By default, it is streaming to the env logger.
(stdout io.Writer)
| 198 | // WithExecOptionStdout sets stdout writer to be used when exec is performed. |
| 199 | // By default, it is streaming to the env logger. |
| 200 | func 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. |
no outgoing calls
searching dependent graphs…