Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

func New

func New(driver internalDriver, idMappings groot.IDMappings, idMapper unpacker.IDMapper, runner commandrunner.CommandRunner) *Driver

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, path 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, path string) (groot.VolumeStats, error)

func (*Driver) HandleOpaqueWhiteouts

func (d *Driver) HandleOpaqueWhiteouts(logger lager.Logger, id string, opaqueWhiteouts []string) error

func (*Driver) MoveVolume

func (d *Driver) MoveVolume(logger lager.Logger, from, to 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)

func (*Driver) WriteVolumeMeta

func (d *Driver) WriteVolumeMeta(logger lager.Logger, id string, data base_image_puller.VolumeMeta) error

Source Files

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.