View Source Testcontainers.CassandraContainer (testcontainers v1.11.6)

Provides functionality for creating and managing Cassandra container configurations.

Summary

Functions

Generates the connection URL for accessing the Cassandra service running within the container.

Retrieves the port mapped by the Docker host for the Cassandra container.

Set the regular expression to check the image validity.

Set the reuse flag to reuse the container if it is already running.

Functions

Link to this function

connection_uri(container)

View Source

Generates the connection URL for accessing the Cassandra service running within the container.

Retrieves the port mapped by the Docker host for the Cassandra container.

Link to this function

with_check_image(config, check_image)

View Source

Set the regular expression to check the image validity.

Link to this function

with_image(config, image)

View Source
Link to this function

with_reuse(config, reuse)

View Source

Set the reuse flag to reuse the container if it is already running.