[toolforge-weld] refactor parse_quantity

  • extract base**exponent operations to
    VALID_KUBE_QUANT_SUFFIXES so other packages
    importing toolforge-weld can use this
  • general function simplification

Bug: T361120
Signed-off-by: raymond-ndibe rndibe@wikimedia.org

Edited by Raymond Ndibe

Merge request reports

Loading