1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/formatter
Yong Tang f8c7c921d9 Add --format to docker service ps
This fix tries to address the issue raised in 27189 where
it is not possible to support configured formatting stored in
config.json.

Since `--format` was not supported in `docker service ps`,
the flag `--format` has also been added in this fix.

This fix
1. Add `--format` to `docker service ps`
2. Add `tasksFormat` to config.json
3. Add `--format` to `docker stack ps`
4. Add `--format` to `docker node ps`

The related docs has been updated.

An integration test has been added.

This fix fixes 27189.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-02-10 16:53:04 -08:00
..
container.go Add Networks placeholder to ps --format 2016-10-20 07:41:56 -07:00
container_test.go Bump go-units 2017-02-07 21:58:56 +01:00
custom.go Refactor formatter. 2016-09-13 17:58:12 -04:00
custom_test.go
disk_usage.go Use distribution reference 2017-02-07 11:08:37 -08:00
formatter.go Move templates to pkg/templates 2016-12-12 09:34:03 +01:00
image.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_test.go Bump go-units 2017-02-07 21:58:56 +01:00
network.go Add .CreatedAt placeholder for docker network ls --format 2017-01-04 15:18:44 -08:00
network_test.go Add .CreatedAt placeholder for docker network ls --format 2017-01-04 15:18:44 -08:00
plugin.go Add docker plugin upgrade 2017-02-03 16:21:12 -05:00
plugin_test.go Add docker plugin upgrade 2017-02-03 16:21:12 -05:00
reflect.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
reflect_test.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
service.go Use distribution reference 2017-02-07 11:08:37 -08:00
service_test.go Add --format to docker service ls 2017-02-01 08:33:19 -08:00
stats.go Merge pull request #30776 from WeiZhang555/stats-all-format-name-panic-cli 2017-02-08 11:40:06 -08:00
stats_test.go Merge pull request #30776 from WeiZhang555/stats-all-format-name-panic-cli 2017-02-08 11:40:06 -08:00
task.go Add --format to docker service ps 2017-02-10 16:53:04 -08:00
task_test.go Add --format to docker service ps 2017-02-10 16:53:04 -08:00
volume.go Merge pull request #26519 from AkihiroSuda/fix-cli-command-formatter-json-support 2016-10-17 22:44:04 +01:00
volume_test.go Merge pull request #26519 from AkihiroSuda/fix-cli-command-formatter-json-support 2016-10-17 22:44:04 +01:00