Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUHeadroomManagerConfiguration ¶
type CPUHeadroomManagerConfiguration struct{}
func NewCPUHeadroomManagerConfiguration ¶
func NewCPUHeadroomManagerConfiguration() *CPUHeadroomManagerConfiguration
type HeadroomReporterConfiguration ¶
type HeadroomReporterConfiguration struct { HeadroomReporterSyncPeriod time.Duration HeadroomReporterSlidingWindowTime time.Duration HeadroomReporterSlidingWindowMinStep v1.ResourceList HeadroomReporterSlidingWindowMaxStep v1.ResourceList HeadroomReporterSlidingWindowAggregateFunction string HeadroomReporterSlidingWindowAggregateArguments string *CPUHeadroomManagerConfiguration *MemoryHeadroomManagerConfiguration }
HeadroomReporterConfiguration stores configurations of headroom reporters in qos aware plugin
func NewHeadroomReporterConfiguration ¶
func NewHeadroomReporterConfiguration() *HeadroomReporterConfiguration
NewHeadroomReporterConfiguration creates new headroom reporter configurations
type MemoryHeadroomManagerConfiguration ¶
type MemoryHeadroomManagerConfiguration struct{}
func NewMemoryHeadroomManagerConfiguration ¶
func NewMemoryHeadroomManagerConfiguration() *MemoryHeadroomManagerConfiguration
type NodeMetricReporterConfiguration ¶ added in v0.4.1
type NodeMetricReporterConfiguration struct { SyncPeriod time.Duration MetricSlidingWindowTime time.Duration AggregateFuncs map[v1.ResourceName]string AggregateArgs map[v1.ResourceName]string }
NodeMetricReporterConfiguration stores configurations of node metric reporter in qos aware plugin
func NewNodeMetricReporterConfiguration ¶ added in v0.4.1
func NewNodeMetricReporterConfiguration() *NodeMetricReporterConfiguration
NewNodeMetricReporterConfiguration creates new headroom reporter configurations
type ReporterConfiguration ¶ added in v0.4.1
type ReporterConfiguration struct { Reporters []string *HeadroomReporterConfiguration *NodeMetricReporterConfiguration }
ReporterConfiguration stores configurations of headroom reporter and node metric reporter
func NewReporterConfiguration ¶ added in v0.4.1
func NewReporterConfiguration() *ReporterConfiguration
Click to show internal directories.
Click to hide internal directories.