{
  "repo": "pingcap/br",
  "binary": "tidb-lightning-ctl",
  "binary_path": "cmd/tidb-lightning-ctl/main.go",
  "dependencies": {
    "CLI tidb-lightning-ctl": {
      "infrastructure": {
        "mysql": {
          "conditions": [
            "Only for checkpoint and restore-related control paths"
          ],
          "operations": [
            {
              "operation": "CHECKPOINT / CONTROL PLANE ACTIONS",
              "trigger": "Execute checkpoint, mode-switch, engine import, cleanup, and compaction actions",
              "conditions": [
                "Specific control flags are supplied"
              ],
              "implementation": "run() -> compactCluster / switchMode / fetchMode / checkpoint* / importEngine / cleanupEngine"
            }
          ]
        }
      },
      "services": []
    }
  }
}
