APITestConfigDockerPostgreSQL constructor

APITestConfigDockerPostgreSQL(
  1. Map<String, dynamic> apiConfig, {
  2. DockerHost? dockerHost,
  3. String? containerNamePrefix,
  4. int? postgresPort,
  5. int? maxConnections,
  6. String? logStatement,
  7. Map<String, String>? settings,
  8. String? initdbArgs,
  9. bool ephemeral = false,
  10. Map<String, String>? extraEnvironment,
  11. String version = 'latest',
  12. bool cleanContainer = true,
  13. bool dockerChosenPort = false,
  14. 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();
}