code: func ValidateTokenUsages(usages []string, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  
  	// validate usages
  	if err := bootstraputil.ValidateUsages(usages); err != nil {
  		allErrs = append(allErrs, field.Invalid(fldPath, usages, err.Error()))
  	}
  
  	return allErrs
  }
docs: // ValidateTokenUsages validates token usages