Zum Hauptinhalt springen

WorkloadTypeDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Discriminator for the kind of workload being deployed. Mirrors the CK type hierarchy: every subtype of System.Communication/DeployableWorkload maps to one of these values.

public enum WorkloadTypeDto

Inheritance Object → ValueType → Enum → WorkloadTypeDto
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
Adapter0An Adapter — ETL pipeline executor that connects back to the controller via SignalR.
Application1An Application — tenant-specific web app deployed by the Communication Operator into the deployment site's Kubernetes namespace.
AdapterPool2An AdapterPool (AB#4924) — one workload with a replica range whose members are leased to tenants in the owning tenant's subtree, one work item per lease. It is a DeployableWorkload like the other two and goes through the same deploy / undeploy / scale path, but the operator treats it differently in three respects, which is the only reason this discriminator exists: it is deployed into the platform namespace rather than the namespace tenant workloads go to, it carries an owner reference to the lending tenant so a deleted tenant garbage-collects its adapter pool, and it never receives the cluster's shared data-store credentials — a process that executes other tenants' work must not hold a standing credential to every tenant's data. Appended, never inserted: the value travels on the wire as an integer and an operator that pre-dates it only uses WorkloadType for log output.