CloudWorkerHostSettings
Where a managed deployment's orchestrator asks for worker machines: a resource API scoped to this one deployment, reached with a token that can do nothing else.
Nebula.Hosting · Packages/com.1by3.nebula/Runtime/Orchestrator/Hosting/CloudWorkerHost.cspublic sealed class CloudWorkerHostSettingsWhere a managed deployment's orchestrator asks for worker machines: a resource API scoped to this one deployment, reached with a token that can do nothing else. Read from -nebula-cloud-api and -nebula-cloud-deployment-token, with NEBULA_CLOUD_API and NEBULA_CLOUD_DEPLOYMENT_TOKEN as environment fallbacks (a systemd EnvironmentFile keeps the token off the command line).
Fields
ApiUrl
public string ApiUrl = "";Base URL of the resource API, for example https://api.example.com/v1. The host appends /d/….
DeploymentToken
public string DeploymentToken = "";The deployment-scoped bearer token. Never logged.
PollIntervalSeconds
public float PollIntervalSeconds = 5f;How often the worker list is refreshed.
Methods
FromCommandLine
public static CloudWorkerHostSettings FromCommandLine();CloudWorkerHost
An IWorkerHost for managed hosting: instead of calling a cloud provider, the orchestrator asks a deployment-scoped resource API for a worker (POST /d/workers), polls the list for its state and private address, and deletes, parks and unpa...
CohesionGroupInfo
One entity cohesion group as the orchestrator sees it: the union of what every worker reported about the members it owns (NebulaWorker.CohesionSpan, docs/cohesion-hints.md D7).