WithExecOptionStderr sets stderr writer to be used when exec is performed. By default, it is streaming to the env logger.
(stderr io.Writer)
| 206 | // WithExecOptionStderr sets stderr writer to be used when exec is performed. |
| 207 | // By default, it is streaming to the env logger. |
| 208 | func WithExecOptionStderr(stderr io.Writer) ExecOption { |
| 209 | return func(o *ExecOptions) { |
| 210 | o.Stderr = stderr |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | // Runnable is the entity that environment returns to manage single instance. |
| 215 | type Runnable interface { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…