1etcdctl3(1)                                                        etcdctl3(1)
2
3
4

NAME

6       etcdctl-lock - Acquires a named lock
7
8
9

SYNOPSIS

11       ETCDCTL=3 etcdctl lock <lockname> [exec-command arg1 arg2 ...] [flags]
12
13
14

DESCRIPTION

16       Acquires a named lock
17
18
19

OPTIONS

21       -h, --help[=false]
22           help for lock
23
24
25       --ttl=10
26           timeout for session
27
28
29

OPTIONS INHERITED FROM PARENT COMMANDS

31       --cacert=""
32           verify certificates of TLS-enabled secure servers using this CA
33       bundle
34
35
36       --cert=""
37           identify secure client using this TLS certificate file
38
39
40       --command-timeout=5s
41           timeout for short running command (excluding dial timeout)
42
43
44       --debug[=false]
45           enable client-side debug logging
46
47
48       --dial-timeout=2s
49           dial timeout for client connections
50
51
52       -d, --discovery-srv=""
53           domain name to query for SRV records describing cluster endpoints
54
55
56       --discovery-srv-name=""
57           service name to query when using DNS discovery
58
59
60       --endpoints=[127.0.0.1:2379]
61           gRPC endpoints
62
63
64       --hex[=false]
65           print byte strings as hex encoded strings
66
67
68       --insecure-discovery[=true]
69           accept insecure SRV records describing cluster endpoints
70
71
72       --insecure-skip-tls-verify[=false]
73           skip server certificate verification (CAUTION: this option should
74       be enabled only for testing purposes)
75
76
77       --insecure-transport[=true]
78           disable transport security for client connections
79
80
81       --keepalive-time=2s
82           keepalive time for client connections
83
84
85       --keepalive-timeout=6s
86           keepalive timeout for client connections
87
88
89       --key=""
90           identify secure client using this TLS key file
91
92
93       --password=""
94           password for authentication (if this option is used, --user option
95       shouldn't include password)
96
97
98       --user=""
99           username[:password] for authentication (prompt if password is not
100       supplied)
101
102
103       -w, --write-out="simple"
104           set the output format (fields, json, protobuf, simple, table)
105
106
107

SEE ALSO

109       etcdctl(1)
110
111
112

HISTORY

114       4-Sep-2020 Auto generated by spf13/cobra
115
116
117
118Auto generated by spf13/cobra      Sep 2020                        etcdctl3(1)
Impressum