interface.go 253 B

12345678910
  1. package plugin
  2. import "github.com/docker/docker/pkg/plugins"
  3. // Plugin represents a plugin. It is used to abstract from an older plugin architecture (in pkg/plugins).
  4. type Plugin interface {
  5. Client() *plugins.Client
  6. Name() string
  7. IsLegacy() bool
  8. }