Help us shape the future of Go! Take the 2026 Go Developer Survey

vbox

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2016 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDaemon

func GetDaemon() (*daemon.Daemon, error)

func Init

func Init(root string, options []string, uidMaps, gidMaps []idtools.IDMap) (graphdriver.Driver, error)

func MakeDiffPod

func MakeDiffPod(podName, image, id, srcDisk, tgtDisk, outDir string) (string, error)

func MakeMountPod

func MakeMountPod(podName, image, id, diffSrc, volDst string) (string, error)

Types

type Driver

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

func (*Driver) ApplyDiff

func (d *Driver) ApplyDiff(id, parent string, diff archive.Reader) (size int64, err error)

func (*Driver) BaseImage

func (d *Driver) BaseImage() string

func (*Driver) Changes

func (d *Driver) Changes(id, parent string) ([]archive.Change, error)

func (*Driver) Cleanup

func (d *Driver) Cleanup() error

func (*Driver) Create

func (d *Driver) Create(id, parent, mountLabel string) error

func (*Driver) Diff

func (d *Driver) Diff(id, parent string) (diff archive.Archive, err error)

func (*Driver) DiffSize

func (d *Driver) DiffSize(id, parent string) (size int64, err error)

func (*Driver) Exists

func (d *Driver) Exists(id string) bool

func (*Driver) Get

func (d *Driver) Get(id, mountLabel string) (string, error)

func (*Driver) GetMetadata

func (a *Driver) GetMetadata(id string) (map[string]string, error)

GetMetadata not implemented

func (*Driver) Put

func (d *Driver) Put(id string) error

func (*Driver) Remove

func (d *Driver) Remove(id string) error

func (*Driver) RootPath

func (d *Driver) RootPath() string

func (*Driver) Setup

func (d *Driver) Setup() (err error)

func (*Driver) Status

func (d *Driver) Status() [][2]string

func (*Driver) String

func (d *Driver) String() string

func (*Driver) VmMountLayer

func (d *Driver) VmMountLayer(id string) error

Jump to

Keyboard shortcuts

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