func TestNewNodeLease(t *testing.T) { … } func TestRetryUpdateNodeLease(t *testing.T) { … } func TestUpdateUsingLatestLease(t *testing.T) { … } // setNodeOwnerFunc helps construct a newLeasePostProcessFunc which sets // a node OwnerReference to the given lease object func setNodeOwnerFunc(logger klog.Logger, c clientset.Interface, nodeName string) func(lease *coordinationv1.Lease) error { … }