16 references to Env
Aspire.Hosting.Radius (5)
Publishing\Constructs\RadiusContainerConstruct.cs (1)
146_env = DefineDictionaryProperty<ContainerEnvVarConstruct>(nameof(Env), ["properties", "containers", _containerName, "env"]);
Publishing\RadiusInfrastructureBuilder.cs (4)
1058!reference.Container.Env.TryGetValue(reference.Key, out var currentEnvVar) || 3574construct.Env[name] = envVar; 4634!projected.Container.Env.TryGetValue(projected.Key, out var currentEnvVar) || 5101foreach (var (key, entry) in container.Env)
Aspire.Hosting.Radius.Tests (11)
Publishing\BackingResourceProjectionTests.cs (1)
295opts.Containers.Single().Env["CACHE_HOST"] = new ContainerEnvVarConstruct { Value = "explicit-host" };
Publishing\ContainerSecretEnvironmentTests.cs (9)
366opts.Containers[0].Env["PW"].Value!.SecretName = "my-own-secret"; 387}, opts => opts.Containers[0].Env["PW"].Value!.SecretKey = "not-a-key")); 413opts.Containers[0].Env["PW"].Value!.SecretKey = "extra-key"; 432}, opts => opts.Containers[0].Env["PW"].Value!.Value = "literal")); 449}, opts => opts.Containers[0].Env["ADDED"] = new ContainerEnvVarConstruct { SecretName = "some-secret" })); 466}, opts => opts.Containers[0].Env["PLAIN"].Value!.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()));