Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateIndexLocked (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    		namespace: requestInfo.Namespace,
    		name:      requestInfo.Name,
    	}
    
    	w.lock.Lock()
    	defer w.lock.Unlock()
    	w.updateIndexLocked(identifier, index, 1)
    	return w.forgetWatch(identifier, index)
    }
    
    func (w *watchTracker) updateIndexLocked(identifier *watchIdentifier, index *indexValue, incr int) {
    	if index == nil {
    		w.watchCount[*identifier] += incr
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top