Versions in this module Expand all Collapse all v1 v1.0.1 Jan 18, 2024 v1.0.0 Jan 10, 2024 Changes in this version + const AlreadyControlled + const AppEventType + const EnvKeyAutoReconfigure + const EnvKeyDelayedAppStopInterval + const EnvKeyEnableFlowControl + const FAILED + const STARTED + const STARTING + const STOPPED + const STOPPING + func AutoReconfigurationEnabled() bool + func ContinueOnError(a *App) error + func DeleteValue(name string) + func EnableFlowControl() bool + func EngineSettings(svcManager *service.Manager, actionSettings map[string]map[string]interface{}) func(*App) error + func FinalizeProperties(processors ...property.PostProcessor) func(*App) error + func GetDelayedStopInterval() string + func GetValue(name string) (value interface{}, exists bool) + func SetValue(name string, value interface{}) error + type App struct + func New(config *Config, runner action.Runner, options ...Option) (*App, error) + func (a *App) GetProperty(name string) (interface{}, bool) + func (a *App) GetResource(id string) *resource.Resource + func (a *App) Name() interface{} + func (a *App) PostAppEvent(appStatus Status) + func (a *App) Reconfigure() error + func (a *App) ResourceManager() *resource.Manager + func (a *App) RuntimeSettings() map[string]interface{} + func (a *App) ServiceManager() *service.Manager + func (a *App) Start() error + func (a *App) Stop() error + func (a *App) TriggerStatuses() []*managed.StatusInfo + func (a *App) Version() interface{} + type AppEvent interface + AppName func() string + AppStatus func() Status + AppVersion func() string + type AppResolver struct + func (r *AppResolver) GetResolverInfo() *resolve.ResolverInfo + func (r *AppResolver) Resolve(scope data.Scope, itemName, valueName string) (interface{}, error) + type Config struct + Actions []*action.Config + AppModel string + Channels []string + Connections map[string]*connection.Config + Description string + Imports []string + Name string + Properties []*data.Attribute + Resources []*resource.Config + Schemas map[string]*schema.Def + Triggers []*trigger.Config + Type string + Version string + type Controller interface + ReleaseControl func() error + StartControl func() error + func GetEventFlowController() Controller + type LifecycleAware interface + OnShutdown func() error + OnStartup func() error + type Option func(*App) error + type Status string