Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetNextTime (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    		clientWG:         grc,
    		fuzz:             fuzz,
    		rand:             r,
    	}, grc
    }
    
    // GetNextTime returns the next time at which there is work scheduled,
    // and a bool indicating whether there is any such time
    func (fec *Fake) GetNextTime() (time.Time, bool) {
    	fec.waitersLock.RLock()
    	defer fec.waitersLock.RUnlock()
    	if len(fec.waiters) > 0 {
    		return fec.waiters[0].targetTime, true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.9K bytes
    - Viewed (0)
Back to top