package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
CapacityFromMachineInfo returns the capacity of the resources from the machine info.
EphemeralStorageCapacityFromFsInfo returns the capacity of the ephemeral storage from the FsInfo.
New creates a new cAdvisor Interface for linux systems.
NewImageFsInfoProvider returns a provider for the specified runtime configuration.
UsingLegacyCadvisorStats returns true if container stats are provided by cadvisor instead of through the CRI.
# Constants
CrioSocketSuffix is the path to the CRI-O socket.
# Interfaces
ImageFsInfoProvider informs cAdvisor how to find imagefs for container images.
Interface is an abstract interface for testability.