Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get() apimachineryversion.Info
Get returns the overall codebase version. It's for detecting what code a binary was built from.
This function is very similar to the function defined in k8s.io/component-base (version/version.go) but is designed to work with golang's VCS build-time information.
See: - https://github.com/kubernetes/component-base/blob/v0.28.0/version/version.go#L26-L42 - https://tip.golang.org/doc/go1.18#go-version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.