dockerclient

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 1 Imported by: 0

Documentation

Overview

Package dockerclient contains code dealing closely with the go-dockerclient package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	AddEventListener(listener chan<- *docker.APIEvents) error
	CreateContainer(opts docker.CreateContainerOptions) (*docker.Container, error)
	ImportImage(opts docker.ImportImageOptions) error
	InspectContainer(id string) (*docker.Container, error)
	InspectImage(name string) (*docker.Image, error)
	ListContainers(opts docker.ListContainersOptions) ([]docker.APIContainers, error)
	PullImage(opts docker.PullImageOptions, auth docker.AuthConfiguration) error
	RemoveContainer(opts docker.RemoveContainerOptions) error
	RemoveEventListener(listener chan *docker.APIEvents) error
	StartContainer(id string, hostConfig *docker.HostConfig) error
	StopContainer(id string, timeout uint) error
	Version() (*docker.Env, error)
}

Client is an interface specifying the subset of github.com/fsouza/go-dockerclient.Client that the agent uses.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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