mirror of
https://gitee.com/rancher/rancher.git
synced 2025-12-06 07:49:17 +08:00
* extended resource quota limits with map for arbitrary resources updated conversion func to handle the new map updated empty check to be epxlicit note: the map[string]string makes the struct incomparable to go * fixup: generated files * fix type casting in handling of anyOther * fix: missing handling of anyOther in back-conversion (resource list to resourceQuota) beware: also fixes mishandling of the dotted resources (ex: limits.cpu) by the function * feat: added basic unit tests for the conversion functions * address comments: tweak name of new field * address comment: simplify empty check, by means of reflection * address comment: extended error message * tweak name, `Extended` now. * avoid updates if nothing would change * fixup: duplicated import * basic unit tests - setValidated, updateResourceQuota, updateDefaultLimitRange * address comments