summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-reset.json
blob: c7711e97dafd9ff282791c0d2be9089e847e6e91 (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
{
    "RESET": {
        "summary": "Reset a Redis Cluster node",
        "complexity": "O(N) where N is the number of known nodes. The command may execute a FLUSHALL as a side effect.",
        "group": "cluster",
        "since": "3.0.0",
        "arity": -2,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "ADMIN",
            "STALE",
            "NOSCRIPT"
        ],
        "arguments": [
            {
                "name": "hard_soft",
                "type": "oneof",
                "optional": true,
                "arguments": [
                    {
                        "name": "hard",
                        "type": "pure-token",
                        "token": "HARD"
                    },
                    {
                        "name": "soft",
                        "type": "pure-token",
                        "token": "SOFT"
                    }
                ]
            }
        ]
    }
}