{
  "repo": "tidbcloud/infra-provider",
  "binary": "controller",
  "binary_path": "network-policy-controller/cmd/controller/main.go",
  "surface_kind": "controller_service",
  "type": "controller_service",
  "extensions": {},
  "services": [
    {
      "name": "MetricsService",
      "type": "http",
      "methods": [
        {
          "name": "metrics",
          "name_key": "MetricsService.metrics",
          "path": "metrics-bind-address",
          "method": "GET",
          "description": "Controller-runtime metrics for the network policy controller."
        }
      ]
    },
    {
      "name": "ProbeService",
      "type": "http",
      "methods": [
        {
          "name": "healthz",
          "name_key": "ProbeService.healthz",
          "path": "/healthz",
          "method": "GET",
          "description": "Liveness probe."
        },
        {
          "name": "readyz",
          "name_key": "ProbeService.readyz",
          "path": "/readyz",
          "method": "GET",
          "description": "Readiness probe."
        }
      ]
    },
    {
      "name": "NetworkPolicyReconciler",
      "type": "controller",
      "methods": [
        {
          "name": "Reconcile",
          "name_key": "NetworkPolicyReconciler.Reconcile",
          "description": "Reconciles NetworkPolicy resources with calculated control-plane, DNS, load balancer, and o11y CIDRs."
        }
      ]
    }
  ]
}
