package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# 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

CrioSocket 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.