code: func ValidateResourceQuotaStatusUpdate(newResourceQuota, oldResourceQuota *api.ResourceQuota) field.ErrorList {
  	allErrs := ValidateObjectMetaUpdate(&newResourceQuota.ObjectMeta, &oldResourceQuota.ObjectMeta, field.NewPath("metadata"))
  	if len(newResourceQuota.ResourceVersion) == 0 {
  		allErrs = append(allErrs, field.Required(field.NewPath("resourceVersion"), ""))
  	}
  	fldPath := field.NewPath("status", "hard")
  	for k, v := range newResourceQuota.Status.Hard {
  		resPath := fldPath.Key(string(k))
  		allErrs = append(allErrs, validateResourceName(string(k), resPath)...)
  		allErrs = append(allErrs, validateResourceQuantityValue(string(k), v, resPath)...)
  	}
  	fldPath = field.NewPath("status", "used")
  	for k, v := range newResourceQuota.Status.Used {
  		resPath := fldPath.Key(string(k))
  		allErrs = append(allErrs, validateResourceName(string(k), resPath)...)
  		allErrs = append(allErrs, validateResourceQuantityValue(string(k), v, resPath)...)
  	}
  	newResourceQuota.Spec = oldResourceQuota.Spec
  	return allErrs
  }
docs: // ValidateResourceQuotaStatusUpdate tests to see if the status update is legal for an end user to make.
  // newResourceQuota is updated with fields that cannot be changed.