version

package
v0.0.0-...-13e354e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version - overwritten at build-time
	Version string
	// Revision - overwritten at build-time
	Revision string
	// Branch - overwritten at build-time
	Branch string
	// BuildTime - overwritten at build-time
	BuildTime string

	// GoVersion -
	GoVersion = runtime.Version()
)

Functions

func Info

func Info() string

Info returns version, branch and revision information.

func NewCollector

func NewCollector(program string, apiVersion string) *prometheus.GaugeVec

NewCollector returns a collector which exports metrics about current version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