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Β§
- Abort
OnDrop π - Aborts the wrapped pull task when dropped.
- Channel
Reporter π - A [
composefs::progress::ProgressReporter] that forwards each event as aPullProgressframe over an unbounded channel to the streaming method. - Completed
- The result of a completed pull.
- Done
- A component finished downloading.
- Image
Entry - Summary of a stored OCI image for the varlink wire format.
- List
Images Reply - Reply format for listing OCI images.
- OciCompute
IdReply - Reply carrying the computed composefs image ID for an OCI image.
- OciFsck
Reply - Result of an OCI-level consistency check for the varlink wire format.
- OciInspect
Reply - Reply with the manifest, config and referrers of a single OCI image.
- Progress
- Incremental transfer progress for a component.
- Pull
Progress - A single progress frame emitted by the streaming
Pullmethod. - 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.Ociinterface. - Progress
Unit - Unit of measurement for
Started/Progresscounters.
FunctionsΒ§
- parse_
local_ πfetch - Parse the wire
local_fetchstring into a [composefs_oci::LocalFetchOpt]. - pull_
stream π - Run a streaming pull against an already-opened repository, returning a
boxed stream of
PullProgressframes. - want_
bootable_ πpull - Whether an initial
pull()call (frompull_streamorcfsctlβsOciCommand::Pullhandler) should request the boot-transformed EROFS variant viaPullOptions::bootable, so itβs produced in the same pass over the OCI layers instead of a subsequentgenerate_boot_imagecall re-walking them.