supervisor: accept Orchestrator interface instead of concrete type#1605
supervisor: accept Orchestrator interface instead of concrete type#1605matheuscscp wants to merge 1 commit intocloudflare:masterfrom
Conversation
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
|
Hi, |
|
Sure! Thanks for paying attention to this PR 😁 I have created (yet another, for what it seems) Gateway API controller for Cloudflare tunnels: https://github.com/matheuscscp/cloudflare-gateway-controller I'm really happy with the results so far. I'm mapping a For what's relevant to this PR, I want to merge the sidecar and cloudflared containers into one, by directly importing the Go packages of I have a working proof of concept here, that depends on the changes in this PR: |
bb21b47 to
5f818e9
Compare
Hi 👋
This project is pretty cool! Thank you very much for it 🙏
I'm filing this PR to make the Go code here a bit more extensible. If we accept the
connection.Orchestratorinterface instead of the*orchestration.Orchestratorconcrete type in the places I have changed in this PR I would be able to reuse some of this code in another project that imports this one. Please let me know if this is okay 🙏