Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithPgWeb

Method
📦 Aspire.Hosting.PostgreSQL v17.0.0
func (PostgresServerResource) WithPgWeb(options ...*WithPgWebOptions) PostgresServerResource

Signature

methodWithPgWebbuilder
Adds an administration and development platform for PostgreSQL to the application model using pgweb.
WithPgWeb(options ...*WithPgWebOptions) PostgresServerResource
options...*WithPgWebOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj PgWebContainerResource)callbackConfiguration callback for pgweb 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: