WithPostgres
Method
func (KeycloakResource) WithPostgres( database PostgresDatabaseResource, options ...*WithPostgresOptions,) KeycloakResourceSignature
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().
Applies to
This method applies to the following types: