advisor

package
v0.5.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestrictConstraints added in v0.5.5

func NewRestrictConstraints() map[v1alpha1.ControlKnobName]v1alpha1.RestrictConstraints

Types

type AdvisorConfiguration

type AdvisorConfiguration struct {
	*MemoryGuardConfiguration
	*CPUProvisionConfiguration
}

func NewAdvisorConfiguration

func NewAdvisorConfiguration() *AdvisorConfiguration

func (*AdvisorConfiguration) ApplyConfiguration

func (c *AdvisorConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

type CPUProvisionConfiguration added in v0.5.5

type CPUProvisionConfiguration struct {
	AllowSharedCoresOverlapReclaimedCores bool
	RegionIndicatorTargetConfiguration    map[v1alpha1.QoSRegionType][]v1alpha1.IndicatorTargetConfiguration
	RestrictConstraints                   map[v1alpha1.ControlKnobName]v1alpha1.RestrictConstraints
}

func NewCPUProvisionConfiguration added in v0.5.5

func NewCPUProvisionConfiguration() *CPUProvisionConfiguration

func (*CPUProvisionConfiguration) ApplyConfiguration added in v0.5.5

func (c *CPUProvisionConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

type MemoryGuardConfiguration

type MemoryGuardConfiguration struct {
	Enable bool
}

func NewMemoryGuardConfiguration

func NewMemoryGuardConfiguration() *MemoryGuardConfiguration

func (*MemoryGuardConfiguration) ApplyConfiguration

func (c *MemoryGuardConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

Jump to

Keyboard shortcuts

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