version

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version implements version reporting command to the end user.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ProjectName is a component name, e.g. everest API Server, everestctl.
	ProjectName string //nolint:gochecknoglobals
	// Version is a component version e.g. v0.3.0-1-a93bef.
	Version string //nolint:gochecknoglobals
	// FullCommit is a git commit hash.
	FullCommit string //nolint:gochecknoglobals

)

Functions

func CatalogImage

func CatalogImage() string

CatalogImage returns a catalog image needed for the build of everestctl.

func FullVersionInfo

func FullVersionInfo() string

FullVersionInfo returns full version report.

func FullVersionJSON

func FullVersionJSON() (string, error)

FullVersionJSON returns version info as JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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