Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewPriorityQueue (0.08 sec)

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

    }
    
    func NewTestQueueWithInformerFactory(
    	ctx context.Context,
    	lessFn framework.LessFunc,
    	informerFactory informers.SharedInformerFactory,
    	opts ...Option,
    ) *PriorityQueue {
    	pq := NewPriorityQueue(lessFn, informerFactory, opts...)
    	informerFactory.Start(ctx.Done())
    	informerFactory.WaitForCacheSync(ctx.Done())
    	return pq
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 10 00:53:58 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top