build

package
v1.1.0-beta.0...-cc83417 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 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

	ReleaseVersionForTest = "nightly-dirty"
)

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