util

package
v1.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeprecatedLabelNamespace              string = "feature.node.kubernetes.io"
	DeprecatedLabellerNamespaceAnnotation        = "node-labeller-feature.node.kubernetes.io"
	DeprecatedcpuFeaturePrefix                   = "/cpu-feature-"
	DeprecatedcpuModelPrefix                     = "/cpu-model-"
	DeprecatedHyperPrefix                        = "/kvm-info-cap-hyperv-"
	DefaultMinCPUModel                           = "Penryn"
	RequirePolicy                                = "require"
	KVMPath                                      = "/dev/kvm"
	VmxFeature                                   = "vmx"
)

Variables

View Source
var DefaultArchitecturePrefix = map[string]string{
	"amd64": "x86_",
	"arm64": "arm_",
}
View Source
var DefaultObsoleteCPUModels = map[string]bool{
	"486":        true,
	"pentium":    true,
	"pentium2":   true,
	"pentium3":   true,
	"pentiumpro": true,
	"coreduo":    true,
	"n270":       true,
	"core2duo":   true,
	"Conroe":     true,
	"athlon":     true,
	"phenom":     true,
	"qemu64":     true,
	"qemu32":     true,
	"kvm64":      true,
	"kvm32":      true,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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