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