WithErrorStream sets a cli error stream.
(err io.Writer)
| 69 | |
| 70 | // WithErrorStream sets a cli error stream. |
| 71 | func WithErrorStream(err io.Writer) CLIOption { |
| 72 | return func(cli *DockerCli) error { |
| 73 | cli.err = streams.NewOut(err) |
| 74 | return nil |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | // WithDefaultContextStoreConfig configures the cli to use the default context store configuration. |
| 79 | func WithDefaultContextStoreConfig() CLIOption { |
no outgoing calls
searching dependent graphs…