Skip to main content

WorkloadDeploymentStatusDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Status report fired by the Communication Operator after a workload helm upgrade --install attempt. The controller writes WorkloadDeploymentStatusDto.Success + WorkloadDeploymentStatusDto.StatusMessage back onto the workload's runtime entity so users can see in the UI whether the last deploy actually landed.

The operator-side helm error is otherwise only visible in operator logs — without this round-trip the workload's DeploymentState stays on whatever the controller set when it kicked off the deploy.

public record WorkloadDeploymentStatusDto : IEquatable<WorkloadDeploymentStatusDto>

Inheritance ObjectWorkloadDeploymentStatusDto
Implements IEquatable<WorkloadDeploymentStatusDto>

Properties

TenantId

Tenant the workload belongs to.

public string TenantId { get; set; }

Property Value

String

PoolName

Pool that manages the workload.

public string PoolName { get; set; }

Property Value

String

WorkloadName

Workload (CK Name) the report refers to.

public string WorkloadName { get; set; }

Property Value

String

WorkloadRtId

Runtime entity id of the workload (mirrors the WorkloadDeployedDto.WorkloadRtId the controller sent in the original deploy event). Used by the controller to resolve the right MongoDB document without ambiguous name lookups.

public string WorkloadRtId { get; set; }

Property Value

String

Success

true when helm upgrade --install exited cleanly (mapped to RtDeploymentStateEnum.Deployed); false when it threw (mapped to RtDeploymentStateEnum.Error).

public bool Success { get; set; }

Property Value

Boolean

StatusMessage

Free-form human-readable message. On failure this carries the helm stderr (or exception message) so the UI can show it; on success it's typically null or a short "deployed" string.

public string StatusMessage { get; set; }

Property Value

String

Constructors

WorkloadDeploymentStatusDto()

public WorkloadDeploymentStatusDto()