lib

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountCPUs added in v1.10.0

func CountCPUs() (int, error)

func CountMemoryModules added in v1.10.0

func CountMemoryModules(ctx context.Context) (int, error)

Types

type Product added in v1.10.0

type Product int

Product represents server hardware product name.

const (
	Other Product = iota
	R6525
	R7525
)

Product

func DetectProduct added in v1.10.0

func DetectProduct() (Product, error)

DetectProduct detects product name.

type Vendor

type Vendor int

Vendor represents server hardware vendor.

const (
	Unknown Vendor = iota
	QEMU
	Dell
)

Vendors

func DetectVendor

func DetectVendor() (Vendor, error)

DetectVendor detects hardware vendor.

Jump to

Keyboard shortcuts

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