Versions in this module Expand all Collapse all v0 v0.2.2 Aug 17, 2020 v0.2.1 Aug 17, 2020 Changes in this version + func CreateTwoWayMergePatch(orig, new, dataStruct interface{}) ([]byte, bool, error) + func GetLastAppliedConfigAnnotation(live *unstructured.Unstructured) *unstructured.Unstructured + func HideSecretData(target *unstructured.Unstructured, live *unstructured.Unstructured) (*unstructured.Unstructured, *unstructured.Unstructured, error) + func Normalize(un *unstructured.Unstructured, normalizer Normalizer, options DiffOptions) + func NormalizeSecret(un *unstructured.Unstructured) + func PrintDiff(name string, live *unstructured.Unstructured, ...) error + type DiffOptions struct + IgnoreAggregatedRoles bool + func GetDefaultDiffOptions() DiffOptions + type DiffResult struct + Modified bool + NormalizedLive []byte + PredictedLive []byte + func Diff(config, live *unstructured.Unstructured, normalizer Normalizer, ...) (*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, normalizer Normalizer, ...) (*DiffResultList, error) + type Normalizer interface + Normalize func(un *unstructured.Unstructured) error + func GetNoopNormalizer() Normalizer