Skip to main content

Module repository

Module repository 

Source
Expand description

The Repository CRD — a namespaced kopia repository. ADR-0003 §3.1.

Structs§

BootstrapSpec
Tuning for the bootstrap/discovery mover Job, shared by Repository and ClusterRepository. Bootstrap connects (or, with create, creates) an object-store repository the operator cannot reach in-process.
CatalogStatus
Status of catalog materialization for origin: discovered Snapshot CRs.
EpochParameters
kopia epoch-manager parameters. Absent fields are left at whatever the repository already has (kopia’s defaults, noted per field).
ObservedEpochParameters
The epoch parameters the repository ACTUALLY reports, mirrored into status from kopia repository status at the last bootstrap.
ObservedRepositoryParameters
Observed kopia repository parameters, mirrored into status.
Repository
Auto-generated derived type for RepositorySpec via CustomResource
RepositoryHealthProbeSpec
Opt-in backend health probe, shared by Repository and ClusterRepository.
RepositoryHealthSpec
Repository health thresholds, shared by Repository and ClusterRepository.
RepositoryHealthStatus
Backend health-probe state, shared by Repository and ClusterRepository. Pinned by the reconciler when spec.health.probe is enabled so the next reconcile can tell whether a probe is due and how many consecutive failures have accrued (the debounce that keeps a transient blip from raising the loud RepositoryVanished / BackendReachable=False condition).
RepositoryParameters
Mutable kopia repository parameters (kopia repository set-parameters), shared by Repository and ClusterRepository.
RepositorySpec
A kopia repository owned by one namespace, referenced by SnapshotPolicys and Restores.
RepositoryStatus
Observed state of a Repository, carrying resolved values pinned by the reconciler.
StorageStats
Aggregate repository storage figures from the last catalog scan.

Enums§

RepositoryPhase
Lifecycle phase of a repository. A freshly admitted CR starts in Pending.

Functions§

resolve_index_blob_warn_threshold
Resolve the effective index-blob warning threshold from an optional spec.health. Pure, so it’s shared by the admission webhook, the controller, and tests without forking the default/disable semantics: