Documentation
¶
Index ¶
- type VolumePlugin
- func (d *VolumePlugin) Capabilities() *volume.CapabilitiesResponse
- func (d *VolumePlugin) Create(req *volume.CreateRequest) error
- func (d *VolumePlugin) Destroy() error
- func (d *VolumePlugin) Get(req *volume.GetRequest) (*volume.GetResponse, error)
- func (d *VolumePlugin) List() (*volume.ListResponse, error)
- func (d *VolumePlugin) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
- func (d *VolumePlugin) Path(req *volume.PathRequest) (*volume.PathResponse, error)
- func (d *VolumePlugin) Remove(req *volume.RemoveRequest) error
- func (d *VolumePlugin) Unmount(req *volume.UnmountRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumePlugin ¶
VolumePlugin implements the Docker volume plugin interface and delegates operations to the underlying driver.
func NewVolumePlugin ¶
func NewVolumePlugin(ctx context.Context, logger *log.Logger, driver string, propagatedMount string, driverOptions string) (*VolumePlugin, error)
NewVolumePlugin creates a new VolumePlugin instance with the specified driver and options.
func (*VolumePlugin) Capabilities ¶
func (d *VolumePlugin) Capabilities() *volume.CapabilitiesResponse
func (*VolumePlugin) Create ¶
func (d *VolumePlugin) Create(req *volume.CreateRequest) error
func (*VolumePlugin) Destroy ¶
func (d *VolumePlugin) Destroy() error
func (*VolumePlugin) Get ¶
func (d *VolumePlugin) Get(req *volume.GetRequest) (*volume.GetResponse, error)
func (*VolumePlugin) List ¶
func (d *VolumePlugin) List() (*volume.ListResponse, error)
func (*VolumePlugin) Mount ¶
func (d *VolumePlugin) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
func (*VolumePlugin) Path ¶
func (d *VolumePlugin) Path(req *volume.PathRequest) (*volume.PathResponse, error)
func (*VolumePlugin) Remove ¶
func (d *VolumePlugin) Remove(req *volume.RemoveRequest) error
func (*VolumePlugin) Unmount ¶
func (d *VolumePlugin) Unmount(req *volume.UnmountRequest) error