foundationdb

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: MPL-2.0 Imports: 3 Imported by: 0

README

FoundationDB storage backend

Extra steps are required to produce a Vault build containing the FoundationDB backend; attempts to use the backend on a build produced without following this procedure will fail with a descriptive error message at runtime.

Installing the Go bindings

You will need to install the FoundationDB Go bindings to build the FoundationDB backend. Make sure you have the FoundationDB client library installed on your system, along with Mono (core is enough), then install the Go bindings using the fdb-go-install.sh script:

$ physical/foundationdb/fdb-go-install.sh

Building Vault

To build Vault the FoundationDB backend, add FDB_ENABLED=1 when invoking make, e.g.

$ make dev FDB_ENABLED=1

Running tests

Similarly, add FDB_ENABLED=1 to your make invocation when running tests, e.g.

$ make test TEST=./physical/foundationdb FDB_ENABLED=1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFDBBackend

func NewFDBBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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