- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for DeleteWaitChan (0.1 sec)
-
pkg/controller/testutil/test_utils.go
// Delete deletes a Node from the fake store. func (m *FakeNodeHandler) Delete(_ context.Context, id string, opt metav1.DeleteOptions) error { m.lock.Lock() defer func() { m.RequestCount++ if m.DeleteWaitChan != nil { m.DeleteWaitChan <- struct{}{} } m.lock.Unlock() }() m.DeletedNodes = append(m.DeletedNodes, NewNode(id)) return nil } // DeleteCollection deletes a collection of Nodes from the fake store.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0)