overlayxfs

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: Apache-2.0 Imports: 20 Imported by: 3

Documentation

Index

Constants

View Source
const (
	UpperDir  = "diff"
	IDDir     = "projectids"
	WorkDir   = "workdir"
	RootfsDir = "rootfs"

	WhiteoutDevice = "whiteout_dev"
	LinksDirName   = "l"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

func NewDriver

func NewDriver(storePath, tardisBinPath string, externalLogSize int64) *Driver

func (*Driver) ConfigureStore added in v0.16.0

func (d *Driver) ConfigureStore(logger lager.Logger, path string, ownerUID, ownerGID int) error

func (*Driver) CreateImage

func (d *Driver) CreateImage(logger lager.Logger, spec image_cloner.ImageDriverSpec) (groot.MountInfo, error)

func (*Driver) CreateVolume

func (d *Driver) CreateVolume(logger lager.Logger, parentID string, id string) (string, error)

func (*Driver) DestroyImage

func (d *Driver) DestroyImage(logger lager.Logger, imagePath string) error

func (*Driver) DestroyVolume

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

func (*Driver) FetchStats

func (d *Driver) FetchStats(logger lager.Logger, imagePath string) (groot.VolumeStats, error)

func (*Driver) InitFilesystem added in v0.20.0

func (d *Driver) InitFilesystem(logger lager.Logger, filesystemPath, storePath string) error

func (*Driver) MoveVolume added in v0.16.0

func (d *Driver) MoveVolume(logger lager.Logger, from, to string) error

func (*Driver) ValidateFileSystem added in v0.16.0

func (d *Driver) ValidateFileSystem(logger lager.Logger, path string) error

func (*Driver) VolumePath

func (d *Driver) VolumePath(logger lager.Logger, id string) (string, error)

func (*Driver) Volumes

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

Directories

Path Synopsis
ids

Jump to

Keyboard shortcuts

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