- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewWaitingPodsMap (0.18 sec)
-
pkg/scheduler/framework/runtime/waiting_pods_map.go
) // waitingPodsMap a thread-safe map used to maintain pods waiting in the permit phase. type waitingPodsMap struct { pods map[types.UID]*waitingPod mu sync.RWMutex } // NewWaitingPodsMap returns a new waitingPodsMap. func NewWaitingPodsMap() *waitingPodsMap { return &waitingPodsMap{ pods: make(map[types.UID]*waitingPod), } } // add a new WaitingPod to the map. func (m *waitingPodsMap) add(wp *waitingPod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 4.5K bytes - Viewed (0)