Documentation ¶
Index ¶
- func NewVolmanPluginWithDockerDriver(driver dockerdriver.Driver, pluginSpec volman.PluginSpec) volman.Plugin
- type DockerDriverPlugin
- func (d *DockerDriverPlugin) GetPluginSpec() volman.PluginSpec
- func (d *DockerDriverPlugin) ListVolumes(logger lager.Logger) ([]string, error)
- func (dw *DockerDriverPlugin) Matches(logger lager.Logger, pluginSpec volman.PluginSpec) bool
- func (d *DockerDriverPlugin) Mount(logger lager.Logger, volumeId string, opts map[string]interface{}) (volman.MountResponse, error)
- func (d *DockerDriverPlugin) Unmount(logger lager.Logger, volumeId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVolmanPluginWithDockerDriver ¶
func NewVolmanPluginWithDockerDriver(driver dockerdriver.Driver, pluginSpec volman.PluginSpec) volman.Plugin
Types ¶
type DockerDriverPlugin ¶
type DockerDriverPlugin struct { DockerDriver interface{} PluginSpec volman.PluginSpec }
func (*DockerDriverPlugin) GetPluginSpec ¶
func (d *DockerDriverPlugin) GetPluginSpec() volman.PluginSpec
func (*DockerDriverPlugin) ListVolumes ¶
func (d *DockerDriverPlugin) ListVolumes(logger lager.Logger) ([]string, error)
func (*DockerDriverPlugin) Matches ¶
func (dw *DockerDriverPlugin) Matches(logger lager.Logger, pluginSpec volman.PluginSpec) bool
func (*DockerDriverPlugin) Mount ¶
func (d *DockerDriverPlugin) Mount(logger lager.Logger, volumeId string, opts map[string]interface{}) (volman.MountResponse, error)
func (*DockerDriverPlugin) Unmount ¶
func (d *DockerDriverPlugin) Unmount(logger lager.Logger, volumeId string) error
Click to show internal directories.
Click to hide internal directories.