Gyu-Ho Lee
0544d4bfd0
clientv3: add WithPrevKV OpOption
2016-10-07 10:54:45 -07:00
Gyu-Ho Lee
fe7379f102
clientv3: add Op.prevKV
2016-10-07 10:51:01 -07:00
Xiang Li
3299cad1c3
*: add put prevkv
2016-10-07 10:39:08 -07:00
westhood
ec20b381ed
clientv3: add public function to get prefix range end
2016-07-07 14:21:41 -07:00
Xiang Li
6496ae005d
clientv3: add withCount support
2016-06-21 21:17:35 -07:00
Ajit Yagaty
ad5d55dd4c
v3api: Add a flag to RangeRequest to return only the keys.
...
Currently the user can't list only the keys in a prefix search. In
order to support such operations the filtering will be done on the
server side to reduce the encoding and network transfer costs.
2016-06-19 14:18:39 -07:00
Gyu-Ho Lee
1e4d3603db
clientv3,ctlv3: following changes for proto change
2016-06-07 13:32:36 -07:00
Gyu-Ho Lee
9a0fe2620e
clientv3: fix panic message in OpPut
2016-05-28 11:55:28 -07:00
James Shubin
374b3ee40b
clientv3: fix typo
2016-05-20 17:18:52 -04:00
Gyu-Ho Lee
fd9e07a529
clientv3: update LICENSE header
2016-05-12 20:50:58 -07:00
Gyu-Ho Lee
b0cc0e443c
*: clean up if, bool comparison
2016-04-02 12:55:11 -07:00
Ajit Yagaty
2bb417bfff
clientv3: Renaming SortByCreatedRev to maintain consistency.
...
Renamed SortByCreatedRev to SortByCreateRevision to be consistent
with the naming used for SortByModRevision.
2016-03-22 17:56:24 -07:00
Ajit Yagaty
606889a002
clientv3: Fix inconsistent naming convention in v3 client.
...
In order to have a consistent naming for variable/function names
pertaining to ModifiedRevision, all occurrences have been renamed
to ModRevision.
2016-03-22 14:58:11 -07:00
Gyu-Ho Lee
f38a611b55
clientv3: set Serializable from Op
...
Fix https://github.com/coreos/etcd/issues/4809 .
2016-03-18 15:56:48 -07:00
Anthony Romano
a001651bc1
clientv3: remove dependency on lease package
2016-03-17 11:52:34 -07:00
Xiang Li
d84811aecf
*: fix watch full key range
2016-03-05 14:45:43 -08:00
Gyu-Ho Lee
27316196d8
clientv3: add WithProgressNotify
...
Client side for https://github.com/coreos/etcd/issues/4628 .
2016-03-04 09:47:13 -08:00
Anthony Romano
eb327c690b
clientv3: support watcher ranges
2016-02-29 15:20:41 -08:00
Anthony Romano
8dbc6cfd43
etcdserver: ranges in watcher rpc protocol
...
protocol change so watch requests are ranges; server rejects non-prefix ranges
2016-02-29 14:03:27 -08:00
Anthony Romano
d4b2044eb1
clientv3/concurrency: Mutex
2016-02-24 17:23:40 -08:00
Gyu-Ho Lee
a24d276891
clientv3: combine Watch, WatchPrefix with variadic
...
For https://github.com/coreos/etcd/issues/4598 .
2016-02-23 20:02:21 -08:00
Gyu-Ho Lee
5bc08b7475
clientv3: add GoDoc to OpOption
2016-02-23 15:18:33 -08:00
Anthony Romano
59291770d6
clientv3: WithPrefix operation option
2016-02-18 01:27:06 -08:00
Anthony Romano
6851fffdfb
clientv3: support >= Range requests
...
Turns out grpc will convert an empty byte string to nil, so use "\0" to
indicate Range on >= key in v3 grpc protocol.
2016-02-12 14:06:59 -08:00
Xiang Li
5908e5b601
clientv3: support serializable
2016-02-12 12:24:46 -08:00
Anthony Romano
3c9e8540a7
clientv3: optionize put and delete
2016-02-10 15:03:11 -08:00
Anthony Romano
8dcd24bd64
clientv3: withOption for Gets
2016-02-08 13:11:55 -08:00
Anthony Romano
b6a08a97e2
clientv3: don't retry txns that may modify the store
2016-02-03 14:55:16 -08:00
Xiang Li
92653dcbfb
clientv3: initial txn
2016-01-28 14:27:42 -08:00
Xiang Li
2d2f14385d
clientv3: fill in kv ops
2016-01-28 08:17:53 -08:00
Xiang Li
dba92346f3
etcdclientv3: setup initial structure
2016-01-27 20:36:36 -08:00