normalizers

package
v2.10.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Overview

Code generated by github.com/argoproj/argo-cd/hack/known_types. DO NOT EDIT.

Index

Constants

View Source
const (
	// DefaultJQExecutionTimeout is the maximum time allowed for a JQ patch to execute
	DefaultJQExecutionTimeout = 1 * time.Second
)

Variables

This section is empty.

Functions

func NewIgnoreNormalizer

func NewIgnoreNormalizer(ignore []v1alpha1.ResourceIgnoreDifferences, overrides map[string]v1alpha1.ResourceOverride, opts IgnoreNormalizerOpts) (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]v1alpha1.ResourceOverride) (*knownTypesNormalizer, error)

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

Types

type IgnoreNormalizerOpts added in v2.8.17

type IgnoreNormalizerOpts struct {
	JQExecutionTimeout time.Duration
}

Jump to

Keyboard shortcuts

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