Vixen
dd8b0a81
csharp
public record class DockerPlacementOptions

What DockerPlacement runs, and where.

Read the guide page for this →

Fields and properties (13)

  • public const string ShardLabel

    The label a realm container carries its shard id under.

  • public const string OwnerLabel

    The label a realm container carries its owner under.

  • public string Image

    The realm's image.

  • public string Owner

    Which orchestrator these containers belong to.

  • public IReadOnlyList<string> Entrypoint

    The program a realm container runs, or empty for the image's own entrypoint.

  • public IReadOnlyList<string> Arguments

    Arguments to put before the encoded RealmSpec.

  • public IReadOnlyDictionary<string, string> Environment

    Variables to set in every realm container.

  • public string Host

    The address clients are given when a spec did not name one.

  • public PortPool Ports

    The range realm ports are taken from.

  • public TimeSpan DrainTimeout

    How long Drain waits before killing.

  • public TimeSpan StopGrace

    How long the process gets after its stop signal.

  • public bool RemoveWhenStopped

    Whether a stopped container is removed.

  • public Action<RealmInstanceId, string>? Output

    Called with every line a realm writes, for whoever is doing the logging.

Used by (3)

  • DockerEngineTestsVixen.Live.Placement.Docker.Tests
  • DockerPlacementVixen.Live.Placement.Docker
  • DockerPlacementTestsVixen.Live.Placement.Docker.Tests