-
Notifications
You must be signed in to change notification settings - Fork 42
librarian: rework generate container contract #770
Copy link
Copy link
Description
Reference: go/librarian:cli-reimagined
| context | type | description |
|---|---|---|
| /librarian/generate-request.json | mount | (read) |
| /input | mount (read/write) | The exact contents of the generator-input folder, e.g. google-cloud-go/.librarian/generator-input. Example contents are: - Templates (example) -Logic to run tweaks (example). This folder has read/write access to allow the container to add any new language specific configuration required. |
| /output | mount (write) | This folder is mounted into the container. It is meant to be the destination for any code generated by the container. Its output structure should match that of where the code should land in the resulting repository. For example if we are generating the secretmanger v1 client for Go, we would write files to /output/secretmanager. |
| /source | mount (read) | This folder is mounted into the container. It contains, for example, the whole contents of googleapis. This will be needed in order to read the service config files and likely also the BUILD.bazel files that hold a lot of configuration today. |
| command | Positional Argument | The value will always be `generate`` for this invocation. |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels