system

package
v0.0.0-...-e94af25 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT-0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFipsInfo

func GetFipsInfo() (bool, bool, error)

Returns whether FIPS module is both installed an enabled on the system

ipsInstalled, fipsEnabled, err := getFipsInfo()

func GetMilliNumCores

func GetMilliNumCores() (int, error)

GetMilliNumCores this is a striped version of GetNodesInfo that only get information for NumCores https://github.com/google/cadvisor/blob/master/utils/sysinfo/sysinfo.go#L203

func IsCPUOnline

func IsCPUOnline(cpuID int) bool

func NewNetworkingAspect

func NewNetworkingAspect() *networkingAspect

NewNetworkingAspect constructs new networkingAspect.

Types

type SystemAspect

type SystemAspect interface {
	Name() string
	Setup(*api.NodeConfig) error
}

func NewLocalDiskAspect

func NewLocalDiskAspect() SystemAspect

Jump to

Keyboard shortcuts

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