Skip to main content

postgres_test_harness/
lib.rs

1#![doc = include_str!("../README.md")]
2
3mod admin;
4mod admission;
5mod cleanup;
6mod config;
7mod error;
8mod fingerprint;
9mod harness;
10mod metadata;
11mod name;
12mod server;
13
14pub use config::{
15    ConnectionLimits, DEFAULT_OWNED_CONTAINER_TMPFS_SIZE_BYTES, HarnessConfig,
16    OwnedContainerProfile, POSTGRES_TEST_ADMIN_URL_ENV, POSTGRES_TEST_IMAGE_ENV, ProjectName,
17};
18pub use error::{BoxError, DeferredCleanupFailure, Error, Result};
19pub use fingerprint::{FingerprintBuilder, TemplateFingerprint, TemplateSpec};
20pub use harness::{
21    CleanupReport, DatabaseLease, DatabaseTemplate, PostgresHarness, PrewarmPoolStatus,
22    PrewarmedDatabasePool, cleanup_stale_databases,
23};