- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sleepWatchInstall (0.14 sec)
-
cni/pkg/install/install_test.go
readyChan <- true } } } }(ctx, ticker.C) // Listen to sleepWatchInstall return value // Should detect a valid configuration and wait indefinitely for a file modification errChan := make(chan error) go func(ctx context.Context) { errChan <- in.sleepWatchInstall(ctx, sets.String{}) }(ctx) select { case <-readyChan:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0) -
cni/pkg/install/install.go
throttle := newInstallationThrottle(in) for { throttle.Throttle(ctx) // if sleepWatchInstall yields without error, that means the config might have been modified in some fashion. // so we rerun `install`, which will update the modified config if it has fallen out of sync with // our desired state err := in.sleepWatchInstall(ctx, installedBins) if err != nil { installLog.Errorf("error watching node CNI config: %v", err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0)