Skip to content

Commit ce72a5c

Browse files
committed
cli-plugins/manager: remove deprecated metadata aliases
These consts and types were moved to a separate metadata package in commits 292713c and 4321293, and deprecated in 72f76f2, 5876b29, and 6fa7d18. This removes the deprecated aliases in `cli-plugins/manager` in favor of their equivalent in `cli-plugins/manager/metadata`: - `CommandAnnotationPlugin` - `CommandAnnotationPluginVendor` - `CommandAnnotationPluginVersion` - `CommandAnnotationPluginInvalid` - `CommandAnnotationPluginCommandPath` - `NamePrefix` - `MetadataSubcommandName` - `HookSubcommandName` - `Metadata` - `ReexecEnvvar` Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent d54c7f9 commit ce72a5c

File tree

3 files changed

+0
-81
lines changed

3 files changed

+0
-81
lines changed

cli-plugins/manager/annotations.go

Lines changed: 0 additions & 40 deletions
This file was deleted.

cli-plugins/manager/manager.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ import (
1818
"golang.org/x/sync/errgroup"
1919
)
2020

21-
const (
22-
// ReexecEnvvar is the name of an ennvar which is set to the command
23-
// used to originally invoke the docker CLI when executing a
24-
// plugin. Assuming $PATH and $CWD remain unchanged this should allow
25-
// the plugin to re-execute the original CLI.
26-
//
27-
// Deprecated: use [metadata.ReexecEnvvar]. This alias will be removed in the next release.
28-
ReexecEnvvar = metadata.ReexecEnvvar
29-
)
30-
3121
// errPluginNotFound is the error returned when a plugin could not be found.
3222
type errPluginNotFound string
3323

cli-plugins/manager/metadata.go

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)