code: func (pm *basicManager) SetPods(newPods []*v1.Pod) {
  	pm.lock.Lock()
  	defer pm.lock.Unlock()
  
  	pm.podByUID = make(map[kubetypes.ResolvedPodUID]*v1.Pod)
  	pm.podByFullName = make(map[string]*v1.Pod)
  	pm.mirrorPodByUID = make(map[kubetypes.MirrorPodUID]*v1.Pod)
  	pm.mirrorPodByFullName = make(map[string]*v1.Pod)
  	pm.translationByUID = make(map[kubetypes.MirrorPodUID]kubetypes.ResolvedPodUID)
  
  	pm.updatePodsInternal(newPods...)
  }
docs: // Set the internal pods based on the new pods.