code: func validatePodConditions(conditions []core.PodCondition, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	systemConditions := sets.NewString(string(core.PodScheduled), string(core.PodReady), string(core.PodInitialized))
  	for i, condition := range conditions {
  		if systemConditions.Has(string(condition.Type)) {
  			continue
  		}
  		for _, msg := range validation.IsQualifiedName(string(condition.Type)) {
  			allErrs = append(allErrs, field.Invalid(fldPath.Index(i).Child("Type"), string(condition.Type), msg))
  		}
  	}
  	return allErrs
  }
docs: // validatePodConditions tests if the custom pod conditions are valid.