cli/cli-plugins/manager
Sebastiaan van Stijn 98b82d5156
cli-plugins/manager: deprecate annotation metadata aliases
These aliases were added in 292713c887
(part of v28.0), but did not deprecate them. They are no longer used
in the CLI itself, but may be used by cli-plugin implementations.

This deprecates the aliases in `cli-plugins/manager` in favor of
their equivalent in `cli-plugins/manager/metadata`:

- `CommandAnnotationPlugin`
- `CommandAnnotationPluginVendor`
- `CommandAnnotationPluginVersion`
- `CommandAnnotationPluginInvalid`
- `CommandAnnotationPluginCommandPath`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 72f76f2720)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-08-18 21:54:05 +02:00
..
annotations.go cli-plugins/manager: deprecate annotation metadata aliases 2025-08-18 21:54:05 +02:00
candidate.go cli-plugins/manager: un-export "Candidate" interface 2025-08-17 19:44:49 +02:00
candidate_test.go use consistent alias for gotest.tools/v3/assert/cmp 2025-05-16 12:36:14 +02:00
cobra.go move cli-plugins annotation consts to a separate package 2025-03-07 12:46:11 +01:00
cobra_test.go cli-plugins: merge OTEL_RESOURCE_ATTRIBUTES environment variable 2025-02-18 12:06:46 -06:00
error.go cli-plugins/manager: wrapAsPluginError: don't special-case nil 2025-08-17 19:44:53 +02:00
error_test.go cli-plugins/manager: wrapAsPluginError: don't special-case nil 2025-08-17 19:44:53 +02:00
hooks.go cli-plugins/manager: getPluginDirs: remove redundant error-return 2025-03-18 12:10:38 +01:00
hooks_test.go plugins/hooks: Don't show empty hooks 2024-05-20 11:20:39 +02:00
manager.go cli-plugins/manager: remove deprecated ResourceAttributesEnvvar 2025-08-17 19:44:54 +02:00
manager_test.go cli-plugins/manager: deprecate "IsNotFound" 2025-08-17 19:44:53 +02: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/manager: deprecate metadata aliases 2025-08-17 19:44:53 +02:00
plugin.go cli-plugins/manager: un-export "NewPluginError" 2025-08-17 19:44:53 +02:00
plugin_test.go cli-plugins/manager: un-export "NewPluginError" 2025-08-17 19:44:53 +02:00
suffix_unix.go remove pre-go1.17 build-tags 2023-05-05 18:23:03 +02:00
suffix_windows.go cli-plugins/manager: use stdlib errors, and minor cleanup 2025-03-07 19:14:32 +01:00
telemetry.go move cli-plugins annotation consts to a separate package 2025-03-07 12:46:11 +01:00