func (h Funcs) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface) {
	if h.DeleteFunc != nil {
		h.DeleteFunc(e, q)
	}
}
Delete implements EventHandler
package handler
import (
	"k8s.io/client-go/util/workqueue"
	"sigs.k8s.io/controller-runtime/pkg/event"
)
type EventHandler interface {
	Create(event.CreateEvent, workqueue.RateLimitingInterface)
	Update(event.UpdateEvent, workqueue.RateLimitingInterface)
	Delete(event.DeleteEvent, workqueue.RateLimitingInterface)
	Generic(event.GenericEvent, workqueue.RateLimitingInterface)
}
var _ EventHandler = Funcs{}
type Funcs struct {
	CreateFunc func(event.CreateEvent, workqueue.RateLimitingInterface)
	UpdateFunc func(event.UpdateEvent, workqueue.RateLimitingInterface)
	DeleteFunc func(event.DeleteEvent, workqueue.RateLimitingInterface)
	GenericFunc func(event.GenericEvent, workqueue.RateLimitingInterface)
}
func (h Funcs) Create(e event.CreateEvent, q workqueue.RateLimitingInterface) {
	if h.CreateFunc != nil {
		h.CreateFunc(e, q)
	}
}