Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewEqualPrioritizerPlugin (0.29 sec)

  1. pkg/scheduler/testing/framework/fake_plugins.go

    			name:           name,
    			score:          score,
    			preScoreStatus: preScoreStatus,
    			scoreStatus:    scoreStatus,
    		}, nil
    	}
    }
    
    // NewEqualPrioritizerPlugin returns a factory function to build equalPrioritizerPlugin.
    func NewEqualPrioritizerPlugin() frameworkruntime.PluginFactory {
    	return func(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    		return &FakePreScoreAndScorePlugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. pkg/scheduler/extender_test.go

    				tf.RegisterFilterPlugin("TrueFilter", tf.NewTrueFilterPlugin),
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterScorePlugin("EqualPrioritizerPlugin", tf.NewEqualPrioritizerPlugin(), 1),
    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			},
    			extenders: []tf.FakeExtender{
    				{
    					ExtenderName: "FakeExtender1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one_test.go

    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterFilterPlugin("TrueFilter", tf.NewTrueFilterPlugin),
    				tf.RegisterScorePlugin("EqualPrioritizerPlugin", tf.NewEqualPrioritizerPlugin(), 1),
    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			},
    			nodes:     []string{"node1", "node2"},
    			pod:       st.MakePod().Name("ignore").UID("ignore").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top