MCPcopy
hub / github.com/argoproj/argo-cd / testIgnoreDifferencesNormalizer

Struct testIgnoreDifferencesNormalizer

gitops-engine/pkg/diff/diff_test.go:1448–1450  ·  view source on GitHub ↗

testIgnoreDifferencesNormalizer implements a simple normalizer that removes specified fields

Source from the content-addressed store, hash-verified

1446
1447// testIgnoreDifferencesNormalizer implements a simple normalizer that removes specified fields
1448type testIgnoreDifferencesNormalizer struct {
1449 fieldsToRemove [][]string
1450}
1451
1452func (n *testIgnoreDifferencesNormalizer) Normalize(un *unstructured.Unstructured) error {
1453 if un == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected