docker

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package docker allows to interact with Docker and docker-compose resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunDockerCompose

func RunDockerCompose(t *testing.T, options *Options, args ...string) string

RunDockerCompose runs docker-compose with the given arguments and options and return stdout/stderr.

func RunDockerComposeE

func RunDockerComposeE(t *testing.T, options *Options, args ...string) (string, error)

RunDockerComposeE runs docker-compose with the given arguments and options and return stdout/stderr.

Types

type Options

type Options struct {
	WorkingDir string
	EnvVars    map[string]string
}

Options are Docker options.

Jump to

Keyboard shortcuts

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