build

package
v0.0.0-...-503c688 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReleaseVersion = getReleaseVersion()
	BuildTS        = versioninfo.TiDBBuildTS
	GitHash        = versioninfo.TiDBGitHash
	GitBranch      = versioninfo.TiDBGitBranch
)

Version information.

Functions

func Info

func Info() string

Info returns version information.

func LogInfo

func LogInfo(name AppName)

LogInfo logs version information.

Types

type AppName

type AppName string

AppName is a name of a built binary.

var (
	// BR is the name of BR binary.
	BR AppName = "Backup & Restore (BR)"
	// Lightning is the name of Lightning binary.
	Lightning AppName = "TiDB-Lightning"
)

Jump to

Keyboard shortcuts

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