Help us shape the future of Go! Take the 2026 Go Developer Survey

docker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.1.1

type Config struct {
	Logger micrologger.Logger

	Dir             string
	ExistingCluster bool
	ImageTag        string
	RemoteCluster   bool
}

type Docker

type Docker struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) *Docker

func (*Docker) Build added in v0.1.1

func (d *Docker) Build(out io.Writer, image, path, tag string, env []string) error

func (*Docker) Run

func (d *Docker) Run(out io.Writer, command string, env ...string) error

Run executes a command in the e2e-harness container.

func (*Docker) RunPortForward

func (d *Docker) RunPortForward(out io.Writer, command string, env ...string) error

RunPortForward executes a command in the e2e-harness container after setting up the port forwarding to the remote cluster, this command is meant to be used after that cluster has been initialized

Jump to

Keyboard shortcuts

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