mirror of https://github.com/knative/pkg.git
* Introduce `NewContext`, deprecate `NewImplFull`. Our generated `NewImpl` methods have long taken `context.Context`, but despite many iterations the forms we expose from our `controller` package never have. This change contains several elements: 1. Expose a new `NewContext` method that takes `context.Context` in addition to the current `NewImplFull` signature. 2. Call `NewContext` instead of the deprecated `NewImpl` from our generated controller code. 3. Call `NewContext` from all our webhook reconcilers. * Add a Tracker to controller.Impl to cut down on downstream boilerplate. |
||
---|---|---|
.. | ||
configmaps.go | ||
configmaps_test.go | ||
controller.go | ||
table_test.go |