GeminiAuthCheck reports whether Gemini or Vertex AI credentials are configured. Env defaults to os.Getenv but tests may override it.
| 195 | // GeminiAuthCheck reports whether Gemini or Vertex AI credentials are |
| 196 | // configured. Env defaults to os.Getenv but tests may override it. |
| 197 | type GeminiAuthCheck struct { |
| 198 | Env func(string) string |
| 199 | } |
| 200 | |
| 201 | func (c GeminiAuthCheck) Name() string { return "Gemini / Vertex Authentication Check" } |
| 202 | func (c GeminiAuthCheck) Run(_ context.Context, r Reporter) Result { |
nothing calls this directly
no outgoing calls
no test coverage detected