{
  "repo": "tidbcloud/infra-provider",
  "binary": "infra-provider",
  "binary_path": "infra-api/cmd/infra-provider/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "extensions": {},
  "services": [
    {
      "name": "MetricsService",
      "type": "http",
      "methods": [
        {
          "name": "metrics",
          "name_key": "MetricsService.metrics",
          "path": "/metrics",
          "method": "GET",
          "description": "Controller-runtime metrics endpoint with optional pprof extra handlers."
        },
        {
          "name": "pprof",
          "name_key": "MetricsService.pprof",
          "path": "/debug/pprof/*",
          "method": "GET",
          "description": "pprof endpoints attached to the metrics server when --pprof is enabled."
        }
      ]
    },
    {
      "name": "ProbeService",
      "type": "http",
      "methods": [
        {
          "name": "healthz",
          "name_key": "ProbeService.healthz",
          "path": "/healthz",
          "method": "GET",
          "description": "Liveness probe for the infra-api controller manager."
        },
        {
          "name": "readyz",
          "name_key": "ProbeService.readyz",
          "path": "/readyz",
          "method": "GET",
          "description": "Readiness probe for the infra-api controller manager."
        }
      ]
    },
    {
      "name": "WebhookService",
      "type": "webhook",
      "methods": [
        {
          "name": "RegisterWebhooks",
          "name_key": "WebhookService.RegisterWebhooks",
          "path": ":9443",
          "method": "HTTPS",
          "description": "Mutating and validating webhooks registered through cloudv1.RegisterWebhooks."
        }
      ]
    },
    {
      "name": "InfraAPIControllers",
      "type": "controller",
      "methods": [
        {
          "name": "ReconcileInfrastructure",
          "name_key": "InfraAPIControllers.ReconcileInfrastructure",
          "description": "Runs provider type, cluster, network, network peer, import, backup, restore, TiCDC, hibernation, and crossplane controllers."
        }
      ]
    }
  ]
}
