Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOneTimeResourceUsageOnNode ¶
func GetOneTimeResourceUsageOnNode(c clientset.Interface, nodeName string, containerNames func() []string) (util.ResourceUsagePerContainer, error)
GetOneTimeResourceUsageOnNode queries the node's /stats/summary endpoint and returns the resource usage of all containerNames returned by the containerNames function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.