19declare(strict_types=1);
 
getMigrations()
Get a named map of migrations available for this Agent.
 
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
 
getInstallObjective(?Config $config=null)
Get the goals the agent wants to achieve on setup.
 
hasConfig()
Does this agent require a configuration?
 
__construct(private readonly Refinery $refinery)
 
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
 
getStatusObjective(Storage $storage)
 
getNamedObjectives(?Config $config=null)
Gets all named objectives The keys of the returned array are the commands.
 
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
 
A non-objective, nothing to do to achieve it...
 
A configuration for the setup.
 
An objective is a desired state of the system that is supposed to be created by the setup.