Documentation ¶
Index ¶
- func GetAvailableResources(k8sclient corev1client.CoreV1Interface, resourceName string, ...) (map[string]v1.ResourceList, error)
- func GetNodeMetricsGroupedByNode(metricsClient metricsclientset.Interface, resourceName string, ...) (map[string]metricsapi.NodeMetrics, error)
- func GetPodMetricsGroupedByNode(metricsclient metricsclientset.Interface, ...) (map[string][]metricsapi.PodMetrics, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableResources ¶
func GetAvailableResources(k8sclient corev1client.CoreV1Interface, resourceName string, selector labels.Selector, showCapacity bool) (map[string]v1.ResourceList, error)
func GetNodeMetricsGroupedByNode ¶
func GetNodeMetricsGroupedByNode(metricsClient metricsclientset.Interface, resourceName string, labelsSelector labels.Selector, fieldSelector fields.Selector) (map[string]metricsapi.NodeMetrics, error)
func GetPodMetricsGroupedByNode ¶
func GetPodMetricsGroupedByNode(metricsclient metricsclientset.Interface, k8sclient corev1client.CoreV1Interface) (map[string][]metricsapi.PodMetrics, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.