volume_driver

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Btrfs

type Btrfs struct {
	// contains filtered or unexported fields
}

func NewBtrfs

func NewBtrfs(btrfsBinPath, draxBinPath, storePath string) *Btrfs

func (*Btrfs) ApplyDiskLimit

func (d *Btrfs) ApplyDiskLimit(logger lager.Logger, path string, diskLimit int64, excludeImageFromQuota bool) error

func (*Btrfs) Create

func (d *Btrfs) Create(logger lager.Logger, parentID, id string) (string, error)

func (*Btrfs) Destroy

func (d *Btrfs) Destroy(logger lager.Logger, path string) error

func (*Btrfs) DestroyVolume

func (d *Btrfs) DestroyVolume(logger lager.Logger, id string) error

func (*Btrfs) FetchStats added in v0.5.0

func (d *Btrfs) FetchStats(logger lager.Logger, path string) (groot.VolumeStats, error)

func (*Btrfs) Path

func (d *Btrfs) Path(logger lager.Logger, id string) (string, error)

func (*Btrfs) Snapshot

func (d *Btrfs) Snapshot(logger lager.Logger, fromPath, toPath string) error

func (*Btrfs) Volumes added in v0.2.0

func (d *Btrfs) Volumes(logger lager.Logger) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL