{
  "repo": "tidbcloud/infra-provider",
  "binary": "server",
  "binary_path": "config-manager/cmd/server/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": "ProbeService",
      "type": "http",
      "methods": [
        {
          "name": "healthz",
          "name_key": "ProbeService.healthz",
          "path": "/healthz",
          "method": "GET",
          "description": "Liveness probe for config-manager."
        },
        {
          "name": "readyz",
          "name_key": "ProbeService.readyz",
          "path": "/readyz",
          "method": "GET",
          "description": "Readiness probe for config-manager."
        }
      ]
    },
    {
      "name": "SecondaryConfirmAPI",
      "type": "http",
      "methods": [
        {
          "name": "SecondaryConfirmRoutes",
          "name_key": "SecondaryConfirmAPI.SecondaryConfirmRoutes",
          "path": "api-bind-address",
          "method": "GET/POST/PATCH/DELETE",
          "description": "HTTP API initialized by secondaryconfirm.InitRouter for config-change confirmation workflows."
        }
      ]
    },
    {
      "name": "WebhookService",
      "type": "webhook",
      "methods": [
        {
          "name": "ClusterRevisionMutator",
          "name_key": "WebhookService.ClusterRevisionMutator",
          "path": "/mutate-cloud-pingcap-com-v1-cluster-revision",
          "method": "HTTPS",
          "description": "Mutating admission webhook for cluster revisions when globally deployed."
        }
      ]
    },
    {
      "name": "ClusterConfigControllers",
      "type": "controller",
      "methods": [
        {
          "name": "ReconcileClusterConfig",
          "name_key": "ClusterConfigControllers.ReconcileClusterConfig",
          "description": "Runs cluster config reconciliation and garbage collection when globally deployed."
        }
      ]
    }
  ]
}
