KeycloakResource
A resource that represents a Keycloak resource.
type KeycloakResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Properties
AdminPasswordParameter ParameterResource getAdminPasswordParameter() ParameterResourceAdminUserNameParameter ParameterResource getAdminUserNameParameter() ParameterResourceResourceTypeDisplayName stringgetResourceTypeDisplayName() (string, error)Methods
WithDataBindMount(source string) KeycloakResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
KeycloakResource The resource builder.
Returns a handle; failures surface later via Err().
WithDataVolume(options ...*WithDataVolumeOptions) KeycloakResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.Returns
KeycloakResource The resource builder.
Returns a handle; failures surface later via Err().
WithDisabledFeatures(features []string) KeycloakResourceParameters
features[]string Names of features to disable for the keycloak resourceReturns
KeycloakResource The resource builder.
Returns a handle; failures surface later via Err().
WithEnabledFeatures(features []string) KeycloakResourceParameters
features[]string Names of features to enable for the keycloak resourceReturns
KeycloakResource The resource builder.
Returns a handle; failures surface later via Err().
WithOtlpExporter(options ...*WithOtlpExporterOptions) KeycloakResourceParameters
options...*WithOtlpExporterOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithOtlpExporterOptions argument.
Protocol*OtlpProtocol Returns
KeycloakResource Returns a handle; failures surface later via Err().
WithRealmImport(importPath string) KeycloakResourceParameters
importPath stringReturns
KeycloakResource Returns a handle; failures surface later via Err().