Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDbGate

Method
📦 CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions v13.6.1
func (PostgresServerResource) WithDbGate(options ...*WithDbGateOptions) PostgresServerResource

Signature

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().

Applies to

This method applies to the following types: