Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for QueueSort (0.11 sec)

  1. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				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)
  2. pkg/scheduler/framework/runtime/framework.go

    		// NOTE: this is primarily for tests.
    		return func(_, _ *framework.QueuedPodInfo) bool { return false }
    	}
    
    	if len(f.queueSortPlugins) == 0 {
    		panic("No QueueSort plugin is registered in the frameworkImpl.")
    	}
    
    	// Only one QueueSort plugin can be enabled.
    	return f.queueSortPlugins[0].Less
    }
    
    // RunPreFilterPlugins runs the set of configured PreFilter plugins. It returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top