constants

package
v0.2.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// CloudIdentityAnnotation is used to remember a cluster's identity created
	// by the region service.
	// TODO: most likely this should be shared in core.
	CloudIdentityAnnotation = "unikorn-cloud.org/identity-id"
)

Variables

View Source
var (
	// Application is the application name.
	//nolint:gochecknoglobals
	Application = path.Base(os.Args[0])

	// Version is the application version set via the Makefile.
	//nolint:gochecknoglobals
	Version string

	// Revision is the git revision set via the Makefile.
	//nolint:gochecknoglobals
	Revision string
)

Functions

func VersionString

func VersionString() string

VersionString returns a canonical version string. It's based on HTTP's User-Agent so can be used to set that too, if this ever has to call out ot other micro services.

Types

This section is empty.

Jump to

Keyboard shortcuts

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