2016-06-07 03:45:21 -04:00
|
|
|
package plugin
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"github.com/docker/docker/plugin/v2"
|
|
|
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
|
|
|
)
|
|
|
|
|
2016-12-01 14:36:56 -05:00
|
|
|
func (pm *Manager) enable(p *v2.Plugin, c *controller, force bool) error {
|
2016-06-07 03:45:21 -04:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
|
|
|
func (pm *Manager) initSpec(p *v2.Plugin) (*specs.Spec, error) {
|
|
|
|
return nil, fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
2016-12-01 14:36:56 -05:00
|
|
|
func (pm *Manager) disable(p *v2.Plugin, c *controller) error {
|
2016-06-07 03:45:21 -04:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
|
|
|
func (pm *Manager) restore(p *v2.Plugin) error {
|
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
|
|
|
// Shutdown plugins
|
|
|
|
func (pm *Manager) Shutdown() {
|
|
|
|
}
|
2017-08-02 16:45:12 -04:00
|
|
|
|
|
|
|
func setupRoot(root string) error { return nil }
|