Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RegisterQueueSortPlugin (0.44 sec)

  1. pkg/scheduler/schedule_one_test.go

    				}
    				gotBinding = action.(clienttesting.CreateAction).GetObject().(*v1.Binding)
    				return true, gotBinding, item.injectBindError
    			})
    			registerPluginFuncs := append(item.registerPluginFuncs,
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			)
    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/preemption/preemption_test.go

    			},
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			logger, _ := ktesting.NewTestContext(t)
    			registeredPlugins := append([]tf.RegisterPluginFunc{
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New)},
    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			)
    			var objs []runtime.Object
    			for _, p := range append(tt.testPods, tt.initPods...) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. pkg/scheduler/scheduler_test.go

    	client kubernetes.Interface, informerFactory informers.SharedInformerFactory) (*Scheduler, framework.Framework, error) {
    	logger := klog.FromContext(ctx)
    	registerPluginFuncs := []tf.RegisterPluginFunc{
    		tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    		tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    	}
    	eventBroadcaster := events.NewBroadcaster(&events.EventSinkImpl{Interface: client.EventsV1()})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			for i := range tt.pods {
    				podInformer.GetStore().Add(tt.pods[i])
    			}
    			// Register NodeResourceFit as the Filter & PreFilter plugin.
    			registeredPlugins := []tf.RegisterPluginFunc{
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterPluginAsExtensions(noderesources.Name, nodeResourcesFitFunc, "Filter", "PreFilter"),
    				tf.RegisterPluginAsExtensions("test-plugin", newTestPlugin, "PreFilter"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top