Skip to main content

Module grant

Module grant 

Source
Expand description

Service-neutral TenantBinding grant reconciliation contract (#929/#1422).

The AGPL hyprstream-k8s-pds adapter implements this contract with the issuer-signing and PDS allocation/CID behavior. Service-neutral tenant-grant boundary for the Kubernetes operator.

This Apache-licensed module owns only the generic reconciliation contract: an AGPL service adapter may compile an authored TenantBinding entitlement and return opaque content-addressed references. Cryptographic issuer keys, signed grant verification, PDS allocation records, and their CID implementation belong downstream of this crate.

Structs§

ContentReference
A validated, canonical content identifier.
TenantGrantArtifacts
Validated references produced by a service-specific grant compiler.
TenantGrantServiceError
A fail-closed service error safe to reflect in Kubernetes status.

Traits§

TenantGrantService
Service behavior invoked by the generic TenantBinding reconciler.

Functions§

compile_tenant_binding_status
Project a service result into the status written by the generic operator.
now_unix
Unix seconds used by the generic reconcile request.