{
  "repo": "pingcap/tidb-ctl",
  "binary": "tidb-ctl",
  "binary_path": "main.go",
  "dependencies": {
    "CLI tidb-ctl mvcc": {
      "description": "Issue HTTP GET requests to TiDB status endpoints to fetch MVCC information by key, transaction, hex key, or index value.",
      "infrastructure": {
        "tidb_status_http_api": {
          "conditions": [
            "User runs mvcc inspection commands"
          ],
          "operations": [
            {
              "operation": "Send HTTP GET requests to the TiDB status API",
              "implementation": "cmd/root.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI tidb-ctl region": {
      "description": "Issue HTTP GET requests to TiDB status endpoints to fetch region metadata.",
      "infrastructure": {
        "tidb_status_http_api": {
          "conditions": [
            "User runs region inspection commands"
          ],
          "operations": [
            {
              "operation": "Send HTTP GET requests to the TiDB status API",
              "implementation": "cmd/root.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI tidb-ctl schema": {
      "description": "Issue HTTP GET requests to TiDB status endpoints to fetch schema metadata.",
      "infrastructure": {
        "tidb_status_http_api": {
          "conditions": [
            "User runs schema inspection commands"
          ],
          "operations": [
            {
              "operation": "Send HTTP GET requests to the TiDB status API",
              "implementation": "cmd/root.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI tidb-ctl table": {
      "description": "Issue HTTP GET requests to TiDB status endpoints to fetch table metadata.",
      "infrastructure": {
        "tidb_status_http_api": {
          "conditions": [
            "User runs table inspection commands"
          ],
          "operations": [
            {
              "operation": "Send HTTP GET requests to the TiDB status API",
              "implementation": "cmd/root.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI tidb-ctl decoder": {
      "description": "Decode TiDB-encoded values locally without starting any network listener.",
      "infrastructure": {},
      "services": []
    },
    "CLI tidb-ctl etcd": {
      "description": "Call PD's etcd grpc-gateway endpoints to inspect or mutate DDL-related keys.",
      "infrastructure": {
        "pd_etcd_grpc_gateway": {
          "conditions": [
            "User runs the etcd ddlinfo, delkey, or putkey commands"
          ],
          "operations": [
            {
              "operation": "Send HTTP POST requests to /v3/kv/range, /v3/kv/deleterange, and /v3/kv/put",
              "implementation": "cmd/etcd.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI tidb-ctl keyrange": {
      "description": "Inspect key range related metadata locally or through already collected TiDB metadata.",
      "infrastructure": {},
      "services": []
    }
  }
}
