command-function-invoker

module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: Apache-2.0

README

Command Function Invoker Build Status

Purpose

The command function invoker provides a Docker base layer for a function consisting of a single command. It accepts HTTP requests and invokes the command for each request.

Development

Prerequisites

The following tools are required to build this project:

  • make
  • Docker
  • Glide for dependency management

If you intend to re-generate mocks for testing, install:

If you would like to run tests using the ginkgo command, install:

Get the source
cd $(go env GOPATH)   #defaults to ~/go
git clone -o upstream https://github.com/projectriff/command-function-invoker src/github.com/projectriff/command-function-invoker
Building

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

make build

To build the Docker base layer:

make dockerize

This assumes that your docker client is correctly configured to target the daemon where you want the image built.

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