Anthony Romano
3e57bbf317
clientv3: use default client kv
2016-02-25 18:13:26 -08:00
Anthony Romano
d430c7baf7
clientv3: use default client watcher
2016-02-25 18:13:26 -08:00
Anthony Romano
298c1e2487
tools/benchmark: port to clientv3 API
2016-02-25 18:13:26 -08:00
Anthony Romano
5f62c05a6d
clientv3: compose all clientv3 APIs into client struct
2016-02-25 18:13:26 -08:00
Anthony Romano
bfcd39335c
Merge pull request #4619 from heyitsanthony/clientv3-do
...
clientv3: expose Do in KV
2016-02-25 18:11:29 -08:00
Anthony Romano
43689b9a32
clientv3: expose Do in KV
...
Do() makes it possible to pass Ops around and apply them later.
Txn().Then(op).Commit() isn't enough because it will wrap the op
in a txn. Likewise, rewriting single op txns into single op rpc's
precludes deliberately submitting a single op transaction.
2016-02-25 17:33:47 -08:00
Anthony Romano
21649afcd4
Merge pull request #4623 from heyitsanthony/clientv3-fix-lease-panic
...
clientv3: respect first stream error in lease recv loop
2016-02-25 17:27:40 -08:00
Anthony Romano
993fd76b19
clientv3: respect first stream error in lease recv loop
...
Fixes #4622
2016-02-25 16:59:08 -08:00
Xiang Li
9e493ccb14
Merge pull request #4621 from xiang90/auto-compaction
...
*: support time based auto compaction.
2016-02-25 16:19:00 -08:00
Xiang Li
d265fe000c
*: support time based auto compaction.
...
Fix https://github.com/coreos/etcd/issues/3906 .
We will have extensive doc to talk about what is compaction
and what is auto compaction soon.
2016-02-25 16:02:03 -08:00
Anthony Romano
762639c2a3
Merge pull request #4618 from hongchaodeng/master
...
kv.proto: docs fix on watch event of DELETE/EXPIRE
2016-02-25 14:46:24 -08:00
Hongchao Deng
6d32e44b0c
kv.proto: docs fix on watch event of DELETE/EXPIRE
2016-02-25 13:51:38 -08:00
Gyu-Ho Lee
6a97c967cc
Merge pull request #4617 from gyuho/txn_example
...
clientv3: fix txn example code
2016-02-25 12:22:34 -07:00
Xiang Li
eb95bb2db9
Merge pull request #4611 from xiang90/p_s
...
doc/security.md: add notes for proxy security
2016-02-25 10:59:31 -08:00
Gyu-Ho Lee
81f77ee4f3
clientv3: fix txn example code
2016-02-25 10:52:47 -08:00
Gyu-Ho Lee
8f3981c651
Merge pull request #4612 from gyuho/watch_not_panic
...
*: watch true cancel, created for wrong rev
2016-02-24 22:07:03 -07:00
Gyu-Ho Lee
a78604dacb
*: watch true cancel, created for wrong rev
...
This sets Created and Cancel true in pb.WatchResponse
when it has received wrong start revision instead of
panic. So that clientv3 can set 'Canceled' in WatchResponse
as well.
Fix https://github.com/coreos/etcd/issues/4610 .
2016-02-24 20:56:17 -08:00
Xiang Li
a120afb142
doc/security.md: add notes for proxy security
2016-02-24 20:22:54 -08:00
Anthony Romano
f003ce167a
Merge pull request #4604 from heyitsanthony/etcdctl-lock
...
etcdctlv3: lock command
2016-02-24 20:02:51 -08:00
Xiang Li
6053480b75
Merge pull request #4580 from AdoHe/etcdctl_use_endpoints
...
etcdctl: use endpoints instead of endpoint flag
2016-02-24 19:01:42 -08:00
AdoHe
d8a8116f9a
etcdctl: use endpoints instead of endpoint flag
2016-02-24 21:49:50 -05:00
Anthony Romano
ed44bb00f8
etcdctlv3: lock command
2016-02-24 17:23:40 -08:00
Anthony Romano
d4b2044eb1
clientv3/concurrency: Mutex
2016-02-24 17:23:40 -08:00
Anthony Romano
20b4336cdb
clientv3/concurrency: Session
...
A client may bind itself to a session lease to signal its
continued in participation with the cluster.
2016-02-24 16:40:16 -08:00
Anthony Romano
9f569842f0
clientv3: move syncer to mirror package
...
to be in line with sync meaning process synchronization, not data
synchronization
2016-02-24 14:21:41 -08:00
Xiang Li
24ac3d0222
Merge pull request #4607 from endocode/kayrus/remove_dashes
...
docs: replaced single dashes in command line configuration
2016-02-24 09:46:21 -08:00
Anthony Romano
bbdff697db
Merge pull request #4605 from heyitsanthony/fixup-godocs
...
*: fix godoc bugs in interfaces and slice fields
2016-02-24 08:53:33 -08:00
kayrus
1e295d02cf
docs: replaced single dashes in command line configuration
...
sed -i 's/\([^-a-z]\+\)\(-[a-z]\{2,\}\)/\1-\2/g' configuration.md
2016-02-24 17:28:36 +01:00
Anthony Romano
afa0368dcc
*: fix godoc bugs in interfaces and slice fields
...
detected with goword
2016-02-24 00:45:40 -08:00
Gyu-Ho Lee
783e6f6b0d
Merge pull request #4602 from gyuho/watch_option
...
*: combine Watch, WatchPrefix with variadic function
2016-02-23 20:26:54 -08:00
Gyu-Ho Lee
8f7948641c
contrib/recipes: replace WatchPrefix with Watch
2016-02-23 20:02:24 -08:00
Gyu-Ho Lee
7a7751b994
etcdctlv3: combine Watch, WatchPrefix
2016-02-23 20:02:24 -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
53f94c22b3
Merge pull request #4600 from gyuho/opoption_doc
...
clientv3: add GoDoc to OpOption
2016-02-23 15:36:38 -08:00
Xiang Li
e22506cbe4
Merge pull request #4601 from hongchaodeng/master
...
clientv3: kv.Delete typo
2016-02-23 15:25:11 -08:00
Gyu-Ho Lee
5bc08b7475
clientv3: add GoDoc to OpOption
2016-02-23 15:18:33 -08:00
Hongchao Deng
a19b30b7ab
clientv3: kv.Delete typo
2016-02-23 15:07:10 -08:00
Gyu-Ho Lee
2403cdc4c0
Merge pull request #4592 from gyuho/doc
...
clientv3: add more code examples
2016-02-23 14:06:09 -08:00
Gyu-Ho Lee
72a1e5618b
clientv3: add more code examples
2016-02-23 14:05:36 -08:00
Xiang Li
86e04d5ff3
Merge pull request #4597 from heyitsanthony/etcdctlv3-format
...
etcdctlv3: add formatting for json and protobuf
2016-02-23 13:08:19 -08:00
Anthony Romano
386c64be7f
etcdctlv3: protobuf formatting
2016-02-23 12:49:37 -08:00
Anthony Romano
355896b00a
etcdctlv3: json formatting
2016-02-23 12:49:37 -08:00
Anthony Romano
8302f839b6
etcdctlv3: add printer interface and simple printer
2016-02-23 09:56:57 -08:00
Xiang Li
410d32a9b1
Merge pull request #4594 from xiang90/wi
...
etcdctlv3: make watch interactive mode better
2016-02-22 23:41:26 -08:00
Xiang Li
a2902c08a9
etcdctlv3: make watch interactive mode better
2016-02-22 23:06:31 -08:00
Anthony Romano
c48bafae85
Merge pull request #4591 from heyitsanthony/etcdctlv3-nuke-teletypes
...
etcdctlv3: use "\n" as output line separator
2016-02-22 22:19:26 -08:00
Anthony Romano
4295d0db8b
etcdctlv3: use "\n" as output line separator
2016-02-22 15:45:56 -08:00
Anthony Romano
d8b124cf3a
Merge pull request #4571 from heyitsanthony/txn-interactive
...
etcdctlv3: improve txn interactive mode
2016-02-22 15:33:44 -08:00
Xiang Li
d139788407
Merge pull request #4575 from aknuds1/fix-clustering-docs
...
Update clustering documentation for etcd2
2016-02-22 14:58:16 -08:00
Anthony Romano
b280291f9e
etcdctlv3: use --interactive for interactive mode in watch
2016-02-22 14:38:23 -08:00