Shared types and data structures for Botica.
Summary
Types
@type check_def() :: %{ id: check_id(), name: String.t(), description: String.t(), priority: non_neg_integer(), tags: [atom()] | [], timeout: non_neg_integer() | nil, check: (-> check_result()), fix: (-> fix_result()) | nil, fix_command: String.t() | nil }
@type check_id() :: atom()
@type executor_option() :: {:timeout, non_neg_integer()} | :stop_on_first_error | :continue_on_error
@type executor_options() :: [executor_option()]
@type status() :: :ok | :warning | :error
@type summary() :: %{ ok: non_neg_integer(), warning: non_neg_integer(), error: non_neg_integer(), total: non_neg_integer(), passed?: boolean() }