version

package
v4.23.14 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	GitRepo        string
	Version        string
	BuildDate      string
	GitCommit      string
	GitBranch      string
	GitTag         string
	GoVersion      string
	Compiler       string
	Platform       string
	KubectlVersion string
	HelmVersion    string
}

Version contains Argo version information

func GetVersion

func GetVersion() Version

GetVersion returns the version information

func (Version) HasBuildInfo

func (v Version) HasBuildInfo() bool

HasBuildInfo if BuildDate != "1970-01-01T00:00:00Z" return true.

func (Version) String

func (v Version) String() string

String return version string.

Jump to

Keyboard shortcuts

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