Spectre.Privacy.ErasurePlan (Spectre v0.3.4)

Copy Markdown View Source

Read-only capability map for one configured Instance erasure.

The plan contains no Subject value and performs no adapter I/O. It reports whether core can acquire maintenance ownership and execute the configured journal, receipt-payload, and checkpoint steps in their required order.

Summary

Types

component()

@type component() :: %{
  :configured => boolean(),
  :status => :ready | :not_configured | :required | :unsupported | :unavailable,
  optional(:adapter) => String.t()
}

t()

@type t() :: %Spectre.Privacy.ErasurePlan{
  components: %{
    owner: component(),
    journal: component(),
    receipt_payloads: component(),
    package_data: component(),
    checkpoint: component()
  },
  instance_key: String.t(),
  order: [:journal | :receipt_payloads | :package_data | :checkpoint],
  ready: boolean(),
  schema_version: 1
}