code: func validatePodAffinityTerms(podAffinityTerms []core.PodAffinityTerm, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	for i, podAffinityTerm := range podAffinityTerms {
  		allErrs = append(allErrs, validatePodAffinityTerm(podAffinityTerm, fldPath.Index(i))...)
  	}
  	return allErrs
  }
docs: // validatePodAffinityTerms tests that the specified podAffinityTerms fields have valid data