docker

package
v0.0.0-...-8cb0f73 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(selector Selector, cmd []string)

Exec runs a command inside a running scape container

func Remove

func Remove(container types.Container)

Remove lets you delete a scape container

func Run

func Run(selector Selector)

Run starts a new scape container

func Select

func Select(selector Selector, running bool) []types.Container

Select returns a list of scape containers matching the passed Selector

func Stop

func Stop(container types.Container)

Stop lets you stop a scape container

Types

type Selector

type Selector struct {
	Name string
	URL  string
	Path string
}

Selector is a high level construct to easily select scape containers

Jump to

Keyboard shortcuts

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