DockerCLI/cli/command/plugin
Sebastiaan van Stijn 211220cbb0
cli/command: ResolveAuthConfig, GetDefaultAuthConfig: take ConfigFile as arg
Both these functions took the whole DockerCLI as argument, but only needed
the ConfigFile. ResolveAuthConfig also had an unused context.Context as
argument.

This patch updates both functions to accept a ConfigFile, and removes the
unused context.Context.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-08 17:35:16 +02:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
cmd.go Update gometalinter 2017-10-26 12:21:02 -04:00
create.go completion v2: some small follow-ups 2022-05-12 13:25:15 +02:00
create_test.go cli/command/plugin: remove deprecated io/ioutil 2022-02-25 15:42:07 +01:00
disable.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
disable_test.go cli/command/plugin: remove deprecated io/ioutil 2022-02-25 15:42:07 +01:00
enable.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
enable_test.go cli/command/plugin: remove deprecated io/ioutil 2022-02-25 15:42:07 +01:00
formatter.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
formatter_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
inspect.go Output compact JSON by default for --format=json 2022-03-15 15:42:35 +01:00
inspect_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
install.go cli/command: ResolveAuthConfig, GetDefaultAuthConfig: take ConfigFile as arg 2023-08-08 17:35:16 +02:00
install_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
list.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
list_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
push.go cli/command: ResolveAuthConfig, GetDefaultAuthConfig: take ConfigFile as arg 2023-08-08 17:35:16 +02:00
remove.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
remove_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
set.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
upgrade.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00