Skip to main content

Crate greentic_runner_host

Crate greentic_runner_host 

Source
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.
HostBuilder
Builder for composing multi-tenant host instances.
PackId
Globally unique pack identifier.
RunnerConfig
User-facing configuration for running the unified host.
RunnerHost
Runtime host that manages tenant-bound packs and flow execution.
TelemetryCfg
TenantCtx
Context that accompanies every invocation across Greentic runtimes.
TenantHandle
Handle exposing tenant internals for embedding hosts (e.g. CLI server).
TenantId
Tenant identifier within an environment.

Enums§

ActivityKind

Functions§

run
Run the unified Greentic runner host until shutdown.