code: func ValidateCSIDriver(csiDriver *storage.CSIDriver) field.ErrorList {
  	allErrs := field.ErrorList{}
  	allErrs = append(allErrs, apivalidation.ValidateCSIDriverName(csiDriver.Name, field.NewPath("name"))...)
  
  	allErrs = append(allErrs, validateCSIDriverSpec(&csiDriver.Spec, field.NewPath("spec"))...)
  	return allErrs
  }
docs: // ValidateCSIDriver validates a CSIDriver.