code: func (p *PriorityQueue) PendingPods() []*v1.Pod {
  	p.lock.RLock()
  	defer p.lock.RUnlock()
  	result := []*v1.Pod{}
  	for _, pInfo := range p.activeQ.List() {
  		result = append(result, pInfo.(*podInfo).pod)
  	}
  	for _, pInfo := range p.podBackoffQ.List() {
  		result = append(result, pInfo.(*podInfo).pod)
  	}
  	for _, pInfo := range p.unschedulableQ.podInfoMap {
  		result = append(result, pInfo.pod)
  	}
  	return result
  }
docs: // PendingPods returns all the pending pods in the queue. This function is
  // used for debugging purposes in the scheduler cache dumper and comparer.