ef44f71da9 
					 
					
						
						
							
							*: update LICENSE header  
						
						
						
						
					 
					
						2016-05-12 20:51:48 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bd832e5b0a 
					 
					
						
						
							
							*: migrate Godeps to vendor/  
						
						
						
						
					 
					
						2016-03-22 17:10:28 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7b57550484 
					 
					
						
						
							
							client: minor typo fix  
						
						
						
						
					 
					
						2016-02-26 15:16:00 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5b51946eb 
					 
					
						
						
							
							*: exported godoc fixups  
						
						
						
						
					 
					
						2016-02-21 20:36:44 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82778ed478 
					 
					
						
						
							
							Add refresh parameter to allow TTL refreshes without firing watch/wait responses  
						
						
						
						
					 
					
						2016-02-08 10:37:37 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5490db7cca 
					 
					
						
						
							
							client: fix typo in docstring (than -> then)  
						
						
						
						
					 
					
						2016-01-28 18:07:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3ac8ff3a84 
					 
					
						
						
							
							client: keys.go minor typo  
						
						
						
						
					 
					
						2016-01-13 11:02:37 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4eb598be06 
					 
					
						
						
							
							client: regenerate code to unmarshal key response  
						
						... 
						
						
						
						Regenerate code for unmarshaling key response with a new version of
ugorji/go/codec 
						
						
					 
					
						2015-10-09 10:59:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f558e56d2 
					 
					
						
						
							
							client: add Nodes to codecgen and regenerate  
						
						
						
						
					 
					
						2015-09-10 11:51:59 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb51901830 
					 
					
						
						
							
							client: add Nodes type to faciliate sorting  
						
						... 
						
						
						
						This helps users to sort easily. 
						
						
					 
					
						2015-09-10 11:03:12 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d412eaa3a2 
					 
					
						
						
							
							Merge pull request  #3308  from yichengq/go-codec  
						
						... 
						
						
						
						Use ugorji codec for unmarshalling key responses in client 
						
						
					 
					
						2015-09-01 14:04:38 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						952827157a 
					 
					
						
						
							
							client: fixed typo in WatcherOptions docs  
						
						... 
						
						
						
						specifices -> specifies 
						
						
					 
					
						2015-08-18 16:43:09 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						69fc796926 
					 
					
						
						
							
							client: spelling error in docs (occured -> occurred)  
						
						
						
						
					 
					
						2015-08-18 16:26:52 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						087061e434 
					 
					
						
						
							
							Merge pull request  #3303  from yichengq/auth-path  
						
						... 
						
						
						
						use canonical path for auth 
						
						
					 
					
						2015-08-18 12:06:48 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b5ec7f543a 
					 
					
						
						
							
							client: use canonical url path in request  
						
						... 
						
						
						
						The main change is that it keeps the trailing slash. This helps
auth feature to judge path permission accurately. 
						
						
					 
					
						2015-08-18 08:59:48 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						87f061bab2 
					 
					
						
						
							
							*: key handler should write auth error as etcd error  
						
						
						
						
					 
					
						2015-08-17 14:45:45 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7083828ae3 
					 
					
						
						
							
							Godeps: import github.com/ugorji/go/codec  
						
						
						
						
					 
					
						2015-08-16 18:13:44 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a364af72af 
					 
					
						
						
							
							client: use ugorij/go/codec to unmarshal key response  
						
						... 
						
						
						
						This change speeds up response unmarshal ~2x:
```
BenchmarkSmallResponseUnmarshal	   20000	     75243 ns/op
BenchmarkManySmallResponseUnmarshal	     200	   6629661 ns/op
BenchmarkMediumResponseUnmarshal	    1000	   1359041 ns/op
BenchmarkLargeResponseUnmarshal	      20	  61600978 ns/op
``` 
						
						
					 
					
						2015-08-16 18:08:54 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6312e22b1d 
					 
					
						
						
							
							client: handle empty watch responses elegantly  
						
						... 
						
						
						
						Even though current etcd does not time out
watches, the client could be running against
an old etcd version or the server may close
polling connection for other reasons.
This patch ignores successful (as in 200)
responses with emtpy bodies instead
of producing JSON errors. 
						
						
					 
					
						2015-08-03 11:47:21 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b20b87893f 
					 
					
						
						
							
							client: add Quorum option in getOption  
						
						
						
						
					 
					
						2015-07-22 15:19:34 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d2dac0fe59 
					 
					
						
						
							
							client: consume json error and return ErrInvaildJSON  
						
						... 
						
						
						
						The default JSON error is not very readable. We let client
consume the error and return a more understandable error in
the context of etcd.
Fix  #3120  
						
						
					 
					
						2015-07-21 12:53:21 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e3fcc450cf 
					 
					
						
						
							
							etcdctl: make rm use etcd/client  
						
						
						
						
					 
					
						2015-07-21 12:53:19 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						48e144ae2e 
					 
					
						
						
							
							client: Support creating directory through KeysAPI  
						
						... 
						
						
						
						Creating a directory is done using the Set() method and a SetOptions
struct with it's Dir field set to true. 
						
						
					 
					
						2015-05-07 10:47:18 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ee9e336fd4 
					 
					
						
						
							
							client: add Node.TTLDuration()  
						
						
						
						
					 
					
						2015-05-05 15:03:24 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d89a8628c6 
					 
					
						
						
							
							client: Add CreateInOrder method to client.KeysAPI  
						
						... 
						
						
						
						Allows creating nodes within a given directory with atomically increasing
keys 
						
						
					 
					
						2015-04-13 17:23:17 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						666a97271d 
					 
					
						
						
							
							client: add dir/ttl fields into node  
						
						
						
						
					 
					
						2015-04-06 21:47:20 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ece03fb987 
					 
					
						
						
							
							client: drop unnecessary field deleteAction.Value  
						
						
						
						
					 
					
						2015-02-28 10:45:21 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cd85451971 
					 
					
						
						
							
							client: clarify relationship of AfterIndex and waitIndex  
						
						
						
						
					 
					
						2015-02-28 10:45:20 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b174732812 
					 
					
						
						
							
							client: introduce Error type  
						
						
						
						
					 
					
						2015-02-28 10:38:47 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8fdc6b154e 
					 
					
						
						
							
							client: document PrevExistType  
						
						
						
						
					 
					
						2015-02-28 10:38:47 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						27de5eec76 
					 
					
						
						
							
							client: document Response and Node structs  
						
						
						
						
					 
					
						2015-02-28 10:38:47 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1c03df62a5 
					 
					
						
						
							
							client: WaitIndex -> AfterIndex  
						
						
						
						
					 
					
						2015-02-28 10:38:46 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a834f297f9 
					 
					
						
						
							
							client: document KeysAPI methods  
						
						
						
						
					 
					
						2015-02-28 10:22:52 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						479a17dcbf 
					 
					
						
						
							
							client: add GetOptions.Sort  
						
						
						
						
					 
					
						2015-02-28 10:22:52 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						84ede6fbec 
					 
					
						
						
							
							client: use options struct for KeysAPI.Get  
						
						
						
						
					 
					
						2015-02-28 10:22:52 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						932351a00d 
					 
					
						
						
							
							client: document Watcher.Next  
						
						
						
						
					 
					
						2015-02-28 10:22:52 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aee95468ba 
					 
					
						
						
							
							client: document MembersAPI/KeysAPI constructors  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e885c6c5f4 
					 
					
						
						
							
							client: document *Options  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						88cea415a7 
					 
					
						
						
							
							client: NewDiscoveryKeysAPI -> NewKeysAPIWithPrefix  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d4e1f59dc 
					 
					
						
						
							
							client: drop unnecessary Nodes type  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7ff84351f5 
					 
					
						
						
							
							client: centralize exported variables  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bb9f016b91 
					 
					
						
						
							
							client: unexport defaultV2KeysPrefix  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3fdda06602 
					 
					
						
						
							
							client: s/SyncableHTTPClient/Client/g  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bac1d2f420 
					 
					
						
						
							
							client: unexport httpClient interface  
						
						
						
						
					 
					
						2015-02-28 10:22:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						942f0f6b9e 
					 
					
						
						
							
							client: accept TTL through KeysAPI.Set  
						
						
						
						
					 
					
						2015-02-28 10:22:50 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d53e9bfaa 
					 
					
						
						
							
							client: pass around options as pointers  
						
						
						
						
					 
					
						2015-02-28 10:22:50 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0a7e0875d5 
					 
					
						
						
							
							client: copy DeleteOptions onto deleteAction  
						
						
						
						
					 
					
						2015-02-28 10:19:05 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						025ee0379c 
					 
					
						
						
							
							client: copy SetOptions onto setAction  
						
						
						
						
					 
					
						2015-02-28 10:19:05 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						01fc01ec69 
					 
					
						
						
							
							client: KeysAPI.[R]Watch -> Watcher w/ opts struct  
						
						
						
						
					 
					
						2015-02-28 10:19:04 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bc32060b1d 
					 
					
						
						
							
							client: support PrevIndex in SetOptions & DeleteOptions  
						
						
						
						
					 
					
						2015-02-28 10:14:25 -08:00