Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PostgresServerResource.WithPgWeb

Method
📦 Aspire.Hosting.PostgreSQL v17.0.0
type PostgresServerResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: