normalizers

package
v0.10.4-hotfix-ch-1-43... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package normalizers contains normalizers for resources. Normalizers are used to modify resources before they are compared. This includes the "ignore" normalizer, which removes a matched path and the knownTypes normalizer.

+vendored argoproj/argo-cd/util/argo/normalizers/diff_normalizer.go

+vendored argoproj/argo-cd/util/argo/normalizers/knowntypes_normalizer.go

Index

Constants

View Source
const Group string = "argoproj.io"

Variables

This section is empty.

Functions

func NewIgnoreNormalizer

func NewIgnoreNormalizer(ignore []resource.ResourceIgnoreDifferences, overrides map[string]resource.ResourceOverride) (diff.Normalizer, error)

NewIgnoreNormalizer creates diff normalizer which removes ignored fields according to given application spec and resource overrides

func NewKnownTypesNormalizer

func NewKnownTypesNormalizer(overrides map[string]resource.ResourceOverride) (*knownTypesNormalizer, error)

NewKnownTypesNormalizer create a normalizer that re-format custom resource fields using built-in Kubernetes types.

Types

This section is empty.

Directories

Path Synopsis
+vendored argoproj/argo-cd/util/glob/glob.go
+vendored argoproj/argo-cd/util/glob/glob.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL