kubernetes/pkg/kubelet/userns/userns_manager_test.go

const minimumMappingUID

const mappingLen

const testMaxPods

type testUserNsPodsManager

func (m *testUserNsPodsManager) GetPodDir(podUID types.UID) string {}

func (m *testUserNsPodsManager) ListPodsFromDisk() ([]types.UID, error) {}

func (m *testUserNsPodsManager) HandlerSupportsUserNamespaces(runtimeHandler string) (bool, error) {}

func (m *testUserNsPodsManager) GetKubeletMappings() (uint32, uint32, error) {}

func (m *testUserNsPodsManager) GetMaxPods() int {}

func TestUserNsManagerAllocate(t *testing.T) {}

func TestMakeUserNsManager(t *testing.T) {}

func TestUserNsManagerParseUserNsFile(t *testing.T) {}

func TestGetOrCreateUserNamespaceMappings(t *testing.T) {}

func TestCleanupOrphanedPodUsernsAllocations(t *testing.T) {}

type failingUserNsPodsManager

func (m *failingUserNsPodsManager) ListPodsFromDisk() ([]types.UID, error) {}

func TestMakeUserNsManagerFailsListPod(t *testing.T) {}

func TestRecordBounds(t *testing.T) {}