package
0.20.3
Repository: https://github.com/google/go-containerregistry.git
Documentation: pkg.go.dev

# Packages

Package cache provides methods to cache layers.
Package compare provides methods for comparing images, indexes, and layers.
Package daemon provides facilities for reading/writing v1.Image from/to a running daemon.
Package empty provides an implementation of v1.Image equivalent to "FROM scratch".
Code generated by counterfeiter.
Package google provides facilities for listing images in gcr.io.
This is an EXPERIMENTAL package, and may change in arbitrary ways without notice.
Package match provides functionality for conveniently matching a v1.Descriptor.
Package mutate provides facilities for mutating v1.Images of any kind.
Package partial defines methods for building up a v1.Image from minimal subsets that are sufficient for defining a v1.Image.
Package random provides a facility for synthesizing pseudo-random images.
Package remote provides facilities for reading/writing v1.Images from/to a remote image registry.
No description provided by the author
Package stream implements a single-pass streaming v1.Layer.
Package tarball provides facilities for reading/writing v1.Images from/to a tarball on-disk.
Package types holds common OCI media types.
Package validate provides methods for validating image correctness.

# Functions

Hasher returns a hash.Hash for the named algorithm (e.g.
NewHash validates the input string is a hash and returns a strongly type Hash object.
ParseConfigFile parses the io.Reader's contents into a ConfigFile.
ParseIndexManifest parses the io.Reader's contents into an IndexManifest.
ParseManifest parses the io.Reader's contents into a Manifest.
ParsePlatform parses a string representing a Platform, if possible.
SHA256 computes the Hash of the provided io.Reader's content.

# Structs

Config is a submessage of the config file described as: The execution parameters which SHOULD be used as a base when running a container using the image.
ConfigFile is the configuration file that holds the metadata describing how to launch a container.
Descriptor holds a reference from the manifest to one of its constituent elements.
Hash is an unqualified digest of some content, e.g.
HealthConfig holds configuration settings for the HEALTHCHECK feature.
History is one entry of a list recording how this container image was built.
IndexManifest represents an OCI image index in a structured way.
Manifest represents the OCI image manifest in a structured way.
Platform represents the target os/arch for an image.
RootFS holds the ordered list of file system deltas that comprise the container image's root filesystem.
Time is a wrapper around time.Time to help with deep copying.
Update representation of an update of transfer progress.

# Interfaces

Image defines the interface for interacting with an OCI v1 image.
ImageIndex defines the interface for interacting with an OCI image index.
Layer is an interface for accessing the properties of a particular layer of a v1.Image.