build

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package build holds runakefli's build-time version information, following Loki's pkg/util/build: the variables are set from -ldflags (Makefile) and exposed so the binary reports them.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	Revision  string
	Branch    string
	BuildUser string
	BuildDate string
	GoVersion string
)

These variables are set from the Makefile LDFLAGS.

Functions

func Info

func Info() map[string]string

Info returns the build information for the /loki/api/v1/status/buildinfo endpoint and -version output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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