summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-is-master-down-by-addr.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/sentinel-is-master-down-by-addr.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/commands/sentinel-is-master-down-by-addr.json b/src/commands/sentinel-is-master-down-by-addr.json
new file mode 100644
index 0000000..456ad18
--- /dev/null
+++ b/src/commands/sentinel-is-master-down-by-addr.json
@@ -0,0 +1,34 @@
+{
+ "IS-MASTER-DOWN-BY-ADDR": {
+ "summary": "Check if a master is down",
+ "complexity": "O(1)",
+ "group": "sentinel",
+ "since": "2.8.4",
+ "arity": 6,
+ "container": "SENTINEL",
+ "function": "sentinelCommand",
+ "command_flags": [
+ "ADMIN",
+ "SENTINEL",
+ "ONLY_SENTINEL"
+ ],
+ "arguments": [
+ {
+ "name": "ip",
+ "type": "string"
+ },
+ {
+ "name": "port",
+ "type": "integer"
+ },
+ {
+ "name": "current-epoch",
+ "type": "integer"
+ },
+ {
+ "name": "runid",
+ "type": "string"
+ }
+ ]
+ }
+}