package
0.4.2
Repository: https://github.com/uber/makisu.git
Documentation: pkg.go.dev

# Functions

MustParseName calls ParseName on the input and panics if the parsing of the image name fails.
NewDefaultImageConfig returns a default image config that is used for images built from scratch.
NewDigester instantiates and returns a new Digester object.
NewEmptyDescriptor returns a 0 value descriptor.
NewEmptyDigest returns a 0 value digest.
NewExportManifestFromDistribution creates ExportManifest given repo, tag and distrubtion manifest.
NewImageConfigFromCopy returns a copy of given config.
NewImageConfigFromJSON creates an Image configuration from json.
NewImageName returns a new image name given a registry, repo and tag.
ParseName parses image name of format <registry>/<repo>:<tag>.
ParseNameForPull parses image name of format <registry>/<repo>:<tag>.
UnmarshalDistributionManifest verifies MediaType and unmarshals manifest.

# Constants

DigestEmptyTar is the sha256 digest of an empty tar file (platform dependent).
Docker hub defaults.
Docker hub defaults.
Name of files after untar a docker image.
MediaTypeConfig specifies the mediaType for the image configuration.
MediaTypeLayer is the mediaType used for layers referenced by the manifest.
MediaTypeManifest specifies the mediaType for the current version.
Docker hub defaults.

# Variables

SHA256 is the only algorithm supported.

# Structs

Config stores the image configuration.
ContainerConfig contains the configuration about a container.
Descriptor describes targeted content.
Digester calculates the digest of written data.
DigestPair is a pair of uncompressed digest/compressed descriptor of the same layer.
DistributionManifest defines a schema2 manifest.
ExportManifest is used for docker load and docker save.
HealthConfig holds configuration settings for the HEALTHCHECK feature.
History stores build commands that were used to create an image.
Name is the identifier of an image.
RootFS describes images root filesystem.
V1Image stores the V1 image configuration.

# Interfaces

Exporter provides interface for exporting and importing images.

# Type aliases

Digest is formatted like "<algorithm>:<hex_digest_string>" Example: sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.
DigestPairs is a list of DigestPair.
ExportConfig is a string in the format <configID>.json.
ExportLayer is a string in the format <layerID>/layer.tar.
ID is the content-addressable ID of an image.