api

package
v0.0.1-0...-07845db Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(name string, dir string)

Build builds a docker image from the image directory

func Deploy

func Deploy(name string, dir string, port string)

Deploy spins up a new container

func ImageRemove

func ImageRemove(imageID string) (err error)

Remove remove docker image by imageID

func Pull

func Pull(name string, verbose bool)

Pull image from hub.docker.com

func Remove

func Remove(containerID string) (err error)

Remove interrupts and remove a running container

func Stop

func Stop(containerID string) (err error)

Stop interrupts a running container

Types

This section is empty.

Jump to

Keyboard shortcuts

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