MCPcopy Create free account
hub / github.com/baidu/tera / InitializeCommandTable

Function InitializeCommandTable

src/admincli.cc:1887–1904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1885}
1886
1887static void InitializeCommandTable() {
1888 CommandTable& command_table = GetCommandTable();
1889 command_table["diff"] = MetaDiffOp;
1890 command_table["put"] = MetaPutOp;
1891 command_table["delete"] = MetaDeleteOp;
1892 command_table["modify"] = MetaModifyOp;
1893 command_table["get"] = MetaGetOp;
1894 command_table["show"] = MetaShowOp;
1895 command_table["backup"] = MetaBackUpOp;
1896 command_table["healthcheck"] = MetaHealthCheckOp;
1897 command_table["conv"] = MetaConvOp;
1898 command_table["ugi"] = UgiOp;
1899 command_table["role"] = RoleOp;
1900 command_table["auth"] = AuthOp;
1901 command_table["procedure-limit"] = ProcedureLimitOp;
1902 command_table["help"] = HelpOp;
1903 command_table["dfs-throughput-limit"] = DfsThroughputHardLimitOp;
1904}
1905
1906CliStatus ExecuteCommand(Client* client, int argc, char** arg_list) {
1907 CliStatus ret = CliStatus::kOk;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected