package
0.25.0
Repository: https://github.com/bazelbuild/rules_docker.git
Documentation: pkg.go.dev

# Functions

ImagePartsFromArgs is a convenience function to convert string arguments defining the parts of an image: config is the path to the image config.
LayerPartsFromString constructs a LayerParts object from a string in the format val1,val2,val3,val4 where: val1 is the compressed layer tarball.
NewStamper creates a Stamper object initialized to stamp strings with the key value pairs in the given stamp info files.
OverrideImageConfig updates the current image config file to reflect the given changes and writes out the updated image config to the file specified in the given options.
ReadImage loads a v1.Image from the given ImageParts.
WriteImage writes the given image to the given directory in the efficient rules_docker intermediate format: After calling this, the following filesystem will exist: directory/ config.json <-- only *.json, the image's config digest <-- sha256 digest of the image's manifest manifest.json <-- the image's manifest 001.tar.gz <-- the first layer's .tar.gz filesystem delta 001.sha256 <-- the sha256 of 1.tar.gz without the "sha256:" prefix.

# Structs

ImageParts contains paths to a Docker image config and the individual layer parts.
LayerParts contains paths to the components needed to fully describe a docker image layer.
OverrideConfigOpts holds all configuration settings for the newly outputted config file.
Reader maintains the state necessary to build a legacyImage object from an ImageParts object.
Stamper provides functionality to stamp a given string based on key value pairs from a stamp info text file.