Documentation ¶
Index ¶
- Constants
- type ContainersEnvironment
- func (c *ContainersEnvironment) FinishedDockerComposeEnvironment(t *testing.T)
- func (c *ContainersEnvironment) FinishedPureDockerEnvironment(t *testing.T, ctx context.Context)
- func (c *ContainersEnvironment) StartDockerComposeEnvironment(t *testing.T, composeFilePaths []string, identifier string)
- func (c *ContainersEnvironment) StartPureDockerEnvironment(t *testing.T, ctx context.Context)
Constants ¶
View Source
const ( NetworkName = "test_id_provisioning_network" AppName = "app" KafkaImage = "confluentinc/cp-kafka:7.2.0" KafkaBrokerPort = "9092" KafkaClientPort = "9101" KafkaContainerName = "broker" ZookeeperImage = "confluentinc/cp-zookeeper:7.2.0" ZooKeeperPort = "2181" ZooKeeperContainerName = "zookeeper" ZooTickTime = "2000" PostgresImage = "postgres:14" PostgresPort = "5432" PostgresContainerName = "db" PostgresUsername = "admin" PostgresPassword = "password" PostgresDB = "id-provisioning" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainersEnvironment ¶
type ContainersEnvironment struct {
// contains filtered or unexported fields
}
func (*ContainersEnvironment) FinishedDockerComposeEnvironment ¶
func (c *ContainersEnvironment) FinishedDockerComposeEnvironment(t *testing.T)
FinishedDockerComposeEnvironment - finished containers (env) which we created by second way.
func (*ContainersEnvironment) FinishedPureDockerEnvironment ¶
func (c *ContainersEnvironment) FinishedPureDockerEnvironment(t *testing.T, ctx context.Context)
FinishedPureDockerEnvironment - finished containers (env) which we created by first way.
func (*ContainersEnvironment) StartDockerComposeEnvironment ¶
func (c *ContainersEnvironment) StartDockerComposeEnvironment( t *testing.T, composeFilePaths []string, identifier string, )
StartDockerComposeEnvironment - create and start docker containers env with second way.
func (*ContainersEnvironment) StartPureDockerEnvironment ¶
func (c *ContainersEnvironment) StartPureDockerEnvironment(t *testing.T, ctx context.Context)
StartPureDockerEnvironment - create and start docker containers env with first way.
Click to show internal directories.
Click to hide internal directories.