normalizers

package
v0.5.2-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

extracted from argoproj/argo-cd/util/argo/normalizers/diff_normalizer.go

copied from 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.

Jump to

Keyboard shortcuts

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