Documentation ¶
Index ¶
Constants ¶
View Source
const ( GiB = 1024 * 1024 * 1024 TagsDelimiter = "," TagKeyValueDelimiter = "=" )
Variables ¶
This section is empty.
Functions ¶
func ConvertTagsToMap ¶ added in v0.5.0
ConvertTagsToMap convert the tags from string to map the valid tags fomat is "key1=value1,key2=value2", which could be converted to {"key1": "value1", "key2": "value2"}
func RoundUpBytes ¶
RoundUpBytes rounds up the volume size in bytes upto multiplications of GiB in the unit of Bytes
func RoundUpGiB ¶
RoundUpGiB rounds up the volume size in bytes upto multiplications of GiB in the unit of GiB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.