Support for registry mirror URLs and fallback.
Configure mirrors for faster downloads from geographically closer servers, with automatic fallback to the primary registry.
Summary
Functions
Get a specific mirror URL by name.
Check if a URL is a known mirror.
List known mirror names and URLs.
Get the configured mirror URL, or the default registry.
Rewrite a tarball URL to use a mirror.
Functions
Get a specific mirror URL by name.
Check if a URL is a known mirror.
List known mirror names and URLs.
@spec mirror_url() :: String.t()
Get the configured mirror URL, or the default registry.
Rewrite a tarball URL to use a mirror.
Replaces the registry hostname with the mirror hostname.