build

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: AGPL-3.0 Imports: 6 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
)

Functions

func JSON

func JSON() string

func PrettyJSON

func PrettyJSON() string

func PrometheusBuildLabels

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