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/swarm
Yong Tang 0f30c64444 Allow swarm init with --availability=drain
This fix adds a new flag `--availability` to `swarm join`.

Related documentation has been updated.

An integration test has been added.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-10 16:31:51 -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
init.go Allow swarm init with --availability=drain 2017-01-10 16:31:51 -08:00
init_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
join.go Allow swarm join with --availability=drain 2017-01-10 16:31:51 -08:00
join_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
join_token.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
join_token_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
leave.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
leave_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
opts.go Allow swarm join with --availability=drain 2017-01-10 16:31:51 -08:00
opts_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
unlock.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
unlock_key.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
unlock_key_test.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
unlock_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