config

package
v0.0.0-...-feb181f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL