saadali 
							
						 
					 
					
						
						
							
						
						a41f520bf0 
					 
					
						
						
							
							Add "Update Event" to Kubernetes API  
						
						
						
						
					 
					
						2015-02-05 00:07:51 -08:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						1588970ec4 
					 
					
						
						
							
							Turn 409 into 500 Try Again Later when using generateName  
						
						... 
						
						
						
						If a client says they want the name to be generated, a 409 is
not appropriate (since they didn't specify a name). Instead, we
should return the next most appropriate error, which is a 5xx
error indicating the request failed but the client *should* try
again.  Since there is no 5xx error that exactly fits this purpose,
use 500 with StatusReasonTryAgainLater set.
This commit does not implement client retry on TryAgainLater, but
clients should retry up to a certain number of times. 
						
						
					 
					
						2015-02-02 14:46:25 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						d01ea11a6e 
					 
					
						
						
							
							Merge pull request  #3856  from smarterclayton/validation_logic_needs_cleanup  
						
						... 
						
						
						
						Validation of ObjectMeta is inconsistently applied 
						
						
					 
					
						2015-01-29 14:12:44 -08:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						a0356bca96 
					 
					
						
						
							
							Unify validation logic for create and update paths  
						
						... 
						
						
						
						Ensure ObjectMeta is consistently validated on both create and update
Make PortalIP uncleareable 
						
						
					 
					
						2015-01-28 13:10:37 -05:00 
						 
				 
			
				
					
						
							
							
								Satnam Singh 
							
						 
					 
					
						
						
							
						
						3a9e6d8f29 
					 
					
						
						
							
							Switch to use Too Many Requests response code  
						
						... 
						
						
						
						Name the 429 status code 
						
						
					 
					
						2015-01-27 14:54:30 -08:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						72cc17b41c 
					 
					
						
						
							
							Omit empty quotes in message when required value field error type  
						
						
						
						
					 
					
						2015-01-27 17:04:59 -05:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						c6a2e574c2 
					 
					
						
						
							
							Structure of BadRequest error should have Message set  
						
						
						
						
					 
					
						2015-01-27 17:04:59 -05:00 
						 
				 
			
				
					
						
							
							
								derekwaynecarr 
							
						 
					 
					
						
						
							
						
						e5b550576c 
					 
					
						
						
							
							Forbidden should not swallow the underlying error  
						
						
						
						
					 
					
						2015-01-15 11:22:15 -05:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						a52b216324 
					 
					
						
						
							
							Add MethodNotSupported error  
						
						
						
						
					 
					
						2015-01-12 12:05:04 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Smith 
							
						 
					 
					
						
						
							
						
						c81dda5d61 
					 
					
						
						
							
							improve validation error message printing  
						
						
						
						
					 
					
						2015-01-09 13:06:24 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						4fcd496d59 
					 
					
						
						
							
							change everything to use new util/errors  
						
						
						
						
					 
					
						2015-01-08 22:10:03 -08:00 
						 
				 
			
				
					
						
							
							
								derekwaynecarr 
							
						 
					 
					
						
						
							
						
						a56087cdf8 
					 
					
						
						
							
							Remove client from attributes, remove admission control interface, fix-up error codes  
						
						
						
						
					 
					
						2015-01-07 14:42:31 -05:00 
						 
				 
			
				
					
						
							
							
								George Kuan 
							
						 
					 
					
						
						
							
						
						5e1fc1f4e0 
					 
					
						
						
							
							Fixes   #1605 : make ErrorList introspectable by replacing ErrorList and  
						
						... 
						
						
						
						ErrorList#ToError with []error and util.SliceToError() respectively 
						
						
					 
					
						2014-12-12 10:56:31 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						ff8c5f9415 
					 
					
						
						
							
							Add a Detail field to Validation Error  
						
						
						
						
					 
					
						2014-11-24 17:28:42 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						b08e5b24b0 
					 
					
						
						
							
							Change ValidationError to a pointer  
						
						... 
						
						
						
						In Prep for adding at leats one more field, make this operate more list
StatusError. 
						
						
					 
					
						2014-11-24 17:28:42 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						ea960711ff 
					 
					
						
						
							
							Clean up error logs.  
						
						... 
						
						
						
						Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines).  Just accumulated nits. 
						
						
					 
					
						2014-11-21 09:45:26 +08:00 
						 
				 
			
				
					
						
							
							
								Daniel Smith 
							
						 
					 
					
						
						
							
						
						4437f03dbf 
					 
					
						
						
							
							Don't hold up the entire event queue for a single bad event. Also, don't retry forever.  
						
						
						
						
					 
					
						2014-11-20 16:01:42 -08:00 
						 
				 
			
				
					
						
							
							
								Daniel Smith 
							
						 
					 
					
						
						
							
						
						9430bb38b8 
					 
					
						
						
							
							Merge pull request  #2282  from bgrant0607/docgen  
						
						... 
						
						
						
						Automatic API generation via go-restful 
						
						
					 
					
						2014-11-14 13:12:25 -08:00 
						 
				 
			
				
					
						
							
							
								Brian Grant 
							
						 
					 
					
						
						
							
						
						7583e1a643 
					 
					
						
						
							
							Automatic API generation by adopting go-restful  
						
						
						
						
					 
					
						2014-11-14 16:49:19 +00:00 
						 
				 
			
				
					
						
							
							
								Yuki Yugui Sonoda 
							
						 
					 
					
						
						
							
						
						864bfb65da 
					 
					
						
						
							
							Fixes golint errors in pkg/api.  
						
						
						
						
					 
					
						2014-11-14 13:14:23 +09:00 
						 
				 
			
				
					
						
							
							
								Daniel Smith 
							
						 
					 
					
						
						
							
						
						178d0af795 
					 
					
						
						
							
							Fix watch for events; add test for interface implementation so it won't break again.  
						
						
						
						
					 
					
						2014-11-12 15:22:08 -08:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						a68a493e4b 
					 
					
						
						
							
							Alter the error message when an error list is put in an error list  
						
						
						
						
					 
					
						2014-11-10 11:33:51 -05:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						f556f2f82f 
					 
					
						
						
							
							Add some validation for externalized service ports.  
						
						
						
						
					 
					
						2014-11-03 13:36:34 -08:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						32a04e48fd 
					 
					
						
						
							
							Make endpoints return 400 instead of 500  
						
						
						
						
					 
					
						2014-11-02 20:08:06 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						d6effe3c6d 
					 
					
						
						
							
							Rename api ErrorList for clarity  
						
						
						
						
					 
					
						2014-10-24 09:43:14 -07:00 
						 
				 
			
				
					
						
							
							
								Eric Tune 
							
						 
					 
					
						
						
							
						
						bb5a17488f 
					 
					
						
						
							
							Use Forbidden valdiation error when no capability  
						
						
						
						
					 
					
						2014-10-14 16:14:28 -07:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						82bcdd3b3b 
					 
					
						
						
							
							Make ResourceVersion a string internally instead of uint64  
						
						... 
						
						
						
						Allows us to define different watch versioning regimes in the future
