integration

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen() (net.Listener, *grpc.ClientConn, error)

Listen opens a random local port and listens on it.

Types

type Env

type Env struct {
	*integration.Env
	// contains filtered or unexported fields
}

Env holds a complete testing environment for end-to-end tests.

func NewEnv

func NewEnv(ctx context.Context) (*Env, error)

NewEnv sets up common resources for tests.

func (*Env) Close

func (env *Env) Close()

Close releases resources allocated by NewEnv.

Jump to

Keyboard shortcuts

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