106 references to WithEnvironment
Aspire.Hosting (1)
Aspire.Hosting.Azure.Tests (9)
Aspire.Hosting.Docker.Tests (18)
DockerComposePublisherTests.cs (18)
42.WithEnvironment("DECLARED", declared);
46consumer.WithEnvironment("DECLARED", declared)
50.WithEnvironment("RESERVED", reservedSuffix);
263.WithEnvironment("param0", param0)
264.WithEnvironment("param1", param1)
265.WithEnvironment("param2", param2)
496builder.AddContainer("app", "busybox").WithEnvironment("param1", param);
566builder.AddContainer("app", "busybox").WithEnvironment("param1", parameter);
955.WithEnvironment("PARAM1", param1)
956.WithEnvironment("PARAM2", param2)
984.WithEnvironment("PARAM1", param1)
985.WithEnvironment("PARAM2", param2);
1017.WithEnvironment("STRING_PARAM", stringParam)
1018.WithEnvironment("SECRET_PARAM", secretParam)
1019.WithEnvironment("PARAM_WITH_DEFAULT", paramWithDefault)
1044.WithEnvironment("PARAM1", param1);
1078.WithEnvironment("PARAM1", param1);
1133.WithEnvironment("MY_PARAM", param);
Aspire.Hosting.Dotnet.Tests (1)
Aspire.Hosting.Go.Tests (1)
Aspire.Hosting.Kubernetes.Tests (14)
KubernetesPublisherTests.cs (8)
66.WithEnvironment("JSON_CONFIG", json)
69.WithEnvironment("TOKEN", token)
70.WithEnvironment("MULTILINE", builder.AddParameter("multiline", "first \"quoted\" line\nsecond\\line", publishValueAsDefault: true))
459.WithEnvironment("param0", param0)
460.WithEnvironment("param1", param1)
461.WithEnvironment("param2", param2)
462.WithEnvironment("param3", param3)
880.WithEnvironment("param3", param3)
Aspire.Hosting.Radius.Tests (29)
Publishing\ContainerSecretEnvironmentTests.cs (14)
54.WithEnvironment("API_KEY", secret!);
97.WithEnvironment("API_KEY", secret);
133.WithEnvironment("REGION", plain)
177.WithEnvironment("PW", password);
214.WithEnvironment("BAD KEY", password);
240.WithEnvironment("..token", password);
283.WithEnvironment("PW", password);
309.WithEnvironment("PW", password);
327.WithEnvironment("PW", password);
345.WithEnvironment("PW", password);
363.WithEnvironment("PW", password);
386.WithEnvironment("PW", password);
405.WithEnvironment("PW", password);
431.WithEnvironment("PW", password);
Publishing\PostCallbackSecretValidationTests.cs (7)
72.WithEnvironment("PW", password);
480.WithEnvironment("PW", password);
504.WithEnvironment("PW", password);
530.WithEnvironment("PW", password);
773.WithEnvironment("PW", builder.AddParameter("pw", secret: true));
792.WithEnvironment("PW", builder.AddParameter("pw", secret: true)),
854.WithEnvironment("PW", builder.AddParameter("pw", secret: true)),
Aspire.Hosting.Seq (1)
Aspire.Hosting.Tests (13)
AzureAppService.AppHost (1)
AzureContainerApps.AppHost (1)
Deployers.AppHost (3)
ParameterEndToEnd.AppHost (5)
Publishers.AppHost (4)
Stress.AppHost (2)
TestShop.AppHost (3)