Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSysMemory ¶ added in v0.36.0
func GetSysMemory(mt MemoryType) uint64
GetSysMemory reports on total installed or available memory (in bytes).
func VerifySSSE3Support ¶
func VerifySSSE3Support() bool
VerifySSSE3Support check if SSSE3 is supported on the host.
func VerifyVirtSupport ¶
func VerifyVirtSupport() bool
VerifyVirtSupport checks if virtualization is supported by a cpu in case topology contains VM-based nodes when clab itself is being invoked as a container, this check is bypassed.
Types ¶
type MemoryType ¶ added in v0.36.0
type MemoryType int
const ( MemoryTypeTotal MemoryType = iota MemoryTypeAvailable )
Click to show internal directories.
Click to hide internal directories.