- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewLocalFileCache (0.36 sec)
-
pkg/wasm/cache.go
} func (o cacheOptions) allowInsecure(host string) bool { return o.allowAllInsecureRegistries || o.InsecureRegistries.Contains(host) } // NewLocalFileCache create a new Wasm module cache which downloads and stores Wasm module files locally. func NewLocalFileCache(dir string, options Options) *LocalFileCache { wasmLog.Debugf("LocalFileCache is created with the option\n%#v", options)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/wasm/cache_test.go
options := defaultOptions() if c.purgeInterval != 0 { options.PurgeInterval = c.purgeInterval } if c.wasmModuleExpiry != 0 { options.ModuleExpiry = c.wasmModuleExpiry } cache := NewLocalFileCache(tmpDir, options) cache.httpFetcher.initialBackoff = time.Microsecond defer close(cache.stopChan) var cacheHitKey *moduleKey initTime := time.Now() cache.mux.Lock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy.go
var envoyProbe ready.Prober if !ia.cfg.DisableEnvoy { envoyProbe = &ready.Probe{ AdminPort: uint16(ia.proxyConfig.ProxyAdminPort), LocalHostAddr: localHostAddr, } } cache := wasm.NewLocalFileCache(constants.IstioDataDir, ia.cfg.WASMOptions) proxy := &XdsProxy{ istiodAddress: ia.proxyConfig.DiscoveryAddress, istiodSAN: ia.cfg.IstiodSAN, clusterID: ia.secOpts.ClusterID,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 27.9K bytes - Viewed (0)