Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultVtDataRoot is the default value for VTROOT environment variable DefaultVtDataRoot = "/vt" // DefaultVtRoot is only required for hooks DefaultVtRoot = "/usr/local/vitess" )
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 VtMysqlBaseDir ¶
VtMysqlBaseDir returns the Mysql base directory, which contains the fill_help_tables.sql script for instance
func VtMysqlRoot ¶
VtMysqlRoot returns the root for the mysql distribution, which contains bin/mysql CLI for instance. If it is not set, look for mysqld in the path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.