Skip to main content

Module image_rewrite

Module image_rewrite 

Source
Expand description

Image URI utilities for the registry proxy.

The manager IS the container registry — its /v2/ endpoint serves images. Releases store proxy URIs (e.g., manager.alien.dev/my-app:v1). Only Lambda and Cloud Run need native registry URIs (ECR/GAR).

Functions§

resolve_native_image_uri
Resolve a proxy image URI to a native registry URI.
strip_registry_host
Strip the registry hostname from an image URI, returning just the repo path.
strip_url_scheme
Strip URL scheme and trailing slash from a URL, returning just host[:port].