docker

package
v0.0.0-...-d69b078 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewObject

func NewObject() engine.ContainerRuntime

NewObject returns a new Docker object

func Register

func Register()

Register docker with the engine

func RegisterConfigDecoder

func RegisterConfigDecoder()

RegisterConfigDecoder with the engine.

Types

type Checker

type Checker struct {
	Name string
	Deps []*Checker
}

Checker ...

type ConfigDecoder

type ConfigDecoder struct{}

ConfigDecoder object.

func (*ConfigDecoder) DecodeConfig

func (cd *ConfigDecoder) DecodeConfig(data interface{}) (engine.Config, error)

DecodeConfig returns a parsed config object

type Docker

type Docker struct {
	Registries *registry.List
	Containers *container.List
	Images     *image.List
	// contains filtered or unexported fields
}

Docker represents the docker process we are connected to

func (*Docker) Command

func (d *Docker) Command(cmd *engine.Command) error

Command takes a Command object and triggers events

func (*Docker) Setup

func (d *Docker) Setup(eng *engine.Engine, cfg engine.Config) error

Setup the docker instance

func (*Docker) Start

func (d *Docker) Start() error

Start docker instance

func (*Docker) Stop

func (d *Docker) Stop() error

Stop docker instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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