var initPausePod …
var createNode …
var createPausePod …
var runPausePod …
var deletePod …
var initTest …
var initTestDisablePreemption …
var initDisruptionController …
var waitCachedPodsStable …
var podIsGettingEvicted …
var podUnschedulable …
var waitForPDBsStable …
var waitForPodToScheduleWithTimeout …
var waitForPodUnschedulable …
const filterPluginName …
var (
lowPriority …
mediumPriority …
highPriority …
)
func waitForNominatedNodeNameWithTimeout(cs clientset.Interface, pod *v1.Pod, timeout time.Duration) error { … }
func waitForNominatedNodeName(cs clientset.Interface, pod *v1.Pod) error { … }
const tokenFilterName …
type tokenFilter …
func (fp *tokenFilter) Name() string { … }
func (fp *tokenFilter) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod,
nodeInfo *framework.NodeInfo) *framework.Status { … }
func (fp *tokenFilter) PreFilter(ctx context.Context, state *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) { … }
func (fp *tokenFilter) AddPod(ctx context.Context, state *framework.CycleState, podToSchedule *v1.Pod,
podInfoToAdd *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (fp *tokenFilter) RemovePod(ctx context.Context, state *framework.CycleState, podToSchedule *v1.Pod,
podInfoToRemove *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (fp *tokenFilter) PreFilterExtensions() framework.PreFilterExtensions { … }
var _ …
func TestPreemption(t *testing.T) { … }
func TestNonPreemption(t *testing.T) { … }
func TestDisablePreemption(t *testing.T) { … }
func TestPodPriorityResolution(t *testing.T) { … }
func mkPriorityPodWithGrace(tc *testutils.TestContext, name string, priority int32, grace int64) *v1.Pod { … }
func TestPreemptionStarvation(t *testing.T) { … }
func TestPreemptionRaces(t *testing.T) { … }
const alwaysFailPlugin …
const doNotFailMe …
type alwaysFail …
func (af *alwaysFail) Name() string { … }
func (af *alwaysFail) PreBind(_ context.Context, _ *framework.CycleState, p *v1.Pod, _ string) *framework.Status { … }
func newAlwaysFail(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) { … }
func TestNominatedNodeCleanUp(t *testing.T) { … }
func mkMinAvailablePDB(name, namespace string, uid types.UID, minAvailable int, matchLabels map[string]string) *policy.PodDisruptionBudget { … }
func addPodConditionReady(pod *v1.Pod) { … }
func TestPDBInPreemption(t *testing.T) { … }
func initTestPreferNominatedNode(t *testing.T, nsPrefix string, opts ...scheduler.Option) *testutils.TestContext { … }
func TestPreferNominatedNode(t *testing.T) { … }
func TestReadWriteOncePodPreemption(t *testing.T) { … }