DockerCLI/cli/command/stack/swarm
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
..
testdata Refactor stack command 2017-12-26 11:45:56 +01:00
client_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
common.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
deploy.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
deploy_bundlefile.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
deploy_bundlefile_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
deploy_composefile.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
deploy_composefile_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
deploy_test.go gofmt with go-1.11 2018-10-11 01:54:38 -07:00
list.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
ps.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
remove.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
services.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00