ZitadelResource.WithDatabase
Method
type ZitadelResource interface { // ... omitted for brevity WithDatabase( server PostgresServerResource, options ...*WithDatabaseOptions, ) ZitadelResource}Signature
method
WithDatabase builderAdds database support to the Zitadel resource.
WithDatabase( server PostgresServerResource, options ...*WithDatabaseOptions,) ZitadelResourceParameters
serverPostgresServerResource The Postgres server resource to use for the database.options...*WithDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDatabaseOptions argument.
DatabaseName *stringAn optional name for the database Zitadel will use, if left empty will default to "zitadel-db" .Returns
ZitadelResource Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: