CingI v0.1.1 API Reference
Modules
Commanders are long running processes that are used to start missions They have a main_mission and a transforming_mission main_missions are the long running script process that output to standard out transforming_missions are optional missions take each line of main_mission’s output, parses it, and returns it back to the commander ina suitable format. If the commander gets a line in an appropriate format, it’ll start up a MissionReport and send it to its headquarters
Field agents are processes that are assigned a mission by an outpost Typically they run the bash command in the same environment as the outpost They run on the same noide as the outpost but report the output to the mission
Headquarters manage all the branches within the cluster and assign mission to branches based on capacity. There should only be one Headquarters at each cluster. If a branch is started without a Headquarters, and doesn’t intend to connect to an existing cluster, a Headquarters should be created for it
Outposts are processes set up by commanders to connect to its branch and receive missions. Outposts have to set up the environment, like a workspace folder, or can be set up inside docker containers