Expand description
CLI OCI surface (xbp oci, xbp config oci).
Registry math lives in xbp-oci; this module wires auth sources and clap.
Structs§
- Default
OciPromoter - Default
OciResolver - Default resolver backed by
OciClient. - OciAuth
- Resolved registry credentials (never log
token). - OciAuth
Request - Inputs for auth resolution (caller supplies env/global lookups).
- OciClient
- Thin wrapper around
oci-client. - OciRef
- Canonical OCI image reference.
Traits§
- OciPromoter
- Promote/copy by digest (no rebuild).
- OciResolver
- Resolve digests and existence without coupling callers to a registry SDK.
Functions§
- auth_
candidates_ for_ registry - Build ordered (source, username?, token) candidates for a registry.
- parse_
image_ ref - Parse
registry/repo[:tag][@digest]. - resolve_
auth_ from_ candidates - Pure resolution given explicit token candidates (no env/fs I/O).
- run_
config_ oci - run_oci