Versions in this module Expand all Collapse all v0 v0.1.0 Feb 25, 2015 Changes in this version + const APIVersion + var ErrNotFound = errors.New("Not found") + type AuthConfig struct + Email string + Password string + Username string + type Callback func(*Event, chan error, ...interface{}) + type Client interface + ContainerLogs func(id string, options *LogOptions) (io.ReadCloser, error) + CreateContainer func(config *ContainerConfig, name string) (string, error) + Exec func(config *ExecConfig) (string, error) + Info func() (*Info, error) + InspectContainer func(id string) (*ContainerInfo, error) + KillContainer func(id, signal string) error + ListContainers func(all, size bool, filters string) ([]Container, error) + ListImages func() ([]*Image, error) + PauseContainer func(name string) error + PullImage func(name string, auth *AuthConfig) error + RemoveContainer func(id string, force bool) error + RemoveImage func(name string) error + RestartContainer func(id string, timeout int) error + StartContainer func(id string, config *HostConfig) error + StartMonitorEvents func(cb Callback, ec chan error, args ...interface{}) + StopAllMonitorEvents func() + StopContainer func(id string, timeout int) error + UnpauseContainer func(name string) error + Version func() (*Version, error) + type Container struct + Command string + Created int64 + Id string + Image string + Names []string + Ports []Port + SizeRootFs int64 + SizeRw int64 + Status string + type ContainerConfig struct + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + CpuShares int64 + Cpuset string + Domainname string + Entrypoint []string + Env []string + ExposedPorts map[string]struct{} + HostConfig HostConfig + Hostname string + Image string + Memory int64 + MemorySwap int64 + NetworkDisabled bool + OnBuild []string + OpenStdin bool + PortSpecs []string + StdinOnce bool + Tty bool + User string + Volumes map[string]struct{} + WorkingDir string + type ContainerInfo struct + Args []string + Config *ContainerConfig + Created string + ExecIDs []string + HostConfig *HostConfig + Id string + Image string + Name string + NetworkSettings struct{ ... } + Path string + ResolvConfPath string + State struct{ ... } + SysInitPath string + Volumes map[string]string + type DockerClient struct + HTTPClient *http.Client + TLSConfig *tls.Config + URL *url.URL + func NewDockerClient(daemonUrl string, tlsConfig *tls.Config) (*DockerClient, error) + func NewDockerClientTimeout(daemonUrl string, tlsConfig *tls.Config, timeout time.Duration) (*DockerClient, error) + func (client *DockerClient) ContainerLogs(id string, options *LogOptions) (io.ReadCloser, error) + func (client *DockerClient) CreateContainer(config *ContainerConfig, name string) (string, error) + func (client *DockerClient) Exec(config *ExecConfig) (string, error) + func (client *DockerClient) Info() (*Info, error) + func (client *DockerClient) InspectContainer(id string) (*ContainerInfo, error) + func (client *DockerClient) KillContainer(id, signal string) error + func (client *DockerClient) ListContainers(all bool, size bool, filters string) ([]Container, error) + func (client *DockerClient) ListImages() ([]*Image, error) + func (client *DockerClient) PauseContainer(id string) error + func (client *DockerClient) PullImage(name string, auth *AuthConfig) error + func (client *DockerClient) RemoveContainer(id string, force bool) error + func (client *DockerClient) RemoveImage(name string) error + func (client *DockerClient) RestartContainer(id string, timeout int) error + func (client *DockerClient) StartContainer(id string, config *HostConfig) error + func (client *DockerClient) StartMonitorEvents(cb Callback, ec chan error, args ...interface{}) + func (client *DockerClient) StopAllMonitorEvents() + func (client *DockerClient) StopContainer(id string, timeout int) error + func (client *DockerClient) UnpauseContainer(id string) error + func (client *DockerClient) Version() (*Version, error) + type Error struct + Status string + StatusCode int + func (e Error) Error() string + type Event struct + From string + Id string + Status string + Time int64 + type ExecConfig struct + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + Container string + Detach bool + Tty bool + type HostConfig struct + Binds []string + ContainerIDFile string + Dns []string + DnsSearch []string + Links []string + LxcConf []map[string]string + NetworkMode string + PortBindings map[string][]PortBinding + Privileged bool + PublishAllPorts bool + RestartPolicy RestartPolicy + VolumesFrom []string + type Image struct + Created int64 + Id string + ParentId string + RepoTags []string + Size int64 + VirtualSize int64 + type Info struct + Containers int64 + Driver string + DriverStatus [][]string + ExecutionDriver string + ID string + Images int64 + KernelVersion string + Labels []string + MemTotal int64 + NCPU int64 + Name string + OperatingSystem string + type LogOptions struct + Follow bool + Stderr bool + Stdout bool + Tail int64 + Timestamps bool + type Port struct + IP string + PrivatePort int + PublicPort int + Type string + type PortBinding struct + HostIp string + HostPort string + type RespContainersCreate struct + Id string + Warnings []string + type RestartPolicy struct + MaximumRetryCount int64 + Name string + type Version struct + GitCommit string + GoVersion string + Version string v0.1.0-rc4 Feb 13, 2015 v0.1.0-rc3 Feb 4, 2015 v0.1.0-rc2 Jan 28, 2015