Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Package is filled at linking time Package = "github.com/tensorchord/envd" // Revision is filled with the VCS (e.g. git) revision being used to build // the program at linking time. Revision = "" )
Functions ¶
func GetEnvdVersion ¶ added in v0.2.0
func GetEnvdVersion() string
GetEnvdVersion gets Envd version information
func GetVersionForImageTag ¶ added in v0.2.0
func GetVersionForImageTag() string
GetVersionForImageTag gets the version for an image tag.
func SetGitTagForE2ETest ¶ added in v0.2.0
func SetGitTagForE2ETest(tag string)
SetGitTagForE2ETest sets the gitTag for test purpose.
Types ¶
type Version ¶
type Version struct { Version string BuildDate string GitCommit string GitTag string GitTreeState string GoVersion string Compiler string Platform string }
Version contains envd version information
func GetVersion ¶ added in v0.1.0
func GetVersion() Version
GetVersion returns the version information
Click to show internal directories.
Click to hide internal directories.