We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The definition for the buildkit.toml format lives in https://github.com/moby/buildkit/blob/0f6482e34cec2d25c4397b812e442e1c8eea06d0/cmd/buildkitd/config/config.go
The fields are all documented in https://github.com/moby/buildkit/blob/0f6482e34cec2d25c4397b812e442e1c8eea06d0/docs/buildkitd.toml.md.
However, these can be out-of-date, which means sometimes we get drift - see #4273, which should have been updated as part of #3773, but got missed.
Ideally, we should auto-generate part of the buildkit docs using the code, by extracting doc-comments, and analyzing the types.
(cc @dvdksn)
The text was updated successfully, but these errors were encountered:
Would generating this involve parsing the AST to get the fields and comments, or do you have a better idea/tool in mind?
Sorry, something went wrong.
Would generating this involve parsing the AST to get the fields and comments, or do you have a better idea/tool in
We could potentially use https://pkg.go.dev/go/parser, and then use https://pkg.go.dev/go/doc to extract doc comments.
I'm not aware of any off-the-shelf tool for this, but shouldn't be too tricky to throw something together.
Successfully merging a pull request may close this issue.
The definition for the buildkit.toml format lives in https://github.com/moby/buildkit/blob/0f6482e34cec2d25c4397b812e442e1c8eea06d0/cmd/buildkitd/config/config.go
The fields are all documented in https://github.com/moby/buildkit/blob/0f6482e34cec2d25c4397b812e442e1c8eea06d0/docs/buildkitd.toml.md.
However, these can be out-of-date, which means sometimes we get drift - see #4273, which should have been updated as part of #3773, but got missed.
Ideally, we should auto-generate part of the buildkit docs using the code, by extracting doc-comments, and analyzing the types.
(cc @dvdksn)
The text was updated successfully, but these errors were encountered: