Milvex.Migration.Runner.ApplyReport (milvex v0.14.0)

Copy Markdown

Final report from one Runner.apply/2 call: per-plan results, a flag telling whether the run was short-circuited by an :impossible op, and aggregate counts.

Summary

Types

counts()

@type counts() :: %{
  applied: non_neg_integer(),
  skipped_destructive: non_neg_integer(),
  skipped_idempotent: non_neg_integer(),
  failed: non_neg_integer(),
  blocked: non_neg_integer(),
  impossible: non_neg_integer()
}

t()

@type t() :: %Milvex.Migration.Runner.ApplyReport{
  blocked_by_impossible: boolean(),
  counts: counts(),
  plan_results: [Milvex.Migration.Runner.PlanResult.t()]
}