Giter Site home page Giter Site logo

gberche-orange / eden Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qarik-group/eden

0.0 2.0 0.0 4.77 MB

Interact with any Open Service Broker API to discover/provision/bind/unbind/deprovision hundreds of different services.

License: MIT License

Go 83.40% Shell 16.60%

eden's Introduction

eden

Interact with any Open Service Broker API to discover/provision/bind/unbind/deprovision hundreds of different services.

Installation

For Ubuntu/Debian:

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 eden

For Mac OS using Homebrew:

brew install starkandwayne/cf/eden

From source using Golang:

go get -u github.com/starkandwayne/eden

Usage

Use environment variables to target an Open Service Broker API:

export SB_BROKER_URL=https://mybroker.com
export SB_BROKER_USERNAME=username
export SB_BROKER_PASSWORD=password

To see the available services and plans:

eden catalog

To create (provision) a new service instance, and to generate a set of access credentials (bind):

export SB_INSTANCE=my-db-name
eden provision -s servicename -p planname
eden bind

To view the credentials for your binding:

eden credentials

To extract a single credentials, say a fully formed uri, you can use eden credentials --attribute uri:

For example, to provision a PostgreSQL service, generate bindings, and use them immediately with psql:

export SB_INSTANCE=pg1
eden provision -s postgresql96
eden bind
psql `eden creds -a uri`

CLI flags and environment variables

In addition to using env vars, you can use CLI flags. See eden -h and eden <command> -h for more details.

eden's People

Contributors

drnic avatar henryaj avatar jhunt avatar samze avatar starkandwayne-bot avatar xiujiao avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.