var _ … type nodeMemory … // runDensityBatchTest runs the density batch pod creation test // checks that a calculated value for NodeAllocatable is equal to the reported value func checkNodeAllocatableTest(ctx context.Context, f *framework.Framework) { … } // Deploys `allocatablePods + 1` pods, each with a memory limit of `1/allocatablePods` of the total allocatable // memory, then confirms that the last pod failed because of failedScheduling func overrideAllocatableMemoryTest(ctx context.Context, f *framework.Framework, allocatablePods int) { … } func getNodeMemory(ctx context.Context, f *framework.Framework, node v1.Node) nodeMemory { … } // getNodeMemory populates a nodeMemory struct with information from the first Windows node // that is found in the cluster. func getFirstNodeMemory(ctx context.Context, f *framework.Framework) nodeMemory { … } // modified from https://github.com/kubernetes/kubernetes/blob/master/test/e2e/framework/kubelet/config.go#L110 // the proxy version was causing and non proxy used a value that isn't set by e2e func decodeConfigz(contentsBytes []byte) (*kubeletconfig.KubeletConfiguration, error) { … }