Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    		return iPriority > jPriority
    	})
    
    	return groups
    }
    
    // Fetches from cache if it exists. If cache is empty, create it.
    func (rdm *resourceDiscoveryManager) fetchFromCache() *cachedGroupList {
    	rdm.lock.RLock()
    	defer rdm.lock.RUnlock()
    
    	cacheLoad := rdm.cache.Load()
    	if cacheLoad != nil {
    		return cacheLoad
    	}
    	response := apidiscoveryv2.APIGroupDiscoveryList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top