func (c *controller) StartUWS(stopCh <-chan struct{}) error {
	if !cache.WaitForCacheSync(stopCh, c.nodeSynced) {
		return fmt.Errorf("failed to wait for caches to sync")
	}
	return c.upwardNodeController.Start(stopCh)
}
// StartUWS starts the upward syncer
// and blocks until an empty struct is sent to the stop channel.
StartUWS starts the upward syncer
and blocks until an empty struct is sent to the stop channel.
// StartUWS starts the upward syncer // and blocks until an empty struct is sent to the stop channel .
func (c *controller) StartUWS(stopCh <-chan struct{}) error {
	if !cache.WaitForCacheSync(stopCh, c.nodeSynced) {
		return fmt.Errorf("failed to wait for caches to sync")
	}
	return c.upwardNodeController.Start(stopCh)
}
func ( c * controller ) StartUWS ( stopCh <- chan struct { } ) error { if ! cache . WaitForCacheSync ( stopCh , c . nodeSynced ) { return fmt . Errorf ( " " ) } return c . upwardNodeController . Start ( stopCh ) }
StartUWS starts the upward syncer
and blocks until an empty struct is sent to the stop channel.
StartUWS starts the upward syncer and blocks until an empty struct is sent to the stop channel .