( instanceOrEngine: Instance | InstanceResource | Engine )
| 160 | }; |
| 161 | |
| 162 | export const instanceV1HasSSH = ( |
| 163 | instanceOrEngine: Instance | InstanceResource | Engine |
| 164 | ): boolean => { |
| 165 | const engine = engineOfInstanceV1(instanceOrEngine); |
| 166 | return [ |
| 167 | Engine.MYSQL, |
| 168 | Engine.TIDB, |
| 169 | Engine.MARIADB, |
| 170 | Engine.OCEANBASE, |
| 171 | Engine.POSTGRES, |
| 172 | Engine.REDIS, |
| 173 | ].includes(engine); |
| 174 | }; |
| 175 | |
| 176 | export const instanceV1HasExtraParameters = ( |
| 177 | instanceOrEngine: Instance | InstanceResource | Engine |
no test coverage detected