Gralkor.PersonalGraphMigration (jido_gralkor v11.0.0)

Copy Markdown View Source

Prepares and verifies the explicit migration of historical private graphs.

Operator identifiers remain unchanged. Connections and configuration references are supplied explicitly so migration never selects a running application's store.

Summary

Types

connection()

@type connection() :: keyword()

manifest()

@type manifest() :: %{required(String.t()) => term()}

Functions

advance(connection, journal_path, quiescence, opts \\ %{})

@spec advance(connection(), String.t(), map(), map()) ::
  {:ok, manifest()} | {:error, String.t()}

apply(connection, journal_path, quiescence, opts \\ %{})

@spec apply(connection(), String.t(), map(), map()) ::
  {:ok, manifest()} | {:error, String.t()}

plan(connection, operator_ids, configuration_references)

@spec plan(connection(), [String.t()], map()) ::
  {:ok, manifest()} | {:error, String.t()}

prepare(connection, operator_ids, configuration_references, journal_path)

@spec prepare(connection(), [String.t()], map(), String.t()) ::
  {:ok, manifest()} | {:error, String.t()}

rollback(connection, journal_path, quiescence, opts \\ %{})

@spec rollback(connection(), String.t(), map(), map()) ::
  {:ok, manifest()} | {:error, String.t()}