package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Functions

DecodeManagedFields converts ManagedFields from the wire format (api format) to the format used by sigs.k8s.io/structured-merge-diff.
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.
NewCRDStructuredMergeManager creates a new Manager specifically for CRDs.
NewDefaultCRDFieldManager creates a new FieldManager specifically for CRDs.
NewDefaultFieldManager creates a new FieldManager that merges apply requests and update managed fields for other types of requests.
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.
NewManagedFieldsUpdater is responsible for updating the managedfields in the object, updating the time of the operation as necessary.
NewManagedFieldsValidatingAdmissionController validates the managedFields after calling the provided admission and resets them to their original state if they got changed to an invalid value.
NewProbabilisticSkipNonAppliedManager creates a new wrapped FieldManager that starts tracking managers after the first apply, or starts tracking on create with p probability.
NewScaleHandler creates a new ScaleHandler.
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.
NewTypeConverter builds a TypeConverter from a proto.Models.

# 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.
InvalidManagedFieldsAfterMutatingAdmissionWarningFormat is the warning that a client receives when a create/update/patch request results in invalid managedFields after going through the admission chain.

# Structs

DeducedTypeConverter is a TypeConverter for CRDs that don't have a schema.
FieldManager updates the managed fields and merge applied configurations.
ScaleHandler manages the conversion of managed fields between a main resource and the scale subresource.

# Interfaces

Managed 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.

# Type aliases

ResourcePathMappings maps a group/version to its replicas path.