monitor changes to an ingress in kubernetes
This is meant to automatically monitor the changes in kubernetes ingress definitions. This will manage an inmemory map of all the ingresses currently available within a kube cluster.
Three matchers are available PrefixMatch, ExactMatch and RegexMatch are available.
controller := InitIngressController(context.Background(), kubeclient)
namespace, ingressName, serviceRoute, found := controller.PrefixMatch("host.com", "/query")
namespace, ingressName, serviceRoute, found := controller.ExactMatch("host.com", "/query")
Read Issues to identify what needs to be done.