ommx.artifact

ommx.artifact#

Classes

Name

Description

AnonymousArtifactRef

Anonymous Artifact or Experiment ref matched by {func}prune_anonymous.

ArchiveDescriptor

Descriptor value read from an OCI archive manifest without importing it.

ArchiveManifest

Read-only view of a .ommx archive’s manifest produced by

Artifact

Reader for OMMX Artifacts.

ArtifactDraft

Mutable draft for OMMX Artifacts.

ArtifactRef

A local-registry image reference and its cached OCI Manifest projection.

Descriptor

Descriptor of a blob stored in the local registry.

GcBlob

Blob entry reported by Local Registry GC.

GcInvalidManifest

Reachable manifest blob that could not be parsed as an OCI Image Manifest.

GcMissingBlob

Blob referenced by a reachable manifest but missing from the Local Registry.

GcReport

Report returned by {func}gc.

GcRoot

Root that made blobs reachable during Local Registry GC.

PruneAnonymousReport

Report returned by {func}prune_anonymous.

Functions

Name

Description

gc

Report or delete Local Registry blobs unreachable from SQLite refs.

get_images

Get all image names stored in the local registry.

get_local_registry_root

Get the current OMMX Local Registry root path.

list_artifacts

List Artifact refs using the Local Registry’s digest-addressed Manifest

prune_anonymous

Report or delete anonymous Artifact and Experiment refs in the Local Registry.

remove_image

Remove one image ref from the Local Registry.

restore_image

Restore a removed Local Registry image ref from its manifest digest.

set_local_registry_root

Set the OMMX Local Registry root path.