WithExecOutput sets additional stdout and stderr writers for logs during Exec operations.
(stdout, stderr io.Writer)
| 145 | // WithExecOutput sets additional stdout and stderr writers for logs |
| 146 | // during Exec operations. |
| 147 | func WithExecOutput(stdout, stderr io.Writer) DevcontainerCLIExecOptions { |
| 148 | return func(o *DevcontainerCLIExecConfig) { |
| 149 | o.Stdout = stdout |
| 150 | o.Stderr = stderr |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | // WithExecContainerID sets the container ID to target a specific |
| 155 | // container. |
no outgoing calls