namespaced

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 17 Imported by: 1

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

Directories

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

Jump to

Keyboard shortcuts

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