KeycloakResource.WithPostgres
Method
type KeycloakResource interface { // ... omitted for brevity WithPostgres( database PostgresDatabaseResource, options ...*WithPostgresOptions, ) KeycloakResource}Signature
method
WithPostgres builderWithPostgres( database PostgresDatabaseResource, options ...*WithPostgresOptions,) KeycloakResourceParameters
databasePostgresDatabaseResource The resource builder for the Postgres database that Keycloak will connect to.options...*WithPostgresOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPostgresOptions argument.
Username*ParameterResource (Optional) The resource builder for the parameter defining the database username. If not provided, the parent database resource's username parameter will be used.Password*ParameterResource (Optional) The resource builder for the parameter defining the database password. If not provided, the parent database resource's password parameter will be used.XaEnabled *boolA boolean flag indicating whether XA transactions are enabled. Defaults to false.Returns
KeycloakResource An updated resource builder with Postgres integration configured for the Keycloak resource.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: