Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶
func Normalize(live, config *unstructured.Unstructured, trustedManagers []string, pt *typed.ParseableType) (*unstructured.Unstructured, *unstructured.Unstructured, error)
Normalize will compare the live and config states. If config mutates a field that belongs to one of the trustedManagers it will remove that field from both live and config objects and return the normalized objects in this order. This function won't modify the live and config parameters. If pt is nil, the normalization will use a deduced parseable type which means that lists and maps are manipulated atomically. It is a no-op if no trustedManagers is provided. It is also a no-op if live or config are nil.
func ResolveParseableType ¶ added in v2.4.0
func ResolveParseableType(gvk schema.GroupVersionKind, parser *k8smanagedfields.GvkParser) *typed.ParseableType
func StaticParser ¶ added in v2.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.