Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithPgAdmin

Method
📦 Aspire.Hosting.PostgreSQL v17.0.0
func (PostgresServerResource) WithPgAdmin(options ...*WithPgAdminOptions) PostgresServerResource

Signature

methodWithPgAdminbuilder
Adds a pgAdmin 4 administration and development platform for PostgreSQL to the application model.
WithPgAdmin(options ...*WithPgAdminOptions) PostgresServerResource
options...*WithPgAdminOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithPgAdminOptions argument.

ConfigureContainerfunc(obj PgAdminContainerResource)callbackCallback to configure PgAdmin container resource.
ContainerName*stringThe name of the container (Optional).
PostgresServerResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: