Expand description
Phase 122.2 §4: .do/app.yaml starter renderer.
Pure string substitution over files/do/app.yaml.tpl. Caller is
responsible for I/O (reading Cargo.toml, .env.production, git remote).
Structs§
- AppYaml
Context - Inputs for
render_app_yaml. All fields are pre-resolved by the caller.
Functions§
- is_
test_ like_ bin - Heuristic: filter test/dev/debug bins from the workers block.
- parse_
git_ remote - Parse a git remote URL (HTTPS or SSH form) to
"owner/repo". GitHub only. - render_
app_ yaml - Render
.do/app.yamlfrom a fully-resolved context. - sanitize_
do_ app_ name - Sanitize a package name to a DigitalOcean-compatible app name.