pversion

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

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.

Jump to

Keyboard shortcuts

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