reactive

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricsClient added in v0.2.0

func NewMetricsClient(metricProvider metricprovider.Interface) podautoscalermetrics.MetricsClient

NewMetricsClient creates a podautoscalermetrics.MetricsClient backed by given metric provider.

func NewPortraitGenerator

func NewPortraitGenerator(metricProvider metricprovider.Interface, podLister corev1listers.PodLister, scaler *pkgscale.Scaler) portraitgenerator.Interface

NewPortraitGenerator creates a new PortraitGenerator with the given Kubernetes client, metrics provider and scaler.

Types

type PortraitGenerator

type PortraitGenerator struct {
	// contains filtered or unexported fields
}

PortraitGenerator generates portraits reactively based on latest metrics.

Jump to

Keyboard shortcuts

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