Skip to main content

compose_effective_graph

Function compose_effective_graph 

Source
pub async fn compose_effective_graph(
    ctx: &OperatorContext,
    policy: &PostgresPolicy,
    desired: &mut RoleGraph,
) -> Result<BTreeSet<String>, ReconcileError>
Expand description

Merge currently owned ephemeral edges into an ordinary policy’s desired graph. Callers must hold both the in-process and PostgreSQL advisory locks.