sysinfo

package
v0.0.0-...-d02b2c3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UidCanMapExactRange

func UidCanMapExactRange(subidFileContents string, username string, uid, subID, mapSize uint32) bool

Types

type ResourcesProvider

type ResourcesProvider struct {
	// contains filtered or unexported fields
}

func NewResourcesProvider

func NewResourcesProvider(depotPath string) ResourcesProvider

func (ResourcesProvider) CPUCores

func (provider ResourcesProvider) CPUCores() (int, error)

func (ResourcesProvider) TotalDisk

func (provider ResourcesProvider) TotalDisk() (uint64, error)

func (ResourcesProvider) TotalMemory

func (provider ResourcesProvider) TotalMemory() (uint64, error)

Jump to

Keyboard shortcuts

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