Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCachedDiscoveryClientForConfig (0.3 sec)

  1. pkg/kube/client_factory.go

    			httpCacheDir := filepath.Join(cacheDir, "http")
    			discoveryCacheDir := computeDiscoverCacheDir(filepath.Join(cacheDir, "discovery"), restConfig.Host)
    
    			return diskcached.NewCachedDiscoveryClientForConfig(restConfig, discoveryCacheDir, httpCacheDir, 6*time.Hour)
    		}
    		d, err := discovery.NewDiscoveryClientForConfig(restConfig)
    		if err != nil {
    			return nil, err
    		}
    		return memory.NewMemCacheClient(d), nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top