38 std::unique_ptr<platform::ChildProcess>
process;
Bounded, process-local enrollment registry.
Definition control_host_enrollment.hpp:71
Process-local snapshot store intended to be owned by the broker composition root.
Definition control_trusted_host_inventory.hpp:125
ControlTrustedHostLauncher(const ControlTrustedHostLauncher &)=delete
ControlTrustedHostLaunchResult launch(std::string_view inventory_id, platform::ProcessOptions options={})
ControlTrustedHostLauncher & operator=(const ControlTrustedHostLauncher &)=delete
ControlTrustedHostLauncher(ControlTrustedHostInventory &inventory, ControlHostEnrollmentStore &enrollments, ControlTrustedHostLauncherConfig config)
Definition agent_context.hpp:7
ControlTrustedHostLaunchStatus
Definition control_trusted_host_launcher.hpp:17
@ EnrollmentRejected
Definition control_trusted_host_launcher.hpp:23
@ InventoryUnavailable
Definition control_trusted_host_launcher.hpp:20
@ PreflightRejected
Definition control_trusted_host_launcher.hpp:22
@ Launched
Definition control_trusted_host_launcher.hpp:18
@ BootstrapRejected
Definition control_trusted_host_launcher.hpp:24
@ SpawnFailed
Definition control_trusted_host_launcher.hpp:21
@ InvalidConfiguration
Definition control_trusted_host_launcher.hpp:19
std::string_view control_trusted_host_launch_status_id(ControlTrustedHostLaunchStatus status)
Definition control_host_preflight.hpp:32
Exact broker-owned peer expectation.
Definition control_peer.hpp:12
Definition control_trusted_host_launcher.hpp:36
ControlHostPreflightDiagnostics preflight
Definition control_trusted_host_launcher.hpp:39
std::string explanation
Definition control_trusted_host_launcher.hpp:40
std::unique_ptr< platform::ChildProcess > process
Definition control_trusted_host_launcher.hpp:38
bool launched() const noexcept
Definition control_trusted_host_launcher.hpp:42
ControlTrustedHostLaunchStatus status
Definition control_trusted_host_launcher.hpp:37
Definition control_trusted_host_launcher.hpp:29
std::uint64_t broker_generation
Definition control_trusted_host_launcher.hpp:32
ControlPeerExpectation expected_broker
Definition control_trusted_host_launcher.hpp:31
std::chrono::milliseconds preflight_timeout
Definition control_trusted_host_launcher.hpp:33
std::filesystem::path endpoint_path
Definition control_trusted_host_launcher.hpp:30