- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithPodNominator (0.14 sec)
-
pkg/scheduler/schedule_one_test.go
fwk, err := tf.NewFramework( ctx, test.registerPlugins, "", frameworkruntime.WithSnapshotSharedLister(snapshot), frameworkruntime.WithInformerFactory(informerFactory), frameworkruntime.WithPodNominator(internalqueue.NewPodNominator(informerFactory.Core().V1().Pods().Lister())), ) if err != nil { t.Fatal(err) } var extenders []framework.Extender for ii := range test.extenders {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
} profile := config.KubeSchedulerProfile{Plugins: cfgPls} ctx, cancel := context.WithCancel(context.Background()) defer cancel() f, err := newFrameworkWithQueueSortAndBind(ctx, registry, profile, WithPodNominator(podNominator)) if err != nil { t.Fatalf("fail to create framework: %s", err) } tt.nodeInfo.SetNode(tt.node)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)