package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

# Functions

NewCadvisorStatsProvider returns a containerStatsProvider that provides both the node and the container stats from cAdvisor.
NewCRIStatsProvider returns a Provider that provides the node stats from cAdvisor and the container stats from CRI.
NewFakeHostStatsProvider provides a way to test with fake host statistics.
NewFakeHostStatsProviderWithData provides a way to test with fake host statistics.
NewFakeMetricsDu inserts fake statistics when asked for metrics.
NewHostStatsProvider returns a new HostStatsProvider type struct.

# Structs

Provider provides the stats of the node and the pod-managed containers.

# Interfaces

HostStatsProvider defines an interface for providing host stats associated with pod.
PodManager is the subset of methods the manager needs to observe the actual state of the kubelet.

# Type aliases

ByCreationTime implements sort.Interface for []containerInfoWithCgroup based on the cinfo.Spec.CreationTime field.
PodEtcHostsPathFunc is a function to fetch a etc hosts path by pod uid and whether etc host path is supported by the runtime.