summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-set.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-set.json')
-rw-r--r--src/commands/sentinel-set.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/commands/sentinel-set.json b/src/commands/sentinel-set.json
new file mode 100644
index 0000000..3e86196
--- /dev/null
+++ b/src/commands/sentinel-set.json
@@ -0,0 +1,40 @@
+{
+ "SET": {
+ "summary": "Changes the configuration of a monitored Redis master.",
+ "complexity": "O(1)",
+ "group": "sentinel",
+ "since": "2.8.4",
+ "arity": -5,
+ "container": "SENTINEL",
+ "function": "sentinelCommand",
+ "command_flags": [
+ "ADMIN",
+ "SENTINEL",
+ "ONLY_SENTINEL"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ },
+ "arguments": [
+ {
+ "name": "master-name",
+ "type": "string"
+ },
+ {
+ "name": "data",
+ "type": "block",
+ "multiple": true,
+ "arguments": [
+ {
+ "name": "option",
+ "type": "string"
+ },
+ {
+ "name": "value",
+ "type": "string"
+ }
+ ]
+ }
+ ]
+ }
+}