cockroachdb-release

module
v0.0.0-...-536c76e Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0

README

cockroachdb-release

cockroach

Release for CockroachDB.

  • Requires DNS
  • Requires NTP synced time (ie ntp-release)
  • Only supports TLS authentication
  • Includes simple smoke tests errand

Deploy

$ bosh -d cockroachdb deploy manifests/example.yml --vars-store ./creds.yml

Port forward admin UI locally:

$ bosh -d cockroachdb ssh cockroachdb/0 --opts=" -L 8080:127.0.0.1:8080"

Get debug info:

$ bosh -d cockroachdb run-errand report-health
$ bosh -d cockroachdb run-errand report-vars
$ bosh -d cockroachdb run-errand report-nodes-local

# or alternatively
$ bosh -d cockroachdb ssh cockroachdb -c '/var/vcap/jobs/cockroachdb/bin/debug' -r

Access test user generated certificates:

$ bosh interpolate ./creds.yml --path /cockroachdb_user_test/ca
$ bosh interpolate ./creds.yml --path /cockroachdb_user_test/certificate
$ bosh interpolate ./creds.yml --path /cockroachdb_user_test/private_key

See:

Directories

Path Synopsis
src
github.com/cockroachdb/cockroach-go/crdb
Package crdb provides helpers for using CockroachDB in client applications.
Package crdb provides helpers for using CockroachDB in client applications.
github.com/cockroachdb/cockroach-go/testserver
Package testserver provides helpers to run a cockroach binary within tests.
Package testserver provides helpers to run a cockroach binary within tests.
github.com/lib/pq
Package pq is a pure Go Postgres driver for the database/sql package.
Package pq is a pure Go Postgres driver for the database/sql package.
github.com/lib/pq/listen_example
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
github.com/lib/pq/oid
Package oid contains OID constants as defined by the Postgres server.
Package oid contains OID constants as defined by the Postgres server.

Jump to

Keyboard shortcuts

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