Expand description
OCI registry distribution for deterministic Tuff pack artifacts.
Structs§
- OciPull
Result - Deterministic result returned after pulling and verifying a pack.
- OciPush
Result - Deterministic result returned after publishing a pack.
- OciResolved
Tag - What a pack tag points at right now, learned from the manifest alone.
- OciTransfer
Options - Network and TLS settings shared by OCI push and pull operations.
Enums§
- OciPush
Status - Whether a push wrote a manifest or found the same manifest already published.
Constants§
- OCI_
EMPTY_ MEDIA_ TYPE - OCI media type for the standard empty JSON descriptor.
- PACK_
ARTIFACT_ MEDIA_ TYPE - OCI artifact type identifying a Tuff pack manifest.
- PACK_
LAYER_ MEDIA_ TYPE - OCI layer media type containing exact
.tuffpackbytes.
Functions§
- list_
pack_ versions - List the tags published under a pack’s repository.
- normalize_
pack_ repository - Normalize an arbitrary OCI reference into its repository form (“registry/repository”, no tag), so it can be recorded once and re-queried for available tags later without a pinned tag going stale.
- pull_
pack - Pulls one OCI-distributed pack, verifies both OCI and Tuff integrity, and persists it atomically.
- push_
pack - Publishes one verified
.tuffpackartifact under an explicit OCI tag. - resolve_
pack_ tag - Resolves a tag (or digest) reference to the pack it currently names.