Add support for kubernetes in docker cli
- Add support for kubernetes for docker stack command - Update to go 1.9 - Add kubernetes to vendors - Print orchestrator in docker version command Signed-off-by: Vincent Demeester <vincent@sbr.pm> Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
committed by
Silvin Lubecki
parent
70db7cc0fc
commit
8417e49792
4
cli/command/stack/swarm/testdata/stack-list-sort-natural.golden
vendored
Normal file
4
cli/command/stack/swarm/testdata/stack-list-sort-natural.golden
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
NAME SERVICES
|
||||
service-name-1-foo 1
|
||||
service-name-2-foo 1
|
||||
service-name-10-foo 1
|
||||
3
cli/command/stack/swarm/testdata/stack-list-sort.golden
vendored
Normal file
3
cli/command/stack/swarm/testdata/stack-list-sort.golden
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
NAME SERVICES
|
||||
service-name-bar 1
|
||||
service-name-foo 1
|
||||
1
cli/command/stack/swarm/testdata/stack-list-with-format.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-list-with-format.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
service-name-foo
|
||||
2
cli/command/stack/swarm/testdata/stack-list-without-format.golden
vendored
Normal file
2
cli/command/stack/swarm/testdata/stack-list-without-format.golden
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
NAME SERVICES
|
||||
service-name-foo 1
|
||||
1
cli/command/stack/swarm/testdata/stack-ps-with-config-format.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-ps-with-config-format.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
service-id-foo.1
|
||||
1
cli/command/stack/swarm/testdata/stack-ps-with-format.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-ps-with-format.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
service-id-foo.1
|
||||
1
cli/command/stack/swarm/testdata/stack-ps-with-no-resolve-option.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-ps-with-no-resolve-option.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
id-node-foo
|
||||
1
cli/command/stack/swarm/testdata/stack-ps-with-no-trunc-option.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-ps-with-no-trunc-option.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
xn4cypcov06f2w8gsbaf2lst3
|
||||
1
cli/command/stack/swarm/testdata/stack-ps-with-quiet-option.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-ps-with-quiet-option.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
id-foo
|
||||
2
cli/command/stack/swarm/testdata/stack-ps-without-format.golden
vendored
Normal file
2
cli/command/stack/swarm/testdata/stack-ps-without-format.golden
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
|
||||
id-foo service-id-foo.1 myimage:mytag node-name-bar Ready Failed 2 hours ago
|
||||
1
cli/command/stack/swarm/testdata/stack-services-with-config-format.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-services-with-config-format.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
service-name-foo
|
||||
1
cli/command/stack/swarm/testdata/stack-services-with-format.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-services-with-format.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
service-name-foo
|
||||
1
cli/command/stack/swarm/testdata/stack-services-with-quiet-option.golden
vendored
Normal file
1
cli/command/stack/swarm/testdata/stack-services-with-quiet-option.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
id-foo
|
||||
2
cli/command/stack/swarm/testdata/stack-services-without-format.golden
vendored
Normal file
2
cli/command/stack/swarm/testdata/stack-services-without-format.golden
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
ID NAME MODE REPLICAS IMAGE PORTS
|
||||
id-foo name-foo replicated 0/2 busybox:latest *:30000->3232/tcp
|
||||
Reference in New Issue
Block a user