fix #7 - allow passing a custom event.json to be populated in the container filesystem

This commit is contained in:
Casey Lee
2019-01-16 13:11:32 -08:00
parent ce5fbcf2e2
commit c573d9d48a
7 changed files with 391 additions and 24 deletions

View File

@@ -25,12 +25,12 @@ type EventLister interface {
// ActionRunner to run an action
type ActionRunner interface {
RunAction(ctx context.Context, dryrun bool, action string) error
RunAction(ctx context.Context, dryrun bool, action string, eventJSON string) error
}
// EventRunner to run an event
type EventRunner interface {
RunEvent(ctx context.Context, dryrun bool, event string) error
RunEvent(ctx context.Context, dryrun bool, event string, eventJSON string) error
}
type workflowDef struct {