Versions in this module Expand all Collapse all v1 v1.0.2 Sep 22, 2023 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 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 DirectRunner(e *engineImpl) error + func EnvPropertyProcessor(properties map[string]interface{}) error + func GetAppName() string + func GetAppPropertyValueResolvers(logger log.Logger) string + func GetAppVersion() string + func GetFlogoAppConfigPath() string + func GetFlogoEngineConfigPath() string + func GetRunnerQueueSize() int + func GetRunnerType() string + func GetRunnerWorkers() int + func IsSchemaSupportEnabled() bool + func IsSchemaValidationEnabled() bool + func LifeCycle(managedEntity managed.Managed) + func LoadAppConfig(flogoJson 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]interface{} + Description string + Imports []string + Name 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]interface{}