package docker
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/google/cadvisor/container/docker"
Handler for Docker containers.
Handler for Docker containers.
Index ¶
- Variables
- func Client() (*dclient.Client, error)
- func ContainerNameToDockerId(name string) string
- func DockerImages() ([]docker.APIImages, error)
- func DockerInfo() (map[string]string, error)
- func DockerStateDir() string
- func Register(factory info.MachineInfoFactory, fsInfo fs.FsInfo) error
- func RootDir() string
- func UseSystemd() bool
Variables ¶
var DockerNamespace = "docker"
The namespace under which Docker aliases are unique.
Functions ¶
func Client ¶
func ContainerNameToDockerId ¶
Returns the Docker ID from the full container name.
func DockerImages ¶
func DockerInfo ¶
func DockerStateDir ¶
func DockerStateDir() string
TODO(vmarmol): Export run dir too for newer Dockers. Directory holding Docker container state information.
func Register ¶
func Register(factory info.MachineInfoFactory, fsInfo fs.FsInfo) error
Register root container before running this function!
func RootDir ¶
func RootDir() string
func UseSystemd ¶
func UseSystemd() bool
Source Files ¶
client.go factory.go fsHandler.go handler.go
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- linux/amd64
- Imports
- 19 packages
- Last checked
- 4 minutes ago –
Tools for package owners.