as well as to encode information with the resource version.
This changes /watch/resources?resourceVersion=3 to start the watch at
4 instead of 3, which means clients can read a resource version and
then send it back to the server. Clients should no longer do math on
resource versions. 
						
						
					 
					
						2014-10-07 19:00:26 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						7e83211840 
					 
					
						
						
							
							Move ErrorList to util  
						
						
						
						
					 
					
						2014-10-06 12:12:35 -07:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						f2cf958540 
					 
					
						
						
							
							Caps for CauseType  
						
						
						
						
					 
					
						2014-09-27 21:48:35 -07:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						e73de49f81 
					 
					
						
						
							
							Caps on StatusReason*  
						
						
						
						
					 
					
						2014-09-27 21:38:51 -07:00 
						 
				 
			
				
					
						
							
							
								Daniel Smith 
							
						 
					 
					
						
						
							
						
						f211e46f20 
					 
					
						
						
							
							handle watch errors everywhere  
						
						
						
						
					 
					
						2014-09-22 17:37:12 -07:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						3ffe259ac7 
					 
					
						
						
							
							Return standard API errors from etcd registry by operation  
						
						... 
						
						
						
						Adds pkg/api/errors/etcd, which defines default conversions
for common CRUD operations from etcd to api. 
						
						
					 
					
						2014-09-08 18:46:01 -04:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						34c40e4e48 
					 
					
						
						
							
							Errors should be part of api/errors, not apiserver  
						
						... 
						
						
						
						Renames constructor methods to be errors.New<name> which changed a few
places. 
						
						
					 
					
						2014-09-03 17:16:00 -04:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						6dd4831de8 
					 
					
						
						
							
							Move validation errors into their own file  
						
						
						
						
					 
					
						2014-09-03 17:14:03 -04:00 
						 
				 
			
				
					
						
							
							
								Vojtech Vitek (V-Teq) 
							
						 
					 
					
						
						
							
						
						42c656501c 
					 
					
						
						
							
							Add several missing pkg Godoc files  
						
						... 
						
						
						
						Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com > 
						
						
					 
					
						2014-09-02 13:41:11 +02:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						0a841a49fd 
					 
					
						
						
							
							Naming of Reason constants is inconsistent  
						
						... 
						
						
						
						Changed ReasonType to StatusReason (to match the field) and
changed CauseReason to CauseType and renamed StatusCause.Reason to
Type. 
						
						
					 
					
						2014-08-26 13:39:21 -04:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						52923a1348 
					 
					
						
						
							
							Return validation errors from storage create/update  
						
						
						
						
					 
					
						2014-08-26 13:30:55 -04:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						84db1da42b 
					 
					
						
						
							
							Convert field errors into a selector for the object  
						
						... 
						
						
						
						Satisfies the "Field" condition for a Cause.  Also addresses
parts of #914 . 
						
						
					 
					
						2014-08-26 13:30:55 -04:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						60126bfe64 
					 
					
						
						
							
							Make the validation types match the pending ReasonCauses  
						
						
						
						
					 
					
						2014-08-26 13:30:55 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						a69979d22b 
					 
					
						
						
							
							Change ErrorList.Append() to append()  
						
						
						
						
					 
					
						2014-08-16 13:34:06 -07:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						bcd588ec15 
					 
					
						
						
							
							Break api error handling into a new pkg  
						
						
						
						
					 
					
						2014-08-15 00:14:38 -07:00