OnlyControllerOwner if provided will only look at the first OwnerReference with Controller: true.
()
| 77 | |
| 78 | // OnlyControllerOwner if provided will only look at the first OwnerReference with Controller: true. |
| 79 | func OnlyControllerOwner() OwnerOption { |
| 80 | return func(e enqueueRequestForOwnerInterface) { |
| 81 | e.setIsController(true) |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | type enqueueRequestForOwnerInterface interface { |
| 86 | setIsController(bool) |
searching dependent graphs…