17 references to WithPgAdmin
Aspire.Hosting.PostgreSQL.Tests (8)
AddPostgresTests.cs (6)
378
builder.AddPostgres("mypostgres").
WithPgAdmin
(pga => pga.WithHostPort(8081));
433
builder.AddPostgres("mypostgres").
WithPgAdmin
(pga => pga.WithImageTag("8.3"));
445
builder.AddPostgres("mypostgres1").
WithPgAdmin
(pga => pga.WithHostPort(8081));
446
builder.AddPostgres("mypostgres2").
WithPgAdmin
(pga => pga.WithHostPort(8081));
456
var pg1 = builder.AddPostgres("mypostgres1").
WithPgAdmin
(pga => pga.WithHostPort(8081));
457
var pg2 = builder.AddPostgres("mypostgres2", username).
WithPgAdmin
(pga => pga.WithHostPort(8081));
PostgrePublicApiTests.cs (1)
218
var action = () => builder.
WithPgAdmin
();
PostgresFunctionalTests.cs (1)
83
var redis = builder.AddPostgres("postgres").
WithPgAdmin
(c => adminBuilder = c);
PostgresEndToEnd.AppHost (7)
Program.cs (7)
7
var db1 = builder.AddPostgres("pg1").
WithPgAdmin
().AddDatabase("db1");
8
var db2 = builder.AddPostgres("pg2").
WithPgAdmin
().AddDatabase("db2");
9
var pg3 = builder.AddPostgres("pg3").
WithPgAdmin
();
14
var db5 = builder.AddPostgres("pg4").
WithPgAdmin
().PublishAsContainer().AddDatabase("db5");
15
var db6 = builder.AddPostgres("pg5").
WithPgAdmin
().PublishAsContainer().AddDatabase("db6");
16
var pg6 = builder.AddPostgres("pg6").
WithPgAdmin
(c => c.WithHostPort(8999).WithImageTag("8.3")).PublishAsContainer();
22
var db10 = builder.AddPostgres("pg10").
WithPgAdmin
().PublishAsConnectionString().AddDatabase("db10");
TestShop.AppHost (1)
Program.cs (1)
5
.
WithPgAdmin
()
WaitForSandbox.AppHost (1)
Program.cs (1)
10
c.
WithPgAdmin
(c =>