Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Version is the complete Bpflock version string including Go version.
Functions ¶
func GetKernelVersion ¶
GetKernelVersion returns the version of the Linux kernel running on this host.
Types ¶
type BpflockVersion ¶
type BpflockVersion struct {
// Version is the semantic version of Bpflock
Version string
// Revision is the short SHA from the last commit
Revision string
// GoRuntimeVersion is the Go version used to run Bpflock
GoRuntimeVersion string
// Arch is the architecture where Bpflock was compiled
Arch string
// AuthorDate is the git author time reference stored as string ISO 8601 formatted
AuthorDate string
}
BpflockVersion provides a minimal structure to the version string
func FromString ¶
func FromString(versionString string) BpflockVersion
FromString converts a version string into struct
func GetBpflockVersion ¶
func GetBpflockVersion() BpflockVersion
GetBpflockVersion returns a initialized BpflockVersion structure
Click to show internal directories.
Click to hide internal directories.