Versions in this module Expand all Collapse all v0 v0.3.0 Feb 5, 2015 Changes in this version + const ManifestFile + const RootfsDir + const TypeBzip2 + const TypeGzip + const TypeTar + const TypeText + const TypeUnknown + const TypeXz + var ErrNoManifest = errors.New("no image manifest found in layout") + var ErrNoRootFS = errors.New("no rootfs found in layout") + func BuildWalker(root string, aw ArchiveWriter) filepath.WalkFunc + func ManifestFromImage(rs io.ReadSeeker) (*schema.ImageManifest, error) + func NewCompressedReader(rs io.ReadSeeker) (io.Reader, error) + func NewCompressedTarReader(rs io.ReadSeeker) (*tar.Reader, error) + func ValidateArchive(tr *tar.Reader) error + func ValidateLayout(dir string) error + func XzReader(r io.Reader) io.ReadCloser + type ArchiveWriter interface + AddFile func(hdr *tar.Header, r io.Reader) error + Close func() error + func NewImageWriter(am schema.ImageManifest, w *tar.Writer) ArchiveWriter + type FileType string + func DetectFileType(r io.Reader) (FileType, error)