Versions in this module Expand all Collapse all v1 v1.13.1 Feb 8, 2017 Changes in this version + type ErrAmbiguous string + func (name ErrAmbiguous) Error() string + type ErrNotFound string + func (name ErrNotFound) Error() string + type Manager struct + func NewManager(config ManagerConfig) (*Manager, error) + func (pm *Manager) CreateFromContext(ctx context.Context, tarCtx io.ReadCloser, options *types.PluginCreateOptions) (err error) + func (pm *Manager) CreateFromContext(ctx context.Context, tarCtx io.ReadCloser, options *types.PluginCreateOptions) error + func (pm *Manager) Disable(name string, config *types.PluginDisableConfig) error + func (pm *Manager) Disable(refOrID string, config *types.PluginDisableConfig) error + func (pm *Manager) Enable(name string, config *types.PluginEnableConfig) error + func (pm *Manager) Enable(refOrID string, config *types.PluginEnableConfig) error + func (pm *Manager) GC() + func (pm *Manager) Inspect(refOrID string) (tp *types.Plugin, err error) + func (pm *Manager) List() ([]types.Plugin, error) + func (pm *Manager) Privileges(ctx context.Context, ref reference.Named, metaHeader http.Header, ...) (types.PluginPrivileges, error) + func (pm *Manager) Pull(ctx context.Context, ref reference.Named, name string, metaHeader http.Header, ...) (err error) + func (pm *Manager) Pull(ctx context.Context, ref reference.Named, name string, metaHeader http.Header, ...) error + func (pm *Manager) Push(ctx context.Context, name string, metaHeader http.Header, ...) error + func (pm *Manager) Remove(name string, config *types.PluginRmConfig) error + func (pm *Manager) Set(name string, args []string) error + func (pm *Manager) Shutdown() + func (pm *Manager) StateChanged(id string, e libcontainerd.StateInfo) error + func (pm *Manager) Upgrade(ctx context.Context, ref reference.Named, name string, metaHeader http.Header, ...) (err error) + func (pm *Manager) Upgrade(ctx context.Context, ref reference.Named, name string, metaHeader http.Header, ...) error + type ManagerConfig struct + ExecRoot string + Executor libcontainerd.Remote + LiveRestoreEnabled bool + LogPluginEvent eventLogger + RegistryService registry.Service + Root string + Store *Store + type Store struct + func NewStore(libRoot string) *Store + func (ps *Store) Add(p *v2.Plugin) error + func (ps *Store) CallHandler(p *v2.Plugin) + func (ps *Store) Get(name, capability string, mode int) (plugingetter.CompatPlugin, error) + func (ps *Store) GetAll() map[string]*v2.Plugin + func (ps *Store) GetAllByCap(capability string) ([]plugingetter.CompatPlugin, error) + func (ps *Store) GetAllManagedPluginsByCap(capability string) []plugingetter.CompatPlugin + func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) + func (ps *Store) Handle(capability string, callback func(string, *plugins.Client)) + func (ps *Store) Remove(p *v2.Plugin) + func (ps *Store) SetAll(plugins map[string]*v2.Plugin) + func (ps *Store) SetState(p *v2.Plugin, state bool) + type WriteCommitCloser interface + Commit func() (digest.Digest, error)