7 instantiations of ContainerEnvVarConstruct
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
3714var 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)
3555IReadOnlyDictionary<string, ContainerEnvVarConstruct> env, 3643private async Task<Dictionary<string, ContainerEnvVarConstruct>> ResolveEnvironmentAsync( 3649var result = new Dictionary<string, ContainerEnvVarConstruct>(StringComparer.Ordinal); 3714var envVar = new ContainerEnvVarConstruct(); 3922ContainerEnvVarConstruct EnvVar, 3987ContainerEnvVarConstruct EnvVar, 5103/// <see cref="ContainerEnvVarConstruct.Value"/>, <see cref="ContainerEnvVarConstruct.SecretName"/> 5104/// and <see cref="ContainerEnvVarConstruct.SecretKey"/> are all public and independently