code: func validateScopeSelector(resourceQuotaSpec *core.ResourceQuotaSpec, fld *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	if resourceQuotaSpec.ScopeSelector == nil {
  		return allErrs
  	}
  	allErrs = append(allErrs, validateScopedResourceSelectorRequirement(resourceQuotaSpec, fld.Child("scopeSelector"))...)
  	return allErrs
  }
docs: // validateScopeSelector tests that the specified scope selector has valid data