driver

package
v0.0.0-...-ef2e20d Latest Latest
Warning

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

Go to latest
Published: May 30, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BtrFSDriver

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

func NewBtrFSDriver

func NewBtrFSDriver(
	logger lager.Logger,
	btrfsBin string,
) *BtrFSDriver

func (*BtrFSDriver) CreateCopyOnWriteLayer

func (driver *BtrFSDriver) CreateCopyOnWriteLayer(path string, parent string) error

func (*BtrFSDriver) CreateVolume

func (driver *BtrFSDriver) CreateVolume(path string) error

func (*BtrFSDriver) DestroyVolume

func (driver *BtrFSDriver) DestroyVolume(path string) error

func (*BtrFSDriver) GetVolumeSizeInBytes

func (driver *BtrFSDriver) GetVolumeSizeInBytes(path string) (int64, error)

type NaiveDriver

type NaiveDriver struct{}

func (*NaiveDriver) CreateCopyOnWriteLayer

func (driver *NaiveDriver) CreateCopyOnWriteLayer(path string, parent string) error

func (*NaiveDriver) CreateVolume

func (driver *NaiveDriver) CreateVolume(path string) error

func (*NaiveDriver) DestroyVolume

func (driver *NaiveDriver) DestroyVolume(path string) error

func (*NaiveDriver) GetVolumeSizeInBytes

func (driver *NaiveDriver) GetVolumeSizeInBytes(path string) (int64, error)

type OverlayDriver

type OverlayDriver struct {
	OverlaysDir string
}

func (*OverlayDriver) CreateCopyOnWriteLayer

func (driver *OverlayDriver) CreateCopyOnWriteLayer(path string, parent string) error

func (*OverlayDriver) CreateVolume

func (driver *OverlayDriver) CreateVolume(path string) error

func (*OverlayDriver) DestroyVolume

func (driver *OverlayDriver) DestroyVolume(path string) error

func (*OverlayDriver) GetVolumeSizeInBytes

func (driver *OverlayDriver) GetVolumeSizeInBytes(path string) (int64, error)

Jump to

Keyboard shortcuts

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