build

package
v5.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReleaseVersion = "v5.0.0-master"
	BuildTS        = "None"
	GitHash        = "None"
	GitBranch      = "None"
)

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