composerunner

package
v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(options RunOptions) error

Run runs docker images based on the given options

func Shutdown

func Shutdown(options RunOptions) error

Shutdown kills the docker images based on the given options

Types

type ImageGroup

type ImageGroup struct {
	ID          string
	Names       []string
	OnlineTexts map[string]string
}

ImageGroup is a group of images to run at once

type RunOptions

type RunOptions struct {
	ImageGroups              []ImageGroup
	DockerComposeDir         string
	DockerComposeProjectName string
	DockerConfigs            types.DockerConfigs
	Logger                   *util.Logger
}

RunOptions are the options passed into Run

Jump to

Keyboard shortcuts

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