Documentation ¶
Overview ¶
version holds variables that identify a Prow binary's name and version
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name is the colloquial identifier for the compiled component Name = "unset" // Version is a concatenation of the commit SHA and date for the build Version = "0" )
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent exposes the component's name and version for user-agent header
func UserAgentWithIdentifier ¶
UserAgentFor exposes the component's name and version for user-agent header while embedding the additional identifier
func VersionTimestamp ¶
VersionTimestamp returns the timestamp of date derived from version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.