mirror of https://github.com/docker/cli.git
cli/command: embed "Streams" interface in "Cli"
The DockerCLI interface was repeating the Streams interface. Embed the interface to make it more transparent that they're the same. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d0a4b6f497
commit
74973adaa5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue