Versions in this module Expand all Collapse all v0 v0.1.0 Dec 1, 2014 Changes in this version + const TypeBzip2 + const TypeGzip + const TypeTar + const TypeText + const TypeUnknown + const TypeXz + var ErrNoManifest = errors.New("no app or fileset manifest found in layout") + var ErrNoRootFS = errors.New("no rootfs found in layout") + func LoadSignedData(signed io.Reader, kr openpgp.EntityList) ([]byte, error) + func ValidateArchive(tr *tar.Reader) error + func ValidateLayout(dir string) error + func ValidateTar(tr *tar.Reader) error + func XzReader(r io.Reader) io.ReadCloser + type ArchiveWriter interface + AddFile func(path string, hdr *tar.Header, r io.Reader) error + Close func() error + func NewAppWriter(am schema.AppManifest, w *tar.Writer) ArchiveWriter + func NewFilesetWriter(name string, w *tar.Writer) (ArchiveWriter, error) + type FileType string + func DetectFileType(r io.Reader) (FileType, error) v0.0.0 Nov 27, 2014