couchbasebroker

command module
v0.0.0-...-5c7c43f Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

README

couchbasebroker

Cloud Foundry Service Broker for Couchbase

Dependencies

This module depends on having the Couchbase release deployed in the target Bosh director instance defined in boshconfig.json.

Running

To run the broker, there are several modes. The simplest is to run it standalone (make sure you have a GOPATH defined and that GOPATH/bin is in your PATH):

go get github.com/ssdowd/couchbasebroker

Then you will need to set up some configuration for your broker instance in a directory where you will run the broker. In that directory, you will need the following (all can be copied from $GOPATH/src/github.com/ssdowd/couchbasebroker):

  • assets/config.json - basic configuration for the server
  • assets/boshconfig.json - settings to talk to a bosh director (URL, ID, password)
  • bosh-templates/ - directory containing the bosh templates from the Go source (copy all of $GOPATH/src/github.com/ssdowd/couchbasebroker/bosh-templates)
  • data/ - directory to hold the data files (bindings and instances) and the bosh deployment files
  • data/catalog.bosh-lite.json - a Cloud Foundry catalog file describing service offerings (not implemented for selection of options)

Now you can run the broker in standalone mode:

couchbasebroker --help
couchbasebroker

Another mode of operation is to deploy as a Cloud Foundry application. You can do this with a cf push.

Finally, you can wrap this package in a Bosh release, deploy it to a Bosh instance and then point the CF cloud controller at the service broker that is now running in Bosh. The benefit of this model is that bosh will manage the service broker and ensure it is always running.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/fsouza/go-dockerclient
Package docker provides a client for the Docker remote API.
Package docker provides a client for the Docker remote API.
_workspace/src/github.com/fsouza/go-dockerclient/external/github.com/Sirupsen/logrus
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
_workspace/src/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/pools
Package pools provides a collection of pools which provide various data types with buffers.
Package pools provides a collection of pools which provide various data types with buffers.
_workspace/src/github.com/fsouza/go-dockerclient/external/github.com/docker/go-units
Package units provides helper function to parse and print size and time units in human-readable format.
Package units provides helper function to parse and print size and time units in human-readable format.
_workspace/src/github.com/fsouza/go-dockerclient/external/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/fsouza/go-dockerclient/external/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
_workspace/src/github.com/fsouza/go-dockerclient/external/golang.org/x/net/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
_workspace/src/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix
Package unix contains an interface to the low-level operating system primitives.
Package unix contains an interface to the low-level operating system primitives.
_workspace/src/github.com/fsouza/go-dockerclient/testing
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
_workspace/src/github.com/pborman/uuid
The uuid package generates and inspects UUIDs.
The uuid package generates and inspects UUIDs.
_workspace/src/github.com/ssdowd/gogobosh
Package gogobosh is a client library for applications wanting to talk to a Cloud Foundry BOSH/MicroBOSH or bosh-lite.
Package gogobosh is a client library for applications wanting to talk to a Cloud Foundry BOSH/MicroBOSH or bosh-lite.
_workspace/src/github.com/ssdowd/gogobosh/api
Package api implements the BOSH API client functions
Package api implements the BOSH API client functions
_workspace/src/github.com/ssdowd/gogobosh/models
Package models contains the public repsentations of BOSH resources
Package models contains the public repsentations of BOSH resources
_workspace/src/github.com/ssdowd/gogobosh/net
Package net includes helper libraries for performing HTTP requests & processing the responses
Package net includes helper libraries for performing HTTP requests & processing the responses
_workspace/src/github.com/ssdowd/gogobosh/utils
Package utils is a collection of utilities used within gogobosh
Package utils is a collection of utilities used within gogobosh
_workspace/src/golang.org/x/crypto/curve25519
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
_workspace/src/golang.org/x/crypto/ssh
Package ssh implements an SSH client and server.
Package ssh implements an SSH client and server.
_workspace/src/golang.org/x/crypto/ssh/agent
Package agent implements a client to an ssh-agent daemon.
Package agent implements a client to an ssh-agent daemon.
_workspace/src/golang.org/x/crypto/ssh/terminal
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
_workspace/src/golang.org/x/crypto/ssh/test
This package contains integration tests for the golang.org/x/crypto/ssh package.
This package contains integration tests for the golang.org/x/crypto/ssh package.
_workspace/src/gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.

Jump to

Keyboard shortcuts

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