7 instantiations of ContainerEnvVarConstruct
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
3712var envVar = new ContainerEnvVarConstruct();
Aspire.Hosting.Radius.Tests (6)
Publishing\BackingResourceProjectionTests.cs (1)
295opts.Containers.Single().Env["CACHE_HOST"] = new ContainerEnvVarConstruct { Value = "explicit-host" };
Publishing\ContainerSecretEnvironmentTests.cs (4)
449}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct { SecretName = "some-secret" })); 484}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct { SecretKey = "some-key" })); 502}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct 524}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct
Publishing\PostCallbackSecretValidationTests.cs (1)
549opts => opts.Containers[0].Env["PLAIN"] = new ContainerEnvVarConstruct()));
12 references to ContainerEnvVarConstruct
Aspire.Hosting.Radius (12)
Publishing\Constructs\RadiusContainerConstruct.cs (3)
30private BicepDictionary<ContainerEnvVarConstruct>? _env; 87public BicepDictionary<ContainerEnvVarConstruct> Env 146_env = DefineDictionaryProperty<ContainerEnvVarConstruct>(nameof(Env), ["properties", "containers", _containerName, "env"]);
Publishing\RadiusInfrastructureBuilder.cs (9)
3553IReadOnlyDictionary<string, ContainerEnvVarConstruct> env, 3641private async Task<Dictionary<string, ContainerEnvVarConstruct>> ResolveEnvironmentAsync( 3647var result = new Dictionary<string, ContainerEnvVarConstruct>(StringComparer.Ordinal); 3712var envVar = new ContainerEnvVarConstruct(); 3920ContainerEnvVarConstruct EnvVar, 3985ContainerEnvVarConstruct EnvVar, 5084/// <see cref="ContainerEnvVarConstruct.Value"/>, <see cref="ContainerEnvVarConstruct.SecretName"/> 5085/// and <see cref="ContainerEnvVarConstruct.SecretKey"/> are all public and independently