plugin

command
v0.0.0-...-f784db4 Latest Latest
Warning

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

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

README

Hydra Google Cloud Datastore Plugin

This introduces a datastore URL option for hydra that leverages Google's Cloud Datastore

// Datastore URLs should be in the format of datastore://<projectid>?namespace=&credentialsFile=
// Just using datastore:// will be sufficient if running on GCP wiith an DATASTORE_PROJECT_ID env var set

Compile as follows:

$ go build -buildmode=plugin -o=datastore.so github.com/someone1/hydra-gcp/plugin

Then launch hydra with the following options:

    DATABASE_URL=datastore://<projectid>?namespace=&credentialsFile=
    DATABASE_PLUGIN=datastore.so

NOTE: This does not support rotating the encryption key used for storing data in hydra (yet?)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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