runner

package
v0.0.0-...-ef87dce Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spartan

type Spartan struct {
	Cortana *cortana.Sentient
	// contains filtered or unexported fields
}

Spartan is the object type to allow management of running the docker image

func New

func New(conf *config.Set) (*Spartan, error)

New will create an instance of Spartan with the desired config

func (*Spartan) Start

func (s *Spartan) Start(image string) error

Start will run the docker image

func (*Spartan) Stop

func (s *Spartan) Stop() error

Stop will stop the given image from running and ensure that anything else created with it is also cleaned up

Jump to

Keyboard shortcuts

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