pkg/webhook/resourcesemantics/conversion
Matt Moore 9c7fd8e14f
Introduce `NewContext`, deprecate `NewImplFull`. (#2222)
* 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.
2021-08-21 14:00:34 -07:00
..
internal update boilerplate date (#2134) 2021-05-28 13:21:29 -07:00
controller.go Introduce `NewContext`, deprecate `NewImplFull`. (#2222) 2021-08-21 14:00:34 -07:00
conversion.go Fix the error/warn log usage (#1839) 2020-10-23 13:06:37 -07:00
conversion_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00
reconciler.go Use special error type to designate skips. (#1988) 2021-01-14 14:30:20 -08:00
table_test.go use crd & webhook v1 APIs (#1391) 2020-06-19 08:43:25 -07:00