Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogConfigurationInfo ¶
func LogConfigurationInfo(options *OptionsConfig)
LogConfigurationInfo outputs connection details to logs when in debug for testing (no secret data is output)
Types ¶
type OptionsConfig ¶
type OptionsConfig struct { Authn *authn.Options Authz *authz.Options Storage *storage.Options Eventing *eventing.Options Server *server.Options }
OptionsConfig contains the settings for each configuration option
func NewOptionsConfig ¶
func NewOptionsConfig() *OptionsConfig
NewOptionsConfig returns a new OptionsConfig with default options set
func (*OptionsConfig) ConfigureAuthz ¶
func (o *OptionsConfig) ConfigureAuthz(endpoint clowder.DependencyEndpoint)
ConfigureAuthz updates Authz settings based on ClowdApp AppConfig
func (*OptionsConfig) ConfigureStorage ¶
func (o *OptionsConfig) ConfigureStorage(database *clowder.DatabaseConfig)
ConfigureStorage updates Storage settings based on ClowdApp AppConfig
func (*OptionsConfig) InjectClowdAppConfig ¶
func (o *OptionsConfig) InjectClowdAppConfig()
InjectClowdAppConfig updates service options based on values in the ClowdApp AppConfig
Click to show internal directories.
Click to hide internal directories.