DockerCLI/cli/command/trust
Sebastiaan van Stijn 0ba820ed0b
cli/trust: remove special handling for "plugin" Class
This code depended on the registry Service interface, which has been removed,
so needed to be refactored. Digging further into the reason this code existed,
it looked like the Class=plugin was previously required on Docker Hub to handle
plugins, but this requirement is no longer there, so we can remove this special
handling.

This patch removes the special handling to both remove the use of the registry.Service
interface, as well as removing complexity that is no longer needed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-03-23 13:44:48 +01: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 linting: ST1005: error strings should not be capitalized (stylecheck) 2022-09-03 21:25:42 +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/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01: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