Spectre.Privacy (Spectre v0.3.4)

Copy Markdown View Source

Read-only privacy posture and erasure planning.

erasure_plan/3 only inspects configuration and exported callbacks. It does not start an Instance, read a store, acquire ownership, or delete data.

Summary

Functions

Builds a read-only erasure capability plan for one Agent and Subject.

Functions

erasure_plan(agent_or_ref, subject, opts \\ [])

@spec erasure_plan(
  module() | Spectre.AgentRef.t() | Spectre.Instance.Ref.t(),
  term(),
  keyword()
) ::
  {:ok, Spectre.Privacy.ErasurePlan.t()} | {:error, term()}

Builds a read-only erasure capability plan for one Agent and Subject.