Documentation
¶
Overview ¶
Package bind maps a config loaded from YAML onto RuntimeConfig.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrationDBParams ¶
func MigrationDBParams[T config.ServiceRoot, S config.ServiceSecrets](l *config.Loaded[T, S]) (storage.Params, error)
func RuntimeConfig ¶
func RuntimeConfig[T config.ServiceRoot, S config.ServiceSecrets, C config.ServiceConfig](l *config.Loaded[T, S], svc C) (*config.RuntimeConfig[C], error)
RuntimeConfig fills RuntimeConfig.Platform from the loaded file and pairs it with the service config the caller mapped. The caller validates the result once it has set the fields only its schema has, such as CORS.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.