- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HandleMeshConfig (0.13 sec)
-
pkg/config/mesh/watcher.go
log.Infof("Applied revision mesh config: %s", PrettyFormatOfMeshConfig(mc)) } } return mc } // HandleMeshConfig calls all handlers for a given mesh configuration update. This must be called // with a lock on w.Mutex, or updates may be applied out of order. func (w *internalWatcher) HandleMeshConfig(meshConfig *meshconfig.MeshConfig) { w.mutex.Lock() defer w.mutex.Unlock() w.handleMeshConfigInternal(meshConfig) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 20 18:33:38 UTC 2023 - 7.4K bytes - Viewed (0) -
pkg/config/mesh/watcher_test_utils.go
w.AddMeshHandler(func() { w.doneCh <- struct{}{} }) return w } // blocks until watcher handlers trigger func (t *TestWatcher) Update(meshConfig *meshconfig.MeshConfig, timeout time.Duration) error { t.HandleMeshConfig(meshConfig) select { case <-t.doneCh: return nil case <-time.After(timeout): return errors.New("timed out waiting for mesh.Watcher handler to trigger") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 03 00:26:45 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/config/mesh/kubemesh/watcher.go
if err != nil { // Keep the last known config in case there's a misconfiguration issue. log.Errorf("failed to read mesh config from ConfigMap: %v", err) return } w.HandleMeshConfig(meshConfig) }) go c.Run(stop) // Ensure the ConfigMap is initially loaded if present. if !client.WaitForCacheSync("configmap watcher", stop, c.HasSynced) { log.Error("failed to wait for cache sync")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 20:54:46 UTC 2024 - 3.8K bytes - Viewed (0)