(_ context.Context, s *Scope)
| 31 | outputs map[string]workflowapi.DataType |
| 32 | } |
| 33 | |
| 34 | func (a *fakeAction) ID() string { return a.id } |
| 35 | func (a *fakeAction) AddTransition(string, Transition) error { return nil } |
| 36 | func (a *fakeAction) Outputs() map[string]workflowapi.DataType { return a.outputs } |
| 37 | func (a *fakeAction) Execute(_ context.Context, s *Scope) (string, error) { |
| 38 | if a.run != nil { |
| 39 | if err := a.run(s); err != nil { |
| 40 | return "", err |
| 41 | } |
| 42 | } |
| 43 | return a.next, nil |
nothing calls this directly
no outgoing calls
no test coverage detected