Versions in this module Expand all Collapse all v1 v1.2.0 Sep 4, 2023 v1.0.0 Sep 4, 2023 Changes in this version + const DefaultMaxUpdateManagers + const DefaultTrackOnCreateProbability + const Field + const Index + const Key + const LastAppliedConfigAnnotation + const Separator + const Value + var EmptyFields = func() metav1.FieldsV1 { ... }() + func BuildManagerIdentifier(encodedManager *metav1.ManagedFieldsEntry) (manager string, err error) + func EncodeObjectManagedFields(obj runtime.Object, managed ManagedInterface) error + func FieldsToSet(f metav1.FieldsV1) (s fieldpath.Set, err error) + func NewConflictError(conflicts merge.Conflicts) *errors.StatusError + func NewNoCorrespondingTypeError(gvk schema.GroupVersionKind) error + func NewPathElement(s string) (fieldpath.PathElement, error) + func PathElementString(pe fieldpath.PathElement) (string, error) + func RemoveObjectManagedFields(obj runtime.Object) + func SetLastApplied(obj runtime.Object, value string) error + func SetToFields(s fieldpath.Set) (f metav1.FieldsV1, err error) + type AtMostEvery struct + func NewAtMostEvery(delay time.Duration) *AtMostEvery + func (s *AtMostEvery) Do(fn func()) bool + type FieldManager struct + func NewDefaultFieldManager(f Manager, typeConverter TypeConverter, ...) *FieldManager + func NewFieldManager(f Manager, subresource string) *FieldManager + func (f *FieldManager) Apply(liveObj, appliedObj runtime.Object, manager string, force bool) (object runtime.Object, err error) + func (f *FieldManager) Update(liveObj, newObj runtime.Object, manager string) (object runtime.Object, err error) + func (f *FieldManager) UpdateNoErrors(liveObj, newObj runtime.Object, manager string) runtime.Object + type Managed interface + Fields func() fieldpath.ManagedFields + Times func() map[string]*metav1.Time + type ManagedInterface interface + Fields func() fieldpath.ManagedFields + Times func() map[string]*metav1.Time + func DecodeManagedFields(encodedManagedFields []metav1.ManagedFieldsEntry) (ManagedInterface, error) + func NewEmptyManaged() ManagedInterface + func NewManaged(f fieldpath.ManagedFields, t map[string]*metav1.Time) ManagedInterface + type Manager interface + Apply func(liveObj, appliedObj runtime.Object, managed Managed, fieldManager string, ...) (runtime.Object, Managed, error) + Update func(liveObj, newObj runtime.Object, managed Managed, manager string) (runtime.Object, Managed, error) + func NewBuildManagerInfoManager(f Manager, gv schema.GroupVersion, subresource string) Manager + func NewCRDStructuredMergeManager(typeConverter TypeConverter, objectConverter runtime.ObjectConvertor, ...) (_ Manager, err error) + func NewCapManagersManager(fieldManager Manager, maxUpdateManagers int) Manager + func NewLastAppliedManager(fieldManager Manager, typeConverter TypeConverter, ...) Manager + func NewLastAppliedUpdater(fieldManager Manager) Manager + func NewManagedFieldsUpdater(fieldManager Manager) Manager + func NewProbabilisticSkipNonAppliedManager(fieldManager Manager, objectCreater runtime.ObjectCreater, p float32) Manager + func NewSkipNonAppliedManager(fieldManager Manager, objectCreater runtime.ObjectCreater) Manager + func NewStripMetaManager(fieldManager Manager) Manager + func NewStructuredMergeManager(typeConverter TypeConverter, objectConverter runtime.ObjectConvertor, ...) (Manager, error) + func NewVersionCheckManager(fieldManager Manager, gvk schema.GroupVersionKind) Manager + type TypeConverter interface + ObjectToTyped func(runtime.Object) (*typed.TypedValue, error) + TypedToObject func(*typed.TypedValue) (runtime.Object, error) + func NewDeducedTypeConverter() TypeConverter + func NewTypeConverter(openapiSpec map[string]*spec.Schema, preserveUnknownFields bool) (TypeConverter, error)