kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

func makeExpectedConfig(m *kubeGenericRuntimeManager, pod *v1.Pod, containerIndex int, enforceMemoryQoS bool) *runtimeapi.ContainerConfig {}

func TestGenerateContainerConfig(t *testing.T) {}

func TestGenerateLinuxContainerConfigResources(t *testing.T) {}

func TestCalculateLinuxResources(t *testing.T) {}

func TestGenerateContainerConfigWithMemoryQoSEnforced(t *testing.T) {}

func TestGetHugepageLimitsFromResources(t *testing.T) {}

func TestGenerateLinuxContainerConfigNamespaces(t *testing.T) {}

var supplementalGroupsPolicyUnSupported

var supplementalGroupsPolicyMerge

var supplementalGroupsPolicyStrict

func TestGenerateLinuxConfigSupplementalGroupsPolicy(t *testing.T) {}

func TestGenerateLinuxContainerResources(t *testing.T) {}

func TestGenerateLinuxContainerResourcesWithSwap(t *testing.T) {}

type CgroupVersion

const cgroupV1

const cgroupV2

func setCgroupVersionDuringTest(version CgroupVersion) {}

func setSwapControllerAvailableDuringTest(available bool) func() {}