GetEngineOption returns the EngineOption for the given engine value, or nil if not found
(engineValue string)
| 162 | |
| 163 | // GetEngineOption returns the EngineOption for the given engine value, or nil if not found |
| 164 | func GetEngineOption(engineValue string) *EngineOption { |
| 165 | for i := range EngineOptions { |
| 166 | if EngineOptions[i].Value == engineValue { |
| 167 | return &EngineOptions[i] |
| 168 | } |
| 169 | } |
| 170 | return nil |
| 171 | } |
| 172 | |
| 173 | // GetAllEngineSecretNames returns all unique secret names across all configured engines. |
| 174 | // This includes primary secrets, alternative secrets, and system-level secrets. |
no outgoing calls