Versions in this module Expand all Collapse all v0 v0.7.3 Nov 9, 2026 Changes in this version + func PrepareSnapshots(orig, current Snapshot, opts *Options) (Prepared, []Suppression) + type Doc struct + Manifest map[string]any + Parent Parent + func Documents(manifests []manifest.DocumentBatch) []Doc + type Options struct + Normalize func(map[string]any) + StripAttrs []string + StripFields []string + Subjects [2]map[manifest.NamedResource]manifest.DiagnosticIdentity + type Pair struct + APIVersion string + New map[string]any + NewChart string + NewPos int + Old map[string]any + OldChart string + OldPos int + Parent Parent + Resource manifest.NamedResource + func (p *Pair) Status() string + type Parent struct + Path string + type Prepared struct + Pairs []Pair + Subjects [2]map[manifest.NamedResource]manifest.DiagnosticIdentity + Warnings []manifest.Warning + func Prepare(left, right []Doc, opts *Options) Prepared + func (p Prepared) Changes() iter.Seq2[Pair, string] + func (p Prepared) Native() (dyff.Report, error) + type Side string + const SideBoth + const SideCurrent + const SideOrig + type Snapshot struct + Manifests []manifest.DocumentBatch + ProducerKeys map[manifest.NamedResource]manifest.NamedResource + Subjects map[manifest.NamedResource]manifest.DiagnosticIdentity + Unavailable map[manifest.NamedResource]store.StatusInfo + type Suppression struct + Count int + Parent Parent + Reason string + Side Side + Subject manifest.DiagnosticIdentity + func (s Suppression) String() string + type SuppressionResult struct + Current []manifest.DocumentBatch + Orig []manifest.DocumentBatch + Suppressed []Suppression + func Suppress(orig, current Snapshot) SuppressionResult