Skip to main content

Module runner

Module runner 

Source
Expand description

The runner API: what a tenant’s runner reads of the one tenant its runner key is bound to. The extension runner reads the native services it runs, their binaries and their environments; a tenant-scoped web runner the web apps it serves, their bundles and their environments.

Structs§

Environment
A service’s configs and secrets, opened: the variables its runner starts it with.
NativeService
A native service’s current deployment, as its runner runs it.
NativeSet
The native services the extension runner of tenant, the tenant its key is bound to, runs: each active one at its current version.
WebApp
A web app’s current deployment, as its runner serves it.
WebSet
The web apps the web runner of tenant, the tenant its key is bound to, serves: each one’s current version with a bundle.

Constants§

RUNNER_NATIVE_PATH
What a tenant’s extension runner runs; a service’s binary and environment are under it.
RUNNER_WEB_PATH
What a tenant-scoped web runner serves; an app’s bundle and environment are under it.

Functions§

is_sha256
Whether hash is a SHA-256 as the runner API addresses an artifact by: 64 lowercase hex digits.