func DebugInfo(watches map[string][]string) map[string][]string { … }
var bootTime …
func GetSpec(cgroupPaths map[string]string, machineInfoFactory info.MachineInfoFactory, hasNetwork, hasFilesystem bool) (info.ContainerSpec, error) { … }
func getSpecInternal(cgroupPaths map[string]string, machineInfoFactory info.MachineInfoFactory, hasNetwork, hasFilesystem, cgroup2UnifiedMode bool) (info.ContainerSpec, error) { … }
func GetControllerPath(cgroupPaths map[string]string, controllerName string, cgroup2UnifiedMode bool) (string, bool) { … }
func readString(dirpath string, file string) string { … }
func convertCPUWeightToCPULimit(weight uint64) (uint64, error) { … }
func parseUint64String(strValue string) uint64 { … }
func readUInt64(dirpath string, file string) uint64 { … }
func ListDirectories(dirpath string, parent string, recursive bool, output map[string]struct{ … }
func listDirectories(dirpath string, parent string, recursive bool, output map[string]struct{ … }
func MakeCgroupPaths(mountPoints map[string]string, name string) map[string]string { … }
func CgroupExists(cgroupPaths map[string]string) bool { … }
func ListContainers(name string, cgroupPaths map[string]string, listType container.ListType) ([]info.ContainerReference, error) { … }
func AssignDeviceNamesToDiskStats(namer DeviceNamer, stats *info.DiskIoStats) { … }
func assignDeviceNamesToPerDiskStats(namer DeviceNamer, diskStats ...[]info.PerDiskStats) { … }
type DeviceNamer …
type MachineInfoNamer …
func (n *MachineInfoNamer) DeviceName(major, minor uint64) (string, bool) { … }
type deviceIdentifier …
type deviceIdentifierMap …
func (m deviceIdentifierMap) Find(major, minor uint64, namer DeviceNamer) string { … }
func RemoveNetMetrics(metrics container.MetricSet, remove bool) container.MetricSet { … }