DockerCLI/command/node
Yong Tang 53bdc98713 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
..
testdata Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
client_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
demote.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
demote_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
inspect.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
inspect_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
list.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
list_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
opts.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
promote.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
promote_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
ps.go Add `--format` to `docker service ps` 2017-02-10 16:53:04 -08:00
ps_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
remove.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
remove_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
update.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
update_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00