func newOverheadValidPod(name string, numContainers int, resources core.ResourceRequirements, setOverhead bool) *core.Pod { … } func newSchedulingValidPod(name string, nodeSelector map[string]string, tolerations []core.Toleration) *core.Pod { … } func getGuaranteedRequirements() core.ResourceRequirements { … } func TestSetOverhead(t *testing.T) { … } func TestSetScheduling(t *testing.T) { … } func NewObjectInterfacesForTest() admission.ObjectInterfaces { … } func newRuntimeClassForTest( addLister bool, listerObject *nodev1.RuntimeClass, addClient bool, clientObject *nodev1.RuntimeClass) *RuntimeClass { … } func TestValidateInitialization(t *testing.T) { … } func TestAdmit(t *testing.T) { … } func TestValidate(t *testing.T) { … } func TestValidateOverhead(t *testing.T) { … }