From 01414b1f4fbeae20f809a797db85ca4c3f7cc41c Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sat, 12 Jul 2014 13:00:40 -0700 Subject: Implement remaining commands For certain commands that need to be directed at a node (CONFIG, CLIENT, SCRIPT, etc), the syntax can be complicated and highly variant. For this reason, these remaining commands have been implemented in a generic way, where users will rely on the error message from Redis to figure out what went wrong. All of the commands take our standardized "node" argument which can either take the form of a string key, or Array(host, port). --- redis_cluster.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'redis_cluster.h') diff --git a/redis_cluster.h b/redis_cluster.h index a86b447a..8008eb94 100644 --- a/redis_cluster.h +++ b/redis_cluster.h @@ -229,6 +229,12 @@ PHP_METHOD(RedisCluster, punsubscribe); PHP_METHOD(RedisCluster, eval); PHP_METHOD(RedisCluster, evalsha); PHP_METHOD(RedisCluster, info); +PHP_METHOD(RedisCluster, cluster); +PHP_METHOD(RedisCluster, client); +PHP_METHOD(RedisCluster, config); +PHP_METHOD(RedisCluster, pubsub); +PHP_METHOD(RedisCluster, script); +PHP_METHOD(RedisCluster, slowlog); /* SCAN and friends */ PHP_METHOD(RedisCluster, scan); -- cgit v1.2.3