Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyLayer ¶
ApplyLayer is copied from github.com/docker/docker/pkg/archive
Types ¶
type TarOptions ¶
type TarOptions struct { IncludeFiles []string ExcludePatterns []string Compression Compression NoLchown bool // REMOVED: use remap instead //UIDMaps []idtools.IDMap //GIDMaps []idtools.IDMap ChownOpts *idtools.IDPair IncludeSourceDir bool // WhiteoutFormat is the expected on disk format for whiteout files. // This format will be converted to the standard format on pack // and from the standard format on unpack. WhiteoutFormat WhiteoutFormat // When unpacking, specifies whether overwriting a directory with a // non-directory is allowed and vice versa. NoOverwriteDirNonDir bool // For each include when creating an archive, the included name will be // replaced with the matching name from this map. RebaseNames map[string]string InUserNS bool // ADDED: allow bypassing chown // If false, no chown will be performed Chown bool AlterHeaders AlterHeader }
TarOptions wraps the tar options.
Click to show internal directories.
Click to hide internal directories.