version

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 99

Documentation

Overview

Package version includes the version information for installer.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Raw is the string representation of the version. This will be replaced
	// with the calculated version at build time.
	// set in hack/build.sh
	Raw = "was not built correctly"

	// Commit is the commit hash from which the installer was built.
	// Set in hack/build.sh.
	Commit = ""
)

Functions

func DefaultArch

func DefaultArch() types.Architecture

DefaultArch returns the default release architecture

func ReleaseArchitecture added in v0.90.17

func ReleaseArchitecture() (string, error)

ReleaseArchitecture returns the release image cpu architecture version.

func String

func String() (string, error)

String returns the human-friendly representation of the version.

func Version

func Version() (string, error)

Version returns the installer/release version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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