pub trait TenantGrantService: Send + Sync {
// Required method
fn compile_grant(
&self,
binding: &TenantBinding,
epoch: u64,
now: u64,
) -> Result<TenantGrantArtifacts, TenantGrantServiceError>;
}Expand description
Service behavior invoked by the generic TenantBinding reconciler.
Implementations are authority-bearing and therefore live in downstream service crates. They must validate the binding, issue/sign the grant, bind it to the allocation record, and fail closed on any error. The Apache operator receives only the resulting opaque content references.