package
1.9.0
Repository: https://github.com/alexandrev/docker.git
Documentation: pkg.go.dev

# Functions

BytesSize returns a human-readable size in bytes, kibibytes, mebibytes, gibibytes, or tebibytes (eg.
CustomSize returns a human-readable approximation of a size using custom format.
FromHumanSize returns an integer from a human-readable specification of a size using SI standard (eg.
HumanDuration returns a human-readable approximation of a duration (eg.
HumanSize returns a human-readable approximation of a size capped at 4 valid numbers (eg.
RAMInBytes parses a human-readable string representing an amount of RAM in bytes, kibibytes, mebibytes, gibibytes, or tebibytes and returns the number of bytes, or -1 if the string is unparseable.

# Constants

See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.