{
  "repo": "tidbcloud/tiflash-autoscale-supervisor",
  "binary": "tiflash-autoscale-supervisor",
  "binary_path": "rpc_server.go",
  "dependencies": {
    "AssignServer.AssignTenant": {
      "infrastructure": {},
      "services": [
        {
          "name": "kubernetes-api",
          "protocol": "https",
          "target_interface": "Client-go patch and metadata operations",
          "purpose": "Update pod labels and assignment state"
        },
        {
          "name": "tiflash-local",
          "protocol": "grpc",
          "target_interface": "tikvpb.IsAlive and related local TiFlash RPC checks",
          "purpose": "Verify and coordinate local TiFlash availability"
        }
      ]
    },
    "AssignServer.UnassignTenant": {
      "infrastructure": {},
      "services": [
        {
          "name": "kubernetes-api",
          "protocol": "https",
          "target_interface": "Client-go patch and metadata operations",
          "purpose": "Release TiFlash assignment state"
        }
      ]
    },
    "AssignServer.GetCurrentTenant": {
      "infrastructure": {},
      "services": []
    }
  }
}
