{
  "repo": "tidbcloud/dashboard",
  "binary": "dashboard-backend",
  "binary_path": "src/app/backend/dashboard.go",
  "dependencies": {
    "Runtime DashboardBackendHTTP.serve": {
      "infrastructure": {
        "http": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "SERVE HTTP",
              "trigger": "Serve dashboard API traffic and metrics",
              "conditions": [
                "The backend starts successfully"
              ],
              "implementation": "HTTP server startup and promhttp metrics registration in src/app/backend/dashboard.go"
            }
          ]
        },
        "kubernetes": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "CALL KUBERNETES API",
              "trigger": "Handle dashboard resource and auth requests",
              "conditions": [
                "The backend handles API requests"
              ],
              "implementation": "backend client manager and resource handlers under src/app/backend"
            }
          ]
        }
      },
      "services": []
    }
  }
}
