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