DockerCLI/cli/command/plugin
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
client_test.go Fix tests with missing mocks 2018-11-08 11:37:49 +01: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/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01: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/trust: remove special handling for "plugin" Class 2023-03-23 13:44:48 +01: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