9 instantiations of HelmValue
Aspire.Hosting.Kubernetes (9)
KubernetesResource.cs (9)
146
var expression = new
HelmValue
(imageEnvName.ToHelmParameterExpression(resource.Name), value);
190
var helmValue = new
HelmValue
(
342
Secrets[key] =
new
(secretExpression, stringValue);
347
EnvironmentVariables[key] =
new
(configExpression, stringValue);
353
EnvironmentVariables[key] =
new
(configExpression, value.ToString() ?? string.Empty);
495
return
new
(expression, (string?)null);
499
return
new
(expression, parameter);
514
return
new
(helmExpression, parameter.ValueExpression);
643
public static HelmValue Literal(object value) =>
new
(value);
14 references to HelmValue
Aspire.Hosting.Kubernetes (14)
KubernetesPublishingContext.cs (1)
117
Dictionary<string, KubernetesResource.
HelmValue
> contextItems,
KubernetesResource.cs (13)
20
internal record EndpointMapping(string Scheme, string Protocol, string Host,
HelmValue
Port, string Name, string? HelmExpression = null);
22
internal Dictionary<string,
HelmValue
> EnvironmentVariables { get; } = [];
23
internal Dictionary<string,
HelmValue
> Secrets { get; } = [];
24
internal Dictionary<string,
HelmValue
> Parameters { get; } = [];
146
var
expression = new HelmValue(imageEnvName.ToHelmParameterExpression(resource.Name), value);
180
EndpointMappings[endpoint.Name] = new(endpoint.UriScheme, GetKubernetesProtocolName(endpoint.Protocol), resource.Name.ToServiceName(),
HelmValue
.Literal(portValue), endpoint.Name);
190
var
helmValue = new HelmValue(
310
case
HelmValue
helmExpression:
324
private void ProcessEnvironmentHelmExpression(
HelmValue
helmExpression, string key)
484
private static
HelmValue
AllocateParameter(ParameterResource parameter, IResource resource)
503
private static
HelmValue
ResolveUnknownValue(IManifestExpressionProvider parameter, IResource resource)
548
/// Initializes a new instance of the <see cref="
HelmValue
"/> class with a Helm expression and a parameter source.
643
public static
HelmValue
Literal(object value) => new(value);