cpuheadroom

package
v0.4.2 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: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUHeadroomOptions

type CPUHeadroomOptions struct {
	*CPUHeadroomUtilBasedOptions
}

func NewCPUHeadroomOptions

func NewCPUHeadroomOptions() *CPUHeadroomOptions

func (*CPUHeadroomOptions) AddFlags

func (o *CPUHeadroomOptions) AddFlags(fss *cliflag.NamedFlagSets)

func (*CPUHeadroomOptions) ApplyTo

type CPUHeadroomUtilBasedOptions

type CPUHeadroomUtilBasedOptions struct {
	Enable                         bool
	TargetReclaimedCoreUtilization float64
	MaxReclaimedCoreUtilization    float64
	MaxOversoldRate                float64
	MaxHeadroomCapacityRate        float64
}

func NewCPUHeadroomUtilBasedOptions

func NewCPUHeadroomUtilBasedOptions() *CPUHeadroomUtilBasedOptions

func (*CPUHeadroomUtilBasedOptions) AddFlags

func (o *CPUHeadroomUtilBasedOptions) AddFlags(fs *pflag.FlagSet)

func (*CPUHeadroomUtilBasedOptions) ApplyTo

Jump to

Keyboard shortcuts

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