package
28.0.1+incompatible
Repository: https://github.com/dotcloud/docker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetDriver initializes and returns the registered driver.
IsDriverNotSupported returns true if the error initializing the graph driver is a non-supported error.
New creates the driver and initializes it at the specified root.
NewNaiveDiffDriver returns a fully functional driver that wraps the given ProtoDriver and adds the capability of the following methods which it may or may not support on its own: Diff(id, parent string) (archive.Archive, error) Changes(id, parent string) ([]archive.Change, error) ApplyDiff(id, parent string, diff archive.Reader) (size int64, err error) DiffSize(id, parent string) (size int64, err error).
ParseStorageOptKeyValue parses and validates the specified string as a key/value pair (key=value).
Register registers an InitFunc for the driver.

# Constants

ErrIncompatibleFS returned when file system is not supported.
ErrNotSupported returned when driver is not supported.
ErrPrerequisites returned when driver does not meet prerequisites.

# Variables

ApplyUncompressedLayer defines the unpack method used by the graph driver.

# Structs

CreateOpts contains optional arguments for Create() and CreateReadWrite() methods.
NaiveDiffDriver takes a ProtoDriver and adds the capability of the Diffing methods on the local file system, which it may or may not support on its own.
Options is used to initialize a graphdriver.

# Interfaces

DiffDriver is the interface to use to implement graph diffs.
DiffGetterDriver is the interface for layered file system drivers that provide a specialized function for getting file contents for tar-split.
Driver is the interface for layered/snapshot file system drivers.
ErrUnSupported signals that the graph-driver is not supported on the current configuration.
FileGetCloser extends the storage.FileGetter interface with a Close method for cleaning up.
ProtoDriver defines the basic capabilities of a driver.

# Type aliases

InitFunc initializes the storage driver.
NotSupportedError signals that the graph-driver is not supported on the current configuration.