Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDockerNotFound is returned if a Docker ID is not found in // /proc/self/cgroup ErrDockerNotFound = errors.New("Docker ID not found") )
View Source
var ( // ErrFeatureUnsupported indicates unsupported platform. ErrFeatureUnsupported = errors.New("That feature is not supported on this platform") )
Functions ¶
func BytesToMebibytes ¶
BytesToMebibytes converts bytes into mebibytes.
func PhysicalMemoryBytes ¶
PhysicalMemoryBytes returns the total amount of host memory.
Types ¶
Click to show internal directories.
Click to hide internal directories.