apiserver/pkg/endpoints/handlers
Daniel Smith c8a994aada Refactor the patch handler for readability
This is the combination of a series of changes which individually don't
make any behavioral changes. The original commits are preserved in my
own fork in the refactor-patch-complete branch, as when squashed this is
impossible to review.

This turned a big function with lots of parameters and closures into an
object with multiple functions, fewer closures and more well documented
state transitions.

Kubernetes-commit: 349a99b80e7e6c0c92218c814ae0858fd71609fc
2018-04-18 16:59:17 -07:00
..
negotiation sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-15 09:38:17 +00:00
responsewriters replace request.Context with context.Context 2018-04-24 08:10:34 -07:00
create.go replace request.Context with context.Context 2018-04-24 08:10:34 -07:00
delete.go avoid calling Handles twice 2018-04-21 13:44:14 +08:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
get.go replace request.Context with context.Context 2018-04-24 08:10:34 -07:00
namer.go Remove request context mapper 2018-04-18 11:12:15 -04:00
namer_test.go Add unittests for GenerateLink 2017-08-29 13:15:22 +00:00
patch.go Refactor the patch handler for readability 2018-04-18 16:59:17 -07:00
response.go replace request.Context with context.Context 2018-04-24 08:10:34 -07:00
rest.go replace request.Context with context.Context 2018-04-24 08:10:34 -07:00
rest_test.go Refactor the patch handler for readability 2018-04-18 16:59:17 -07:00
update.go replace request.Context with context.Context 2018-04-24 08:10:34 -07:00
watch.go Remove request context mapper 2018-04-18 11:12:15 -04:00