pkg/units
Francisco Carriedo f26b6b00d3 pkg/units: Standardized supported sizes
May make sense that both `FromHumanSize()` and `RAMInBytes()` support
the same units. Added 'PB' to the RAMInBytes regex.

Also updated tests.

Note: int64 is overflowed on quantities >= EB

Docker-DCO-1.1-Signed-off-by: Francisco Carriedo <fcarriedo@gmail.com> (github: fcarriedo)
2014-07-23 23:37:06 -07:00
..
duration.go Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
duration_test.go pkg/units: Increased test coverage. Closes #7159. 2014-07-22 09:56:58 -07:00
MAINTAINERS Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
size.go pkg/units: Standardized supported sizes 2014-07-23 23:37:06 -07:00
size_test.go pkg/units: Standardized supported sizes 2014-07-23 23:37:06 -07:00