EnqueueRequestForOwner enqueues Requests for the Owners of an object. E.g. the object that created the object that was the source of the Event. If a ReplicaSet creates Pods, users may reconcile the ReplicaSet in response to Pod Events using: - a source.Kind Source with Type of Pod. - a handler.e
(scheme *runtime.Scheme, mapper meta.RESTMapper, ownerType client.Object, opts ...OwnerOption)
| 48 | // |
| 49 | // - a handler.enqueueRequestForOwner EventHandler with an OwnerType of ReplicaSet and OnlyControllerOwner set to true. |
| 50 | func EnqueueRequestForOwner(scheme *runtime.Scheme, mapper meta.RESTMapper, ownerType client.Object, opts ...OwnerOption) EventHandler { |
| 51 | return TypedEnqueueRequestForOwner[client.Object](scheme, mapper, ownerType, opts...) |
| 52 | } |
| 53 | |
| 54 | // TypedEnqueueRequestForOwner enqueues Requests for the Owners of an object. E.g. the object that created |
| 55 | // the object that was the source of the Event. |
no test coverage detected
searching dependent graphs…