mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
HTTP Triggers hookup (#1086)
* Initial suypport for invoking tiggers * dupe method * tighten server constraints * runner tests not working yet * basic route tests passing * post rebase fixes * add hybrid support for trigger invoke and tests * consoloidate all hybrid evil into one place * cleanup and make triggers unique by source * fix oops with Agent * linting * review fixes
This commit is contained in:
@@ -93,6 +93,9 @@ type Datastore interface {
|
||||
// Return ErrDatastoreEmptyAppId if no AppID set in the filter
|
||||
GetTriggers(ctx context.Context, filter *TriggerFilter) (*TriggerList, error)
|
||||
|
||||
// GetTriggerBySource loads a trigger by type and source ID - this is only needed when the data store is also used for agent read access
|
||||
GetTriggerBySource(ctx context.Context, appId string, triggerType, source string) (*Trigger, error)
|
||||
|
||||
// implements io.Closer to shutdown
|
||||
io.Closer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user