docker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DOCKER_URI  = ""
	DOCKER_CERT = ""
	DOCKER_CA   = ""
	DOCKER_KEY  = ""
)

Functions

func ConvertContainer

func ConvertContainer(info *docker.Container) (interfaces.Container, error)

func CreateConfig

func CreateConfig(c interfaces.Config) docker.Config

func CreateHostconfig

func CreateHostconfig(c interfaces.HostConfig) docker.HostConfig

Types

type Containers

type Containers struct {
}

func (*Containers) BuildImage

func (d *Containers) BuildImage(opts interfaces.BuildImageOptions) error

func (*Containers) ListContainers

func (d *Containers) ListContainers() (map[string]interfaces.Container, error)

func (*Containers) ListImages

func (d *Containers) ListImages() (map[string]interfaces.Image, error)

func (*Containers) PullImage

func (d *Containers) PullImage(i interfaces.Image) error

func (*Containers) RemoveContainer

func (d *Containers) RemoveContainer(c *interfaces.Container) error

func (*Containers) RestartContainer

func (d *Containers) RestartContainer(c *interfaces.Container) error

func (*Containers) StartContainer

func (d *Containers) StartContainer(c *interfaces.Container) error

func (*Containers) StopContainer

func (d *Containers) StopContainer(c *interfaces.Container) error

func (*Containers) System

func (d *Containers) System() (*interfaces.Node, error)

Jump to

Keyboard shortcuts

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