Structsยง
- CLIReceiver
- Special Receiver struct that notices when the CLI disconnects.
- Controller
Service - Struct for the orchestrator service
- Worker
Receiver - Special Receiver struct that notices when the worker disconnects.
- Worker
Sender - Special Sender struct for workers that sends tasks after a delay (based on the Worker interval).
Enumsยง
Constantsยง
- ALL_
WORKERS_ ๐DIRECT - ALL_
WORKERS_ ๐INTERVAL - BREAK_
SIGNAL ๐
Functionsยง
- load_
tls ๐ - load_
worker_ ๐config - Load the worker configuration from a file.
This provides a static mapping of hostnames to worker IDs.
Formats the file as follows:
, - start
- Start the orchestrator.
- task_
sender ๐ - Reads from a channel containing Tasks and sends them to the workers, at specified inter-client intervals. Sends repeated tasks (at inter-probe interval) if multiple probes per target are configured.
Type Aliasesยง
- CliHandle ๐
- CliSender ๐
- Result
Message ๐ - Task
Message ๐