Gyu-Ho Lee
f65aee0759
*: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Anthony Romano
9f7375c225
ctlv2: save v3 db with v2 data using --with-v3
...
Also strips out v3 data if not given --with-v3.
2017-08-31 22:57:41 -07:00
Anthony Romano
ad0b3cfdab
ctlv2: report unhealthy in cluster-health if any node is unavailable
...
Fixes #8061 and #7032
2017-06-09 10:57:17 -07:00
Anthony Romano
2f1542c06d
*: use filepath.Join for files
2017-03-16 07:46:06 -07:00
Gyu-Ho Lee
3d75395875
*: remove never-unused vars, minor lint fix
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-03-06 14:59:12 -08:00
Anthony Romano
5559a026d7
etcdctl: remove GetUser check before mutable commands
...
etcdctl was checking if the user exists before applying mutable calls;
if etcdctl contacts a minority member, the member may not know the user
exists on the cluster yet, causing command failure when it should succeed.
If the user does not exist, it will be picked up once the command goes
through raft.
Fixes #6932
2016-12-05 12:12:06 -08:00
Gyu-Ho Lee
9b470ef4c0
etcdctl/ctlv2: error handling with JSON
2016-11-01 20:59:13 -07:00
joshrosso
e489229153
etcdctl: add ttl unit to flag description
...
Add the ttl unit (seconds) to --ttl description for etcdctl's mk, mkdir, set,
setdir, update, and updatedir commands.
2016-10-25 17:12:15 -07:00
Anthony Romano
e218834b58
etcdctl: set ServerName for TLS when using --discovery-srv
2016-08-03 22:28:03 -07:00
jesse.millan
205f10aeb6
etcdctl: Add support for formating output of key related commands
...
All v2 key and dir related commands will now honor the global format option if
it was specified. Otherwise, the output will remain the same.
2016-07-27 14:17:19 -07:00
jesse.millan
f18d5433cc
etcdctl: Add support for formating output of ls command in json
...
The ls command will check for and honor json or extended output formats.
Fixes #5993
2016-07-20 18:05:23 -07:00
Anthony Romano
97ff1abb3e
etcdctl: remove 0.4 import command
2016-07-13 15:30:37 -07:00
Anthony Romano
439b96f090
etcdctl: remove 0.4 peer syncing
2016-07-13 15:26:25 -07:00
Danny Sauer
a998fb4af1
etcdctl: index is incremented in Watcher; remove double-increment
2016-06-23 08:54:34 -05:00
Gyu-Ho Lee
5720fe812e
etcdctl: use CreateDirAll
2016-06-22 15:55:56 -07:00
Gyu-Ho Lee
bdca594495
etcdctl/ctlv2: use latest Action interface
2016-06-20 16:34:28 -07:00
Gyu-Ho Lee
0ae9d444f9
ctlv2: use urfave/cli in ctlv2
2016-06-20 15:17:03 -07:00
Katsuyuki Tateishi
8b75a33398
*: replace '-' with '--' for long options
...
A long option should have double dashes (cf. #4595 ),
so are error messages.
2016-06-06 12:25:45 +09:00
Gyu-Ho Lee
c538e0f9a9
etcdctl: update LICENSE header
2016-05-12 20:51:39 -07:00
Ajit Yagaty
23f9d72870
etcdctl: Add --wal-dir and --backup-wal-dir options to backup command.
...
If the WAL is stored in a separate directory then the backup command
would need a --wal-dir option to pick the path to the WAL directory.
The user might also want to store the backup of data and wal separately
for which --backup-wal-dir option is provided.
2016-05-10 18:38:56 -07:00
Gyu-Ho Lee
62a9209088
etcdctl/ctlv2: total-timeout for Sync
...
Fix https://github.com/coreos/etcd/issues/4897 .
2016-05-10 14:20:05 -07:00
Rob Holland
a00be40db2
etcdctl: Add a newline so that errors don't bleed into each other.
2016-04-27 14:25:57 +01:00
Anthony Romano
a12fd9cc92
etcdctl: print grant/revoke error instead of scanning roles for changes
...
Fixes #5045
2016-04-12 10:49:05 -07:00
Gyu-Ho Lee
fb85da92e8
*: fix based on gosimple and unused
2016-04-07 23:16:37 -07:00
kayrus
720502b25f
etcdctl: Handle ETCDCTL_USERNAME environment
2016-03-29 19:06:31 +02:00
Ajit Yagaty
2e3856740d
etcdctl: Add aliases for command flags.
...
Add aliases to the flags that are supplied to the sub commands.
2016-03-28 20:57:34 -07:00
Xiang Li
87d9f06a45
*: combine etcdctl and etcdctlv3
2016-03-28 11:28:05 -07:00