package
0.33.0-alpha.1
Repository: https://github.com/kubernetes/metrics.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewAvailableAPIsGetter creates an AvailableAPIsGetter that checks discovery to find the available versions of the custom metrics api.
NewForConfig creates a new custom metrics client which delegates to a client which uses the preferred api version.
NewForVersion returns a new CustomMetricsClient for a particular api version.
NewForVersionForConfig returns a new CustomMetricsClient for a particular api version and base configuration.
NewMetricConverter creates a MetricConverter which knows how to convert objects between different versions of the custom metrics api.
PeriodicallyInvalidate periodically invalidates the preferred version cache until told to stop.

# Variables

MetricVersions is the set of metric versions accepted by the converter.

# Structs

MetricConverter knows how to convert between external MetricValue versions.

# Interfaces

AvailableAPIsGetter knows how to fetch and cache the preferred custom metrics API version, and invalidate that cache when asked.
CustomMetricsClient is a client for fetching metrics describing both root-scoped and namespaced resources.
MetricsInterface provides access to metrics describing Kubernetes objects.
NamespacedMetricsGetter provides access to an interface for fetching metrics describing resources in a particular namespace.
RootScopedMetricsGetter provides access to an interface for fetching metrics describing root-scoped objects.