DockerCLI/cli-plugins/manager
Kir Kolyshkin 8eb1567b78 cli-plugins/manager: simplify generating errors
1. Ditch wrapAsPluginError as we can simply use NewPluginError now.

2. Add a TODO to remove pluginError.Cause method.

3. Stop referring to pkg/errors method (except for 2 above).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-10-09 17:23:13 -07:00
..
candidate.go remove uses of golang.org/x/sys/execabs 2023-05-26 02:03:45 +02:00
candidate_test.go linting: address else/if/elseif statements found by gocritic 2023-11-20 16:02:16 +01:00
cobra.go cli: improve output and consistency for unknown (sub)commands 2024-07-05 02:28:11 +02:00
error.go cli-plugins/manager: simplify generating errors 2024-10-09 17:23:13 -07:00
error_test.go cli-plugins/manager: simplify generating errors 2024-10-09 17:23:13 -07:00
hooks.go plugins/hooks: Don't show empty hooks 2024-05-20 11:20:39 +02:00
hooks_test.go plugins/hooks: Don't show empty hooks 2024-05-20 11:20:39 +02:00
manager.go cli-plugins/manager: add GoDoc for getPluginDirs, defaultSystemPluginDirs 2024-06-19 14:02:40 +02:00
manager_test.go cli-plugins/manager: getPluginDirs: take ConfigFile as argument 2024-01-11 18:15:30 +01:00
manager_unix.go cli-plugins/manager: add GoDoc for getPluginDirs, defaultSystemPluginDirs 2024-06-19 14:02:40 +02:00
manager_windows.go cli-plugins/manager: add GoDoc for getPluginDirs, defaultSystemPluginDirs 2024-06-19 14:02:40 +02:00
metadata.go cli-plugins: Introduce support for hooks 2024-03-22 17:30:18 +00:00
plugin.go cli-plugins/manager: simplify generating errors 2024-10-09 17:23:13 -07:00
suffix_unix.go remove pre-go1.17 build-tags 2023-05-05 18:23:03 +02:00
suffix_windows.go Switch from pkg/errors to %w part 2 2024-10-09 17:11:34 -07:00