()
| 306 | } |
| 307 | |
| 308 | get postgresCACert(): string | undefined { |
| 309 | if (!this._config.pgCa) { |
| 310 | return undefined; |
| 311 | } |
| 312 | try { |
| 313 | return getFileContent(this._config.pgCa, 'postgres ca cert'); |
| 314 | } catch (e: any) { |
| 315 | logger.error(e, 'Unable to get postges CA Cert'); |
| 316 | throw e; |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | get postgresClientKey(): string | undefined { |
| 321 | if (!this._config.pgKey) { |
nothing calls this directly
no test coverage detected