Skip to main content

Crate greentic_start

Crate greentic_start 

Source

Modules§

config
notifier
Activity push notifier — informs WS sessions when a conversation has new activities.
provider_config_envelope
Provider configuration envelope reader/writer for greentic-start.
revision_health_gate
Warm/ready health-gate consumer (B9b of plans/next-gen-deployment.md).
runtime
runtime_state
supervisor

Structs§

StartRequest
StopRequest

Enums§

CloudflaredModeArg
NatsModeArg
NgrokModeArg
RestartTarget

Constants§

DEFAULT_ENV_ID
Default environment id when nothing is set. Flipped from "dev" to "local" as part of A4b — the local env is what gtc setup and gtc start auto-create per A4.
DISABLE_ALIAS_ENV_VAR
Env-var that disables the LEGACY_ENV_IDDEFAULT_ENV_ID compat alias. Set to 1, true, yes, or on (case-insensitive) to make any resolved value of dev hard-fail with a remediation hint.
LEGACY_ENV_ID
Legacy env id this crate accepts via the compat alias. Resolved values that match this string are remapped to DEFAULT_ENV_ID with a once-per-process warning, unless the operator disables the alias.

Functions§

resolve_env
Resolve the effective environment string.
run_from_env
run_restart_request
run_start_request
run_stop_request