kubelet

package
v0.0.0-...-392b1d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL