( _config?: ClientOptions, )
| 74 | |
| 75 | /** MD5 authenticated user with privileged access to the database */ |
| 76 | export const getMainConfiguration = ( |
| 77 | _config?: ClientOptions, |
| 78 | ): TcpConfiguration => { |
| 79 | return { |
| 80 | applicationName: config.postgres_md5.applicationName, |
| 81 | database: config.postgres_md5.database, |
| 82 | hostname: config.postgres_md5.hostname, |
| 83 | password: config.postgres_md5.password, |
| 84 | user: config.postgres_md5.users.main, |
| 85 | ..._config, |
| 86 | options: {}, |
| 87 | port: config.postgres_md5.port, |
| 88 | tls: enabled_tls, |
| 89 | host_type: "tcp", |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | export const getMd5Configuration = (tls: boolean): TcpConfiguration => { |
| 94 | return { |
no outgoing calls
no test coverage detected