2018-02-05 21:05:59 +00:00
|
|
|
package plugin // import "github.com/docker/docker/plugin"
|
2016-05-16 15:50:55 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2019-08-05 14:37:47 +00:00
|
|
|
v2 "github.com/docker/docker/plugin/v2"
|
2016-10-06 14:09:54 +00:00
|
|
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
2016-05-16 15:50:55 +00:00
|
|
|
)
|
|
|
|
|
2016-12-01 19:36:56 +00:00
|
|
|
func (pm *Manager) enable(p *v2.Plugin, c *controller, force bool) error {
|
2016-05-16 15:50:55 +00:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
2016-08-26 17:02:38 +00:00
|
|
|
func (pm *Manager) initSpec(p *v2.Plugin) (*specs.Spec, error) {
|
2016-05-16 15:50:55 +00:00
|
|
|
return nil, fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
2016-12-01 19:36:56 +00:00
|
|
|
func (pm *Manager) disable(p *v2.Plugin, c *controller) error {
|
2016-05-16 15:50:55 +00:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
2016-06-15 17:39:33 +00:00
|
|
|
|
2018-04-20 14:48:54 +00:00
|
|
|
func (pm *Manager) restore(p *v2.Plugin, c *controller) error {
|
2016-06-15 17:39:33 +00:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
2016-07-01 18:36:11 +00:00
|
|
|
|
|
|
|
// Shutdown plugins
|
|
|
|
func (pm *Manager) Shutdown() {
|
|
|
|
}
|
2020-09-19 16:45:41 +00:00
|
|
|
|
|
|
|
func recursiveUnmount(_ string) error {
|
|
|
|
return nil
|
|
|
|
}
|