validation

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContinuousReconcileSpecIsEmpty

func ContinuousReconcileSpecIsEmpty(spec *cr.ContinuousReconcileSpec) bool

ContinuousReconcileSpecIsEmpty returns true if the given spec is either nil or all its fields are nil/the zero value.

func ValidateContinuousReconcileSpec

func ValidateContinuousReconcileSpec(fldPath *field.Path, spec *cr.ContinuousReconcileSpec) field.ErrorList

ValidateContinuousReconcileSpec validates a continuous reconciliation spec. A value of nil is considered valid, as is an 'empty' spec with all fields equal to nil or their respective zero value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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