riff

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 4 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 CLI helps developers build and run functions using link:https://github.com/knative/docs[Knative].
It includes commands to install Knative in a Kubernetes cluster, and for managing functions, services, channels, and subscriptions.

== Installation of the latest release

Official binary release are available 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.

See link:Community-Releases.adoc[Community releases] for Mac Homebrew and Debian Apt packages.

== Developer installation of Knative

The code for Knative serving and eventing and build lives in repos under the link:https://github.com/knative[knative] GitHub organization. Developers can use the riff CLI against their own Knative builds, by installing a link:https://github.com/knative/eventing/blob/master/DEVELOPMENT.md[Knative development environment].

== [[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
* The `dep` command line tool https://github.com/golang/dep#installation[installed]

=== 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.
env
fileutils
package fileutils contains file manipulation functions.
package fileutils contains file manipulation functions.

Jump to

Keyboard shortcuts

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