Versions in this module Expand all Collapse all v1 v1.0.0 Mar 2, 2023 Changes in this version + func GetBlob(image types.Image, digest godigest.Digest) (io.ReadCloser, int64, error) + func GetConfigBlob(image types.Image) ([]byte, error) + func GetConfigDigest(image types.Image) (d godigest.Digest, size int64, err error) + func LayerGetBlob(layer types.Layer) (reader io.ReadCloser, size int64, err error) + func NewImageFromDir(directory string) (image types.Image, err error) + func NewImageFromFile(filename string) (image types.Image, err error) + func NewLayers(storePaths []string, maxLayers int, parents []types.Layer, ...) ([]types.Layer, error) + func NewLayersNonReproducible(storePaths []string, maxLayers int, tarDirectory string, parents []types.Layer, ...) (layers []types.Layer, err error) + func TarPaths(paths types.Paths) io.ReadCloser + func TarPathsSum(paths types.Paths) (digest.Digest, int64, error) + func TarPathsWrite(paths types.Paths, destinationDirectory string) (string, digest.Digest, int64, error)