config

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: BSD-3-Clause Imports: 2 Imported by: 17

Documentation

Overview

This package contains all the default values for the configuration

Index

Constants

View Source
const (
	ENV_LOG_DATE_FORMAT_KEY       = "FLOGO_LOG_DTFORMAT"
	LOG_DATE_FORMAT_DEFAULT       = "2006-01-02 15:04:05.000"
	ENV_LOG_LEVEL_KEY             = "FLOGO_LOG_LEVEL"
	ENV_LOG_FORMAT                = "FLOGO_LOG_FORMAT"
	LOG_FORMAT_DEFAULT            = "TEXT"
	LOG_LEVEL_DEFAULT             = "INFO"
	ENV_APP_CONFIG_LOCATION_KEY   = "FLOGO_CONFIG_PATH"
	APP_CONFIG_LOCATION_DEFAULT   = "flogo.json"
	ENV_STOP_ENGINE_ON_ERROR_KEY  = "FLOGO_ENGINE_STOP_ON_ERROR"
	ENV_DATA_SECRET_KEY_KEY       = "FLOGO_DATA_SECRET_KEY"
	DATA_SECRET_KEY_DEFAULT       = "flogo"
	ENV_APP_PROPERTY_OVERRIDE_KEY = "FLOGO_APP_PROPS_OVERRIDE"
	ENV_APP_PROPERTY_RESOLVER_KEY = "FLOGO_APP_PROPS_RESOLVERS"
	ENV_PUBLISH_AUDIT_EVENTS_KEY  = "FLOGO_PUBLISH_AUDIT_EVENTS"
)

Variables

This section is empty.

Functions

func GetAppPropertiesOverride added in v0.5.7

func GetAppPropertiesOverride() string

func GetAppPropertiesValueResolver added in v0.5.7

func GetAppPropertiesValueResolver() string

func GetDataSecretKey added in v0.5.6

func GetDataSecretKey() string

func GetFlogoConfigPath

func GetFlogoConfigPath() string

GetFlogoConfigPath returns the flogo config path

func GetLogDateTimeFormat

func GetLogDateTimeFormat() string

func GetLogFormat added in v0.5.7

func GetLogFormat() string

GetLogLevel returns the log level

func GetLogLevel

func GetLogLevel() string

GetLogLevel returns the log level

func PublishAuditEvents added in v0.5.7

func PublishAuditEvents() bool

func SetDefaultLogLevel

func SetDefaultLogLevel(logLevel string)

func StopEngineOnError

func StopEngineOnError() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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