()
| 58 | |
| 59 | func (n *FunctionCall) Outputs() map[string]workflowapi.DataType { |
| 60 | raw := make(map[string]workflowapi.DataType, len(n.fn.Info.Returns)) |
| 61 | for _, ret := range n.fn.Info.Returns { |
| 62 | raw[ret.Uid] = ret.DataType |
| 63 | } |
| 64 | return engine.FilterEmitted(raw, n.outputBindings) |
| 65 | } |
| 66 | |
| 67 | func (n *FunctionCall) Execute(ctx context.Context, scope *engine.Scope) (string, error) { |
| 68 | args := make(map[string]expr.Value, len(n.fn.Info.Arguments)) |
| 69 | for _, arg := range n.fn.Info.Arguments { |
no outgoing calls