Versions in this module Expand all Collapse all v1 v1.18.1 May 3, 2024 v1.18.0 May 3, 2024 Changes in this version + func BuildTransport(registry Registry) http.RoundTripper + func CheckSameFile(f1name, f2name string) (bool, error) + func CheckSameSymlink(f1name, f2name string) (bool, error) + func CheckTar(image string) bool + func CleanFilePath(dirtyPath string) string + func CleanupImage(image Image) + func ConfigureTLS(skipTsVerifyRegistries []string, registriesToCertificates map[string]string) + func DirIsEmpty(path string) (bool, error) + func GetFileContents(path string) (*string, error) + func GetFileSystemForImage(image v1.Image, root string, whitelist []string) error + func GetFileSystemForLayer(layer v1.Layer, root string, whitelist []string) error + func GetImageLayers(pathToImage string) []string + func GetSize(path string) int64 + func HasFilepathPrefix(path, prefix string) bool + func HasTag(image string) bool + func IsTar(path string) bool + func RemoveTag(image string) string + func SortMap(m map[string]string) string + type Directory struct + Content []string + Root string + func GetDirectory(path string, deep bool) (Directory, error) + type DirectoryEntry struct + Name string + Size int64 + func CreateDirectoryEntries(root string, entryNames []string) (entries []DirectoryEntry) + func GetDirectoryEntries(d Directory) []DirectoryEntry + type Image struct + Digest v1.Hash + FSPath string + Image v1.Image + Layers []Layer + Source string + func GetImage(imageName string, includeLayers bool, cacheDir string) (Image, error) + func GetImageForName(imageName string) (Image, error) + type ImageHistoryItem struct + CreatedBy string + type Layer struct + Digest v1.Hash + FSPath string + type OriginalPerm struct