Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MB - MegaByte size MB = 1000 * 1000 // MIB - MegaByte size MIB = 1024 * 1024 // GB - GigaByte size GB = 1000 * 1000 * 1000 // GIB - GibiByte size GIB = 1024 * 1024 * 1024 )
Variables ¶
This section is empty.
Functions ¶
func DecodeMemoryResource ¶
parseResource - parse resource size string m,mb,mib,gb,gib,kb,kib,
func EncodeCpuResource ¶
func EncodeMemoryResource ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.