version

package
v0.0.0-...-a77b288 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// The GitSha of the current commit (automatically set at compile time)
	GitSha string

	// The Version of the program from the VERSION file (automatically set at compile time)
	// Assume version is master so we can fetch versions from tests.
	// ldflags will automatically override this string.
	KubicornVersion = "master"
)

Functions

func GetVersionJSON

func GetVersionJSON() string

GetVersionJSON returns Kubicorn version in JSON format.

Types

type Version

type Version struct {
	Version   string
	GitCommit string
	BuildDate string
	GoVersion string
	GOOS      string
	GOArch    string
}

Version represents Kubicorn version.

func GetVersion

func GetVersion() *Version

GetVersion returns Kubicorn version.

Jump to

Keyboard shortcuts

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