13 references to PgWebContainerResource
Aspire.Hosting.PostgreSQL (7)
PostgresBuilderExtensions.cs (7)
237
public static IResourceBuilder<
PgWebContainerResource
> WithHostPort(this IResourceBuilder<
PgWebContainerResource
> builder, int? port)
270
public static IResourceBuilder<PostgresServerResource> WithPgWeb(this IResourceBuilder<PostgresServerResource> builder, Action<IResourceBuilder<
PgWebContainerResource
>>? configureContainer = null, string? containerName = null)
272
if (builder.ApplicationBuilder.Resources.OfType<
PgWebContainerResource
>().SingleOrDefault() is { } existingPgWebResource)
282
var
pgwebContainer = new PgWebContainerResource(containerName);
298
var
adminResource = builder.ApplicationBuilder.Resources.OfType<
PgWebContainerResource
>().Single();
Aspire.Hosting.PostgreSQL.Tests (6)
AddPostgresTests.cs (5)
394
Assert.Single(builder.Resources.OfType<
PgWebContainerResource
>());
408
var
resource = Assert.Single(builder.Resources.OfType<
PgWebContainerResource
>());
424
var
resource = Assert.Single(builder.Resources.OfType<
PgWebContainerResource
>());
PostgresFunctionalTests.cs (1)
151
IResourceBuilder<
PgWebContainerResource
>? pgWebBuilder = null;