6 "github.com/docker/docker/pkg/plugins"
7 "github.com/docker/docker/plugin/v2"
10 // Store manages the plugin inventory in memory and on-disk
13 plugins map[string]*v2.Plugin
14 /* handlers are necessary for transition path of legacy plugins
15 * to the new model. Legacy plugins use Handle() for registering an
16 * activation callback.*/
17 handlers map[string][]func(string, *plugins.Client)
20 // NewStore creates a Store.
21 func NewStore() *Store {
23 plugins: make(map[string]*v2.Plugin),
24 handlers: make(map[string][]func(string, *plugins.Client)),