Versions in this module Expand all Collapse all v0 v0.1.0 Aug 1, 2017 Changes in this version + const FSOutput + const HistoryOutput + const MultiVersionOutput + const SingleVersionOutput + func BuildLayerTargets(path, target string) ([]string, error) + func CheckImageID(image string) bool + func CheckImageURL(image string) bool + func CheckTar(image string) bool + func DirToJSON(path string, target string, deep bool) error + func ExtractTar(path string) error + func GetAddedEntries(d1, d2 Directory) []string + func GetAdditions(a, b []string) []string + func GetDeletedEntries(d1, d2 Directory) []string + func GetDeletions(a, b []string) []string + func GetImageLayers(pathToImage string) []string + func GetMatches(a, b []string) []string + func GetModifiedEntries(d1, d2 Directory) []string + func ImageToTar(cli client.APIClient, image, tarName string) (string, error) + func JSONify(diff interface{}) error + func SetDockerEngine(useDocker bool) + func TarToDir(tarPath string, deep bool) (string, string, error) + func TemplateOutput(diff interface{}) error + func UnTar(filename string, path string) error + func ValidDockerVersion() (bool, error) + type CloudPrepper struct + func (p CloudPrepper) ImageToFS() (string, error) + type DiffResult interface + GetStruct func() DiffResult + OutputText func(diffType string) error + type DirDiff struct + Adds []string + Dels []string + Image1 string + Image2 string + Mods []string + func DiffDirectory(d1, d2 Directory) DirDiff + type DirDiffResult struct + Diff DirDiff + DiffType string + func (m DirDiffResult) GetStruct() DiffResult + func (m DirDiffResult) OutputText(diffType string) error + type Directory struct + Content []string + Root string + func GetDirectory(dirpath string) (Directory, error) + type Event struct + Error string + Progress string + ProgressDetail struct{ ... } + Status string + type HistDiff struct + Adds []string + Dels []string + Image1 string + Image2 string + type HistDiffResult struct + Diff HistDiff + DiffType string + func (m HistDiffResult) GetStruct() DiffResult + func (m HistDiffResult) OutputText(diffType string) error + type IDPrepper struct + func (p IDPrepper) ImageToFS() (string, error) + type Image struct + FSPath string + History []string + Layers []string + Source string + type ImagePrepper struct + Source string + func (p ImagePrepper) GetImage() (Image, error) + type Info struct + Info1 PackageInfo + Info2 PackageInfo + Package string + type MultiVersionInfo struct + Info1 []PackageInfo + Info2 []PackageInfo + Package string + type MultiVersionPackageDiff struct + Image1 string + Image2 string + InfoDiff []MultiVersionInfo + Packages1 map[string]map[string]PackageInfo + Packages2 map[string]map[string]PackageInfo + type MultiVersionPackageDiffResult struct + Diff MultiVersionPackageDiff + DiffType string + func GetMultiVersionMapDiff(map1, map2 map[string]map[string]PackageInfo, img1, img2 string) MultiVersionPackageDiffResult + func (m MultiVersionPackageDiffResult) GetStruct() DiffResult + func (m MultiVersionPackageDiffResult) OutputText(diffType string) error + type PackageDiff struct + Image1 string + Image2 string + InfoDiff []Info + Packages1 map[string]PackageInfo + Packages2 map[string]PackageInfo + type PackageDiffResult struct + Diff PackageDiff + DiffType string + func GetMapDiff(map1, map2 map[string]PackageInfo, img1, img2 string) PackageDiffResult + func (m PackageDiffResult) GetStruct() DiffResult + func (m PackageDiffResult) OutputText(diffType string) error + type PackageInfo struct + Size string + Version string + type Prepper interface + ImageToFS func() (string, error) + type TarPrepper struct + func (p TarPrepper) ImageToFS() (string, error)