APITestConfigDockerPostgreSQL constructor
APITestConfigDockerPostgreSQL(
- Map<
String, dynamic> apiConfig, { - DockerHost? dockerHost,
- String? containerNamePrefix,
- int? postgresPort,
- int? maxConnections,
- String? logStatement,
- Map<
String, String> ? settings, - String? initdbArgs,
- bool ephemeral = false,
- Map<
String, String> ? extraEnvironment, - String version = 'latest',
- bool cleanContainer = true,
- bool dockerChosenPort = false,
- DockerRunOptions? runOptions,
Implementation
APITestConfigDockerPostgreSQL(
Map<String, dynamic> apiConfig, {
DockerHost? dockerHost,
super.containerNamePrefix,
this.postgresPort,
this.maxConnections,
this.logStatement,
this.settings,
this.initdbArgs,
this.ephemeral = false,
this.extraEnvironment,
this.version = 'latest',
super.cleanContainer,
super.dockerChosenPort,
super.runOptions,
}) : super(dockerHost ?? DockerHostLocal(), 'PostgreSQL', apiConfig) {
DBPostgreSQLAdapter.boot();
}