info

package
v2.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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"
	// Extensions is the list of extensions that are enabled.
	Extensions = []string{}
)

Default build-time variables. These values are overridden via ldflags.

Functions

func GetHostInfo

func GetHostInfo() *infov1.HostInfo

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL