Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request : FaaS Exec helper #90

Closed
SylvainDeaure opened this issue Jun 8, 2017 · 3 comments
Closed

Feature Request : FaaS Exec helper #90

SylvainDeaure opened this issue Jun 8, 2017 · 3 comments
Labels

Comments

@SylvainDeaure
Copy link

Ease the use and pipelining of FaaS functions within a shell script.

Expected Behavior

Pipe from and to FaaS function just as with local utils.

Current Behavior

We can curl http://faas... | and | curl -X post -d '$(</dev/stdin)' http://faas but it feels quite clumsy.
Maybe a little wrapper script or Go app could help, to pipe from/to a single faas-exec without extraneous switches.

Possible Solution

cat input.txt | faas-exec func1 | faas-exec -extraparam func2
cat input.json | faas-exec func1 | faas-exec func2 (recognizes json and sets header)

Then, chaining FaaS would just be as simple as using core shell utils.

Context

Trying to demo the ease of use of FaaS by running complex stacks (NLP) within Docker containers, but need some transform steps on data before and after. Need an easy way to chain local and FaaS processes.

@alexellis
Copy link
Member

Did you wan to have a go at the faas-exec? @SylvainDeaure

@alexellis
Copy link
Member

Adding label - revisit, will come back to this and close for now. Feel free to re-open and add to the discussion.

@alexellis
Copy link
Member

It'd be great if you fancied working on this or putting something together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants