package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/docker/docker-ce.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
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.
GetFSMagic returns the filesystem id given the path.
IsDriverNotSupported returns true if the error initializing the graph driver is a non-supported error.
IsInitialized checks if the driver's home-directory exists and is non-empty.
Mounted checks if the given path is mounted as the fs type.
New creates the driver and initializes it at the specified root.
NewDefaultChecker returns a check that parses /proc/mountinfo to check if the specified path is mounted.
NewFsChecker returns a checker configured for the provided FsMagic.
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).
NewRefCounter returns a new RefCounter.
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.
FsMagicAufs filesystem id for Aufs.
FsMagicBtrfs filesystem id for Btrfs.
FsMagicCramfs filesystem id for Cramfs.
FsMagicEcryptfs filesystem id for eCryptfs.
FsMagicExtfs filesystem id for Extfs.
FsMagicF2fs filesystem id for F2fs.
FsMagicGPFS filesystem id for GPFS.
FsMagicJffs2Fs filesystem if for Jffs2Fs.
FsMagicJfs filesystem id for Jfs.
FsMagicNfsFs filesystem id for NfsFs.
FsMagicOverlay filesystem id for overlay.
FsMagicRAMFs filesystem id for RamFs.
FsMagicReiserFs filesystem id for ReiserFs.
FsMagicSmbFs filesystem id for SmbFs.
FsMagicSquashFs filesystem id for SquashFs.
FsMagicTmpFs filesystem id for TmpFs.
FsMagicUnsupported is a predefined constant value other than a valid filesystem id.
FsMagicVxFS filesystem id for VxFs.
FsMagicXfs filesystem id for Xfs.
FsMagicZfs filesystem id for Zfs.
# Variables
ApplyUncompressedLayer defines the unpack method used by the graph driver.
FsNames maps filesystem id to name of the filesystem.
# Structs
Capabilities defines a list of capabilities a driver may implement.
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.
RefCounter is a generic counter for use by graphdriver Get/Put calls.
# Interfaces
CapabilityDriver is the interface for layered file system drivers that can report on their Capabilities.
Checker makes checks on specified filesystems.
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
FsMagic unsigned id of the filesystem in use.
InitFunc initializes the storage driver.
NotSupportedError signals that the graph-driver is not supported on the current configuration.