4601 Commits

Author SHA1 Message Date
Brian Waldon
a834f297f9 client: document KeysAPI methods 2015-02-28 10:22:52 -08:00
Brian Waldon
2b5589ddcd client: encourage error handling in package doc 2015-02-28 10:22:52 -08:00
Brian Waldon
6fd105d554 client: document using a custom context 2015-02-28 10:22:52 -08:00
Brian Waldon
479a17dcbf client: add GetOptions.Sort 2015-02-28 10:22:52 -08:00
Brian Waldon
84ede6fbec client: use options struct for KeysAPI.Get 2015-02-28 10:22:52 -08:00
Brian Waldon
8621caf3e2 client: define a DefaultTransport 2015-02-28 10:22:52 -08:00
Brian Waldon
ce4486ff85 client: document Client methods 2015-02-28 10:22:52 -08:00
Brian Waldon
1773d0a18b client: simplify CancelableTransport doc 2015-02-28 10:22:52 -08:00
Brian Waldon
19dd4a0f3c client: document Config 2015-02-28 10:22:52 -08:00
Brian Waldon
6d82472275 client: move http.go into client.go 2015-02-28 10:22:52 -08:00
Brian Waldon
bfbf672ce4 client: document MembersAPI methods 2015-02-28 10:22:52 -08:00
Brian Waldon
7255fb1b62 client: alias etcdserver/etcdhttp/httptypes.Member 2015-02-28 10:22:52 -08:00
Brian Waldon
932351a00d client: document Watcher.Next 2015-02-28 10:22:52 -08:00
Brian Waldon
aee95468ba client: document MembersAPI/KeysAPI constructors 2015-02-28 10:22:51 -08:00
Brian Waldon
e885c6c5f4 client: document *Options 2015-02-28 10:22:51 -08:00
Brian Waldon
88cea415a7 client: NewDiscoveryKeysAPI -> NewKeysAPIWithPrefix 2015-02-28 10:22:51 -08:00
Brian Waldon
89070fd237 client: package-level doc 2015-02-28 10:22:51 -08:00
Brian Waldon
3d4e1f59dc client: drop unnecessary Nodes type 2015-02-28 10:22:51 -08:00
Brian Waldon
7ff84351f5 client: centralize exported variables 2015-02-28 10:22:51 -08:00
Brian Waldon
a9f605e5fe client: unexport defaultV2MembersPrefix 2015-02-28 10:22:51 -08:00
Brian Waldon
bb9f016b91 client: unexport defaultV2KeysPrefix 2015-02-28 10:22:51 -08:00
Brian Waldon
3fdda06602 client: s/SyncableHTTPClient/Client/g 2015-02-28 10:22:51 -08:00
Brian Waldon
bac1d2f420 client: unexport httpClient interface 2015-02-28 10:22:51 -08:00
Brian Waldon
52288fa748 client: remove CancelableTransport arg from httpClientFactory 2015-02-28 10:22:51 -08:00
Brian Waldon
3b41b77cd7 client: ClientConfig -> Config 2015-02-28 10:22:51 -08:00
Brian Waldon
2aecbaf165 client: unexport httpAction 2015-02-28 10:22:51 -08:00
Brian Waldon
3f5e827e3c client: httpClient -> simpleHTTPClient 2015-02-28 10:22:51 -08:00
Brian Waldon
f037cb9f65 client: collapse unnecessary constructor 2015-02-28 10:22:50 -08:00
Brian Waldon
62054dfb5e client: don't cache httpClients in httpClusterClient 2015-02-28 10:22:50 -08:00
Brian Waldon
99d63eb62e client: protect httpClusterClient with RWMutex 2015-02-28 10:22:50 -08:00
Brian Waldon
0943831b8e client: establish httpClusterClient.reset 2015-02-28 10:22:50 -08:00
Brian Waldon
74fe28c5e0 client: exchange ClientConfig for SyncableHTTPClient 2015-02-28 10:22:50 -08:00
Brian Waldon
942f0f6b9e client: accept TTL through KeysAPI.Set 2015-02-28 10:22:50 -08:00
Brian Waldon
3d53e9bfaa client: pass around options as pointers 2015-02-28 10:22:50 -08:00
Brian Waldon
0a7e0875d5 client: copy DeleteOptions onto deleteAction 2015-02-28 10:19:05 -08:00
Brian Waldon
025ee0379c client: copy SetOptions onto setAction 2015-02-28 10:19:05 -08:00
Brian Waldon
01fc01ec69 client: KeysAPI.[R]Watch -> Watcher w/ opts struct 2015-02-28 10:19:04 -08:00
Brian Waldon
bc32060b1d client: support PrevIndex in SetOptions & DeleteOptions 2015-02-28 10:14:25 -08:00
Brian Waldon
7ccf5eb476 client: support PrevValue in SetOptions & DeleteOptions 2015-02-28 10:14:25 -08:00
Brian Waldon
0f31f403d1 client: add KeysAPI.Delete 2015-02-28 10:14:25 -08:00
Brian Waldon
2f479c8721 client: assert method in tests 2015-02-28 10:14:25 -08:00
Brian Waldon
84e495e51e client: s/assertResponse/assertRequest/ 2015-02-28 10:14:25 -08:00
Brian Waldon
6e637f2f75 client: add KeysAPI.Set 2015-02-28 10:14:25 -08:00
Brian Waldon
8b3d05f661 client: add KeysAPI.RGet 2015-02-28 10:14:25 -08:00
Brian Waldon
6d89e6217d client: rename KeysAPI.RecursiveWatch to RWatch 2015-02-28 10:14:25 -08:00
Brian Waldon
4e5c015fe9 client: add Update method 2015-02-28 10:14:25 -08:00
Brian Waldon
c6d955f4c1 client: drive Create with setAction; drop TTL 2015-02-28 10:12:35 -08:00
Xiang Li
99840c9697 *: cleanup import 2015-02-28 10:12:35 -08:00
Xiang Li
9e63b1fb63 wal: record metrics 2015-02-28 10:12:35 -08:00
Xiang Li
2e078582f9 etcdmain: expose runtime metrics 2015-02-28 10:11:53 -08:00