Nebula
Control plane

LeaseState

Provides the states used by a container lease.

generated from the sources
public static class LeaseState

Provides the states used by a container lease.

Fields

Assigning

public const string Assigning = "assigning";

Active

public const string Active = "active";

Draining

public const string Draining = "draining";

Orphaned

public const string Orphaned = "orphaned";

Pinned

public const string Pinned = "pinned";

Dynamic containers only: the orchestrator (or the dashboard) assigned this carried container to a worker of its own, so it no longer follows its carrier. Anything else means "follows the carrier" for such a lease.

Inherited

public const string Inherited = "inherited";

The row belongs to an inherited container (ContainerAuthority.Inherited): it carries a box and a parent, and whoever owns the parent simulates what is inside. Never dealt, never owned.

Methods

IsOwning

public static bool IsOwning(string state);

The lease names a worker that currently simulates the container.

On this page