docker

package
v0.0.0-...-5f4265e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2015 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Overview

Provides utility methods for working with Docker.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSuchContainer = errors.New("can't find container")

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 *gdocker.Container) (int, error)

func (*DockerClient) ForceCleanContainer

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

func (*DockerClient) GetContainerIPs

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

func (*DockerClient) GetImage

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

func (*DockerClient) InspectContainer

func (d *DockerClient) InspectContainer(containerName string) (*gdocker.Container, error)

func (*DockerClient) ListContainers

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

Jump to

Keyboard shortcuts

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