2018-02-05 16:05:59 -05:00
|
|
|
package plugin // import "github.com/docker/docker/plugin"
|
2016-05-16 11:50:55 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2016-08-26 13:02:38 -04:00
|
|
|
"github.com/docker/docker/plugin/v2"
|
2016-10-06 10:09:54 -04:00
|
|
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
2016-05-16 11:50:55 -04:00
|
|
|
)
|
|
|
|
|
2016-12-01 14:36:56 -05:00
|
|
|
func (pm *Manager) enable(p *v2.Plugin, c *controller, force bool) error {
|
2016-05-16 11:50:55 -04:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
|
|
|
|
2016-08-26 13:02:38 -04:00
|
|
|
func (pm *Manager) initSpec(p *v2.Plugin) (*specs.Spec, error) {
|
2016-05-16 11:50:55 -04:00
|
|
|
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-05-16 11:50:55 -04:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
2016-06-15 13:39:33 -04:00
|
|
|
|
2016-08-26 13:02:38 -04:00
|
|
|
func (pm *Manager) restore(p *v2.Plugin) error {
|
2016-06-15 13:39:33 -04:00
|
|
|
return fmt.Errorf("Not implemented")
|
|
|
|
}
|
2016-07-01 14:36:11 -04:00
|
|
|
|
|
|
|
// Shutdown plugins
|
|
|
|
func (pm *Manager) Shutdown() {
|
|
|
|
}
|