moby/cli
Yong Tang a8e7e37aa8 Allow swarm join with --availability=drain
This fix tries to address the issue raised in 24596 where it was not
possible to join as manager only (`--availability=drain`).

This fix adds a new flag `--availability` to `swarm join`.

Related documentation has been updated.

An integration test has been added.

NOTE: Additional pull request for swarmkit and engine-api will
be created separately.

This fix fixes 24596.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-10 16:31:51 -08:00
..
command Allow swarm join with --availability=drain 2017-01-10 16:31:51 -08:00
compose Few stack deploy network fixes 2017-01-10 10:29:09 +01:00
config Move package cliconfig to cli/config 2016-12-25 20:31:52 +01:00
debug Move debug functions to cli/debug package 2016-12-12 09:33:58 +01:00
flags Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
internal/test Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
trust Merge pull request #29313 from vdemeester/move-cli-config 2016-12-28 09:05:51 -08:00
cobra.go exit with status 1 if help is called on an invalid command. 2016-11-23 15:13:58 -05:00
error.go Remove old cli framework. 2016-08-25 13:09:04 -04:00
required.go fix typos 2016-07-05 20:42:17 +08:00