version

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitCommit         string
	GitBranch         string
	GitSummary        string
	BuildDate         string
	AppVersion        string
	BmclibVersion     = bmclibVersion()
	FleetDBAPIVersion = fleetdbAPIVersion()
	GoVersion         = runtime.Version()
)

Functions

func ExportBuildInfoMetric

func ExportBuildInfoMetric()

Types

type Version

type Version struct {
	GitCommit         string `json:"git_commit"`
	GitBranch         string `json:"git_branch"`
	GitSummary        string `json:"git_summary"`
	BuildDate         string `json:"build_date"`
	AppVersion        string `json:"app_version"`
	GoVersion         string `json:"go_version"`
	BmclibVersion     string `json:"bmclib_version"`
	FleetDBAPIVersion string `json:"fleetdbapi_version"`
}

func Current

func Current() Version

Jump to

Keyboard shortcuts

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