Expand description
Canonical Greentic host runtime.
This crate owns tenant bindings, pack ingestion/watchers, ingress adapters,
Wasmtime glue, session/state storage, and the HTTP server used by the
greentic-runner CLI. Downstream crates embed it either through
RunnerConfig + run (HTTP host) or HostBuilder (direct API access).
Re-exports§
pub use config::HostConfig;pub use gtbind::PackBinding;pub use gtbind::TenantBindings;pub use wasi::PreopenSpec;pub use wasi::RunnerWasiPolicy;pub use http::auth::AdminAuth;pub use routing::RoutingConfig;pub use runner::HostServer;
Modules§
- boot
- cache
- component_
api - config
- engine
- fault
- gtbind
- http
- ingress
- oauth
- operator_
metrics - operator_
registry - pack
- provider
- provider_
core - provider_
core_ only - routing
- runner
- runtime
- runtime_
wasmtime - secrets
- storage
- telemetry
- trace
- validate
- verify
- wasi
- watcher
Structs§
- Activity
- High-level activity payload exchanged with Greentic hosts.
- EnvId
- Environment identifier for a tenant context.
- FlowId
- Identifier referencing a flow inside a pack.
- Host
Builder - Builder for composing multi-tenant host instances.
- PackId
- Globally unique pack identifier.
- Runner
Config - User-facing configuration for running the unified host.
- Runner
Host - Runtime host that manages tenant-bound packs and flow execution.
- Telemetry
Cfg - Tenant
Ctx - Context that accompanies every invocation across Greentic runtimes.
- Tenant
Handle - Handle exposing tenant internals for embedding hosts (e.g. CLI server).
- Tenant
Id - Tenant identifier within an environment.
Enums§
Functions§
- run
- Run the unified Greentic runner host until shutdown.