Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PostgresServerResource

Handle
📦 CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions v13.6.1
type PostgresServerResource interface{}

Methods

methodWithAdminerbuilder
WithAdminer(options ...*WithAdminerOptions) PostgresServerResource
options...*WithAdminerOptionsOptional settings, described under Options.

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

ContainerName*string
PostgresServerResource

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

methodWithDbGatebuilder
WithDbGate(options ...*WithDbGateOptions) PostgresServerResource
options...*WithDbGateOptionsOptional settings, described under Options.

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

ContainerName*string
PostgresServerResource

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

methodWithDbxbuilder
Adds an administration and development platform for PostgreSQL to the application model using dbx.
WithDbx(options ...*WithDbxOptions) PostgresServerResource
options...*WithDbxOptionsOptional settings, described under Options.

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

ContainerName*stringThe name of the container (Optional).
ImageTag*stringOptional image tag override for the dbx container.
PostgresServerResource

A reference to the IResourceBuilder.

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