test

package
v0.2.0-rc10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 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 TestEnv

type TestEnv struct {
	Log logger.Logger
	// contains filtered or unexported fields
}

func NewTestEnv

func NewTestEnv(envName string) *TestEnv

func (*TestEnv) CreateDockerPool

func (t *TestEnv) CreateDockerPool(keepExisting bool) error

func (*TestEnv) Purge

func (t *TestEnv) Purge(resource string) error

func (*TestEnv) Retry

func (t *TestEnv) Retry(op func() error) error

func (*TestEnv) Run

func (t *TestEnv) Run(opts *dockertest.RunOptions) (*dockertest.Resource, error)

func (*TestEnv) Shutdown

func (env *TestEnv) Shutdown() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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