client

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2015 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnectionTimeout = time.Millisecond * 500
View Source
var DockpitPrefix = "dp"

Functions

This section is empty.

Types

type Docker

type Docker struct {
	Host string
	// contains filtered or unexported fields
}

func NewDocker

func NewDocker(m *model.Model, host, cert string) (*Docker, error)

func (*Docker) Build

func (d *Docker) Build(b *model.Build) (string, error)

func (*Docker) Containers added in v0.4.2

func (d *Docker) Containers() ([]dockerclient.Container, error)

func (*Docker) Info

func (d *Docker) Info() (*dockerclient.Info, error)

func (*Docker) Remove added in v0.3.1

func (d *Docker) Remove(s *model.State) error

func (*Docker) RemoveAll

func (d *Docker) RemoveAll() error

func (*Docker) Start added in v0.3.1

func (d *Docker) Start(run *model.Run, prefix string) (string, error)

func (*Docker) Switch

func (d *Docker) Switch(iso *model.Isolation) error

Jump to

Keyboard shortcuts

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