
复制// Run begins watching and 调度
scheduling. It waits for cache to be synced, then starts a goroutine and returns immediately.func (sched *Scheduler)Run(){if!sched.config.WaitForCacheSync(){return} go wait.Until(sched.scheduleOne,0, sched.config.StopEverything)1.2.3.4.5.6.7.8.