Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetOnReplace (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	}
    	w.cond.Broadcast()
    
    	metrics.RecordResourceVersion(w.groupResource.String(), version)
    	klog.V(3).Infof("Replaced watchCache (rev: %v) ", resourceVersion)
    	return nil
    }
    
    func (w *watchCache) SetOnReplace(onReplace func()) {
    	w.Lock()
    	defer w.Unlock()
    	w.onReplace = onReplace
    }
    
    func (w *watchCache) Resync() error {
    	// Nothing to do
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top