aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/sentinel-config.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/sentinel-config.json')
-rw-r--r--examples/redis-unstable/src/commands/sentinel-config.json121
1 files changed, 0 insertions, 121 deletions
diff --git a/examples/redis-unstable/src/commands/sentinel-config.json b/examples/redis-unstable/src/commands/sentinel-config.json
deleted file mode 100644
index a406125..0000000
--- a/examples/redis-unstable/src/commands/sentinel-config.json
+++ /dev/null
@@ -1,121 +0,0 @@
1{
2 "CONFIG": {
3 "summary": "Configures Redis Sentinel.",
4 "complexity": "O(N) when N is the number of configuration parameters provided",
5 "group": "sentinel",
6 "since": "6.2.0",
7 "arity": -4,
8 "container": "SENTINEL",
9 "function": "sentinelCommand",
10 "history": [
11 [
12 "7.2.0",
13 "Added the ability to set and get multiple parameters in one call."
14 ]
15 ],
16 "command_flags": [
17 "ADMIN",
18 "SENTINEL",
19 "ONLY_SENTINEL"
20 ],
21 "reply_schema": {
22 "oneOf": [
23 {
24 "type": "object",
25 "description": "When 'SENTINEL-CONFIG GET' is called, returns a map.",
26 "properties": {
27 "resolve-hostnames": {
28 "oneOf": [
29 {
30 "const": "yes"
31 },
32 {
33 "const": "no"
34 }
35 ]
36 },
37 "announce-hostnames": {
38 "oneOf": [
39 {
40 "const": "yes"
41 },
42 {
43 "const": "no"
44 }
45 ]
46 },
47 "announce-ip": {
48 "type": "string"
49 },
50 "announce-port": {
51 "type": "string"
52 },
53 "sentinel-user": {
54 "type": "string"
55 },
56 "sentinel-pass": {
57 "type": "string"
58 },
59 "loglevel": {
60 "oneOf": [
61 {
62 "const": "debug"
63 },
64 {
65 "const": "verbose"
66 },
67 {
68 "const": "notice"
69 },
70 {
71 "const": "warning"
72 },
73 {
74 "const": "nothing"
75 },
76 {
77 "const": "unknown"
78 }
79 ]
80 }
81 },
82 "additionalProperties": false
83 },
84 {
85 "const": "OK",
86 "description": "When 'SENTINEL-CONFIG SET' is called, returns OK on success."
87 }
88 ]
89 },
90 "arguments": [
91 {
92 "name":"action",
93 "type":"oneof",
94 "arguments":[
95 {
96 "name":"set",
97 "token":"SET",
98 "type":"block",
99 "multiple": true,
100 "arguments":[
101 {
102 "name":"parameter",
103 "type":"string"
104 },
105 {
106 "name":"value",
107 "type":"string"
108 }
109 ]
110 },
111 {
112 "token":"GET",
113 "name":"parameter",
114 "type":"string",
115 "multiple": true
116 }
117 ]
118 }
119 ]
120 }
121}