Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageConfigMatchesImage ¶
func ImageConfigMatchesImage(image *imageapi.Image, imageConfig []byte) (bool, error)
ImageConfigMatchesImage returns true if the provided image config matches a digest stored in the manifest of the image.
func ImageWithMetadata ¶
func ImageWithMetadata(image *imageapi.Image) error
ImageWithMetadata mutates the given image. It parses raw DockerImageManifest data stored in the image and fills its DockerImageMetadata and other fields.
func ManifestMatchesImage ¶
func ManifestMatchesImage(image *imageapi.Image, newManifest []byte) (bool, error)
ManifestMatchesImage returns true if the provided manifest matches the name of the image.
func ReorderImageLayers ¶
func ReorderImageLayers(image *imageapi.Image)
ReorderImageLayers mutates the given image. It reorders the layers in ascending order. Ascending order matches the order of layers in schema 2. Schema 1 has reversed (descending) order of layers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.