diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/sentinel-set.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/sentinel-set.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/sentinel-set.json b/examples/redis-unstable/src/commands/sentinel-set.json new file mode 100644 index 0000000..3e86196 --- /dev/null +++ b/examples/redis-unstable/src/commands/sentinel-set.json | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | { | ||
| 2 | "SET": { | ||
| 3 | "summary": "Changes the configuration of a monitored Redis master.", | ||
| 4 | "complexity": "O(1)", | ||
| 5 | "group": "sentinel", | ||
| 6 | "since": "2.8.4", | ||
| 7 | "arity": -5, | ||
| 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": "master-name", | ||
| 21 | "type": "string" | ||
| 22 | }, | ||
| 23 | { | ||
| 24 | "name": "data", | ||
| 25 | "type": "block", | ||
| 26 | "multiple": true, | ||
| 27 | "arguments": [ | ||
| 28 | { | ||
| 29 | "name": "option", | ||
| 30 | "type": "string" | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | "name": "value", | ||
| 34 | "type": "string" | ||
| 35 | } | ||
| 36 | ] | ||
| 37 | } | ||
| 38 | ] | ||
| 39 | } | ||
| 40 | } | ||
