Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // User is the username of the account that built the binary. User string // Host is the unqualified hostname of the machine used to build the binary. Host string // BuildTimestamp is the timestamp at which the binary was built in ISO 8601 // format. BuildTimestamp string // Branch is the name of the git branch used to build the binary. Branch string // Commit is the git commit hash of the revision used to build the binary. Commit string // CommitTimestamp is the timestamp of the commit used to build the binary in // ISO 8601 format. CommitTimestamp string // ReleaseTag is the tag of the revision used to build the binary as provided // by `git describe`. In general, it's something like: "a968903-dirty" ReleaseTag string // VersionTagTime is the time that this version of Jetpack (CLI binary, runtime and SDK) // was built, and tagged. VersionTagTime string // VersionNumber is the version number in semver format MAJOR.MINOR.PATCH VersionNumber string // PrereleaseTag tells us what edition of Jetify's Pre-releases this is. Usually, "dev". PrereleaseTag string // CicdBuildRelease is set when the CLI binary was built through CICD CicdBuildRelease string // StableDockerTag is used for docker images and helm charts StableDockerTag string )
ldflags will provide these values. See devtools/scripts/build/ldflags.sh for details on how they are computed.
Functions ¶
func PrintVerboseVersion ¶
PrintVerboseVersion prints a verbose listing of the version variables to the io.Writer argument
Types ¶
type BuildStamper ¶
Click to show internal directories.
Click to hide internal directories.