yfuzz-server

command
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

README

yFuzz Server

godoc

The main API server for yFuzz.

Table of Contents

Configuration

yFuzz will read configuration from a file called config.yaml (or any other format supported by viper) located either in $HOME/.yfuzz, /etc/yfuzz, or the current directory.

Options can also be specified in environment variables with the YFUZZ_ prefix.

See config-sample.yaml for sample configuration.

Running

The simplest way to run the server is as a docker container:

$ docker run -v "$(pwd)"/config.yaml:/etc/yfuzz/config.yaml yfuzz/server

Plugins

A number of plugins to the yFuzz API are supported:

  • Athenz: Authorize requests with Athenz.
  • MTLS: Authenticate requests with mutual TLS and authorize based on a list of authorized keys.

Usage

API endpoints are documented with godoc.

yFuzz is currently accessible through the use of the yFuzz CLI.

Build

To build the server, you will need Go, Glide, and Make.

There are two ways to build the yFuzz server: on your system, and as a docker image.

Local Build
$ git clone https://github.com/yahoo/yfuzz.git
$ cd yfuzz/services/yfuzz-server
$ make install
Docker Build
$ git clone https://github.com/yahoo/yfuzz.git
$ cd yfuzz/services/yfuzz-server
$ make docker

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package api defines all endpoints accessible from the yFuzz API.
Package api defines all endpoints accessible from the yFuzz API.
Package config reads configuration data from files, and generates configurations for testing.
Package config reads configuration data from files, and generates configurations for testing.
Package kubernetes handles all interactions with the Kubernetes client.
Package kubernetes handles all interactions with the Kubernetes client.
Package plugins holds the interfaces for yFuzz to interact with pluggable middleware/routes.
Package plugins holds the interfaces for yFuzz to interact with pluggable middleware/routes.
athenz
Package athenz is an authentication/authorization middleware for connecting yFuzz to Athenz (http://www.athenz.io).
Package athenz is an authentication/authorization middleware for connecting yFuzz to Athenz (http://www.athenz.io).
mtls
Package mtls is an authentication/authorization middleware for connecting yFuzz with mutual TLS.
Package mtls is an authentication/authorization middleware for connecting yFuzz with mutual TLS.

Jump to

Keyboard shortcuts

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