HookSniff.Alerts (hooksniff v1.1.1)
Alert rules and notifications.
Summary
Functions
List all alert rules (auto-paginate). Accepts :limit and :max_pages opts.
List all alert notifications (auto-paginate). Accepts :limit and :max_pages opts.
List alert notifications (paginated). Accepts :limit and :offset opts.
List alert rules (paginated). Accepts :limit and :offset opts.
Functions
@spec list_all( HookSniff.t(), keyword() ) :: {:ok, list()} | {:error, term()}
List all alert rules (auto-paginate). Accepts :limit and :max_pages opts.
@spec list_all_notifications( HookSniff.t(), keyword() ) :: {:ok, list()} | {:error, term()}
List all alert notifications (auto-paginate). Accepts :limit and :max_pages opts.
@spec list_notifications( HookSniff.t(), keyword() ) :: {:ok, map()} | {:error, term()}
List alert notifications (paginated). Accepts :limit and :offset opts.
@spec list_rules( HookSniff.t(), keyword() ) :: {:ok, map()} | {:error, term()}
List alert rules (paginated). Accepts :limit and :offset opts.