Versions in this module Expand all Collapse all v0 v0.4.1 Aug 31, 2021 Changes in this version + func CreateTwoWayMergePatch(orig, new, dataStruct interface{}) ([]byte, bool, error) + func GetLastAppliedConfigAnnotation(live *unstructured.Unstructured) (*unstructured.Unstructured, error) + func HideSecretData(target *unstructured.Unstructured, live *unstructured.Unstructured) (*unstructured.Unstructured, *unstructured.Unstructured, error) + func Normalize(un *unstructured.Unstructured, opts ...Option) + func NormalizeSecret(un *unstructured.Unstructured, opts ...Option) + type DiffResult struct + Modified bool + NormalizedLive []byte + PredictedLive []byte + func Diff(config, live *unstructured.Unstructured, opts ...Option) (*DiffResult, error) + func ThreeWayDiff(orig, config, live *unstructured.Unstructured) (*DiffResult, error) + func TwoWayDiff(config, live *unstructured.Unstructured) (*DiffResult, error) + type DiffResultList struct + Diffs []DiffResult + Modified bool + func DiffArray(configArray, liveArray []*unstructured.Unstructured, opts ...Option) (*DiffResultList, error) + type Normalizer interface + Normalize func(un *unstructured.Unstructured) error + func GetNoopNormalizer() Normalizer + type Option func(*options) + func IgnoreAggregatedRoles(ignore bool) Option + func WithLogr(log logr.Logger) Option + func WithNormalizer(normalizer Normalizer) Option