printer

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0 Imports: 6 Imported by: 586

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TiDBBuildTS   = "None"
	TiDBGitHash   = "None"
	TiDBGitBranch = "None"
	GoVersion     = "None"
	// TiKVMinVersion is the minimum version of TiKV that can be compatible with the current TiDB.
	TiKVMinVersion = "2.0.0-rc.4.1"
)

Version information.

Functions

func GetPrintResult

func GetPrintResult(cols []string, datas [][]string) (string, bool)

GetPrintResult gets a result with a formatted string.

func GetTiDBInfo

func GetTiDBInfo() string

GetTiDBInfo returns the git hash and build time of this tidb-server binary.

func PrintRawTiDBInfo

func PrintRawTiDBInfo()

PrintRawTiDBInfo prints the TiDB version information without log info.

func PrintTiDBInfo

func PrintTiDBInfo()

PrintTiDBInfo prints the TiDB version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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