reporter

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

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

Jump to

Keyboard shortcuts

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