Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the version of the aperture process. Version = "0.0.1" // Service is the name of the aperture process. Service = "unknown" // BuildHost is the hostname of the machine that built the application. BuildHost = "unknown" // BuildOS is the operating system that built the application. BuildOS = "unknown" // BuildTime is the time when the application was built. BuildTime = "unknown" // GitBranch is the git branch that the application was built from. GitBranch = "unknown" // GitCommitHash is the git commit hash that the application was built from. GitCommitHash = "unknown" // Prefix is the prefix for the aperture service application. Prefix = "aperture" // Hostname is the hostname of the machine that is running the process. Hostname = "unknown" // LocalIP is the IP of the service. LocalIP = "unknown" // UUID is the unique identifier for the process. UUID = "unknown" )
Default build-time variables. These values are overridden via ldflags.
Functions ¶
func GetHostInfo ¶
GetHostInfo returns the host info for the application.
func GetProcessInfo ¶
func GetProcessInfo() *infov1.ProcessInfo
GetProcessInfo returns the process info for the application.
func GetVersionInfo ¶
func GetVersionInfo() *infov1.VersionInfo
GetVersionInfo returns the version info for the application.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.