DockerCLI/internal/test
Jean-Christophe Sirot b3aa17187f Make default context behaves like a real context:
- when using "--context default" parameter
- when printing the list of contexts
- when exporting the default context to a tarball

Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
(+1 squashed commit)
Squashed commits:
[20670495] Fix CLI initialization for the `docker stack deploy --help` command and ensure that the dockerCli.CurrentContext() always returns a non empty context name (default as a fallback)
Remove now obsolete code handling empty string context name
Minor code cleanup

Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
2019-03-18 11:45:46 +01:00
..
builders Merge pull request #885 from thaJeztah/node-engine-version 2018-02-20 18:45:36 +01:00
environment connhelper: add e2e 2018-09-30 10:24:34 +09:00
network Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
notary Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
output Fix 'wether'->'whether' 2018-09-07 16:26:18 +08:00
cli.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
doc.go Add TESTING document. 2017-08-24 14:45:50 -04:00
store.go Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
strings.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00