kubernetes/pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

var (
	negPriority
	lowPriority
	midPriority
	highPriority
	veryHighPriority
)

var smallRes

var mediumRes

var largeRes

var veryLargeRes

var epochTime

var epochTime1

var epochTime2

var epochTime3

var epochTime4

var epochTime5

var epochTime6

func getDefaultDefaultPreemptionArgs() *config.DefaultPreemptionArgs {}

var nodeResourcesFitFunc

var podTopologySpreadFunc

type TestPlugin

func newTestPlugin(_ context.Context, injArgs runtime.Object, f framework.Handle) (framework.Plugin, error) {}

func (pl *TestPlugin) AddPod(ctx context.Context, state *framework.CycleState, podToSchedule *v1.Pod, podInfoToAdd *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status {}

func (pl *TestPlugin) RemovePod(ctx context.Context, state *framework.CycleState, podToSchedule *v1.Pod, podInfoToRemove *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status {}

func (pl *TestPlugin) Name() string {}

func (pl *TestPlugin) PreFilterExtensions() framework.PreFilterExtensions {}

func (pl *TestPlugin) PreFilter(ctx context.Context, state *framework.CycleState, p *v1.Pod) (*framework.PreFilterResult, *framework.Status) {}

func (pl *TestPlugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {}

func TestPostFilter(t *testing.T) {}

type candidate

func TestDryRunPreemption(t *testing.T) {}

func TestSelectBestCandidate(t *testing.T) {}

func TestPodEligibleToPreemptOthers(t *testing.T) {}

func TestPreempt(t *testing.T) {}