buildinfo

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package buildinfo ...

Index

Constants

This section is empty.

Variables

View Source
var (
	// Date is the date the binary was built.
	// Set by go build -ldflags "-X" flag
	Date string

	// SHA is the git commit SHA the binary was built with.
	// Set by go build -ldflags "-X" flag
	SHA string

	// Version is the version the binary was built with.
	// Set by go build -ldflags "-X" flag
	Version string

	// Commit is the actual commit that is being built, set with the go linker's -X flag.
	// Deprecated: use github.com/vmware-tanzu/tanzu-framework/tkg/buildinfo.SHA
	Commit = SHA
)
View Source
var IsOfficialBuild string

IsOfficialBuild is the flag that gets set to True if it is an official build being released, it is set with the go linker's -X flag.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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