docker

package
v0.0.0-...-aa49ab7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct {
	// contains filtered or unexported fields
}

func GetConnection

func GetConnection(dockerSocket string) (*DockerClient, error)

func (*DockerClient) ChildProcessForContainer

func (d *DockerClient) ChildProcessForContainer(container *docker.Container) (int, error)

func (*DockerClient) ForceCleanContainer

func (d *DockerClient) ForceCleanContainer(ID string) error

func (*DockerClient) GetContainer

func (d *DockerClient) GetContainer(containerName string, waitForContainer bool) (*docker.Container, error)

func (*DockerClient) GetContainerIPs

func (d *DockerClient) GetContainerIPs(ids []string) (map[string]string, error)

func (*DockerClient) GetImage

func (d *DockerClient) GetImage(imageName string) (*docker.Image, error)

func (*DockerClient) ListContainers

func (d *DockerClient) ListContainers() ([]docker.APIContainers, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL