Documentation
¶
Index ¶
Constants ¶
View Source
const (
BYTE = 1.0
KILOBYTE = 1024 * BYTE
MEGABYTE = 1024 * KILOBYTE
GIGABYTE = 1024 * MEGABYTE
TERABYTE = 1024 * GIGABYTE
)
Variables ¶
This section is empty.
Functions ¶
func InstanceMemoryLimit ¶
func InstanceMemoryLimit(limit int64) string
func ToMegabytes ¶
func ToMegabytes(s string) (int64, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.