kubernetes/pkg/api/resource
k8s-merge-robot 54b352ae3a Merge pull request #26907 from smarterclayton/tolerate_quantity
Automatic merge from submit-queue

Resource quantity must support leading and trailing whitespace in JSON for back-compat

For backwards compatibility reasons, we must continue to support leading or trailing whitespace on Quantity values when deserialized from JSON.  We must also support numbers serialized into yaml (`cpu: 1`) and JSON (`"cpu": 1`)

Fixes #26898
2016-06-08 16:16:41 -07:00
..
amount_test.go Add an int64 quantity implementation 2016-05-19 08:41:39 -04:00
amount.go Add an int64 quantity implementation 2016-05-19 08:41:39 -04:00
deep_copy.go Round should avoid clearing s, save a string 2016-05-24 22:32:45 -04:00
generated.pb.go Add an int64 quantity implementation 2016-05-19 08:41:39 -04:00
generated.proto Remove unused deep_copies 2016-06-06 17:18:22 -04:00
math_test.go Add an int64 quantity implementation 2016-05-19 08:41:39 -04:00
math.go Add an int64 quantity implementation 2016-05-19 08:41:39 -04:00
quantity_example_test.go rewrite go imports 2015-08-05 17:30:03 -07:00
quantity_proto.go Round should avoid clearing s, save a string 2016-05-24 22:32:45 -04:00
quantity_test.go Tolerate YAML and JSON numbers 2016-06-06 17:14:50 -04:00
quantity.go Merge pull request #26907 from smarterclayton/tolerate_quantity 2016-06-08 16:16:41 -07:00
scale_int_test.go Add micro- and nano- suffixes 2016-01-04 14:08:24 -08:00
scale_int.go resource: optimize scale function 2015-12-03 17:00:13 -08:00
suffix.go Add an int64 quantity implementation 2016-05-19 08:41:39 -04:00