summaryrefslogtreecommitdiffstats
path: root/src/commands/client-no-evict.json
blob: 9ed6718405675f7e19b89d10d8fcd3683bf60cd8 (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
{
    "NO-EVICT": {
        "summary": "Sets the client eviction mode of the connection.",
        "complexity": "O(1)",
        "group": "connection",
        "since": "7.0.0",
        "arity": 3,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "ADMIN",
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "arguments": [
            {
                "name": "enabled",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "on",
                        "type": "pure-token",
                        "token": "ON"
                    },
                    {
                        "name": "off",
                        "type": "pure-token",
                        "token": "OFF"
                    }
                ]
            }
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}