Versions in this module Expand all Collapse all v0 v0.5.1 Nov 20, 2017 Changes in this version + const FilenameDiffOutput + type FileNameDiff struct + Description string + Diff string + Filename string + func DiffFile(image1, image2 *pkgutil.Image, filename string) (*FileNameDiff, error) v0.5.0 Oct 9, 2017 Changes in this version + const FSDiffOutput + const FileAnalysisOutput + const HistoryDiffOutput + const ListAnalysisOutput + const MultiVersionDiffOutput + const MultiVersionPackageOutput + const SingleVersionDiffOutput + const SingleVersionPackageOutput + var SortSize bool + func BuildLayerTargets(path, target string) ([]string, error) + func GetAddedEntries(d1, d2 pkgutil.Directory) []string + func GetAdditions(a, b []string) []string + func GetDeletedEntries(d1, d2 pkgutil.Directory) []string + func GetDeletions(a, b []string) []string + func GetMatches(a, b []string) []string + func GetModifiedEntries(d1, d2 pkgutil.Directory) []string + func JSONify(diff interface{}) error + func TemplateOutput(diff interface{}, templateType string) error + type AnalyzeResult struct + Analysis interface{} + AnalyzeType string + Image string + type DiffResult struct + Diff interface{} + DiffType string + Image1 string + Image2 string + type DirDiff struct + Adds []pkgutil.DirectoryEntry + Dels []pkgutil.DirectoryEntry + Mods []EntryDiff + func DiffDirectory(d1, d2 pkgutil.Directory) (DirDiff, bool) + type DirDiffResult DiffResult + func (r DirDiffResult) OutputStruct() interface{} + func (r DirDiffResult) OutputText(diffType string) error + type EntryDiff struct + Name string + Size1 int64 + Size2 int64 + type FileAnalyzeResult AnalyzeResult + func (r FileAnalyzeResult) OutputStruct() interface{} + func (r FileAnalyzeResult) OutputText(analyzeType string) error + type HistDiffResult DiffResult + func (r HistDiffResult) OutputStruct() interface{} + func (r HistDiffResult) OutputText(diffType string) error + type Info struct + Info1 PackageInfo + Info2 PackageInfo + Package string + type ListAnalyzeResult AnalyzeResult + func (r ListAnalyzeResult) OutputStruct() interface{} + func (r ListAnalyzeResult) OutputText(resultType string) error + type MultiVersionInfo struct + Info1 []PackageInfo + Info2 []PackageInfo + Package string + type MultiVersionPackageAnalyzeResult AnalyzeResult + func (r MultiVersionPackageAnalyzeResult) OutputStruct() interface{} + func (r MultiVersionPackageAnalyzeResult) OutputText(resultType string) error + type MultiVersionPackageDiff struct + InfoDiff []MultiVersionInfo + Packages1 map[string]map[string]PackageInfo + Packages2 map[string]map[string]PackageInfo + func GetMultiVersionMapDiff(map1, map2 map[string]map[string]PackageInfo) MultiVersionPackageDiff + type MultiVersionPackageDiffResult DiffResult + func (r MultiVersionPackageDiffResult) OutputStruct() interface{} + func (r MultiVersionPackageDiffResult) OutputText(diffType string) error + type PackageDiff struct + InfoDiff []Info + Packages1 map[string]PackageInfo + Packages2 map[string]PackageInfo + func GetMapDiff(map1, map2 map[string]PackageInfo) PackageDiff + type PackageInfo struct + Size int64 + Version string + type PackageOutput struct + Name string + Path string + Size int64 + Version string + type Result interface + OutputStruct func() interface{} + OutputText func(resultType string) error + type SingleVersionPackageAnalyzeResult AnalyzeResult + func (r SingleVersionPackageAnalyzeResult) OutputStruct() interface{} + func (r SingleVersionPackageAnalyzeResult) OutputText(diffType string) error + type SingleVersionPackageDiffResult DiffResult + func (r SingleVersionPackageDiffResult) OutputStruct() interface{} + func (r SingleVersionPackageDiffResult) OutputText(diffType string) error + type StrDirectoryEntry struct + Name string + Size string + type StrEntryDiff struct + Name string + Size1 string + Size2 string + type StrInfo struct + Info1 StrPackageInfo + Info2 StrPackageInfo + Package string + type StrMultiVersionInfo struct + Info1 []StrPackageInfo + Info2 []StrPackageInfo + Package string + type StrPackageInfo struct + Size string + Version string + type StrPackageOutput struct + Name string + Path string + Size string + Version string