Documentation ¶
Index ¶
- Constants
- func ConfigViaEnv(e *engineImpl)
- func DirectRunner(e *engineImpl)
- func EnvPropertyProcessor(properties map[string]interface{}) error
- func GetAppName() string
- func GetAppPropertyValueResolvers(logger log.Logger) string
- func GetAppVersion() string
- func GetFlogoConfigPath() 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
- type Engine
- type Option
Constants ¶
View Source
const ( EnvKeyAppConfigLocation = "FLOGO_CONFIG_PATH" DefaultAppConfigLocation = "flogo.json" EnvKeyStopEngineOnError = "FLOGO_ENGINE_STOP_ON_ERROR" DefaultStopEngineOnError = true EnvKeyRunnerType = "FLOGO_RUNNER_TYPE" DefaultRunnerType = ValueRunnerTypePooled EnvKeyRunnerWorkers = "FLOGO_RUNNER_WORKERS" DefaultRunnerWorkers = 5 EnvKeyRunnerQueueSize = "FLOGO_RUNNER_QUEUE" DefaultRunnerQueueSize = 50 EnvAppPropertyResolvers = "FLOGO_APP_PROP_RESOLVERS" EnvEnableSchemaSupport = "FLOGO_SCHEMA_SUPPORT" EnvEnableSchemaValidation = "FLOGO_SCHEMA_VALIDATION" ValueRunnerTypePooled = "POOLED" ValueRunnerTypeDirect = "DIRECT" PropertyResolverEnv = "env" PropertyResolverJson = "json" )
Variables ¶
This section is empty.
Functions ¶
func ConfigViaEnv ¶
func ConfigViaEnv(e *engineImpl)
func DirectRunner ¶
func DirectRunner(e *engineImpl)
func EnvPropertyProcessor ¶
func GetFlogoConfigPath ¶
func GetFlogoConfigPath() string
GetFlogoConfigPath returns the flogo config path
func GetRunnerQueueSize ¶
func GetRunnerQueueSize() int
GetRunnerQueueSize returns the runner queue size
func GetRunnerWorkers ¶
func GetRunnerWorkers() int
GetRunnerWorkers returns the number of workers to use
func IsSchemaSupportEnabled ¶
func IsSchemaSupportEnabled() bool
func IsSchemaValidationEnabled ¶
func IsSchemaValidationEnabled() bool
func NewPooledRunnerConfig ¶
func NewPooledRunnerConfig() *runner.PooledConfig
NewPooledRunnerConfig creates a new Pooled config, looks for environment variables to override default values
func StopEngineOnError ¶
func StopEngineOnError() bool
Types ¶
Click to show internal directories.
Click to hide internal directories.