version

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildVersion = "--"
	BuildHash    = "--"
	BuildTime    = "--"
)

These fields are set during an official build

Functions

This section is empty.

Types

type VersionInfo

type VersionInfo struct {
	BuildVersion string
	BuildHash    string
	BuildTime    string
}

VersionInfo gets json info about the agent version

func GetVersion

func GetVersion() *VersionInfo

GetVersion gets the current agent version

Jump to

Keyboard shortcuts

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