version

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 4 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. 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 added in v0.4.0

func CatalogImage() string

CatalogImage returns a catalog image needed for the build of everestctl

for dev builds it returns https://raw.githubusercontent.com/percona/percona-everest-backend/main/deploy/quickstart-k8s.yaml for the release builds it returns https://raw.githubusercontent.com/percona/percona-everest-backend/vX.Y.Z/deploy/quickstart-k8s.yaml

func FullVersionInfo added in v0.4.0

func FullVersionInfo() string

FullVersionInfo returns full version report.

func FullVersionJSON added in v0.4.0

func FullVersionJSON() (string, error)

FullVersionJSON returns version info as JSON.

func ManifestURL added in v0.5.0

func ManifestURL() string

ManifestURL returns a manifest URL to install everest

for dev builds it returns everest-catalog:latest for the release it returns everest-catalog:X.Y.Z.

Types

This section is empty.

Jump to

Keyboard shortcuts

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