1 instantiation of PgAdminContainerResource
Aspire.Hosting.PostgreSQL.Tests (1)
PostgrePublicApiTests.cs (1)
67var action = () => new PgAdminContainerResource(name);
7 references to PgAdminContainerResource
Aspire.Hosting.PostgreSQL (5)
PostgresBuilderExtensions.cs (5)
134public static IResourceBuilder<T> WithPgAdmin<T>(this IResourceBuilder<T> builder, Action<IResourceBuilder<PgAdminContainerResource>>? configureContainer = null, string? containerName = null) where T : PostgresServerResource 138if (builder.ApplicationBuilder.Resources.OfType<PgAdminContainerResource>().SingleOrDefault() is { } existingPgAdminResource) 148var pgAdminContainer = new PgAdminContainerResource(containerName); 221public static IResourceBuilder<PgAdminContainerResource> WithHostPort(this IResourceBuilder<PgAdminContainerResource> builder, int? port)
Aspire.Hosting.PostgreSQL.Tests (2)
PostgrePublicApiTests.cs (1)
180IResourceBuilder<PgAdminContainerResource> builder = null!;
PostgresFunctionalTests.cs (1)
82IResourceBuilder<PgAdminContainerResource>? adminBuilder = null;