- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for podAllocated (0.09 sec)
-
pkg/kubelet/userns/userns_manager_test.go
require.NoError(t, err) for _, pod := range tc.podSetAfterCleanup { ok := m.podAllocated(pod) assert.True(t, ok, "pod %q should be allocated", pod) } for _, pod := range tc.podUnsetAfterCleanup { ok := m.podAllocated(pod) assert.False(t, ok, "pod %q should not be allocated", pod) } }) } } type failingUserNsPodsManager struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
return } m.lock.Lock() defer m.lock.Unlock() m.releaseWithLock(podUID) } // podAllocated returns true if the pod is allocated, false otherwise. func (m *UsernsManager) podAllocated(podUID types.UID) bool { if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) { return false } m.lock.Lock() defer m.lock.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0)