- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WithInformerFactory (0.21 sec)
-
pkg/scheduler/schedule_one_test.go
snapshot := internalcache.NewSnapshot(test.pods, nodes) 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) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)