Gyu-Ho Lee
75110dd839
*: fix naked returns
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 18:46:15 -08:00
Gyu-Ho Lee
1f20d5d924
etcdctl/ctlv3: add 'lease list' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:57 -07:00
Gyu-Ho Lee
5176b63fa0
ctlv3: add 'endpoint hashkv' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
6e9b776fce
etcdctl/ctlv3: add 'move-leader' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 13:19:12 -07:00
Gyu-Ho Lee
e15020055e
*: remove unnecessary fmt.Sprint
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-15 13:23:31 -07:00
Anthony Romano
cf8c66c9f0
ctlv3: use printer for lease command results
...
Fixes #7783
2017-04-20 09:41:04 -07:00
Anthony Romano
780d2f2a59
etcdctl: tighten up output, reorganize README.md
...
Documentation was far too repetitive, making it a chore to read and
make changes. All commands are now organized by functionality and all
repetitive bits about return values and output are in a generalized
subsections.
etcdctl's output handling was missing a lot of commands. Similarly,
in many cases an output format could be given but fail to report
an error as expected.
2016-12-16 13:54:20 -08:00
Anthony Romano
5f3140987e
etcdctl: "fields" output formats
...
Writes out fields from responses in the format "FieldName" : FieldValue. If
FieldValue is a string, it is formatted with %q.
2016-12-12 13:21:20 -08:00
Gyu-Ho Lee
04a4cea630
etcdctl/ctlv3: add 'lease timetolive' command
2016-09-09 08:21:58 +09:00
Gyu-Ho Lee
524a5a1afb
ctlv3: add 'print-value-only' flag to get command
2016-08-29 12:09:07 -07:00
Xiang Li
7ec822107a
*: add put prevkv
2016-07-05 20:45:01 -07:00
Xiang Li
12bf1a3382
*: rename preserveKVs to prevKv
2016-07-05 20:45:01 -07:00
Xiang Li
c853704ac9
*: support get-old-kv in watch
2016-07-05 16:17:09 -07:00
Xiang Li
40c4a7894d
*: support return prev deleted kv
2016-07-01 14:01:48 -07:00
Gyu-Ho Lee
1e4d3603db
clientv3,ctlv3: following changes for proto change
2016-06-07 13:32:36 -07:00
Gyu-Ho Lee
5cba7080bc
etcdctl/ctlv3: protobuf write-out for member list
...
Fix https://github.com/coreos/etcd/issues/5297 .
2016-05-25 22:23:57 -07:00
Gyu-Ho Lee
c538e0f9a9
etcdctl: update LICENSE header
2016-05-12 20:51:39 -07:00
Gyu-Ho Lee
3e088b3b40
etcdctl/ctlv3: make 'table' printer configurable
...
Fix https://github.com/coreos/etcd/issues/5296 .
2016-05-10 10:02:02 -07:00
Anthony Romano
b7ac758969
*: rename storage package to mvcc
2016-04-25 15:25:51 -07:00
Anthony Romano
d2a58cbb0a
etcdctl: print full json response for Get
...
Otherwise parsing get/txn output with json is somewhat complicated
because in some cases there's a json message and sometimes not.
Likewise, a get on an absent key has to return the current revision for
some algorithms to work.
2016-04-20 09:56:32 -07:00
Anthony Romano
f07350735d
etcdctl: respect --write-out=json for endpoint status command
2016-04-13 17:04:31 -07:00
Gyu-Ho Lee
e9aa8ff235
Merge pull request #5071 from gyuho/member_api_change
...
*: Member api change
2016-04-13 16:45:10 -07:00
Gyu-Ho Lee
2c6176b5f2
*: remove MemberLeader API in client side (fix examples)
2016-04-13 16:23:57 -07:00
Anthony Romano
b90e30b28e
etcdctl: respect -write-out=json for snapshot status
2016-04-13 13:37:32 -07:00
Xiang Li
ae9b251d99
etcdctl: move endpoint-heath and status into endpoint command
2016-04-12 16:30:26 -07:00
mqliang
ff311ba0a7
etcdctlv3: print db size and raft status in 'etcdctl status' command
2016-04-12 22:58:22 +08:00
Xiang Li
b5292f6fce
etcdctl: add snapshot status support
2016-04-11 22:55:47 -07:00
Xiang Li
19136afc2b
Merge pull request #4798 from mqliang/memberStatus
...
etcdctlv3: initial implementaton of 'etcdctl member status' command
2016-04-03 08:48:23 -07:00
mqliang
d80af00785
etcdctlv3: implement the 'etcdctl status' command
2016-04-03 13:55:58 +08:00
Gyu-Ho Lee
e8877ab180
etcdctl: print number of deleted keys
2016-04-02 20:54:37 -07:00
Anthony Romano
2aca3252e8
etcdctl: alarm command
2016-03-30 13:33:52 -07:00
Xiang Li
87d9f06a45
*: combine etcdctl and etcdctlv3
2016-03-28 11:28:05 -07:00