summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-config.json
blob: 74bcdbd5037d63b606558718c53311df72d6a1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
    "CONFIG": {
        "summary": "Configure Sentinel",
        "complexity": "O(1)",
        "group": "sentinel",
        "since": "6.2.0",
        "arity": -3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "arguments": [
            {
                "name":"set_or_get",
                "type":"oneof",
                "arguments":[
                    {
                        "name":"set_param_value",
                        "token":"SET",
                        "type":"block",
                        "multiple":true,
                        "arguments":[
                            {
                                "name":"parameter",
                                "type":"string"
                            },
                            {
                                "name":"value",
                                "type":"string"
                            }
                        ]
                    },
                    {
                        "token":"GET",
                        "multiple":true,
                        "name":"parameter",
                        "type":"string"
                    }
                ]
            }
        ]
    }
}