Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteIfFound ¶
DeleteIfFound deletes the given resource from the cluster and returns an error only if the deletion fails. If the resoruce does not exist, no error will be returned.
func EnqueueMapFunc ¶
func EnqueueMapFunc[L client.ObjectList]( ctrlClient client.Client, logger *zap.Logger, target client.Object, list L, getItems func(L) []client.Object, ) func(client.Object) []reconcile.Request
EnqueueMapFunc may be used to watch changes of a particular target objects and trigger the reconciliation of all resources of a particular type. The given logger is used to log errors in the background.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.