package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev
# Functions
NewMetricPromise creates a MetricPromise structure with both channels of length 1.
NewMetricPromises returns a list of MetricPromises with requested length.
# Constants
Aggregation modes which should be used for data aggregation.
Aggregation modes which should be used for data aggregation.
Aggregation modes which should be used for data aggregation.
Aggregation modes which should be used for data aggregation.
# Variables
DerivedResources is a map from a derived resource(a resource that is not supported by heapster) to native resource (supported by heapster) to which derived resource should be converted.
# Structs
CachedResources contains all resources that may be required by DataSelect functions for metric gathering.
Metric is a format of data used in this module.
MetricPromise is used for parallel data extraction.
ResourceSelector is a structure used to quickly and uniquely identify given resource.
SidecarMetric is a format of data used by our sidecar.
# Interfaces
MetricClient is an interface that exposes API used by dashboard to show graphs and sparklines.
# Type aliases
AggregationMode informs how data should be aggregated (sum, min, max).
Label stores information about identity of resources (UIDs) described by metric.