func setDesiredConfiguration(initialConfig *kubeletconfig.KubeletConfiguration, cgroupManager cm.CgroupManager) { … }
var _ …
func expectFileValToEqual(filePath string, expectedValue, delta int64) error { … }
func getAllocatableLimits(cpu, memory, pids string, capacity v1.ResourceList) (*resource.Quantity, *resource.Quantity, *resource.Quantity) { … }
const kubeReservedCgroup …
const systemReservedCgroup …
const nodeAllocatableCgroup …
func createIfNotExists(cm cm.CgroupManager, cgroupConfig *cm.CgroupConfig) error { … }
func createTemporaryCgroupsForReservation(cgroupManager cm.CgroupManager) error { … }
func destroyTemporaryCgroupsForReservation(cgroupManager cm.CgroupManager) error { … }
func convertSharesToWeight(shares int64) int64 { … }
func runTest(ctx context.Context, f *framework.Framework) error { … }