command-function-invoker

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2020 License: Apache-2.0

README

Command Function Invoker Build Status

Purpose

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.

Development

Prerequisites

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:

Building

To build locally (this will produce a binary named command-function-invoker on your machine):

make build

To run tests:

make test

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL