- integrations
- Python
- ocx_sdk
RepairEntry
RepairEntryclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass RepairEntry(report: CascadeReport, planned: tuple[Mapping[str, Any], ...], outcomes: tuple[RepairOutcome, ...], announce_tags: tuple[str, ...])One package’s cascade repair run.
Attributes
| Name | Type | Description |
|---|---|---|
report | CascadeReport | The audit the plan was computed from — the same shape
check reports. |
planned | tuple[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. |
outcomes | tuple[RepairOutcome, ...] | What happened per tag. Empty on a dry run. |
announce_tags | tuple[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: CascadeReportfrom_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> RepairEntryBuild from one decoded entries entry.