k3s/pkg/api/resource
Tim St. Clair b4116eb718 Handle `nil` Amount in resource.Quantity.{Add,Sub}
Treat `nil` Amount as 0 in `resource.Quantity.Add` and
`resource.Quantity.Sub`. Also, allow adding/subtracting resources with
different Formats (since Format has no effect on the underlying value).
2015-12-10 19:24:23 -08:00
..
quantity.go Handle `nil` Amount in resource.Quantity.{Add,Sub} 2015-12-10 19:24:23 -08:00
quantity_example_test.go rewrite go imports 2015-08-05 17:30:03 -07:00
quantity_proto.go Add protobuf preparation objects, guarded by proto tag 2015-12-05 18:15:48 -05:00
quantity_test.go Handle `nil` Amount in resource.Quantity.{Add,Sub} 2015-12-10 19:24:23 -08:00
scale_int.go resource: optimize scale function 2015-12-03 17:00:13 -08:00
scale_int_test.go resource: optimize scale function 2015-12-03 17:00:13 -08:00
suffix.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00