9 instantiations of HelmValue
Aspire.Hosting.Kubernetes (9)
KubernetesResource.cs (9)
146
var expression = new
HelmValue
(imageEnvName.ToHelmParameterExpression(resource.Name), value);
209
var helmValue = new
HelmValue
(
364
Secrets[key] =
new
(secretExpression, stringValue);
369
EnvironmentVariables[key] =
new
(configExpression, stringValue);
375
EnvironmentVariables[key] =
new
(configExpression, value.ToString() ?? string.Empty);
517
return
new
(expression, (string?)null);
521
return
new
(expression, parameter);
536
return
new
(helmExpression, parameter.ValueExpression);
665
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);
199
EndpointMappings[endpoint.Name] = new(endpoint.UriScheme, GetKubernetesProtocolName(endpoint.Protocol), resource.Name.ToServiceName(),
HelmValue
.Literal(portValue), endpoint.Name);
209
var
helmValue = new HelmValue(
332
case
HelmValue
helmExpression:
346
private void ProcessEnvironmentHelmExpression(
HelmValue
helmExpression, string key)
506
private static
HelmValue
AllocateParameter(ParameterResource parameter, IResource resource)
525
private static
HelmValue
ResolveUnknownValue(IManifestExpressionProvider parameter, IResource resource)
570
/// Initializes a new instance of the <see cref="
HelmValue
"/> class with a Helm expression and a parameter source.
665
public static
HelmValue
Literal(object value) => new(value);