Versions in this module Expand all Collapse all v0 v0.23.0 Apr 21, 2016 Changes in this version + var ArgContainerHints = flag.String("container_hints", "/etc/cadvisor/container_hints.json", ...) + func CgroupExists(cgroupPaths map[string]string) bool + func DebugInfo(watches map[string][]string) map[string][]string + func GetContainerHintsFromFile(containerHintsFile string) (containerHints, error) + func GetSpec(cgroupPaths map[string]string, machineInfoFactory info.MachineInfoFactory, ...) (info.ContainerSpec, error) + func ListDirectories(dirpath string, parent string, recursive bool, output map[string]struct{}) error + func MakeCgroupPaths(mountPoints map[string]string, name string) map[string]string + type FsHandler interface + Start func() + Stop func() + Usage func() (baseUsageBytes uint64, totalUsageBytes uint64) + func NewFsHandler(period time.Duration, rootfs, extraDir string, fsInfo fs.FsInfo) FsHandler + type InotifyWatcher struct + func NewInotifyWatcher() (*InotifyWatcher, error) + func (iw *InotifyWatcher) AddWatch(containerName, dir string) (bool, error) + func (iw *InotifyWatcher) Close() error + func (iw *InotifyWatcher) Error() chan error + func (iw *InotifyWatcher) Event() chan *inotify.Event + func (iw *InotifyWatcher) GetWatches() map[string][]string + func (iw *InotifyWatcher) RemoveWatch(containerName, dir string) (bool, error) + type Mount struct + ContainerDir string + HostDir string