API Reference wardrik_triggers v#0.1.0-rc.1
Copy MarkdownModules
Asks agents something on a clock, when a feed has new entries, or when a service sends a webhook.
Computes a trigger's next run from a cron expression in a time zone, or from an interval.
Parses RSS and Atom feeds and finds entries not seen before.
Stores triggers. Each record holds the trigger, its next and last run, and what its feeds and webhook have seen.
Runs one due trigger or one webhook request. Reads feeds, asks the agent, and reports the status to the target and to telemetry.
Runs each trigger when it comes due. Every node runs one.
Connects triggers to your agents. Given to WardrikTriggers as :target, as {module, config}.
A trigger: when to ask an agent, and what. Decoded from a map with string keys, as an agent file writes it.
Verifies webhook requests against a trigger's secret.