Versions in this module Expand all Collapse all v4 v4.1.2 Jun 10, 2022 v4.1.1 Jun 10, 2022 Changes in this version + var ErrNotPlugin = errors.New("target does not appear to be a valid plugin") + var ErrNotVolumePlugin = errors.New("plugin is not a volume plugin") + var ErrPluginRemoved = errors.New("plugin is no longer available (shut down?)") + type VolumePlugin struct + Client *http.Client + Name string + SocketPath string + func GetVolumePlugin(name string, path string) (*VolumePlugin, error) + func (p *VolumePlugin) CreateVolume(req *volume.CreateRequest) error + func (p *VolumePlugin) GetVolume(req *volume.GetRequest) (*volume.Volume, error) + func (p *VolumePlugin) GetVolumePath(req *volume.PathRequest) (string, error) + func (p *VolumePlugin) ListVolumes() ([]*volume.Volume, error) + func (p *VolumePlugin) MountVolume(req *volume.MountRequest) (string, error) + func (p *VolumePlugin) RemoveVolume(req *volume.RemoveRequest) error + func (p *VolumePlugin) UnmountVolume(req *volume.UnmountRequest) error