code: func ComputeTaintTolerationPriorityMap(pod *v1.Pod, meta interface{}, nodeInfo *schedulernodeinfo.NodeInfo) (schedulerapi.HostPriority, error) {
  	node := nodeInfo.Node()
  	if node == nil {
  		return schedulerapi.HostPriority{}, fmt.Errorf("node not found")
  	}
  	// To hold all the tolerations with Effect PreferNoSchedule
  	var tolerationsPreferNoSchedule []v1.Toleration
  	if priorityMeta, ok := meta.(*priorityMetadata); ok {
  		tolerationsPreferNoSchedule = priorityMeta.podTolerations
  
  	} else {
  		tolerationsPreferNoSchedule = getAllTolerationPreferNoSchedule(pod.Spec.Tolerations)
  	}
  
  	return schedulerapi.HostPriority{
  		Host:  node.Name,
  		Score: countIntolerableTaintsPreferNoSchedule(node.Spec.Taints, tolerationsPreferNoSchedule),
  	}, nil
  }
docs: // ComputeTaintTolerationPriorityMap prepares the priority list for all the nodes based on the number of intolerable taints on the node