code: func validateCSIDriverSpec(
  	spec *storage.CSIDriverSpec, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	allErrs = append(allErrs, validateAttachRequired(spec.AttachRequired, fldPath.Child("attachedRequired"))...)
  	allErrs = append(allErrs, validatePodInfoOnMount(spec.PodInfoOnMount, fldPath.Child("podInfoOnMount"))...)
  	return allErrs
  }
docs: // ValidateCSIDriverSpec tests that the specified CSIDriverSpec
  // has valid data.