{
  "repo": "tidbcloud/tidbcloud-provider",
  "binary": "tidbcloud-provider",
  "binary_path": "main.go",
  "dependencies": {
    "Runtime TiDBCloudProviderLifecycle.StartManager": {
      "infrastructure": {
        "kubernetes_api": {
          "conditions": [
            "Always when the controller manager is running in or against a cluster"
          ],
          "operations": [
            {
              "operation": "Watch custom resources",
              "trigger": "Start the controller-runtime manager and Cluster controller",
              "conditions": [
                "Cluster CRDs are installed"
              ],
              "implementation": "main.go creates ctrl.Manager, registers core.ClusterController, and calls mgr.Start(...)"
            }
          ]
        }
      },
      "services": [
        {
          "name": "tidbcloud-api",
          "protocol": "https",
          "target_interface": "pkg/controller/core reconcile logic",
          "purpose": "Provision and manage TiDB Cloud resources for Crossplane Cluster custom resources"
        }
      ]
    }
  }
}
