DockerCLI/cli/command/stack
Vincent Demeester 69fdd2a4ad
formatter package heavy refactoring
- make it possible to extract the formatter implementation from the
  "common" code, that way, the formatter package stays small
- extract some formatter into their own packages

This is essentially moving the "formatter" implementation of each type
in their respective packages. The *main* reason to do that, is to be
able to depend on `cli/command/formatter` without depending of the
implementation detail of the formatter. As of now, depending on
`cli/command/formatter` means we depend on `docker/docker/api/types`,
`docker/licensing`, … — that should not be the case. `formatter`
should hold the common code (or helpers) to easily create formatter,
not all formatter implementations.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-10-23 17:05:44 +02:00
..
formatter formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
kubernetes formatter package heavy refactoring 2018-10-23 17:05:44 +02: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 Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cmd.go Fix help message flags on docker stack commands and sub-commands 2018-08-01 01:48:27 +02:00
common.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
deploy.go Merge pull request #1222 from thaJeztah/its_not_standard_but_its_in 2018-07-30 16:23:29 +02:00
deploy_test.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
list.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
list_test.go refactor stack list command unit tests to table-driven 2018-09-19 22:13:03 -04:00
ps.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
ps_test.go refactor stack ps tests to table-driven 2018-08-10 15:13:45 -04:00
remove.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
remove_test.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
services.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
services_test.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00