code: func ValidateTolerationsInPodAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  
  	tolerations, err := helper.GetTolerationsFromPodAnnotations(annotations)
  	if err != nil {
  		allErrs = append(allErrs, field.Invalid(fldPath, core.TolerationsAnnotationKey, err.Error()))
  		return allErrs
  	}
  
  	if len(tolerations) > 0 {
  		allErrs = append(allErrs, ValidateTolerations(tolerations, fldPath.Child(core.TolerationsAnnotationKey))...)
  	}
  
  	return allErrs
  }
docs: // ValidateTolerationsInPodAnnotations tests that the serialized tolerations in Pod.Annotations has valid data