The command function invoker provides a host for functions implemented as a single executable command (be it a shell script or a binary). It accepts HTTP requests and invokes the command for each request.
Communication with the function is done via stdin
and stdout
.
Functions can log by writing to stderr
.
The following tools are required to build this project:
- A working go 1.13+ installation (1.13.1 or later)
make
- Docker
If you intend to re-generate mocks for testing, install:
If you would like to run tests using the ginkgo
command, install:
To build locally (this will produce a binary named command-function-invoker
on your machine):
make build
To run tests:
make test