base

package
v0.0.0-...-6dffcca Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	// Certificates directory.
	Certs string
	// Port for cockroach nodes to listen on.
	Port int64
	// Region to run in.
	Region string

	// Driver-specific flags.
	// Project name for Google Compute Engine.
	GCEProject string
	// OAuth token path for Google Compute Engine.
	GCETokenPath string
}

Context is the base context object.

func NewContext

func NewContext() *Context

NewContext returns a context with initialized values.

func (*Context) InitDefaults

func (ctx *Context) InitDefaults()

InitDefaults sets up the default values for a context.

Jump to

Keyboard shortcuts

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