Nebula
Orchestrator

IWorkerHandle

One launched worker as seen by its host.

generated from the sources
public interface IWorkerHandle

One launched worker as seen by its host. Only ever touched from the main thread.

Properties

WorkerId

string WorkerId { get; }

State

WorkerHandleState State { get; }

Describe

string Describe { get; }

Short human description for logs and the dashboard: "pid 1234", "hetzner srv 5551 10.0.1.4".

Address

string Address { get; }

Address the worker was told to advertise, when the host knows it before the worker registers.

Reason

string Reason { get; }

Why State is Exited/Failed, when known.

ParkedSecondsRemaining

float ParkedSecondsRemaining { get; }

While State is WorkerHandleState.Parked: how much longer the host will keep this instance before deleting it (the rest of the hour Hetzner has already charged for). Negative when the host does not park, or when it keeps parked instances indefinitely.

On this page