version

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NAME                 = "mmesh"
	SHORTNAME            = "mmesh"
	PLATFORM_NAME        = "mmesh management platform"
	PLATFORM_SHORTNAME   = "mmesh platform"
	CONTROLLER_NAME      = "mmesh-controller"
	CONTROLLER_SHORTNAME = "mmeshd"
	AGENT_NAME           = "mmesh-agent"
	AGENT_SHORTNAME      = "mmeshc"
	CLI_NAME             = "mmeshctl"
	CLI_SHORTNAME        = "mm"
	MMESH_URL            = "https://mmesh.io"
	MMESH_DOC_URL        = "https://doc.mmesh.io"
	SLACK_URL            = "https://slack.mmesh.io"
	DISCORD_URL          = "https://discord.mmesh.io"
)

Variables

View Source
var (
	// GitRepository is the git repository that was compiled
	GitRepository string
	// GitCommit is the git commit that was compiled
	GitCommit string
	// VersionMajor is for an API incompatible changes
	VersionMajor int64
	// VersionMinor is for functionality in a backwards-compatible manner
	VersionMinor int64
	// VersionPatch is for backwards-compatible bug fixes
	VersionPatch int64
	// VersionPre indicates prerelease
	VersionPre = ""
	// VersionDev indicates development branch. Releases will be empty string.
	VersionDev string
	// VersionDate is the compilation date
	VersionDate string
	// VersionNumber is a string with the format n.n.n
	VersionNumber string
	// GoVersion is a string with go-version
	GoVersion string
)
View Source
var Version = semver.Version{
	Major:      VersionMajor,
	Minor:      VersionMinor,
	Patch:      VersionPatch,
	PreRelease: semver.PreRelease(VersionPre),
	Metadata:   VersionDev,
}

Version is the specification version that the package types support.

Functions

func GetVersion

func GetVersion() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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