{
  "repo": "tidbcloud/infra-provider",
  "binary": "controller",
  "binary_path": "network-policy-controller/cmd/controller/main.go",
  "dependencies": {
    "MetricsService.metrics": {
      "infrastructure": {},
      "services": []
    },
    "ProbeService.healthz": {
      "infrastructure": {},
      "services": []
    },
    "ProbeService.readyz": {
      "infrastructure": {},
      "services": []
    },
    "NetworkPolicyReconciler.Reconcile": {
      "infrastructure": {
        "kubernetes": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Controller-runtime watch/reconcile",
              "trigger": "Apply or update network policies",
              "implementation": "networkpolicy.Reconciler.SetupWithManager(mgr)"
            },
            {
              "operation": "CreateOrUpdate NetworkPolicy",
              "trigger": "Keep network policy rules aligned with expected CIDRs",
              "implementation": "apply.NewApplier(cfg.Kubeconfig)"
            }
          ]
        },
        "aws": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Load AWS config",
              "trigger": "Resolve AWS region and CIDR-related behavior",
              "implementation": "awsconfig.LoadDefaultConfig(context.Background())"
            }
          ]
        }
      },
      "services": []
    }
  }
}
