e2e

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

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

Container represents a docker container

func NewContainer

func NewContainer(image string, privatePort int) *Container

NewContainer creates a new Container

func (*Container) GetAddress

func (c *Container) GetAddress(t *testing.T) string

GetAddress returns the host:port this container listens on

func (*Container) Start

func (c *Container) Start(t *testing.T)

Start starts a new docker container on a random port

func (*Container) Stop

func (c *Container) Stop(t *testing.T)

Stop terminates this container

Jump to

Keyboard shortcuts

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