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 ¶
func (o *CPUHeadroomOptions) ApplyTo(c *cpuheadroom.CPUHeadroomConfiguration) error
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 ¶
func (o *CPUHeadroomUtilBasedOptions) ApplyTo(c *cpuheadroom.CPUUtilBasedConfiguration) error
Click to show internal directories.
Click to hide internal directories.