code: func validateFinalizerName(stringValue string, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	if !validation.IsQualifiedName(stringValue) {
  		return append(allErrs, field.Invalid(fldPath, stringValue, qualifiedNameErrorMsg))
  	}
  
  	if len(strings.Split(stringValue, "/")) == 1 {
  		if !api.IsStandardFinalizerName(stringValue) {
  			return append(allErrs, field.Invalid(fldPath, stringValue, fmt.Sprintf("name is neither a standard finalizer name nor is it fully qualified")))
  		}
  	}
  
  	return field.ErrorList{}
  }
docs: // Validate finalizer names