DockerCLI/cli/command/stack/swarm
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
..
client_test.go cli/command/stack: fakeClient: remove name for unused arg (revive) 2023-03-30 17:22:08 +02:00
common.go stack/swarm: remove unneeded getStackServiceFilter() 2022-02-24 12:26:15 +01:00
deploy.go clean-up "resolve image" option logic 2020-07-06 14:55:08 +02:00
deploy_composefile.go cli/command: ResolveAuthConfig, GetDefaultAuthConfig: take ConfigFile as arg 2023-08-08 17:35:16 +02:00
deploy_composefile_test.go cli/command: don't use legacy "notfound" error-type in tests 2023-05-11 23:09:12 +02:00
deploy_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
list.go remove obsolete mutli-orchestrator support 2022-02-22 15:28:12 +01:00
ps.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
remove.go Refactor `stack` command/package 2018-06-26 14:07:26 +02:00
services.go Refactor the `stack services` command to be uniform 2019-10-29 15:58:10 +01:00