Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Version is set during build
Functions ¶
Types ¶
type CiliumVersion ¶ added in v1.5.0
type CiliumVersion struct {
// Version is the semantic version of Cilium
Version string
// Revision is the short SHA from the last commit
Revision string
// GoRuntimeVersion is the Go version used to run Cilium
GoRuntimeVersion string
// Arch is the architecture where Cilium was compiled
Arch string
// AuthorDate is the git author time reference stored as string ISO 8601 formatted
AuthorDate string
}
CiliumVersion provides a minimal structure to the version string
func FromString ¶ added in v1.5.0
func FromString(versionString string) CiliumVersion
FromString converts a version string into struct
func GetCiliumVersion ¶ added in v1.5.0
func GetCiliumVersion() CiliumVersion
GetCiliumVersion returns a initialized CiliumVersion structure
Click to show internal directories.
Click to hide internal directories.