carvel-dev / ytt

YAML templating tool that works on YAML structure instead of text
https://carvel.dev/ytt
Apache License 2.0
1.63k stars 137 forks source link

Need package documentation on the workspace concept #494

Closed jayunit100 closed 2 years ago

jayunit100 commented 2 years ago

Hi YTT friends...

Whats the definition of a ytt workspace ?

For example, i see: https://github.com/vmware-tanzu/carvel-ytt/tree/develop/pkg/workspace, and theres a generic concept of a Library which, seems to be a recursive datastructure that references other libraries…

If I had to guess, I'd say

but then again, im just totally guessing, so I guess my ask would be here, that maybe we add package level docs/README or something to the pkg/workspace :)


(associated conversation: https://kubernetes.slack.com/archives/CH8KCCKA5/p1632838181464500)

pivotaljohn commented 2 years ago

In our conversation on Slack (noted, above), it appears that you're looking at various ways to integrate with ytt. Seems like this might be most fruitful as a synchronous conversation.

As noted in that thread, we are in the midst of a campaign of including Godoc as we make modifications to the code: package and exported type documentation is forth-coming.

I'm going to close this issue, for now... and we can continue our chat at least in the Slack thread (if not more synchronously). If you think this is a mistake, feel free to say so here, and we'll review.