Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface { Name() string CreateVolume(id, baseID string, size int64) error DeleteVolume(id string) error GetVolumeDevice(id string) (string, error) ListVolume(id string) error CreateSnapshot(id, volumeID string) error DeleteSnapshot(id, volumeID string) error HasSnapshot(id, volumeID string) bool CompareSnapshot(id, compareID, volumeID string) (*metadata.Mappings, error) OpenSnapshot(id, volumeID string) error ReadSnapshot(id, volumeID string, start int64, data []byte) error CloseSnapshot(id, volumeID string) error Info() error }
Click to show internal directories.
Click to hide internal directories.