Nebula
Orchestrator

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.

generated from the sources
public sealed class 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. 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();

On this page