Skip to main content

Module do_

Module do_ 

Source
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§

AppYamlContext
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.yaml from a fully-resolved context.
sanitize_do_app_name
Sanitize a package name to a DigitalOcean-compatible app name.