env

package
v2.1.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVtDataRoot = "/vt"
)

Variables

This section is empty.

Functions

func VtDataRoot

func VtDataRoot() string

VtDataRoot returns $VTDATAROOT or the default if $VTDATAROOT is not set. VtDataRoot does not check if the directory exists and is writable.

func VtMysqlRoot

func VtMysqlRoot() (string, error)

VtMysqlRoot returns the root for the mysql distribution, which contains bin/mysql CLI for instance.

func VtRoot

func VtRoot() (root string, err error)

VtRoot returns $VTROOT or tries to guess its value if it's not set. This is the root for the 'vt' distribution, which contains bin/vttablet for instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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