Documentation
¶
Index ¶
- Variables
- func IgnoreAnnotations() cmp.Option
- func IgnoreFinalizers() cmp.Option
- func IgnoreManagedFields() cmp.Option
- func IgnoreStatusFields() cmp.Option
- func IgnoreTypeMeta() cmp.Option
- func InvertFunc[T client.Object](f func(parent T) bool) func(parent T) bool
- func IsNotMarkedForDeletion[T client.Object](obj T) bool
- type DryRunType
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChildKeyMismatch = errors.New("child key mismatch")
Functions ¶
func IgnoreAnnotations ¶ added in v0.0.4
func IgnoreFinalizers ¶ added in v0.0.4
func IgnoreManagedFields ¶
func IgnoreStatusFields ¶ added in v0.0.4
func IgnoreTypeMeta ¶
func IsNotMarkedForDeletion ¶ added in v0.0.6
Types ¶
type DryRunType ¶
type DryRunType string
const ( // DryRunWarn will attempt a dry-run on a mismatch and log a warning if the object is identical after the dry-run (default) DryRunWarn DryRunType = "warn" // DryRunSilent will perform a dry-run and not log anything if the object is identical after the dry-run DryRunSilent DryRunType = "silent" // DryRunNone will not perform a dry-run, and will always update the object if it is different DryRunNone DryRunType = "none" )
Click to show internal directories.
Click to hide internal directories.