DockerCLI/cli/command/trust
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
cmd.go Merge pull request #935 from n4ss/trust-out-of-experimental2 2018-03-13 16:59:50 -07:00
common.go cli/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01:00
common_test.go format code with gofumpt 2022-09-30 11:59:11 +02: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
helpers.go format code with gofumpt 2022-09-30 11:59:11 +02:00
helpers_test.go cli/command/trust: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:42:12 +01:00
inspect.go [WIP] fix trust inspect typo 'AdminstrativeKeys' 2018-08-19 17:57:04 -07:00
inspect_pretty.go Replace vbom.ml/util with fvbommel/sortorder 2020-08-28 15:35:42 +02:00
inspect_pretty_test.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
inspect_test.go linting: ST1005: error strings should not be capitalized (stylecheck) 2022-09-03 21:25:42 +02:00
key.go Move Docker Trust out of experimental 2018-03-09 13:29:14 -08:00
key_generate.go cli/command/trust: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:42:12 +01:00
key_generate_test.go cli/command/trust: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:42:12 +01:00
key_load.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00
key_load_test.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00
revoke.go cli/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01:00
revoke_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
sign.go cli/command: ResolveAuthConfig, GetDefaultAuthConfig: take ConfigFile as arg 2023-08-08 17:35:16 +02:00
sign_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
signer.go Move Docker Trust out of experimental 2018-03-09 13:29:14 -08:00
signer_add.go cli/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01:00
signer_add_test.go linting: ST1005: error strings should not be capitalized (stylecheck) 2022-09-03 21:25:42 +02:00
signer_remove.go cli/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01:00
signer_remove_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00