code: func NewUpdater(store *store.MemoryStore, restartSupervisor *restart.Supervisor, cluster *api.Cluster, newService *api.Service) *Updater {
  	return &Updater{
  		store:        store,
  		watchQueue:   store.WatchQueue(),
  		restarts:     restartSupervisor,
  		cluster:      cluster.Copy(),
  		newService:   newService.Copy(),
  		updatedTasks: make(map[string]time.Time),
  		stopChan:     make(chan struct{}),
  		doneChan:     make(chan struct{}),
  	}
  }
docs: // NewUpdater creates a new Updater.