Versions in this module Expand all Collapse all v0 v0.1.0 Nov 10, 2025 Changes in this version + const DefaultAppConfigLocation + const DefaultEngineConfigLocation + const DefaultRunnerQueueSize + const DefaultRunnerType + const DefaultRunnerWorkers + const DefaultStopEngineOnError + const EnvAppPropertyResolvers + const EnvEnableSchemaSupport + const EnvEnableSchemaValidation + const EnvKeyAppConfigLocation + const EnvKeyEngineConfigLocation + const EnvKeyEnvName + const EnvKeyRunnerQueueSize + const EnvKeyRunnerQueueSizeLegacy + const EnvKeyRunnerType + const EnvKeyRunnerWorkers + const EnvKeyStopEngineOnError + const ValueRunnerTypeDirect + const ValueRunnerTypePooled + func ConfigOption(engineJson string, compressed bool) func(*engineImpl) error + func ConfigViaEnv(e *engineImpl) + func DebugMode(debugMode bool, mockFile string, genMock bool, outputPath string, ...) func(*engineImpl) error + func DirectRunner(e *engineImpl) error + func EnvPropertyProcessor(properties map[string]any) error + func GetAppName() string + func GetAppPropertyValueResolvers(logger log.Logger) string + func GetAppVersion() string + func GetEnvName() string + func GetQodeflowAppConfigPath() string + func GetQodeflowEngineConfigPath() string + func GetRunnerQueueSize() int + func GetRunnerType() string + func GetRunnerWorkers() int + func IsSchemaSupportEnabled() bool + func IsSchemaValidationEnabled() bool + func LifeCycle(managedEntity managed.Managed) + func LoadAppConfig(qodeflowJson string, compressed bool) (*app.Config, error) + func NewPooledRunnerConfig() *runner.PooledConfig + func RunEngine(e Engine) int + func StopEngineOnError() bool + type Config struct + ActionSettings map[string]map[string]any + AppPath string + DebugMode bool + Description string + GenMock bool + Imports []string + MockFile string + Name string + OutputPath string + RunnerType string + Services []*ServiceConfig + StopEngineOnError bool + Type string + func LoadEngineConfig(engineJson string, compressed bool) (*Config, error) + type Engine interface + App func() *app.App + Start func() error + Stop func() error + func New(appConfig *app.Config, options ...Option) (Engine, error) + type Option func(*engineImpl) error + type ServiceConfig struct + Enabled bool + Ref string + Settings map[string]any