|
iceberg-cpp
|
Docker Compose orchestration utilities for integration testing. More...
#include <docker_compose_util.h>
Public Member Functions | |
| DockerCompose (std::string project_name, std::filesystem::path docker_compose_dir) | |
| Initializes the Docker Compose manager context. | |
| DockerCompose (const DockerCompose &)=delete | |
| DockerCompose & | operator= (const DockerCompose &)=delete |
| DockerCompose (DockerCompose &&)=default | |
| DockerCompose & | operator= (DockerCompose &&)=default |
| const std::string & | project_name () const |
| Get the docker project name. | |
| void | Up () |
| Executes 'docker-compose up' to start services. | |
| void | Down () |
| Executes 'docker-compose down' to stop and remove services. | |
Docker Compose orchestration utilities for integration testing.
| iceberg::DockerCompose::DockerCompose | ( | std::string | project_name, |
| std::filesystem::path | docker_compose_dir | ||
| ) |
Initializes the Docker Compose manager context.
| project_name | A unique identifier for this project to ensure test isolation. |
| docker_compose_dir | The directory path containing the target docker-compose.yml. |
| void iceberg::DockerCompose::Down | ( | ) |
Executes 'docker-compose down' to stop and remove services.
| void iceberg::DockerCompose::Up | ( | ) |
Executes 'docker-compose up' to start services.