Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricProvider ¶
func NewMetricProvider(resourceMetricsClient resourceclient.MetricsV1beta1Interface) metricprovider.Interface
NewMetricProvider creates a new MetricProvider with the given Kubernetes resource metrics client.
Types ¶
type MetricProvider ¶
type MetricProvider struct {
// contains filtered or unexported fields
}
MetricProvider provides metrics from the Kubernetes metrics API.
func (*MetricProvider) QueryLatest ¶
Click to show internal directories.
Click to hide internal directories.