performanceprofile

package
v0.0.0-...-9c5689a Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OriginalPerformanceProfile *performancev2.PerformanceProfile
)

Functions

func CleanPerformanceProfiles

func CleanPerformanceProfiles() error

func CreatePerformanceProfile

func CreatePerformanceProfile(performanceProfileName, machineConfigPoolName string) error

func DiscoverPerformanceProfiles

func DiscoverPerformanceProfiles(enforcedPerformanceProfileName string) (bool, string, []*performancev2.PerformanceProfile)

func FindDefaultPerformanceProfile

func FindDefaultPerformanceProfile(performanceProfileName string) (*performancev2.PerformanceProfile, error)

func FindOrOverridePerformanceProfile

func FindOrOverridePerformanceProfile(performanceProfileName, machineConfigPoolName string) error

func IsSingleNUMANode

func IsSingleNUMANode(perfProfile *performancev2.PerformanceProfile) bool

func RestorePerformanceProfile

func RestorePerformanceProfile(machineConfigPoolName string) error

func ValidatePerformanceProfile

func ValidatePerformanceProfile(performanceProfile *performancev2.PerformanceProfile) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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