virt

package
v0.54.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL