func runVolumeManager(manager VolumeManager) chan struct{} { stopCh := make(chan struct{}) //readyCh := make(chan bool, 1) //readyCh <- true sourcesReady := config.NewSourcesReady(func(_ sets.String) bool { return true }) go manager.Run(sourcesReady, stopCh) return stopCh }
func runReconciler(reconciler Reconciler) { sourcesReady := config.NewSourcesReady(func(_ sets.String) bool { return false }) go reconciler.Run(sourcesReady, wait.NeverStop) }