Documentation ¶
Overview ¶
Package reconciler defines implementations of the Reconciler interface defined at knative.dev/pkg/controller.Reconciler. These implement the basic workhorse functionality of controllers, while leaving the shared controller implementation to manage things like the workqueue.
Despite defining a Reconciler, each of the packages here are expected to expose a controller constructor like:
func NewController(...) *controller.Impl { ... }
These constructors will:
- Construct the Reconciler,
- Construct a controller.Impl with that Reconciler,
- Wire the assorted informers this Reconciler watches to call appropriate enqueue methods on the controller.
Index ¶
Constants ¶
View Source
const (
// KubectlLastAppliedAnnotationKey is the key used by kubectl to store its last applied configuration (using kubectl apply)
KubectlLastAppliedAnnotationKey = "kubectl.kubernetes.io/last-applied-configuration"
)
Variables ¶
This section is empty.
Functions ¶
func IsYoungResource ¶ added in v0.18.0
IsYoungResource checks whether the resource is younger than minimumResourceAge, based on its creation timestamp.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package events defines the interface and different implementations for events
|
Package events defines the interface and different implementations for events |
pipeline
|
|
Package resolutionrequest provides a reconciler for ResolutionRequest objects.
|
Package resolutionrequest provides a reconciler for ResolutionRequest objects. |
Click to show internal directories.
Click to hide internal directories.