Files
Mustafa Akın f9335bda24 Updated packages, tidied and changed package name from opsgenie to resmoio (#45)
* Updated packages, tidied and changed package name from opsgenie to resmoio

* Handle removal of clusterName from API and leader election api change

* Update Dockerfile Go to 1.19

* Test case for parsing minCount properly for #43

* more extensive test case to also match apiVersion config
2022-12-19 10:45:46 +03:00

13 lines
245 B
Go

package exporter
import "github.com/resmoio/kubernetes-event-exporter/pkg/kube"
type Router struct {
cfg *Config
rcvr ReceiverRegistry
}
func (r *Router) ProcessEvent(event *kube.EnhancedEvent) {
r.cfg.Route.ProcessEvent(event, r.rcvr)
}