runner

package
v0.0.0-...-46fe30e Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (*docker.Client, error)

func Run

func Run(p RunParams) (*RunResults, error)

Types

type Context

type Context struct {
	Client            *docker.Client
	ImageName         string
	ImageTag          string
	Args              []string
	RunnerPort        docker.Port
	ContainerID       string
	ContainerHostPort string
}

func NewContext

func NewContext() *Context

func (Context) PullImage

func (ctx Context) PullImage() error

func (Context) Request

func (ctx Context) Request(p RunParams) (*RunResults, error)

func (*Context) Start

func (ctx *Context) Start(p RunParams) (*RunResults, error)

Jump to

Keyboard shortcuts

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