DockerCLI/cli/command/context
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
..
testdata Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
cmd.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
create.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
create_test.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
export-import_test.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
export.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
import.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
inspect.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
inspect_test.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
list.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
list_test.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
options.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
remove.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
remove_test.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
update.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
update_test.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
use.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
use_test.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00