# Functions
BuildWalker creates a filepath.WalkFunc that walks over the given root (which should represent an ACI layout on disk) and adds the files in the rootfs/ subdirectory to the given ArchiveWriter.
DetectFileType attempts to detect the type of file that the given reader represents by comparing it against known file signatures (magic numbers).
ManifestFromImage extracts a new schema.ImageManifest from the given ACI image.
NewCompressedReader creates a new io.ReaderCloser from the given ACI image.
NewCompressedTarReader creates a new TarReadCloser reading from the given ACI image.
NewImageWriter creates a new ArchiveWriter which will generate an App Container Image based on the given manifest and write it to the given tar.Writer.
NewXzReader shells out to a command line xz executable (if available) to decompress the given io.Reader using the xz compression format and returns an *XzReader.
ValidateArchive takes a *tar.Reader and validates that the layout of the filesystem the reader encapsulates matches that expected by the Application Container Image format.
ValidateLayout takes a directory and validates that the layout of the directory matches that expected by the Application Container Image format.
# Constants
Path to manifest file inside the layout.
Path to rootfs directory inside the layout.
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
# Structs
No description provided by the author
TarReadCloser embeds a *tar.Reader and the related io.Closer It is the caller's responsibility to call Close on TarReadCloser when done.
XzReader is an io.ReadCloser which decompresses xz compressed data.
# Interfaces
ArchiveWriter writes App Container Images.
# Type aliases
No description provided by the author
TarHeaderWalkFunc is the type of the function which allows setting tar headers or filtering out tar entries when building an ACI.