Documentation
¶
Index ¶
- func CreateTriggers(tConfigs []*trigger.Config, runner action.Runner) (map[string]trigger.Trigger, error)
- func FixUpApp(cfg *Config)
- func GetProperties(properties []*data.Attribute) (map[string]interface{}, error)
- func RegisterResources(rConfigs []*resource.Config) error
- type Config
- type ConfigProvider
- type PropertyProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTriggers ¶
func GetProperties ¶
func RegisterResources ¶
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` Type string `json:"type"` Version string `json:"version"` Description string `json:"description"` Properties []*data.Attribute `json:"properties"` Triggers []*trigger.Config `json:"triggers"` Resources []*resource.Config `json:"resources"` //for backwards compatibility Actions []*action.Config `json:"actions"` }
App is the configuration for the App
type ConfigProvider ¶
ConfigProvider interface to implement to provide the app configuration
func DefaultConfigProvider ¶
func DefaultConfigProvider() ConfigProvider
DefaultSerializer returns the default App Serializer
type PropertyProvider ¶
type PropertyProvider struct {
// contains filtered or unexported fields
}
func GetPropertyProvider ¶
func GetPropertyProvider() *PropertyProvider
func (*PropertyProvider) GetProperty ¶
func (pp *PropertyProvider) GetProperty(property string) (interface{}, bool)
func (*PropertyProvider) SetProperties ¶
func (pp *PropertyProvider) SetProperties(value map[string]interface{})
func (*PropertyProvider) SetProperty ¶
func (pp *PropertyProvider) SetProperty(property string, value interface{})
Click to show internal directories.
Click to hide internal directories.