diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/sentinel-monitor.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/sentinel-monitor.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/sentinel-monitor.json b/examples/redis-unstable/src/commands/sentinel-monitor.json new file mode 100644 index 0000000..cf6b4ee --- /dev/null +++ b/examples/redis-unstable/src/commands/sentinel-monitor.json | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | { | ||
| 2 | "MONITOR": { | ||
| 3 | "summary": "Starts monitoring.", | ||
| 4 | "complexity": "O(1)", | ||
| 5 | "group": "sentinel", | ||
| 6 | "since": "2.8.4", | ||
| 7 | "arity": 6, | ||
| 8 | "container": "SENTINEL", | ||
| 9 | "function": "sentinelCommand", | ||
| 10 | "command_flags": [ | ||
| 11 | "ADMIN", | ||
| 12 | "SENTINEL", | ||
| 13 | "ONLY_SENTINEL" | ||
| 14 | ], | ||
| 15 | "reply_schema": { | ||
| 16 | "const": "OK" | ||
| 17 | }, | ||
| 18 | "arguments": [ | ||
| 19 | { | ||
| 20 | "name": "name", | ||
| 21 | "type": "string" | ||
| 22 | }, | ||
| 23 | { | ||
| 24 | "name": "ip", | ||
| 25 | "type": "string" | ||
| 26 | }, | ||
| 27 | { | ||
| 28 | "name": "port", | ||
| 29 | "type": "integer" | ||
| 30 | }, | ||
| 31 | { | ||
| 32 | "name": "quorum", | ||
| 33 | "type": "integer" | ||
| 34 | } | ||
| 35 | ] | ||
| 36 | } | ||
| 37 | } | ||
