7365ba4700
Merge pull request #28611 from vieux/fix_golint
...
fix a few golint errors
Upstream-commit: 4d1209844f
Component: cli
2016-11-19 07:16:44 -05:00
08da0db0bf
fix a few golint errors
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com >
Upstream-commit: 40acabdfe9
Component: cli
2016-11-18 18:32:02 -08:00
c0c99dbe13
error on cli when trying to use experimental feature with non experimental daemon
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com >
Upstream-commit: 1ab47a8be8
Component: cli
2016-11-17 14:52:01 -08:00
3164628a33
refactor help func in CLI
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com >
Upstream-commit: 05ddb16e59
Component: cli
2016-11-17 10:54:10 -08:00
cfe7cb61c6
Skip cli initialization for daemon command
...
Cli initialization pings back to remote API and
creates a deadlock if socket is already being
listened by systemd.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: 28f8f92963
Component: cli
2016-11-16 13:19:45 -08:00
c6c57b1d27
Show experimental flags and subcommands if enabled
...
Signed-off-by: John Stephens <johnstep@docker.com >
Upstream-commit: 13d6a1bb67
Component: cli
2016-11-11 17:43:06 -08:00
cc37942a6e
Use '.' directly
...
Signed-off-by: Wang Long <long.wanglong@huawei.com >
Upstream-commit: 076bfc0647
Component: cli
2016-11-11 10:22:32 +08:00
b322424e88
always add but hide experimental cmds and flags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
update cobra and use Tags
Signed-off-by: Victor Vieux <vieux@docker.com >
allow client to talk to an older server
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: e1beebbeef
Component: cli
2016-11-08 04:55:27 -08:00
35da390f93
Align arg with other cli
...
Signed-off-by: yupeng <yu.peng36@zte.com.cn >
Upstream-commit: 46418414a2
Component: cli
2016-11-05 13:47:02 +08:00
18b0c2adc0
update cobra and use Tags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 2ee5bbcbfa
Component: cli
2016-11-04 12:04:14 -07:00
0fef0ef25c
always add but hide experimental cmds and flags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 73d63ec5a6
Component: cli
2016-11-03 17:31:12 -07:00
a70e23cbcd
Align with other cli descriptions
...
Signed-off-by: yupeng <yu.peng36@zte.com.cn >
Upstream-commit: f1b1e55f7a
Component: cli
2016-11-01 13:41:49 +08:00
2ff5e5a0f8
Make experimental a runtime flag
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
Upstream-commit: 773a7f6cb8
Component: cli
2016-10-24 15:20:01 -07:00
b77b8228bf
Modify function name from SetDaemonLogLevel to SetLogLevel
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
Upstream-commit: a0e694d7c0
Component: cli
2016-10-11 19:35:12 +08:00
a5bf28b72a
Move api/client -> cli/command
...
Using
gomvpkg
-from github.com/docker/docker/api/client
-to github.com/docker/docker/cli/command
-vcs_mv_cmd 'git mv {{.Src}} {{.Dst}}'
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: b2c77abc35
Component: cli
2016-09-08 15:46:29 -04:00
e110c778f4
Fix tests and windows service.
...
Support args to RunCommand
Fix docker help text test.
Fix for ipv6 tests.
Fix TLSverify option.
Fix TestDaemonDiscoveryBackendConfigReload
Use tempfile for another test.
Restore missing flag.
Fix tests for removal of shlex.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 9af25060cd
Component: cli
2016-08-25 13:09:36 -04:00
e062c54a99
Remove old cli framework.
...
Also consolidate the leftover packages under cli.
Remove pkg/mflag.
Make manpage generation work with new cobra layout.
Remove remaining mflag and fix tests after rebase with master.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 3b178887a7
Component: cli
2016-08-25 13:09:04 -04:00
7e9f26ef70
Update unit tests for new cobra root command.
...
Cleanup cobra integration
Update windows files for cobra and pflags
Cleanup SetupRootcmd, and remove unnecessary SetFlagErrorFunc.
Use cobra command traversal
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 58a14cd18c
Component: cli
2016-08-25 13:09:04 -04:00
c526dbb69a
Convert docker root command to use pflag and cobra
...
Fix the daemon proxy for cobra commands.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 08784d7e0e
Component: cli
2016-08-25 13:09:03 -04:00
88b6751cda
Convert dockerd to use cobra and pflag
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 23dd85befd
Component: cli
2016-08-25 13:09:03 -04:00
50bfe19924
Convert 'docker create' to use cobra and pflag
...
Return the correct status code on flag parsins errors.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: aee3578520
Component: cli
2016-06-04 13:57:30 +02:00
64201068c6
Migrate volume commands to cobra.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: ad83c422f2
Component: cli
2016-05-31 14:41:37 -07:00
9d807c4424
Consolidate the files in client/
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: ec6cc96fa1
Component: cli
2016-04-27 14:53:36 -04:00
977a19e21d
Make dockerd debuggable
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: c6919a6e79
Component: cli
2016-04-26 09:35:22 -07:00