test

package
v0.3.6-dev45 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 5 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