version

package
v0.0.0-...-76c2b67 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Constraint

func Constraint(constraint string) semver.Constraints

VersionConstraint returns a semver constraint for the given string or panics if the string is not a valid semver constraint.

Types

type BuildInfo

type BuildInfo struct {
	Version           string
	GitRevision       string
	BuildStatus       string
	GitTag            string
	GoVersion         string
	GoArch            string
	ControllerRuntime string
}

BuildInfo describes version information about the binary build.

var (

	// Info exports the build version information.
	Info BuildInfo
)

func (BuildInfo) String

func (b BuildInfo) String() string

Jump to

Keyboard shortcuts

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