test

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 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
api
domain
Package mock_domain is a generated GoMock package.
Package mock_domain is a generated GoMock package.
eventsourcing
Package mock_eventsourcing is a generated GoMock package.
Package mock_eventsourcing is a generated GoMock package.
gateway
Package mock_gateway is a generated GoMock package.
Package mock_gateway is a generated GoMock package.
domain
repositories
Package mock_repositories is a generated GoMock package.
Package mock_repositories is a generated GoMock package.
Package mock_eventsourcing is a generated GoMock package.
Package mock_eventsourcing is a generated GoMock package.
Package mock_reactor is a package for reactor testing.
Package mock_reactor is a package for reactor testing.
sigs.k8s.io
controller-runtime/pkg
Package mock_client is a generated GoMock package.
Package mock_client is a generated GoMock package.

Jump to

Keyboard shortcuts

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