Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 9279a93f6d43da4c904eeb0adb249fdfa34f7f92 Component: engine
11 lines
230 B
Go
11 lines
230 B
Go
package store
|
|
|
|
import "github.com/docker/docker/pkg/plugins"
|
|
|
|
// CompatPlugin is an abstraction to handle both new and legacy (v1) plugins.
|
|
type CompatPlugin interface {
|
|
Client() *plugins.Client
|
|
Name() string
|
|
IsLegacy() bool
|
|
}
|