# Functions
GetInfo returns the version info.
GetVersionHandler returns an HTTP handler that returns the version info.
IsCELValidationEnabled returns true if CustomResourceValidationExpressions are enabled in the Kubernetes cluster.
IsDualStackEnabled returns true if IPv4/IPv6 dual-stack is enabled in the Kubernetes cluster.
IsEndpointSliceEnabled returns true if EndpointSlice is enabled in the Kubernetes cluster.
IsSupportedK8sVersion returns true if the Kubernetes cluster version is supported by the operator.
IsSupportedK8sVersionForGatewayAPI returns true if the Kubernetes cluster version is supported by the operator.
SetMetric is a one time call to expose the version info via prometheus metrics.
# Variables
BuildDate is the date when the binary was built.
GitCommit is the commit hash when the binary was built.
MinDualStackSliceVersion is the minimum version of Kubernetes that supports IPv4/IPv6 dual-stack.
MinEndpointSliceVersion is the minimum version of Kubernetes that supports EndpointSlice.
MinK8sVersion is the minimum version of Kubernetes that the operator supports.
MinK8sVersionForCELValidation is the minimum version of Kubernetes that supports CustomResourceValidationExpressions.
MinK8sVersionForGatewayAPI is the minimum version of Kubernetes that supports Gateway API.
ServerVersion is the version of the Kubernetes cluster the operator is running in.
Version is the version of the compiled software.