DockerCLI/cli/command/swarm
Daniel Nephin 81e9837859 Refactor caCommand
Split out a swarmCAOptions struct for options that are shared between
the ca and update commands.

Change the 'no trust root' message to an error.

Add some unit tests.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-29 17:57:06 -04:00
..
progress Provide command line tool to view and rotate swarm's currently CA root certificate. 2017-05-16 14:31:15 -07:00
testdata Output `docker swarm join` on a single line 2017-05-03 17:46:41 -07:00
ca.go Refactor caCommand 2017-06-29 17:57:06 -04:00
ca_test.go Refactor caCommand 2017-06-29 17:57:06 -04:00
client_test.go cli: gofmt + goimports 2017-05-08 10:51:30 -07:00
cmd.go Refactor caCommand 2017-06-29 17:57:06 -04:00
init.go Add unparam linter 2017-06-14 16:55:08 -07:00
init_test.go Update imports. 2017-04-17 18:07:56 -04:00
join.go Inroduce SWARM --data-path-addr flag 2017-05-03 18:45:48 -07:00
join_test.go Update imports. 2017-04-17 18:07:56 -04:00
join_token.go Output `docker swarm join` on a single line 2017-05-03 17:46:41 -07:00
join_token_test.go Update imports. 2017-04-17 18:07:56 -04:00
leave.go Update imports. 2017-04-17 18:07:56 -04:00
leave_test.go Update imports. 2017-04-17 18:07:56 -04:00
opts.go Refactor caCommand 2017-06-29 17:57:06 -04:00
opts_test.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
unlock.go Update imports. 2017-04-17 18:07:56 -04:00
unlock_key.go Add unparam linter 2017-06-14 16:55:08 -07:00
unlock_key_test.go Update imports. 2017-04-17 18:07:56 -04:00
unlock_test.go Add unused linter. 2017-06-14 16:54:27 -07:00
update.go Add unparam linter 2017-06-14 16:55:08 -07:00
update_test.go Update imports. 2017-04-17 18:07:56 -04:00