- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithWaitingPods (0.19 sec)
-
pkg/scheduler/framework/runtime/framework.go
func WithMetricsRecorder(r *metrics.MetricAsyncRecorder) Option { return func(o *frameworkOptions) { o.metricsRecorder = r } } // WithWaitingPods sets waitingPods for the scheduling frameworkImpl. func WithWaitingPods(wp *waitingPodsMap) Option { return func(o *frameworkOptions) { o.waitingPods = wp } } // WithLogger overrides the default logger from k8s.io/klog.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
frameworkruntime.WithExtenders(extenders), frameworkruntime.WithSnapshotSharedLister(internalcache.NewSnapshot(tt.pods, tt.nodes)), frameworkruntime.WithLogger(logger), frameworkruntime.WithWaitingPods(frameworkruntime.NewWaitingPodsMap()), ) if err != nil { t.Fatal(err) } p := DefaultPreemption{ fh: f, podLister: informerFactory.Core().V1().Pods().Lister(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0)