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