Versions in this module Expand all Collapse all v1 v1.13.1 Feb 8, 2017 Changes in this version + func IsInUse(err error) bool + func IsNameConflict(err error) bool + func IsNotExist(err error) bool + type OpErr struct + Err error + Name string + Op string + Refs []string + func (e *OpErr) Error() string + type VolumeStore struct + func New(rootPath string) (*VolumeStore, error) + func (s *VolumeStore) Create(name, driverName string, opts, labels map[string]string) (volume.Volume, error) + func (s *VolumeStore) CreateWithRef(name, driverName, ref string, opts, labels map[string]string) (volume.Volume, error) + func (s *VolumeStore) Dereference(v volume.Volume, ref string) + func (s *VolumeStore) FilterByDriver(name string) ([]volume.Volume, error) + func (s *VolumeStore) FilterByUsed(vols []volume.Volume, used bool) []volume.Volume + func (s *VolumeStore) Get(name string) (volume.Volume, error) + func (s *VolumeStore) GetWithRef(name, driverName, ref string) (volume.Volume, error) + func (s *VolumeStore) List() ([]volume.Volume, []string, error) + func (s *VolumeStore) Purge(name string) + func (s *VolumeStore) Refs(v volume.Volume) []string + func (s *VolumeStore) Remove(v volume.Volume) error + func (s *VolumeStore) Shutdown() error