lingsamuel commented on issue #1058:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1058#issuecomment-1141815142

   Perhaps we could create an interface called "(Feature)Provider". The 
provider holds several small controllers and associated 
clientet/listers/informers.
   
   Also, we should separate the translators and only make the Kubernetes 
translator publicly accessible, since any other translator could potentially 
rely on it.
   APISIX Ingress and any other CRD translators should be private.
   
   
   - RootController
     - KubernetesProvider (public)
       - Controllers: secret, service, pod, endpoint...
       - clientset/listers/informers (public)
       - KubernetesTranslator (public)
     - ApisixIngressProvider
       - Controllers: APISIX Ingress CRDs
       - clientset/listers/informers
       - ApisixIngressTranslator
     - GatewayProvider
       - Controllers: Gateway CRDs
       - clientset/listers/informers
       - GatewayTranslator


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to