windows

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDiff

func InitDiff(home string, options []string) (graphdriver.Driver, error)

New returns a new Windows differencing disk driver.

func InitFilter

func InitFilter(home string, options []string) (graphdriver.Driver, error)

New returns a new Windows storage filter driver.

Types

type WindowsGraphDriver

type WindowsGraphDriver struct {
	sync.Mutex // Protects concurrent modification to active
	// contains filtered or unexported fields
}

func (*WindowsGraphDriver) ApplyDiff

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

ApplyDiff extracts the changeset from the given diff into the layer with the specified id and parent, returning the size of the new layer in bytes.

func (*WindowsGraphDriver) Changes

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

Changes produces a list of changes between the specified layer and its parent layer. If parent is "", then all changes will be ADD changes.

func (*WindowsGraphDriver) Cleanup

func (d *WindowsGraphDriver) Cleanup() error

func (*WindowsGraphDriver) CopyDiff

func (d *WindowsGraphDriver) CopyDiff(sourceId, id string, parentLayerPaths []string) error

func (*WindowsGraphDriver) Create

func (d *WindowsGraphDriver) Create(id, parent string) error

func (*WindowsGraphDriver) Diff

func (d *WindowsGraphDriver) Diff(id, parent string) (arch archive.Archive, err error)

Diff produces an archive of the changes between the specified layer and its parent layer which may be "".

func (*WindowsGraphDriver) DiffSize

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

DiffSize calculates the changes between the specified layer and its parent and returns the size in bytes of the changes relative to its base filesystem directory.

func (*WindowsGraphDriver) Exists

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

Exists returns true if the given id is registered with this driver

func (*WindowsGraphDriver) Export

func (d *WindowsGraphDriver) Export(id string, parentLayerPaths []string) (arch archive.Archive, err error)

func (*WindowsGraphDriver) Get

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

Get returns the rootfs path for the id. This will mount the dir at it's given path

func (*WindowsGraphDriver) GetMetadata

func (d *WindowsGraphDriver) GetMetadata(id string) (map[string]string, error)

func (*WindowsGraphDriver) Import

func (d *WindowsGraphDriver) Import(id string, layerData archive.ArchiveReader, parentLayerPaths []string) (size int64, err error)

func (*WindowsGraphDriver) Info

func (*WindowsGraphDriver) LayerIdsToPaths

func (d *WindowsGraphDriver) LayerIdsToPaths(ids []string) []string

func (*WindowsGraphDriver) Put

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

func (*WindowsGraphDriver) Remove

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

Remove unmounts and removes the dir information

func (*WindowsGraphDriver) Status

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

func (*WindowsGraphDriver) String

func (d *WindowsGraphDriver) String() string

Jump to

Keyboard shortcuts

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