Is there currently no story for consuming Dagger Functions style modules from a custom application that uses the Dagger SDK?
The gist of my problem is:
- I like using functions and modules to organize various platform components and building blocks (verbose, flexible)
- I don't prefer functions (in their current state) as a user-facing interface, as in this case I care about a zero-config principle, which needs host access (default access to various env vars, local files, docker credentials, exporting files, etc)
So ideally, I would want to use the SDK to build a custom CLI which (thanks to host access) can handle all my UX needs, before calling a module function.
But judging by the docs, it's not clear to me whether this is at all possible ? The table says "No" to "Direct" access to 3rd party modules. Is there any "Indirect" workaround ? I don't mind maintaining a dagger.json and having to code gen in the custom application etc.