version

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Specifies the GIT sha of the build
	Build = "unknown"
	// Version for the build, should follow a semver
	Version = "unknown"
	// Build timestamp
	BuildTime = time.Now().String()
)

This module provides the ability to inject Build (git sha) and Version information at compile time. To set these values invoke go build as follows go build -ldflags “-X github.com/lyft/flytepropeller/version.Build=xyz -X github.com/lyft/flytepropeller/version.Version=1.2.3" will provide the build and version information

Functions

func LogBuildInformation

func LogBuildInformation(appName string)

LogBuildInformation Use this method to log the build information for the current app. The app name should be provided. To inject the build and version information refer to the top-level comment in this file

Types

This section is empty.

Jump to

Keyboard shortcuts

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