Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSchedulingQueueHintEnabled (0.23 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    	// pluginMetricsSamplePercent is the percentage of plugin metrics to be sampled.
    	pluginMetricsSamplePercent int
    
    	// isSchedulingQueueHintEnabled indicates whether the feature gate for the scheduling queue is enabled.
    	isSchedulingQueueHintEnabled bool
    }
    
    // QueueingHintFunction is the wrapper of QueueingHintFn that has PluginName.
    type QueueingHintFunction struct {
    	PluginName     string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    					QueueingHintFn: queueHintReturnQueue,
    				},
    			},
    		},
    	}
    
    	for name, isSchedulingQueueHintEnabled := range map[string]bool{"with-hints": true, "without-hints": false} {
    		t.Run(name, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SchedulerQueueingHints, isSchedulingQueueHintEnabled)
    			logger, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top