Skip to main content

WorkloadVariableDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

One template placeholder available to workloads' Hostname, non-secret ValueOverride.Value and ValuesYaml. Returned by GET {tenantId}/v1/communication/workload-variables so the Refinery Studio can offer a suggestion list across all three families ({{domain.NAME}}, {{service.NAME}}, {{context.tenantId}}) instead of forcing free-text entry.

public record WorkloadVariableDto : IEquatable<WorkloadVariableDto>

Inheritance ObjectWorkloadVariableDto
Implements IEquatable<WorkloadVariableDto>

Properties

Placeholder

Full template token including braces, e.g. {{service.authority}}.

public string Placeholder { get; set; }

Property Value

String

Description

Human-readable description of what the placeholder resolves to.

public string Description { get; set; }

Property Value

String

SampleValue

Configured value snapshot for cluster-config-driven placeholders. null for per-deploy values like {{context.tenantId}}.

public string SampleValue { get; set; }

Property Value

String

Constructors

WorkloadVariableDto(String, String, String)

One template placeholder available to workloads' Hostname, non-secret ValueOverride.Value and ValuesYaml. Returned by GET {tenantId}/v1/communication/workload-variables so the Refinery Studio can offer a suggestion list across all three families ({{domain.NAME}}, {{service.NAME}}, {{context.tenantId}}) instead of forcing free-text entry.

public WorkloadVariableDto(string Placeholder, string Description, string SampleValue)

Parameters

Placeholder String
Full template token including braces, e.g. {{service.authority}}.

Description String
Human-readable description of what the placeholder resolves to.

SampleValue String
Configured value snapshot for cluster-config-driven placeholders. null for per-deploy values like {{context.tenantId}}.