Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsClient ¶
type MetricsClient interface { // GetResourceMetric gets the given resource metric (and an associated oldest timestamp) // for all pods matching the specified selector in the given namespace GetResourceMetric() (NodeMetricsInfo, time.Time, error) }
MetricsClient knows how to query a remote interface to retrieve container-level resource metrics as well as pod-level arbitrary metrics
func NewRESTMetricsClient ¶
func NewRESTMetricsClient(resourceClient resourceclient.NodeMetricsesGetter) MetricsClient
NewRESTMetricsClient returns a metricsClient.
Click to show internal directories.
Click to hide internal directories.