{
  "repo": "tidbcloud/infra-provider",
  "binary": "infra-webhook",
  "binary_path": "infra-api/cmd/infra-webhook/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."
        },
        {
          "name": "pprof",
          "name_key": "MetricsService.pprof",
          "path": "/debug/pprof/*",
          "method": "GET",
          "description": "pprof endpoints exposed with the metrics server when enabled."
        }
      ]
    },
    {
      "name": "ProbeService",
      "type": "http",
      "methods": [
        {
          "name": "healthz",
          "name_key": "ProbeService.healthz",
          "path": "/healthz",
          "method": "GET",
          "description": "Webhook manager liveness probe."
        },
        {
          "name": "readyz",
          "name_key": "ProbeService.readyz",
          "path": "/readyz",
          "method": "GET",
          "description": "Webhook manager readiness probe."
        }
      ]
    },
    {
      "name": "WebhookService",
      "type": "webhook",
      "methods": [
        {
          "name": "RegisterWebhooks",
          "name_key": "WebhookService.RegisterWebhooks",
          "path": ":9443",
          "method": "HTTPS",
          "description": "Admission webhooks for cloudv1 resources."
        }
      ]
    }
  ]
}
