package
1.4.0-alpha.0
Repository: https://github.com/danielqsj/kubernetes.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
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.
NewQuantityFlagValue returns an object that can be used to back a flag, pointing at the given Quantity variable.
NewScaledQuantity returns a new Quantity representing the given value * 10^scale in DecimalSI format.
ParseQuantity turns str into a Quantity, or returns an error.
QuantityFlag is a helper that makes a quantity flag (using standard flag package).
# 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.