kubernetes/staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater_test.go

func TestManagedFieldsUpdateDoesModifyTime(t *testing.T) {}

func TestManagedFieldsApplyDoesModifyTime(t *testing.T) {}

func TestManagedFieldsUpdateWithoutChangesDoesNotModifyTime(t *testing.T) {}

func TestManagedFieldsApplyWithoutChangesDoesNotModifyTime(t *testing.T) {}

func TestNonManagedFieldsUpdateDoesNotModifyTime(t *testing.T) {}

func TestNonManagedFieldsApplyDoesNotModifyTime(t *testing.T) {}

func TestTakingOverManagedFieldsDuringUpdateDoesNotModifyPreviousManagerTime(t *testing.T) {}

func TestTakingOverManagedFieldsDuringApplyDoesNotModifyPreviousManagerTime(t *testing.T) {}

type NoopManager

func (NoopManager) Apply(liveObj, appliedObj runtime.Object, managed internal.Managed, fieldManager string, force bool) (runtime.Object, internal.Managed, error) {}

func (NoopManager) Update(liveObj, newObj runtime.Object, managed internal.Managed, manager string) (runtime.Object, internal.Managed, error) {}

func updateObject(f managedfieldstest.TestFieldManager, fieldManagerName string, object []byte) error {}

func applyObject(f managedfieldstest.TestFieldManager, fieldManagerName string, object []byte) error {}

// Ensures that if ManagedFieldsUpdater gets a nil value from its nested manager
// chain (meaning the operation was a no-op), then the ManagedFieldsUpdater
// itself will return a copy of the input live object, with its managed fields
// removed
func TestNilNewObjectReplacedWithDeepCopyExcludingManagedFields(t *testing.T) {}