Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
BuildDate is the date it was built
View Source
var Commit string
Commit is the commit hash of the build
View Source
var GoVersion string
GoVersion is the go version that was used to compile this
View Source
var PreflightVersion = "development"
PreflightVersion hosts the version of the app.
Functions ¶
func SetUserAgent ¶ added in v1.5.0
SetUserAgent augments an http.Request with a standard user agent.
func UserAgent ¶ added in v1.5.0
func UserAgent() string
UserAgent return a standard user agent for use with all HTTP requests. This is implemented in one place so it's uniform across the Kubernetes Agent.
TODO(wallrj): The prefix "Mozilla/5.0" is currently required by the CyberArk inventory API. Remove the prefix when CyberArk relax the API security settings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.