containersuite

package
v8.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerSuite

type ContainerSuite struct {
	// WaitTime specifies the wait period before checking if the container is up
	WaitTime time.Duration
	// ContainerImage is the ID of docker image to be used
	ContainerImage string
	// GatewayAddress is the contact point of the spawned Zeebe container specified in the format 'host:port'
	GatewayAddress string
	GatewayHost    string
	GatewayPort    int
	// MonitoringAddress is the contact point of the spawned Zeebe container specified in the format 'host:port'
	MonitoringAddress string
	// Env will add additional environment variables when creating the container
	Env map[string]string

	suite.Suite
	// contains filtered or unexported fields
}

ContainerSuite sets up a container running Zeebe and tears it down afterwards.

func (*ContainerSuite) AfterTest

func (s *ContainerSuite) AfterTest(_, _ string)

func (*ContainerSuite) ConsumeLogs added in v8.4.0

func (s *ContainerSuite) ConsumeLogs(consumer func(s string))

func (*ContainerSuite) PrintFailedContainerLogs

func (s *ContainerSuite) PrintFailedContainerLogs()

func (*ContainerSuite) SetupSuite

func (s *ContainerSuite) SetupSuite()

func (*ContainerSuite) TearDownSuite

func (s *ContainerSuite) TearDownSuite()

Jump to

Keyboard shortcuts

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