Documentation
What each document in this folder is for.
Requirements and installation live in the root README, the vocabulary in GLOSSARY.md, and the contribution workflow in CONTRIBUTING.md.
Using the runtime
- Configuration - the function handler, choosing the Front Controller, the environment variables to set, the host of absolute URLs, the cache and writable directories, and how errors are answered.
- Supported Applications - what a Front Controller may return: an HttpKernel, a Response, a PSR-15 request handler, a Console Application or Command, or a raw callable.
- Static Files - which files of
public/the runtime serves itself, their caching headers, compression and size limits. - CRON triggers and Command Invocations - handling a CRON trigger as a route, running a console command from one, and the security model behind it.
- Warm Processes - what survives between Invocations, and what an application must do to be safe for long-running execution.
- Requests and responses - the platform caveats on superglobals, output, query strings, bodies and streaming, and how the client IP is resolved without trusting any proxy.
Shipping
- Compatibility check - checking the Platform Requirements of the lock against a Function Runtime with
scaleway-doctor, before deploying. - Packaging - building the deployment zip with
scaleway-package, what it ships and what it refuses. - Deployment - deploying with Terraform, redeploying, and what Scaleway's
composer installdoes at deploy time. - Logs - where the function's output shows up in Cockpit, and querying it from the command line.
Developing
- Local development with the Emulator - running the function locally with
scaleway-serve, simulating CRON and Command Invocations, serving the zip as deployed, and Windows support.
Reference
- Probe results - the platform facts measured on Scaleway, and the Function Runtime Catalogue.
Decisions
- Architecture decision records - why the runtime is shaped the way it is, one file per decision, indexed by number.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|