Documentation
¶
Index ¶
Constants ¶
View Source
const DataDirName = "_data"
DataDirName is "_data"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VolumeStore ¶ added in v0.7.3
type VolumeStore interface {
Dir() string
Create(name string, labels []string) (*native.Volume, error)
// Get may return ErrNotFound
Get(name string) (*native.Volume, error)
// GetWithSize returns a volume with size. May return ErrNotFound. Slow when volume has a lot of files.
GetWithSize(name string) (*native.Volume, error)
List() (map[string]native.Volume, error)
Remove(names []string) (removedNames []string, err error)
}
Click to show internal directories.
Click to hide internal directories.