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 { 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)
Click to show internal directories.
Click to hide internal directories.