DockerCLI/cli
Anca Iordache 22a5dad847 app-214 Load Client info in getter function
Signed-off-by: Anca Iordache <anca.iordache@docker.com>

Possible approach for client info

- split ClientInfo() into ClientInfo() and loadClientInfo()
- split ConfigFile() into ConfigFile() and loadConfigFile()
- ConfigFile() and ClientInfo() call their corresponding loadXX function
  if it has not yet been loaded; this allows them to be used before
  Initialize() was called.
- Initialize() *always* (re-)loads the configuration; this makes sure
  that the correct configuration is used when actually calling commands.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-08 11:39:07 +01:00
..
command app-214 Load Client info in getter function 2019-11-08 11:39:07 +01:00
compose Add interpolation type cast for max_replicas_per_node 2019-11-05 08:31:36 +01:00
config cli: remove unnecessary newlines (whitespace) 2019-10-31 19:22:36 +01:00
connhelper commandconn: set SysProcAttr.Setsid 2019-03-06 13:22:54 +09:00
context cli: remove unnecessary newlines (whitespace) 2019-10-31 19:22:36 +01:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags Introduce docker context store 2019-01-04 17:06:51 +01:00
manifest cli/manifest: Using the variable on range scope `testcase` in function literal (scopelint) 2019-10-31 19:22:40 +01:00
registry/client cli: remove unnecessary newlines (whitespace) 2019-10-31 19:22:36 +01:00
streams Extract streams helpers from command package to their own package to remove a cyclic dependency from command to internal/containerizedengine 2019-01-28 14:36:00 +01:00
trust Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go cli-plugins: Reinstate deprecated `-h` short form of `--help`. 2019-03-28 17:18:20 +00:00
cobra_test.go Refactor plugins' vendor location on --help 2019-02-21 17:54:11 +01:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam) 2019-10-31 19:22:22 +01:00
required_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00