package
0.0.0-20180911130330-d3ccc4fb1d66
Repository: https://github.com/rglyons/kube-arangodb.git
Documentation: pkg.go.dev
# Functions
MustParse turns the given string into a quantity or panics; for tests or others cases where you know the string is valid.
NewMilliQuantity returns a new Quantity representing the given value * 1/1000 in the given format.
NewQuantity returns a new Quantity representing the given value in the given format.
NewScaledQuantity returns a new Quantity representing the given value * 10^scale in DecimalSI format.
ParseQuantity turns str into a Quantity, or returns an error.
# Constants
e.g., 12Mi (12 * 2^20).
e.g., 12e6.
e.g., 12M (12 * 10^6).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Errors that could happen while parsing a string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The maximum value we can represent milli-units for.
No description provided by the author
# Interfaces
CanonicalValue allows a quantity amount to be converted to a string.