compose

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImages added in v0.30.0

func BuildImages(opts CommandOptions) error

BuildImages builds images in opts.ImageNames, or builds all images if opts.ImageNames is empty

func KillContainers added in v0.30.0

func KillContainers(opts CommandOptions) error

KillContainers kills images in opts.ImageNames, or kills all images if opts.ImageNames is empty

func PullImages added in v0.30.0

func PullImages(opts CommandOptions) error

PullImages pulls images in opts.ImageNames, or pulls all images if opts.ImageNames is empty

func RunImages

func RunImages(opts CommandOptions) error

RunImages runs the given docker images, or runs all images if opts.ImageNames is empty

Types

type CommandOptions added in v0.30.0

type CommandOptions struct {
	DockerComposeDir      string
	DockerComposeFileName string
	Env                   []string
	ImageNames            []string
	Writer                io.Writer
	AbortOnExit           bool
	Build                 bool
}

CommandOptions is the options to compose functions that deal with multiple images

Jump to

Keyboard shortcuts

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