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
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.
Click to show internal directories.
Click to hide internal directories.