Skip to content
ocx
install

RepairEntry

RepairEntryclassdataclass#

Re-exported from ocx_sdk._resultsView source
class RepairEntry(report: CascadeReport, planned: tuple[Mapping[str, Any], ...], outcomes: tuple[RepairOutcome, ...], announce_tags: tuple[str, ...])

One package’s cascade repair run.

Attributes

NameTypeDescription
reportCascadeReportThe audit the plan was computed from — the same shape check reports.
plannedtuple[Mapping[str, Any], ...]The alias indexes the run would write (or wrote), each {tag, index, observed_digest, referenced_digests, reasons}, carried untyped: the index is a whole OCI image index.
outcomestuple[RepairOutcome, ...]What happened per tag. Empty on a dry run.
announce_tagstuple[str, ...]The rolling tags this run moved or created — the lines --announce-tags writes, echoed for a JSON consumer.

announce_tagsattributeinstance attribute#

announce_tags: tuple[str, ...]

outcomesattributeinstance attribute#

outcomes: tuple[RepairOutcome, ...]

plannedattributeinstance attribute#

planned: tuple[Mapping[str, Any], ...]

reportattributeinstance attribute#

report: CascadeReport

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> RepairEntry

Build from one decoded entries entry.