Skip to main content

Module normalize

Module normalize 

Source
Expand description

The Normalizer — a typed, ordered list of Masks that strips legitimately-varying fields BEFORE the differ runs. Without it every diff is ~100% noise (uid/resourceVersion/timestamps differ on every object). The masks are auditable: strict mode (see crate::cotejo) re-diffs the RAW objects and re-reports whatever a mask suppressed as Severity::Cosmetic, so a mask can never silently hide a real gap.

Structs§

Normalizer
An ordered set of masks.

Enums§

Mask
One normalization step.

Functions§

volatile_meta
The canonical profile: strip the fields that legitimately vary between any two conformant apiservers, so what remains is genuine divergence.

Type Aliases§

CanonFn
A pure canonicalization function applied at a path.