Skip to main content

Module image_ref

Module image_ref 

Source
Expand description

Image reference canonicalization.

OCI image references have many valid spellings for the same image. This module provides normalize_image_ref, which maps every spelling to a single canonical form so that cache keys, log messages, and protocol messages are consistent regardless of how the caller spelled the reference.

Functionsยง

image_repo
Strip the tag and/or digest suffix from an image reference, returning the registry/repo
normalize_image_ref
Canonicalize an OCI image reference.