125 Commits

Author SHA1 Message Date
Brian Waldon
ae062a0825 client: move lock so MembersAPI.List doesn't deadlock 2015-02-28 10:45:21 -08:00
Brian Waldon
83930ac113 client: test DefaultCheckRedirect 2015-02-28 10:45:21 -08:00
Brian Waldon
943c7ef307 client: test httpKeysAPI's Create and Update methods 2015-02-28 10:45:21 -08:00
Brian Waldon
115e758c32 client: test httpKeysAPI.Delete 2015-02-28 10:45:21 -08:00
Brian Waldon
ece03fb987 client: drop unnecessary field deleteAction.Value 2015-02-28 10:45:21 -08:00
Brian Waldon
6fc209e574 client: test httpKeysAPI.Get 2015-02-28 10:45:21 -08:00
Brian Waldon
32bfcca5a8 client: test httpKeysAPI.Set 2015-02-28 10:45:20 -08:00
Brian Waldon
14b3f96091 client: test httpKeysAPI.Watcher 2015-02-28 10:45:20 -08:00
Brian Waldon
cd85451971 client: clarify relationship of AfterIndex and waitIndex 2015-02-28 10:45:20 -08:00
Brian Waldon
09017af35e client: test httpWatcher 2015-02-28 10:38:47 -08:00
Brian Waldon
11a6cb68a6 client: test unmarshaling of failure responses 2015-02-28 10:38:47 -08:00
Brian Waldon
9378413283 client: exhaustive member-related testing 2015-02-28 10:38:47 -08:00
Brian Waldon
32ff3ce26f client: test for non-integer X-Etcd-Index 2015-02-28 10:38:47 -08:00
Brian Waldon
8a6b72b08d client: tweak test fields 2015-02-28 10:38:47 -08:00
Brian Waldon
b174732812 client: introduce Error type 2015-02-28 10:38:47 -08:00
Brian Waldon
8fdc6b154e client: document PrevExistType 2015-02-28 10:38:47 -08:00
Brian Waldon
39b5b083c0 client: document Member fields 2015-02-28 10:38:47 -08:00
Brian Waldon
27de5eec76 client: document Response and Node structs 2015-02-28 10:38:47 -08:00
Brian Waldon
4a77760f56 client: break dependency on httptypes pkg 2015-02-28 10:38:46 -08:00
Brian Waldon
9b334e07a6 client: allow caller to decide HTTP redirect policy 2015-02-28 10:38:46 -08:00
Brian Waldon
1c03df62a5 client: WaitIndex -> AfterIndex 2015-02-28 10:38:46 -08:00
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