Skip to content

Commit 153bd95

Browse files
authored
Merge pull request #6414 from thaJeztah/plugin_rm_deprecated
cli-plugins/manager: remove deprecated types, functions and aliases
2 parents 6ec3266 + ce72a5c commit 153bd95

File tree

3 files changed

+0
-88
lines changed

3 files changed

+0
-88
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 & 17 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

@@ -37,13 +27,6 @@ func (e errPluginNotFound) Error() string {
3727
return "Error: No such CLI plugin: " + string(e)
3828
}
3929

40-
// IsNotFound is true if the given error is due to a plugin not being found.
41-
//
42-
// Deprecated: use [errdefs.IsNotFound].
43-
func IsNotFound(err error) bool {
44-
return errdefs.IsNotFound(err)
45-
}
46-
4730
// getPluginDirs returns the platform-specific locations to search for plugins
4831
// in order of preference.
4932
//

cli-plugins/manager/metadata.go

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

0 commit comments

Comments
 (0)