File tree Expand file tree Collapse file tree 3 files changed +0
-88
lines changed
Expand file tree Collapse file tree 3 files changed +0
-88
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff 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.
3222type 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//
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments