Anthony Romano
b7ac758969
*: rename storage package to mvcc
2016-04-25 15:25:51 -07:00
Gyu-Ho Lee
3ad8e91e00
*: fix flag location, minor typo
2016-04-25 09:41:11 -07:00
Gyu-Ho Lee
53abaf86c6
etcdctl/ctlv3: close bolt.DB in snapshot status
2016-04-22 11:43:52 -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
Xiang Li
bf9cccfc34
Merge pull request #5118 from ajityagaty/fsync_osx
...
fileutil: Sync on HFS/OSX needs to be handled differently.
2016-04-18 22:22:53 -07:00
Ajit Yagaty
8b6de5f85d
fileutil: Sync on HFS/OSX needs to be handled differently.
...
A call file.Sync on OSX doesn't guarantee actual persistence on
physical drive media as the data can be cached in physical drive's
buffers. Hence calls to file.Sync need to be replaced with
fcntl(F_FULLFSYNC).
2016-04-18 21:49:04 -07:00
Gyu-Ho Lee
8a0fa5622e
Merge pull request #5114 from gyuho/snapshot_test
...
*: add Snapshot e2e test
2016-04-18 09:27:07 -07:00
Ajit Yagaty
68dd22d93d
etcdctlv3: Fix for typo in alarm command handling.
2016-04-17 19:31:39 -07:00
Gyu-Ho Lee
a2afb513dd
*: add snapshot e2e test
2016-04-16 13:27:10 -07:00
Amit Kumar Gupta
c629a30f1f
etcdctl: unset ETCDCTL_API env var properly
2016-04-15 15:43:00 -07:00
Gyu-Ho Lee
a78ece4ac2
etcdctl: snapshot status error for non-existent file
2016-04-15 14:15:16 -07:00
Anthony Romano
cd05ac4217
doc: document many etcdctl commands
...
documents defrag, compaction, lease, snapshot status, member, endpoint
2016-04-13 21:50:59 -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
Anthony Romano
3dcfe79cc0
Merge pull request #5070 from heyitsanthony/member-doc
...
etcdctl: display required arguments for member commands in usage
2016-04-13 16:40:16 -07:00
Gyu-Ho Lee
2c6176b5f2
*: remove MemberLeader API in client side (fix examples)
2016-04-13 16:23:57 -07:00
Anthony Romano
90df7fd738
etcdctl: display required arguments for member commands in usage
2016-04-13 16:18:00 -07:00
Anthony Romano
22812badc2
Merge pull request #5069 from heyitsanthony/fix-snapshot-status-json
...
etcdctl: respect -write-out=json for snapshot status
2016-04-13 15:57:39 -07:00
Anthony Romano
b90e30b28e
etcdctl: respect -write-out=json for snapshot status
2016-04-13 13:37:32 -07:00
Anthony Romano
a553ea8ba7
Merge pull request #5068 from heyitsanthony/lease-fixups
...
etcdctl: improve lease command documentation and exit codes
2016-04-13 13:20:06 -07:00
Anthony Romano
993f25f055
Merge pull request #5065 from heyitsanthony/errexit-defrag
...
etcdctl: return non-zero exit code if defrag fails on any endpoint
2016-04-13 13:19:43 -07:00
Anthony Romano
721ed6ba2b
etcdctl: return non-zero exit code if defrag fails on any endpoint
2016-04-13 12:39:43 -07:00
Anthony Romano
855a5116a2
etcdctl: improve lease command documentation and exit codes
2016-04-13 12:38:21 -07:00
Gyu-Ho Lee
60548b85c4
*: add rev flag to get command
2016-04-13 11:32:29 -07:00
Xiang Li
ae9b251d99
etcdctl: move endpoint-heath and status into endpoint command
2016-04-12 16:30:26 -07: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
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
Anthony Romano
8c2225f251
Merge pull request #5038 from heyitsanthony/sshot-docs
...
doc: document etcdctl snapshot command
2016-04-11 16:21:09 -07:00
Anthony Romano
e5a2bd58ec
etcdctl: respect --write-out
...
Support got clobbered about a month ago.
2016-04-11 16:01:38 -07:00
Anthony Romano
6e8d01f956
doc: document etcdctl snapshot command
2016-04-11 15:58:20 -07:00
Anthony Romano
be822b05d2
Merge pull request #5012 from heyitsanthony/snap-api
...
*: snapshot RPC
2016-04-11 13:00:18 -07:00
Anthony Romano
e838c26f8a
etcdctl: use snapshot RPC in snapshot command
2016-04-11 12:32:53 -07:00
Hitoshi Mitake
7ba2646d37
*: support granting a role to a user in v3 auth
2016-04-11 15:53:30 +09:00
Hitoshi Mitake
097cec8194
etcdctl: let some v3 auth related functions be private
...
They don't need to be public.
2016-04-11 13:01:19 +09:00
Hitoshi Mitake
02033b4c47
*: support granting key permission to role in v3 auth
2016-04-11 12:23:19 +09:00
Gyu-Ho Lee
fb85da92e8
*: fix based on gosimple and unused
2016-04-07 23:16:37 -07:00
Anthony Romano
dc17eaace7
*: rename Lease Create to Grant
...
Creating a lease through the client API interface union looked like
"c.Create(...)"-- the method name wasn't very descriptive.
2016-04-07 12:28:14 -07:00
Gyu-Ho Lee
6e6d64fb9b
*: clean up unused vars, functions
...
With help from https://github.com/dominikh/go-unused .
IsNetTimeoutError seems useful, so moved to pkg/netutil.
2016-04-06 21:33:55 -07:00
Xiang Li
c3bca3739f
Merge pull request #4926 from mitake/auth-role-add
...
*: support adding role in auth v3
2016-04-04 18:44:16 -07:00
Hitoshi Mitake
2b17a3919c
*: support adding role in auth v3
2016-04-05 09:28:17 +09:00
Gyu-Ho Lee
1543e7bd95
etcdctl: READMEv3 doc about prefix
2016-04-04 07:00:49 -07:00
Gyu-Ho Lee
9afae9e2c1
*: add del by prefix with e2e tests
2016-04-03 11:41:49 -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
Hitoshi Mitake
73166b41e9
*: support changing password in v3 auth
...
This commit adds a functionality for updating password of existing
users.
2016-03-31 15:28:15 +09:00
Hitoshi Mitake
2ad9b5692f
etcdctl: print messages for successful auth operations
...
This commit lets etcdctl v3 follow the manner of etcdctl v2.
2016-03-31 13:56:01 +09:00
Hitoshi Mitake
d8888ded12
*: support deleting user in v3 auth
...
This commit adds a functionality of user deletion. It can be invoked
with the new user delete command.
Example usage:
$ ETCDCTL_API=3 etcdctl user delete usr1
2016-03-31 13:18:51 +09:00
Anthony Romano
2aca3252e8
etcdctl: alarm command
2016-03-30 13:33:52 -07:00