HostKit.Facts (host_kit v0.1.0-beta.3)

Copy Markdown View Source

Lightweight host fact collection for audit/introspection workflows.

Summary

Functions

Collects selected host facts through the configured HostKit runner.

Types

fact()

@type fact() :: :os | :users | :systemd | :ports

Functions

collect(target_or_opts \\ [], opts \\ [])

@spec collect(
  HostKit.Target.t() | keyword(),
  keyword()
) :: {:ok, map()} | {:error, term()}

Collects selected host facts through the configured HostKit runner.