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

var ArgDockerEndpoint = flag.String("docker", "unix:///var/run/docker.sock", "docker endpoint")
var DockerNamespace = "docker"

The namespace under which Docker aliases are unique.

Functions

func Client

func Client() (*dclient.Client, error)

func ContainerNameToDockerId

func ContainerNameToDockerId(name string) string

Returns the Docker ID from the full container name.

func DockerImages

func DockerImages() ([]docker.APIImages, error)

func DockerInfo

func DockerInfo() (map[string]string, error)

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.