[−][src]Crate the_process_foundry
The root library of the Process Foundry
This is here to bootstrap and tie the entire system together.
TODO: Make more of a README for this
Some Definitions
Application - An item which can run actions and generate events
Container - An abstract object which contains applications and other containers. It can be used to look
its own contents up and pass actions to them.
Module - An implementation of an interface to an Application
Registry - This a singleton that maintains a searchable list of application and container factories
Workflow - A set of Applications wired together to implement a single process
Modules
| application | A wrapper around external software to generate TPF Actions and Events |
| applications | A placeholder to group all the developmental applications |
| base | The core definitions and structs for the Process Foundry |
| error | Errors that can be generated by the Process Foundry |
Structs
| AppInstance | Information about the specific running copy of the external program |
| AppQuery | This defines the a needed version of container/application needed for the module. |
| CliQueryOptions | |
| Cmd | |
| Shell | A special case for bootstrapping. I'm trying to find the enumerations that actually deserve to be traits themselves |
Enums
| Message | A generic message designed to be sent to a container |
| QueryOptions | A wrapper for looking for specific instances of apps or where they are running |
| ShellType |
Traits
| ActionTrait | Handlers for serialized action requests |
| AppTrait | A data structure containing information used to generate both generate Actions and Events |
| ContainerTrait | Ways to manage applications (eg Docker, Bash) contained within itself |
| LocalTrait | An app running on the local system (eg: bash shell) |
Functions
| bootstrap | |
| find | |
| main |