riff

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

= riff is for functions image:https://travis-ci.org/projectriff/riff.svg?branch=master["Build Status", link="https://travis-ci.org/projectriff/riff"]

image::logo.png[riff logo, link=https://projectriff.io/]
= A FaaS for Kubernetes

The riff project builds on top of the link:https://github.com/knative/[Knative] project's build, serving and eventing features.

== Installation of the latest release

Official binary release are avilable from the link:https://github.com/projectriff/riff/releases[Releases] page.

See link:https://projectriff.io/docs/getting-started-with-knative-riff-on-minikube/[Getting started on Minikube] or
link:https://projectriff.io/docs/getting-started-with-knative-riff-on-gke/[Getting started on GKE] for how to install the riff CLI and the riff system.

=== Community releases

NOTE: Community releases are not created, managed or monitored by the riff team.

To install the `riff` CLI for MacOS with Homebrew:

[source, bash]
----
brew install starkandwayne/cf/riff
----

To install the CLI for Debian/Ubuntu Linux:

[source, bash]
----
wget -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
echo "deb http://apt.starkandwayne.com stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
apt-get update
apt-get install riff
----

== Developer installation of Knative

See link:https://github.com/knative/eventing/blob/master/DEVELOPMENT.md[Development] to install the Knative Build, Serving and Eventing projects.

== [[manual]] Manual build of the riff CLI

This is the best option if you want to modify the riff CLI.

=== Prerequisites

You need:

* A working Go environment

=== Get the main riff repo

[source, bash]
----
go get -d github.com/projectriff/riff/...
----

=== Build the riff CLI

[source, bash]
----
cd $(go env GOPATH)/src/github.com/projectriff/riff
make build
----

=== Build and install the riff CLI

[source, bash]
----
cd $(go env GOPATH)/src/github.com/projectriff/riff
make build install
----
NOTE: This installs the CLI in `$GOBIN`, or if that is not set, in the `bin` subdirectory of the directory specified in `$GOPATH`.

== Contributing to riff

Please refer to the link:CONTRIBUTING.adoc[Contributors' Guide].

== Maintaining riff

Please refer to the link:MAINTAINING.adoc[Maintainers' Guide].

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
commands
package commands contains Cobra commands that implement the CLI behavior.
package commands contains Cobra commands that implement the CLI behavior.
pkg
core
package core contains a high level client for interacting with knative primitives used to realise, amongst other things, riff functions.
package core contains a high level client for interacting with knative primitives used to realise, amongst other things, riff functions.
core/mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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