Skip to main content

Module runtime_environment

Module runtime_environment 

Source

Structs§

RuntimeEnvironmentBindingEntry
RuntimeEnvironmentEntry
RuntimeEnvironmentPlan

Enums§

RuntimeEnvironmentBindingSource
RuntimeEnvironmentPlanEntry
RuntimeEnvironmentValue

Constants§

ENV_ALIEN_COMMANDS_CAPABILITY_FILE
File holding a short-lived command credential as {"token","expiresAt"}, written and refreshed by the host or operator that runs the workload.
ENV_ALIEN_COMMANDS_DRAIN_TIMEOUT_MS
Graceful command receiver drain timeout, in milliseconds.
ENV_ALIEN_COMMANDS_LEASE_SECONDS
Lease duration requested by app-owned command receivers, in seconds.
ENV_ALIEN_COMMANDS_MAX_LEASES
Maximum command leases requested by an app-owned receiver per poll.
ENV_ALIEN_COMMANDS_POLL_INTERVAL_MS
Base command receiver poll interval, in milliseconds.
ENV_ALIEN_COMMANDS_POLL_JITTER
Fractional jitter applied to command receiver poll intervals.
ENV_ALIEN_COMMANDS_POLL_MAX_INTERVAL_MS
Maximum command receiver poll interval after adaptive backoff, in milliseconds.
ENV_ALIEN_COMMANDS_TARGET_RESOURCE_ID
Identifies which stack resource an app-owned command receiver leases for.
ENV_ALIEN_COMMANDS_TARGET_RESOURCE_TYPE
Type of the command target a pull Receiver leases for (container | daemon). Lease requests require a typed target and a receiver must not guess it (the worker runtime hardcodes worker; a Container/Daemon receiver gets its type injected). Companion to ENV_ALIEN_COMMANDS_TARGET_RESOURCE_ID.
ENV_ALIEN_COMMANDS_TOKEN
ENV_ALIEN_COMMANDS_TOKEN_FILE
File containing the command receiver bearer token. Receivers re-read this file after an unauthorized response so controllers can rotate credentials without restarting the workload.
ENV_ALIEN_COMMANDS_URL
Base URL of the command server API an app-owned pull Receiver (Container/Daemon) leases commands from. Pinned by the receiver contract; the TypeScript receiver reads the same variable. Missing or invalid values fail fast with COMMAND_RECEIVER_CONFIG_INVALID. Injected by the manager and operator controllers, scoped per command-enabled resource.
ENV_ALIEN_CURRENT_CONTAINER_BINDING_NAME
ENV_ALIEN_CURRENT_WORKER_BINDING_NAME
ENV_ALIEN_DEPLOYMENT_ID
ENV_ALIEN_DEPLOYMENT_NAME
ENV_ALIEN_DEPLOYMENT_TOKEN
Deployment bearer token, distinct from command delivery tokens.
ENV_ALIEN_DEPLOYMENT_TYPE
ENV_ALIEN_KUBERNETES_PRIORITY_CLASSES
JSON object mapping workload priority levels (critical, high, normal, low) to Kubernetes PriorityClass names. The Helm chart sets it on the operator only when the cluster administrator mapped at least one level.
ENV_ALIEN_LAMBDA_MODE
ENV_ALIEN_MANAGER_URL
Base URL of the deployment’s manager.
ENV_ALIEN_PUBLIC_ENDPOINTS_JSON
ENV_ALIEN_QUEUE_BATCH_CONFIG
JSON batch limits keyed by logical queue resource ID.
ENV_ALIEN_RESOURCE_ID
Identifies the current app resource within its deployment stack. Unlike command-specific target variables, this is the universal resource identity name.
ENV_ALIEN_RUNTIME_SECRETS
ENV_ALIEN_RUNTIME_SEND_OTLP
ENV_ALIEN_SANDBOX_BROKER_URL
Where application pods reach the Kubernetes sandbox session broker. The Helm chart sets it on the operator from the Service it renders in front of the operator, which serves the broker; the Sandbox controller publishes it in the sandbox binding.
ENV_ALIEN_SANDBOX_CLUSTER_DNS
The nameserver addresses (comma separated IPv4) the chart admits on port 53 for sandbox pods, from sandbox.clusterDNS; the chart admits only these on port 53 for allow-egress sandbox pods. The Operator compares them with its own /etc/resolv.conf and refuses new allow-egress sessions when they differ (running sessions stay).
ENV_ALIEN_SANDBOX_NAMESPACE
Namespace the administrator made for sandbox pods (sandbox.namespace). Unset means the release namespace, where sandbox pods have always run. The chart never creates it.
ENV_ALIEN_SANDBOX_NETWORK_ENFORCER
Set by the Kubernetes operator on root-boot pods: the egress limit is enforced outside the pod (NetworkPolicy and the gateway), so the agent skips in-pod firewall setup. Agent-read only.
ENV_ALIEN_SANDBOX_NODE_SELECTOR
JSON object of node labels sandbox pods must match (sandbox.nodeSelector).
ENV_ALIEN_SANDBOX_OPERATOR_ADDRESS
RuntimeClass the chart chose for sandbox pods (sandbox.runtimeClassName, or the cluster’s vendor class when unset). The Operator only checks it; it never picks one. ip:port of the Operator pod itself, set by the chart from the downward API. A sandbox pod’s NetworkPolicy must refuse it, which is how a pod proves its policy is in force.
ENV_ALIEN_SANDBOX_RUNTIME_CLASS
ENV_ALIEN_SANDBOX_TOLERATIONS
JSON array of tolerations for sandbox pods (sandbox.tolerations).
ENV_ALIEN_SANDBOX_WARM_POOL_SIZE
Idle sandbox pods the Operator keeps ready (sandbox.warmPoolSize).
ENV_ALIEN_SECRETS
ENV_ALIEN_SECRET_ENV_REVISION
Opaque deployment-managed revision that rolls workloads when referenced secret values change without exposing secret-derived data in the spec.
ENV_ALIEN_TRANSPORT
ENV_ALIEN_WORKER_GRPC_ADDRESS
Address of the worker app protocol gRPC server. The runtime binds its Control + WaitUntil services here and injects the same value for the application it spawns; the app connects as the gRPC client. Presence of this variable is what selects the worker-protocol gRPC channel in the app SDK.
ENV_ALIEN_WORKER_TIMEOUT_SECONDS
Configured maximum Worker execution time in seconds, injected from the trusted resource.
ENV_AWS_ACCOUNT_ID
ENV_AWS_REGION
ENV_AZURE_CLIENT_ID
ENV_AZURE_REGION
ENV_AZURE_SUBSCRIPTION_ID
ENV_AZURE_TENANT_ID
ENV_GCP_PROJECT_ID
ENV_GCP_REGION
ENV_GOOGLE_CLOUD_PROJECT
ENV_OPERATOR_BASE_PLATFORM
HOST_COMMANDS_CAPABILITY_FILE
Where a Container or Daemon on a machine with a runtime identity finds its command credential (ALIEN_COMMANDS_CAPABILITY_FILE). The machine writes it.
HOST_COMMANDS_TOKEN_FILE
The same credential as plain text (ALIEN_COMMANDS_TOKEN_FILE), for receivers that read only a token file.

Traits§

RuntimeEnvironmentRenderer

Functions§

container_runtime_environment_contract
container_runtime_environment_plan
daemon_runtime_environment_contract
daemon_runtime_environment_plan
is_reserved_runtime_environment_name
is_runtime_environment_contract_name
kubernetes_base_platform_runtime_environment_plan
render_runtime_environment_entries
render_runtime_environment_plan
standard_runtime_environment_plan
validate_prepared_runtime_environment_map
validate_prepared_runtime_environment_vars
validate_runtime_environment_user_map
validate_runtime_environment_user_vars
worker_runtime_environment_contract
worker_runtime_environment_plan
worker_transport_runtime_environment_plan