const testLeaseName … func expectedAPIServerIdentity(t *testing.T, hostname string) string { … } func TestCreateLeaseOnStart(t *testing.T) { … } func TestLeaseGarbageCollection(t *testing.T) { … } func testLeaseGarbageCollected(t *testing.T, client kubernetes.Interface, lease *coordinationv1.Lease) func(t *testing.T) { … } func testLeaseNotGarbageCollected(t *testing.T, client kubernetes.Interface, lease *coordinationv1.Lease) func(t *testing.T) { … } func newTestLease(acquireTime time.Time, namespace string) *coordinationv1.Lease { … }