rversion

package
v3.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package rversion holds reva's build/version metadata. The values are set at link time on cmd/revad (see the Makefile ldflags) and mirrored here at startup so any package — e.g. the `version` invocation in pkg/invoke — can report the reva version without importing cmd/revad (which would be an import cycle). Fields are empty in binaries built without those ldflags.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the reva release, from the repo VERSION file (e.g. "3.10.4").
	Version string
	// GitCommit is the commit the binary was built from.
	GitCommit string
	// BuildDate is when the binary was built.
	BuildDate string
	// GoVersion is the Go toolchain version used to build it.
	GoVersion string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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