Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegisterScorePlugin (0.34 sec)

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

    	return RegisterPluginAsExtensions(pluginName, pluginNewFunc, "PreBind")
    }
    
    // RegisterScorePlugin returns a function to register a Score Plugin to a given registry.
    func RegisterScorePlugin(pluginName string, pluginNewFunc runtime.PluginFactory, weight int32) RegisterPluginFunc {
    	return RegisterPluginAsExtensionsWithWeight(pluginName, weight, pluginNewFunc, "Score")
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. pkg/scheduler/extender_test.go

    			name:       "test 2",
    		},
    		{
    			registerPlugins: []tf.RegisterPluginFunc{
    				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

    			registerPlugins: []tf.RegisterPluginFunc{
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterFilterPlugin("TrueFilter", tf.NewTrueFilterPlugin),
    				tf.RegisterScorePlugin("NumericMap", newNumericMapPlugin(), 1),
    				tf.RegisterScorePlugin("ReverseNumericMap", newReverseNumericMapPlugin(), 2),
    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			},
    			nodes:     []string{"3", "2", "1"},
    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