cpuset

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// New is an alias for cpuset.New.
	New = cpuset.New
	// Parse is an alias for cpuset.Parse.
	Parse = cpuset.Parse
)

Functions

func MustParse

func MustParse(s string) cpuset.CPUSet

MustParse panics if parsing the given cpuset string fails.

func ShortCPUSet

func ShortCPUSet(cset cpuset.CPUSet) string

ShortCPUSet prints the cpuset as a string, trying to further shorten compared to .String().

Types

type CPUSet

type CPUSet = cpuset.CPUSet

CPUSet is an alias for k8s.io/utils/cpuset.CPUSet.

Jump to

Keyboard shortcuts

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