Wardrik. Operations. Deployment
(wardrik v0.1.0-rc.1)
Copy Markdown
Operations on the deployment: the audit, nodes, moving agents and reloading.
Summary
Functions
Returns a page of the deployment's audit.
Moves an agent to another node.
Lists the deployment's nodes with how many agents run on each, and how many are asleep.
Reloads the deployment
Functions
@spec audit(Wardrik.Scope.t(), map()) :: {:ok, map()}
Returns a page of the deployment's audit.
@spec move(Wardrik.Scope.t(), map()) :: {:ok, map()} | {:error, Wardrik.Error.t()}
Moves an agent to another node.
@spec nodes(Wardrik.Scope.t(), map()) :: {:ok, map()}
Lists the deployment's nodes with how many agents run on each, and how many are asleep.
@spec reload(Wardrik.Scope.t(), map()) :: {:ok, map()}
Reloads the deployment:
- Reloads the declarations. See
Wardrik.Declarations. - Updates running agents to their current definitions. Only those
"resources"covers, if given. - Reconciles MCP servers and triggers.
Returns the node reloaded, and a line for each declaration problem.