mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

This ensures that:
- The in-memory plugin store is populated with all the plugins
- Plugins which were active before daemon restart are active after.
This utilizes the liverestore feature when available, otherwise it
manually starts the plugin.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit dfd9187305
)
25 lines
479 B
Go
25 lines
479 B
Go
// +build windows,experimental
|
|
|
|
package plugin
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/opencontainers/specs/specs-go"
|
|
)
|
|
|
|
func (pm *Manager) enable(p *plugin) error {
|
|
return fmt.Errorf("Not implemented")
|
|
}
|
|
|
|
func (pm *Manager) initSpec(p *plugin) (*specs.Spec, error) {
|
|
return nil, fmt.Errorf("Not implemented")
|
|
}
|
|
|
|
func (pm *Manager) disable(p *plugin) error {
|
|
return fmt.Errorf("Not implemented")
|
|
}
|
|
|
|
func (pm *Manager) restore(p *plugin) error {
|
|
return fmt.Errorf("Not implemented")
|
|
}
|