DockerCLI/cli/command/stack
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
..
formatter linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
loader stack: Change unexpected environment variable error 2023-03-09 16:56:34 +01:00
options Add stack config command 2022-04-08 14:56:01 +02:00
swarm cli/command: ResolveAuthConfig, GetDefaultAuthConfig: take ConfigFile as arg 2023-08-08 17:35:16 +02:00
testdata remove obsolete mutli-orchestrator support 2022-02-22 15:28:12 +01:00
client_test.go cli/command/stack: fakeClient: remove name for unused arg (revive) 2023-03-30 17:22:08 +02:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
common.go Drop support for (archived) Compose-on-Kubernetes 2022-02-22 13:47:34 +01:00
config.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
config_test.go cli/command/stack: TestConfigMergeInterpolation: various fixes 2022-11-17 13:17:51 +01:00
deploy.go cli/command/stack: remove deprecated RunDeploy, RunPS, RunRemove, GetServices 2023-05-09 22:32:21 +02:00
deploy_test.go cli/command/stack: remove deprecated io/ioutil 2022-02-25 15:42:10 +01:00
list.go cli/command/stack: deprecate now obsolete wrappers 2023-03-30 17:05:29 +02:00
list_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
ps.go cli/command/stack: remove deprecated RunDeploy, RunPS, RunRemove, GetServices 2023-05-09 22:32:21 +02:00
ps_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
remove.go cli/command/stack: remove deprecated RunDeploy, RunPS, RunRemove, GetServices 2023-05-09 22:32:21 +02:00
remove_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
services.go cli/command/stack: remove deprecated RunDeploy, RunPS, RunRemove, GetServices 2023-05-09 22:32:21 +02:00
services_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00