WardrikDaemon. Agents
(wardrik_daemon v0.1.0-rc.1)
Copy Markdown
Defines the agents in agents/. It's the daemon's Wardrik.Declarations.
On each reload:
- an agent whose file reads is defined from it.
- an agent whose file is gone is forgotten.
- an agent whose file doesn't read keeps its last definition, and the log says why.
The API can't forget an agent a file declares.
Options
:wardrik- what Wardrik is reached by.:dir- theagents/directory.:config- theWardrikDaemon.Config.:store- where it keeps which agents the files declare.
Summary
Functions
Returns the scope agents are defined in: the deployment's own, as owner of every resource.
Functions
@spec scope(keyword()) :: Wardrik.Scope.t()
Returns the scope agents are defined in: the deployment's own, as owner of every resource.