kubernetes/plugin/pkg/admission/priority/admission_test.go

func addPriorityClasses(ctrl *Plugin, priorityClasses []*scheduling.PriorityClass) error {}

var preemptNever

var preemptLowerPriority

var defaultClass1

var defaultClass2

var nondefaultClass1

var systemClusterCritical

var neverPreemptionPolicyClass

var preemptionPolicyClass

func TestPriorityClassAdmission(t *testing.T) {}

// TestDefaultPriority tests that default priority is resolved correctly.
func TestDefaultPriority(t *testing.T) {}

var zeroPriority

var intPriority

func TestPodAdmission(t *testing.T) {}