HostKit.Apply (host_kit v0.1.0-beta.1)

Copy Markdown View Source

Applies supported HostKit plan changes.

Summary

Types

result()

@type result() :: %{
  change: HostKit.Change.t(),
  status: :dry_run | :applied | :skipped
}

Functions

run(plan, opts \\ [])

@spec run(
  HostKit.Plan.t(),
  keyword()
) :: {:ok, [result()]} | {:error, term()}