Skip to main content

Module oci

Module oci 

Source
Expand description

Varlink support for the OCI interface (org.composefs.Oci).

Gated behind the oci feature; collected in one module so the feature gate lives in a single place rather than on every item.

Structsยง

AbortOnDrop ๐Ÿ”’
Aborts the wrapped pull task when dropped.
ChannelReporter ๐Ÿ”’
A [composefs::progress::ProgressReporter] that forwards each event as a PullProgress frame over an unbounded channel to the streaming method.
Completed
The result of a completed pull.
Done
A component finished downloading.
ImageEntry
Summary of a stored OCI image for the varlink wire format.
ListImagesReply
Reply format for listing OCI images.
OciComputeIdReply
Reply carrying the computed composefs image ID for an OCI image.
OciFsckReply
Result of an OCI-level consistency check for the varlink wire format.
OciInspectReply
Reply with the manifest, config and referrers of a single OCI image.
Progress
Incremental transfer progress for a component.
PullProgress
A single progress frame emitted by the streaming Pull method.
Skipped
A component was skipped because it was already present.
Started
A new component (layer/object) started downloading.

Enumsยง

OciError
Errors that may be returned by the org.composefs.Oci interface.
ProgressUnit
Unit of measurement for Started/Progress counters.

Functionsยง

parse_local_fetch ๐Ÿ”’
Parse the wire local_fetch string into a [composefs_oci::LocalFetchOpt].
pull_stream ๐Ÿ”’
Run a streaming pull against an already-opened repository, returning a boxed stream of PullProgress frames.