Kind creates a KindSource with the given cache provider.
( cache cache.Cache, obj object, handler handler.TypedEventHandler[object, reconcile.Request], predicates ...predicate.TypedPredicate[object], )
| 74 | |
| 75 | // Kind creates a KindSource with the given cache provider. |
| 76 | func Kind[object client.Object]( |
| 77 | cache cache.Cache, |
| 78 | obj object, |
| 79 | handler handler.TypedEventHandler[object, reconcile.Request], |
| 80 | predicates ...predicate.TypedPredicate[object], |
| 81 | ) SyncingSource { |
| 82 | return TypedKind(cache, obj, handler, predicates...) |
| 83 | } |
| 84 | |
| 85 | // TypedKind creates a KindSource with the given cache provider. |
| 86 | func TypedKind[object client.Object, request comparable]( |
searching dependent graphs…