Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SchedulingCycle (0.3 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	err := q.AddUnschedulableIfNotPresent(logger, q.newQueuedPodInfo(unschedulablePodInfo.Pod, "fooPlugin"), q.SchedulingCycle())
    	if err != nil {
    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    	err = q.AddUnschedulableIfNotPresent(logger, q.newQueuedPodInfo(highPriorityPodInfo.Pod, "fooPlugin"), q.SchedulingCycle())
    	if err != nil {
    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue.go

    	// returned by calling SchedulingCycle().
    	AddUnschedulableIfNotPresent(logger klog.Logger, pod *framework.QueuedPodInfo, podSchedulingCycle int64) error
    	// SchedulingCycle returns the current number of scheduling cycle which is
    	// cached by scheduling queue. Normally, incrementing this number whenever
    	// a pod is popped (e.g. called Pop()) is enough.
    	SchedulingCycle() int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top