MCPcopy Create free account
hub / github.com/github/gh-aw / GetEngineOption

Function GetEngineOption

pkg/constants/engine_constants.go:164–171  ·  view source on GitHub ↗

GetEngineOption returns the EngineOption for the given engine value, or nil if not found

(engineValue string)

Source from the content-addressed store, hash-verified

162
163// GetEngineOption returns the EngineOption for the given engine value, or nil if not found
164func 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.

Calls

no outgoing calls