Documentation ¶
Overview ¶
TODO(cAdvisor): Package comment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HousekeepingInterval = flag.Duration("housekeeping_interval", 1*time.Second, "Interval between container housekeepings")
Housekeeping interval.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Start the manager. Start() error // Stops the manager. Stop() error // Get information about a container. GetContainerInfo(containerName string, query *info.ContainerInfoRequest) (*info.ContainerInfo, error) // Get information about all subcontainers of the specified container (includes self). SubcontainersInfo(containerName string, query *info.ContainerInfoRequest) ([]*info.ContainerInfo, error) // Get information for the specified Docker container (or "/" for all Docker containers). // Full container names here are interpreted within the Docker namespace (e.g.: /test -> top-level Docker container named 'test'). DockerContainersInfo(containerName string, query *info.ContainerInfoRequest) ([]*info.ContainerInfo, error) // Get information about the machine. GetMachineInfo() (*info.MachineInfo, error) // Get version information about different components we depend on. GetVersionInfo() (*info.VersionInfo, error) }
The Manager interface defines operations for starting a manager and getting container and machine information.
Click to show internal directories.
Click to hide internal directories.