Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegisterFilterPlugin (0.15 sec)

  1. pkg/scheduler/schedule_one_test.go

    			name:      "test 6",
    			wErr:      nil,
    		},
    		{
    			registerPlugins: []tf.RegisterPluginFunc{
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    				tf.RegisterFilterPlugin("TrueFilter", tf.NewTrueFilterPlugin),
    				tf.RegisterFilterPlugin("FalseFilter", tf.NewFalseFilterPlugin),
    				tf.RegisterScorePlugin("NumericMap", newNumericMapPlugin(), 1),
    				tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    			},
    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/plugins/defaultpreemption/default_preemption_test.go

    		expected                [][]candidate
    		expectedNumFilterCalled []int32
    	}{
    		{
    			name: "a pod that does not fit on any node",
    			registerPlugins: []tf.RegisterPluginFunc{
    				tf.RegisterFilterPlugin("FalseFilter", tf.NewFalseFilterPlugin),
    			},
    			nodeNames: []string{"node1", "node2"},
    			testPods: []*v1.Pod{
    				st.MakePod().Name("p").UID("p").Priority(highPriority).Obj(),
    			},
    			initPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. pkg/scheduler/scheduler_test.go

    			var registerPluginFuncs []tf.RegisterPluginFunc
    			for name, entrypoint := range tt.entrypoints {
    				registerPluginFuncs = append(registerPluginFuncs,
    					// anything supported by TestPlugin is fine
    					tf.RegisterFilterPlugin(name, entrypoint),
    				)
    			}
    			// we always need this
    			registerPluginFuncs = append(registerPluginFuncs,
    				tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
Back to top