Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeUsage ¶
func GetNodeMetrics ¶
1. Creates a config object from the kubeconfig file provided 2. Creates a clientset (groups of client) from the config object 3. Calls the appropriate function to get the metrics from the given API 4. Creates a slice of struct elements having resource usage and returns it back
Click to show internal directories.
Click to hide internal directories.