When implementing plugins several things must be adhered to:
- Correct build options.
- Go module dependencies must match versions with those in github.com/trimble-oss/tierceron
Only 2 functions needs to be implemented in the plugin:
func GetConfigPaths() []string
func Init(properties *map[string]interface{})
PluginEventChannelsMap: map[string]interface{} Keys provided by GetConfigPaths Built in project/service key containing project secrets
PluginChannelEventIn - contains channel for receving incoming events PluginChannelEventOut - channel for emitting event results