kubernetes/pkg/kubelet/lifecycle/predicate_test.go

var quantity

func TestRemoveMissingExtendedResources(t *testing.T) {}

func makeTestPod(requests, limits v1.ResourceList) *v1.Pod {}

func makeTestNode(allocatable v1.ResourceList) *v1.Node {}

var extendedResourceA

var hugePageResourceA

func makeResources(milliCPU, memory, pods, extendedA, storage, hugePageA int64) v1.ResourceList {}

func makeAllocatableResources(milliCPU, memory, pods, extendedA, storage, hugePageA int64) v1.ResourceList {}

func newResourcePod(containerResources ...v1.ResourceList) *v1.Pod {}

func newPodWithPort(hostPorts ...int) *v1.Pod {}

func TestGeneralPredicates(t *testing.T) {}

func TestRejectPodAdmissionBasedOnOSSelector(t *testing.T) {}

func TestRejectPodAdmissionBasedOnOSField(t *testing.T) {}