pkg/controller
Matt Moore 3826bb2436
Add a new mechanism for requeuing a key. (#2201)
This is modelled after some of the semantics available in controller-runtime's `Result` type, which allows reconcilers to indicate a desire to reprocess a key either immediately or after a delay.

I worked around our lack of this when I reworked Tekton's timeout handling logic by exposing a "snooze" function to the Reconciler that wrapped `EnqueueAfter`, but this feels like a cleaner API for folks to use in general, and is consistent with our `NewPermanentError` and `NewSkipKey` functions in terms of influencing the queuing behaviors in our reconcilers via wrapped errors.

You can see some discussion of this here: https://knative.slack.com/archives/CA4DNJ9A4/p1627524921161100
2021-07-30 08:31:33 -07:00
..
testing Add tags to knative provided reconcile metrics (#1916) 2020-11-24 12:42:35 -08:00
OWNERS Update OWNERS_ALIASES to match autogen in community (#2078) 2021-04-08 07:42:51 -07:00
controller.go Add a new mechanism for requeuing a key. (#2201) 2021-07-30 08:31:33 -07:00
controller_test.go Add a new mechanism for requeuing a key. (#2201) 2021-07-30 08:31:33 -07:00
helper.go Avoid copying object if TypeMeta is already correct. (#1561) 2020-07-28 00:09:58 -07:00
helper_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00
options.go Add ability to filter objects on injection controller promotion (#2180) 2021-07-13 10:55:50 -07:00
stats_reporter.go Fix revive related linting issues (#2131) 2021-05-26 01:10:28 -07:00
stats_reporter_test.go Add tags to knative provided reconcile metrics (#1916) 2020-11-24 12:42:35 -08:00
two_lane_queue.go Spelling (#1797) 2020-10-18 14:22:57 -07:00
two_lane_queue_test.go Fix the flaky test. (#1632) 2020-08-18 17:06:13 -07:00