# 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
# Functions
ChownPathByMaps walks the filesystem tree, changing the ownership information using the toContainer and toHost mappings, using them to replace on-disk owner UIDs and GIDs which are "host" values in the first map with UIDs and GIDs for "host" values from the second map which correspond to the same "container" IDs.
GetDriver initializes and returns the registered driver.
GetFSMagic returns the filesystem id given the path.
Mounted checks if the given path is mounted as the fs type.
CreateFromTemplate creates a layer with the same contents and parent as another layer.
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 string, idMappings *idtools.IDMappings, parent string, parentMappings *idtools.IDMappings, mountLabel string) (io.ReadCloser, error) Changes(id string, idMappings *idtools.IDMappings, parent string, parentMappings *idtools.IDMappings, mountLabel string) ([]archive.Change, error) ApplyDiff(id, parent string, options ApplyDiffOpts) (size int64, err error) DiffSize(id string, idMappings *idtools.IDMappings, parent, parentMappings *idtools.IDMappings, mountLabel string) (size int64, err error).
NewNaiveLayerIDMapUpdater wraps the ProtoDriver in a LayerIDMapUpdater that uses ChownPathByMaps to update the ownerships in a layer's filesystem tree.
NewRefCounter returns a new RefCounter.
Register registers an InitFunc for the driver.
# Constants
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.
FsMagicFUSE filesystem id for FUSE.
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.
ErrIncompatibleFS returned when file system is not supported.
ErrLayerUnknown returned when the specified layer is unknown by the driver.
ErrNotSupported returned when driver is not supported.
ErrPrerequisites returned when driver does not meet prerequisites.
FsNames maps filesystem id to name of the filesystem.
# Structs
ApplyDiffOpts contains optional arguments for ApplyDiff methods.
Capabilities defines a list of capabilities a driver may implement.
CreateOpts contains optional arguments for Create() and CreateReadWrite() methods.
DriverWithDifferOutput is the result of ApplyDiffWithDiffer This API is experimental and can be changed without bumping the major version number.
MountOpts contains optional arguments for LayerStope.Mount() methods.
NaiveDiffDriver takes a ProtoDriver and adds the capability of the Diffing methods which it may or may not support on its own.
Options is used to initialize a graphdriver.
No description provided by the author
# Interfaces
AdditionalLayer reprents a layer that is stored in the additional layer store This API is experimental and can be changed without bumping the major version number.
AdditionalLayerStoreDriver is the interface for driver that supports additional layer store functionality.
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.
Differ defines the interface for using a custom differ.
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.
DriverWithDiffer is the interface for direct diff access.
FileGetCloser extends the storage.FileGetter interface with a Close method for cleaning up.
LayerIDMapUpdater is the interface that implements ID map changes for layers.
ProtoDriver defines the basic capabilities of a driver.
TemplateDriver is just barely enough of a driver that we can implement a naive version of CreateFromTemplate on top of it.