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

Copy Markdown View Source

Runtime API for the optional HostKit host agent.

Summary

Functions

configure(opts)

@spec configure(keyword()) :: :ok

record_event(event)

@spec record_event(term()) :: :ok

record_monitor(result)

@spec record_monitor(term()) :: :ok

record_plan(result)

@spec record_plan(term()) :: :ok

reset()

@spec reset() :: :ok

run_monitor(opts \\ [])

@spec run_monitor(keyword()) :: {:ok, [HostKit.Monitor.Result.t()]} | {:error, term()}

run_plan(opts \\ [])

@spec run_plan(keyword()) :: {:ok, HostKit.Plan.t()} | {:error, term()}

snapshot()

@spec snapshot() :: map()

status()

@spec status() :: map()