| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -669,8 +669,6 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						// accumulate endpoint-level warnings
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
						var (
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							enableWarningHeaders = utilfeature.DefaultFeatureGate.Enabled(features.WarningHeaders)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							warnings       []string
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							deprecated     bool
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							removedRelease string
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -702,9 +700,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							} else {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, handler)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							doc := "read the specified " + kind
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if isSubresource {
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -730,9 +726,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								doc = "list " + subresource + " of objects of kind " + kind
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulListResource(lister, watcher, reqScope, false, a.minRequestTimeout))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.GET(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -765,9 +759,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								doc = "replace " + subresource + " of the specified " + kind
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulUpdateResource(updater, reqScope, admit))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.PUT(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -798,9 +790,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								supportedTypes = append(supportedTypes, string(types.ApplyPatchType))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulPatchResource(patcher, reqScope, admit, supportedTypes))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.PATCH(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -825,9 +815,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = restfulCreateResource(creater, reqScope, admit)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, handler)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							article := GetArticleForNoun(kind, " ")
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							doc := "create" + article + kind
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if isSubresource {
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -861,9 +849,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								deleteReturnType = producedObject
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulDeleteResource(gracefulDeleter, isGracefulDeleter, reqScope, admit))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.DELETE(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -887,9 +873,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								doc = "delete collection of " + subresource + " of a " + kind
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulDeleteCollection(collectionDeleter, isCollectionDeleter, reqScope, admit))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.DELETE(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -917,9 +901,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							doc += ". deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter."
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulListResource(lister, watcher, reqScope, true, a.minRequestTimeout))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.GET(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -940,9 +922,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							doc += ". deprecated: use the 'watch' parameter with a list operation instead."
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulListResource(lister, watcher, reqScope, true, a.minRequestTimeout))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
							route := ws.GET(action.Path).To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Doc(doc).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				@@ -966,9 +946,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									doc = "connect " + method + " requests to " + subresource + " of " + kind
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler := metrics.InstrumentRouteFunc(action.Verb, group, version, resource, subresource, requestScope, metrics.APIServerComponent, deprecated, removedRelease, restfulConnectResource(connecter, reqScope, admit, path, isSubresource))
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								if enableWarningHeaders {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								}
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								handler = utilwarning.AddWarningsHandler(handler, warnings)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
								route := ws.Method(method).Path(action.Path).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									To(handler).
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
									Doc(doc).
 | 
			
		
		
	
	
		
			
				
					
					| 
						
					 | 
				
			
			 | 
			 | 
			
				 
 |