version

package
v0.6.191 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "development"

Version string for the `ec` CLI Set at build time using the output from hack/derive-version.sh Example values: v0.6.104, v0.5.167+redhat, v0.6.175-ci-fb5e4c83

Functions

func CliName added in v0.6.182

func CliName() string

func CliShortName added in v0.6.182

func CliShortName() string

Types

type ComponentInfo

type ComponentInfo struct {
	Name    string
	Version string
}

type VersionInfo

type VersionInfo struct {
	Version    string
	Commit     string
	ChangedOn  time.Time
	Components []ComponentInfo
}

func ComputeInfo

func ComputeInfo() (*VersionInfo, error)

func (VersionInfo) String

func (v VersionInfo) String() string

Jump to

Keyboard shortcuts

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