// getResourceList returns a ResourceList with the // specified cpu and memory resource values func getResourceList(cpu, memory string) v1.ResourceList { … } // getResourceRequirements returns a ResourceRequirements object func getResourceRequirements(requests, limits v1.ResourceList) v1.ResourceRequirements { … } const burstableCgroup … const bestEffortCgroup … // makePodToVerifyCgroups returns a pod that verifies the existence of the specified cgroups. func makePodToVerifyCgroups(cgroupNames []string) *v1.Pod { … } // makePodToVerifyCgroupRemoved verfies the specified cgroup does not exist. func makePodToVerifyCgroupRemoved(baseName string) *v1.Pod { … } var _ …