build

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package build contains build-related variables set at compile time.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "N/A"
	ID      = "N/A"
	Time    = "N/A"

	GitSHA      = "N/A"
	GitDirtyStr = "-1"
	GitDirty    int

	RbspyGitSHA  = "N/A"
	PyspyGitSHA  = "N/A"
	PhpspyGitSHA = "N/A"
)

Functions

func JSON added in v0.0.35

func JSON() string

func PrettyJSON added in v0.0.35

func PrettyJSON() string

func PrometheusBuildLabels added in v0.0.38

func PrometheusBuildLabels() prometheus.Labels

PrometheusBuildLabels returns a map of the labels that will be exposed in the build_info metric

func Summary

func Summary() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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