DockerCLI/cli/command/stack
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
..
formatter formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
kubernetes Add support for pull secrets and policies 2019-01-29 18:12:43 +01:00
loader Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
options Support multiple namespaces for docker stack ls 2018-05-15 16:52:21 +02:00
swarm formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
testdata Add an orchestrator column in the docker stack ls command 2018-04-30 12:04:02 +02:00
client_test.go Fix tests with missing mocks 2018-11-08 11:37:49 +01:00
cmd.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
common.go Expose all stack commands to be used by downstream projects. 2019-01-16 14:47:50 +01:00
deploy.go Expose all stack commands to be used by downstream projects. 2019-01-16 14:47:50 +01:00
deploy_test.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
list.go Expose all stack commands to be used by downstream projects. 2019-01-16 14:47:50 +01:00
list_test.go refactor stack list command unit tests to table-driven 2018-09-19 22:13:03 -04:00
ps.go Expose all stack commands to be used by downstream projects. 2019-01-16 14:47:50 +01:00
ps_test.go refactor stack ps tests to table-driven 2018-08-10 15:13:45 -04:00
remove.go Expose all stack commands to be used by downstream projects. 2019-01-16 14:47:50 +01:00
remove_test.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
services.go Expose all stack commands to be used by downstream projects. 2019-01-16 14:47:50 +01:00
services_test.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00