package plugin

import "github.com/docker/docker/plugin"

Index

Types

type Plugin

type Plugin interface {
	Client() *plugins.Client
	Name() string
	IsLegacy() bool
}

Plugin represents a plugin. It is used to abstract from an older plugin architecture (in pkg/plugins).

func FindWithCapability

func FindWithCapability(capability string) ([]Plugin, error)

FindWithCapability returns a list of plugins matching the given capability.

func LookupWithCapability

func LookupWithCapability(name, capability string) (Plugin, error)

LookupWithCapability returns a plugin matching the given name and capability.

Source Files

interface.go legacy.go

Version
v1.12.6
Published
Jan 10, 2017
Platform
js/wasm
Imports
1 packages
Last checked
1 minute ago

Tools for package owners.