Expand description
Shared types and helpers for Greentic multi-tenant flows.
Re-exports§
pub use context::Cloud;pub use context::DeploymentCtx;pub use context::Platform;pub use error::ErrorCode;pub use error::GResult;pub use error::GreenticError;pub use outcome::Outcome;pub use pack::PackRef;pub use pack::Signature;pub use pack::SignatureAlgorithm;pub use pack_spec::PackSpec;pub use pack_spec::ToolSpec;pub use policy::AllowList;pub use policy::NetworkPolicy;pub use policy::PolicyDecision;pub use policy::Protocol;pub use session::SessionCursor;pub use session::SessionKey;pub use state::StateKey;pub use state::StatePath;pub use telemetry::SpanContext;pub use tenant::Impersonation;pub use tenant::TenantIdentity;
Modules§
- context
- Shared deployment context primitives for Greentic runtimes.
- error
- Shared error types for Greentic crates.
- outcome
- Normalized execution outcomes.
- pack
- Pack reference metadata.
- pack_
spec - Serde-ready representations for Greentic
pack.yamlmanifests. - policy
- Network policy primitives.
- session
- Session identity and cursor helpers.
- state
- State key and JSON pointer helpers.
- telemetry
- Telemetry helpers exposed by
greentic-types. - tenant
- Tenant-centric identity helpers.
Structs§
- EnvId
- Environment identifier for a tenant context.
- Invocation
Deadline - Deadline metadata for an invocation, stored as Unix epoch milliseconds.
- Invocation
Envelope - Normalized ingress payload delivered to nodes.
- Node
Error - Error type emitted by Greentic nodes.
- TeamId
- Team identifier belonging to a tenant.
- Tenant
Ctx - Context that accompanies every invocation across Greentic runtimes.
- Tenant
Id - Tenant identifier within an environment.
- UserId
- User identifier within a tenant.
Enums§
- Error
Detail - Structured detail payload attached to a node error.
Functions§
- make_
idempotency_ key - Generates a stable idempotency key for a node invocation.
Type Aliases§
- Binary
Payload - Primary payload representation shared across envelopes.
- Node
Result - Alias for results returned by node handlers.