Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildDate string
BuildDate is the date it was built
var Commit string
Commit is the commit hash of the build
var GoVersion string
GoVersion is the go version that was used to compile this
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.