Ive made my own DNS record provisioner that adds records based off annotations on services and ingresses. With kubernetes ingress I can do like this to watch for events:
ingressInformer := informerFactory.Networking().V1beta1().Ingresses().Informer()
ingressInformer.AddEventHandler(cache.ResourceEventHandlerFuncs{
...
But how do I do this with traefik without importing the entire traefik github project?