- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewSnapshot (0.17 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go
DefaultConstraints: tt.defaultConstraints, DefaultingType: config.ListDefaulting, } p := plugintesting.SetupPluginWithInformers(ctx, t, topologySpreadFunc, args, cache.NewSnapshot(tt.existingPods, tt.nodes), tt.objs) p.(*PodTopologySpread).enableNodeInclusionPolicyInPodTopologySpread = tt.enableNodeInclusionPolicy p.(*PodTopologySpread).enableMatchLabelKeysInPodTopologySpread = tt.enableMatchLabelKeys
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 143.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
pv := v1.PersistentVolume{ObjectMeta: metav1.ObjectMeta{Name: pvName}} cs.CoreV1().PersistentVolumes().Create(ctx, &pv, metav1.CreateOptions{}) } } snapshot := internalcache.NewSnapshot(test.pods, nodes) fwk, err := tf.NewFramework( ctx, test.registerPlugins, "", frameworkruntime.WithSnapshotSharedLister(snapshot), frameworkruntime.WithInformerFactory(informerFactory),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)