# Functions
BuildManagerIdentifier creates a manager identifier string from a ManagedFieldsEntry.
DecodeManagedFields converts ManagedFields from the wire format (api format) to the format used by sigs.k8s.io/structured-merge-diff.
EncodeObjectManagedFields converts and stores the fieldpathManagedFields into the objects ManagedFields.
FieldsToSet creates a set paths from an input trie of fields.
NewAtMostEvery creates a new AtMostEvery, that will run the method at most every given duration.
NewBuildManagerInfoManager creates a new Manager that converts the manager name into a unique identifier combining operation and version for update requests, and just operation for apply requests.
NewCapManagersManager creates a new wrapped FieldManager which ensures that the number of managers from updates does not exceed maxUpdateManagers, by merging some of the oldest entries on each update.
NewConflictError returns an error including details on the requests apply conflicts.
NewCRDStructuredMergeManager creates a new Manager specifically for CRDs.
DeducedTypeConverter is a TypeConverter for CRDs that don't have a schema.
newDefaultFieldManager is a helper function which wraps a Manager with certain default logic.
NewEmptyManaged creates an empty ManagedInterface.
NewFieldManager creates a new FieldManager that decodes, manages, then re-encodes managedFields on update and apply requests.
NewLastAppliedManager converts the client-side apply annotation to server-side apply managed fields.
NewLastAppliedUpdater sets the client-side apply annotation up to date with server-side apply managed fields.
NewManaged creates a ManagedInterface from a fieldpath.ManagedFields and the timestamps associated with each operation.
NewManagedFieldsUpdater is responsible for updating the managedfields in the object, updating the time of the operation as necessary.
No description provided by the author
NewPathElement parses a serialized path element.
NewProbabilisticSkipNonAppliedManager creates a new wrapped FieldManager that starts tracking managers after the first apply, or starts tracking on create with p probability.
NewSkipNonAppliedManager creates a new wrapped FieldManager that only starts tracking managers after the first apply.
NewStripMetaManager creates a new Manager that strips metadata and typemeta fields from the manager's fieldset.
NewStructuredMergeManager creates a new Manager that merges apply requests and update managed fields for other types of requests.
No description provided by the author
NewVersionCheckManager creates a manager that makes sure that the applied object is in the proper version.
PathElementString serializes a path element.
RemoveObjectManagedFields removes the ManagedFields from the object before we merge so that it doesn't appear in the ManagedFields recursively.
SetLastApplied sets the last-applied annotation the given value in the object.
SetToFields creates a trie of fields from an input set of paths.
# Constants
DefaultMaxUpdateManagers defines the default maximum retained number of managedFields entries from updates if the number of update managers exceeds this, the oldest entries will be merged until the number is below the maximum.
DefaultTrackOnCreateProbability defines the default probability that the field management of an object starts being tracked from the object's creation, instead of from the first time the object is applied to.
Field indicates that the content of this path element is a field's name.
Index indicates that the content of this path element is an index in an array.
Key indicates that the content of this path element is a key value map.
LastAppliedConfigAnnotation is the annotation used to store the previous configuration of a resource for use in a three way diff by UpdateApplyAnnotation.
Separator separates the type of a path element from the contents.
Value indicates that the content of this path element is a field's value.
# Variables
EmptyFields represents a set with no paths It looks like metav1.Fields{Raw: []byte("{}")}.
# Structs
AtMostEvery will never run the method more than once every specified duration.
FieldManager updates the managed fields and merges applied configurations.
# Interfaces
Managed groups a fieldpath.ManagedFields together with the timestamps associated with each operation.
ManagedInterface groups a fieldpath.ManagedFields together with the timestamps associated with each operation.
Manager updates the managed fields and merges applied configurations.
TypeConverter allows you to convert from runtime.Object to typed.TypedValue and the other way around.