38 references to WithEnvironment
Aspire.Hosting.Azure.Tests (7)
AzureContainerAppsTests.cs (7)
294.WithEnvironment("SecretVal", secretValue) 295.WithEnvironment("secret_value_1", secretValue) 296.WithEnvironment("Value", value) 371.WithEnvironment("SecretVal", secretValue) 372.WithEnvironment("secret_value_1", secretValue) 373.WithEnvironment("Value", value) 430.WithEnvironment("TOP_SECRET", secret)
Aspire.Hosting.Docker.Tests (4)
DockerComposePublisherTests.cs (4)
75.WithEnvironment("param0", param0) 76.WithEnvironment("param1", param1) 77.WithEnvironment("param2", param2) 264builder.AddContainer("app", "busybox").WithEnvironment("param1", param);
Aspire.Hosting.Kubernetes.Tests (5)
KubernetesPublisherTests.cs (5)
31.WithEnvironment("param0", param0) 32.WithEnvironment("param1", param1) 33.WithEnvironment("param2", param2) 34.WithEnvironment("param3", param3) 190.WithEnvironment("param3", param3)
Aspire.Hosting.Seq (1)
SeqBuilderExtensions.cs (1)
62resourceBuilder.WithEnvironment("SEQ_FIRSTRUN_ADMINPASSWORD", adminPassword);
Aspire.Hosting.Tests (11)
Orchestrator\ParameterProcessorTests.cs (6)
489.WithEnvironment("TEST_ENV", referencedParam); 560.WithEnvironment("TEST_ENV", referencedParam); 630.WithEnvironment("TEST_ENV", missingParam); 657.WithEnvironment("ENV1", param1) 658.WithEnvironment("ENV2", param2); 661.WithEnvironment("ENV3", param1);
ResourceExtensionsTests.cs (2)
211.WithEnvironment("ELASTIC_PASSWORD", passwordParameter); 244.WithEnvironment("ELASTIC_PASSWORD", passwordParameter);
WithEnvironmentTests.cs (3)
122.WithEnvironment("MY_PARAMETER", parameter); 145.WithEnvironment("MY_PARAMETER", parameter); 161.WithEnvironment("MY_PARAMETER", parameter);
AzureAppService.AppHost (1)
Program.cs (1)
36.WithEnvironment("VALUE", param)
AzureContainerApps.AppHost (1)
Program.cs (1)
47.WithEnvironment("VALUE", param)
Deployers.AppHost (3)
AppHost.cs (3)
56.WithEnvironment("P0", computeParam) 57.WithEnvironment("P1", secretParam) 58.WithEnvironment("P3", parameterWithDefault)
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
58.WithEnvironment("InsertionRows", insertionrows)
Publishers.AppHost (4)
Program.cs (4)
55.WithEnvironment("P0", param0) 56.WithEnvironment("P1", param1) 57.WithEnvironment("P2", param2) 58.WithEnvironment("P3", param3)