Zum Hauptinhalt springen

WorkloadScaleStatusDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Status report fired by the Communication Operator after a ScaleWorkloadAsync attempt (AB#4917). The controller uses it to advance the workload's lifecycle state machine (AB#4914): a successful scale-to-0 ack transitions Draining → Hibernated; a failed scale-to-1 lets the wake gate fail fast instead of waiting for its full budget.

public record WorkloadScaleStatusDto : IEquatable<WorkloadScaleStatusDto>

Inheritance Object → WorkloadScaleStatusDto
Implements IEquatable<WorkloadScaleStatusDto>

Properties​

TenantId​

Tenant the workload belongs to.

public string TenantId { get; set; }

Property Value​

String

WorkloadRtId​

Runtime entity id of the workload (mirrors ScaleWorkloadDto.WorkloadRtId).

public string WorkloadRtId { get; set; }

Property Value​

String

WorkloadName​

User-facing workload name. Display / event logging only.

public string WorkloadName { get; set; }

Property Value​

String

Replicas​

The replica count that was requested.

public int Replicas { get; set; }

Property Value​

Int32

Success​

true when every Deployment of the release was patched to the requested replica count; false when the release had no Deployments or a patch failed.

public bool Success { get; set; }

Property Value​

Boolean

StatusMessage​

Free-form human-readable message; on failure carries the Kubernetes API error.

public string StatusMessage { get; set; }

Property Value​

String

Constructors​

WorkloadScaleStatusDto()​

public WorkloadScaleStatusDto()