Documentation ¶
Index ¶
- Variables
- type Driver
- func (m *Driver) Cleanup() error
- func (m *Driver) Create(volumeName string) (volume.Volume, error)
- func (m *Driver) DriverType() volume.DriverType
- func (m *Driver) Exists(volumeName string) bool
- func (m *Driver) Get(volumeName string) (volume.Volume, error)
- func (m *Driver) GetTenant(volumeName string) (volume.Volume, error)
- func (m *Driver) List() []string
- func (m *Driver) Release(volumeName string) error
- func (m *Driver) Remove(volumeName string) error
- func (m *Driver) Resize(volumeName string, size uint64) error
- func (m *Driver) Root() string
- func (m *Driver) Status() (volume.Status, error)
- type Volume
- func (_m *Volume) Driver() volume.Driver
- func (_m *Volume) Export(label string, parent string, writer io.Writer, excludes []string) error
- func (_m *Volume) GetSnapshotWithTag(tagName string) (*volume.SnapshotInfo, error)
- func (_m *Volume) Import(label string, reader io.Reader) error
- func (_m *Volume) Name() string
- func (_m *Volume) Path() string
- func (_m *Volume) ReadMetadata(label string, name string) (io.ReadCloser, error)
- func (_m *Volume) RemoveSnapshot(label string) error
- func (_m *Volume) Rollback(label string) error
- func (_m *Volume) Snapshot(label string, message string, tags []string) error
- func (_m *Volume) SnapshotInfo(label string) (*volume.SnapshotInfo, error)
- func (_m *Volume) Snapshots() ([]string, error)
- func (_m *Volume) TagSnapshot(label string, tagName string) error
- func (_m *Volume) Tenant() string
- func (_m *Volume) UntagSnapshot(tagName string) (string, error)
- func (_m *Volume) WriteMetadata(label string, name string) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DriverName volume.DriverType = "mock"
Functions ¶
This section is empty.
Types ¶
type Driver ¶
func (*Driver) DriverType ¶
func (m *Driver) DriverType() volume.DriverType
type Volume ¶
func (*Volume) GetSnapshotWithTag ¶
func (_m *Volume) GetSnapshotWithTag(tagName string) (*volume.SnapshotInfo, error)
func (*Volume) ReadMetadata ¶
func (*Volume) RemoveSnapshot ¶
func (*Volume) SnapshotInfo ¶
func (_m *Volume) SnapshotInfo(label string) (*volume.SnapshotInfo, error)
func (*Volume) WriteMetadata ¶
Click to show internal directories.
Click to hide internal directories.