Merge pull request #3972 from thaJeztah/embed_streams

cli/command: embed "Streams" interface in "Cli"
This commit is contained in:
Sebastiaan van Stijn 2023-04-09 12:49:56 +02:00 committed by GitHub
commit daf99dd308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -48,9 +48,7 @@ type Streams interface {
// Cli represents the docker command line client. // Cli represents the docker command line client.
type Cli interface { type Cli interface {
Client() client.APIClient Client() client.APIClient
Out() *streams.Out Streams
Err() io.Writer
In() *streams.In
SetIn(in *streams.In) SetIn(in *streams.In)
Apply(ops ...DockerCliOption) error Apply(ops ...DockerCliOption) error
ConfigFile() *configfile.ConfigFile ConfigFile() *configfile.ConfigFile