Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
control_trusted_host_launcher.hpp
Go to the documentation of this file.
1#pragma once
2
7
8#include <chrono>
9#include <cstdint>
10#include <filesystem>
11#include <memory>
12#include <string>
13#include <string_view>
14
15namespace pulp::inspect {
16
26
28
30 std::filesystem::path endpoint_path;
32 std::uint64_t broker_generation = 0;
33 std::chrono::milliseconds preflight_timeout = std::chrono::seconds(3);
34};
35
46
71
72} // namespace pulp::inspect
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
Options for child process execution.
Definition child_process.hpp:31